/* ==========================================================================
   nav.css — Shared header/navigation + footer styles used across all pages
   ========================================================================== */

:where(html) {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter Display", sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
.font-serif {
    font-family: "times-new-roman";
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container-xl {
    max-width: 1220px;
}

/* -------------------------------------------------- Top Navigation -- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 10px 0 18px 0;
    background: rgba(10, 10, 8, 0.0);
    transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled {
    background-color: rgba(15, 15, 12, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    padding: 12px 0;
}

.site-header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .site-header .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #cdeaf9, #8fd0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
} */

.site-header .brand-logo img {
    width: 100%;
    height: 50px;
    object-fit: contain;
}

.site-header .brand-text {
    color: #fff;
    line-height: 1.05;
}

.site-header .brand-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site-header .brand-sub {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    font-size: 0.65rem;
    color: #e9e9e9;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
}

.site-nav-links {
    gap: 8px;
}

.site-nav-links .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.site-nav-links .nav-link:hover,
.site-nav-links .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-login {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    transition: all 0.25s ease;
    background: transparent;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-advisor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    color: #14140f;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-advisor:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    color: #14140f;
}

.navbar-toggler {
    border: none;
    color: #fff;
    padding: 0;
}

.navbar-toggler .bi {
    color: #fff;
    font-size: 1.6rem;
}

.offcanvas-header {
    background-color: #14140f;
}

@media (max-width: 991.98px) {
    .site-header .offcanvas-body {
        background-color: #14140f;
    }

    .site-nav-links .nav-link {
        color: #fff;
    }
}

/* ------------------------------------------------------ Footer ----- */
.site-footer {
    background-color: #0f0f0c;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 60px;
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .site-footer .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #cdeaf9, #8fd0f0);
    display: flex;
    align-items: center;
    justify-content: center;
} */

.site-footer .brand-logo img {
    width: 100%;
    height: 50px;
    object-fit: contain;
}

.site-footer .footer-brand strong {
    color: #fff;
    font-size: 1.1rem;
    display: block;
}

.site-footer .footer-brand span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-newsletter-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.footer-newsletter {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    padding: 5px 5px 5px 20px;
    max-width: 340px;
}

.footer-newsletter input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.88rem;
    flex: 1;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: #7fc4e8;
    color: #0f0f0c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.footer-newsletter button:hover {
    transform: scale(1.08);
}

.footer-heading {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: #7fc4e8;
    padding-left: 4px;
}

.footer-social {
    /* display: flex;
    align-items: center; 
    gap: 10px;  */
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.footer-social .social-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-grid;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
    margin-right: 10px;
}

.footer-social:hover .social-icon {
    background-color: #7fc4e8;
    color: #0f0f0c;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding: 22px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
    color: #7fc4e8;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-size: 0.9rem;
}

.footer-contact a:hover {
    color: #7fc4e8;
    padding-left: 4px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
}

/* ---------------------------------------------- Reveal animations -- */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.22, .9, .34, 1), transform 0.7s cubic-bezier(.22, .9, .34, 1);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 0.9s ease;
}

.reveal-fade.is-visible {
    opacity: 1;
}

.stagger .reveal-up:nth-child(1) {
    transition-delay: 0s;
}

.stagger .reveal-up:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger .reveal-up:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger .reveal-up:nth-child(4) {
    transition-delay: 0.3s;
}

.stagger .reveal-up:nth-child(5) {
    transition-delay: 0.4s;
}

.stagger .reveal-up:nth-child(6) {
    transition-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {

    .reveal-up,
    .reveal-fade {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    :where(html) {
        scroll-behavior: auto;
    }
}

/* ---------------------------------------------- Advisor Popup Modal -- */
.advisor-modal .modal-content {
    border-radius: 22px;
    border: none;
    overflow: hidden;
}

.advisor-modal .modal-header {
    border-bottom: none;
    padding: 20px 32px 0;
}

.advisor-modal .modal-body {
    padding: 12px 32px 32px;
}

.advisor-modal .modal-title {
    font-size: 1.6rem;
}

.advisor-modal .form-label {
    font-size: 1rem;
    color: #6b6b63;
}

.advisor-modal .form-control {
    border: none;
    border-bottom: 1px solid #dcdcdc;
    border-radius: 0;
    padding: 8px 2px;
    font-size: 0.95rem;
    /* color: #6b6b63; */
}

.advisor-modal .form-control:focus {
    box-shadow: none;
    border-bottom-color: #14140f;
}

.advisor-modal .btn-submit-dark {
    background-color: #14140f;
    color: #fff;
    border-radius: 30px;
    padding: 13px 0;
    font-weight: 600;
    width: 100%;
    border: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.advisor-modal .btn-submit-dark:hover {
    background-color: #000;
    transform: translateY(-1px);
}

.advisor-success {
    display: none;
    text-align: center;
    padding: 20px 0 10px;
}

.advisor-success .success-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #e8f7ec;
    color: #2fa84f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
}

.advisor-modal .modal-dialog {
    max-height: 90vh;
    max-width: 640px;
    display: flex;
}

.advisor-modal .modal-content {
    max-height: 90vh;
}

.advisor-modal .modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 90px);
    scrollbar-width: thin;
    scrollbar-color: #d8d4c8 transparent;
}

.advisor-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

.advisor-modal .modal-body::-webkit-scrollbar-thumb {
    background-color: #d8d4c8;
    border-radius: 10px;
}

.advisor-modal .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

@media (max-width: 575.98px) {
    .advisor-modal .modal-dialog {
        max-height: 95vh;
        max-width: calc(100% - 24px);
        margin: 12px auto;
    }

    .advisor-modal .modal-content {
        max-height: 95vh;
    }

    .advisor-modal .modal-body {
        max-height: calc(95vh - 80px);
    }
}

.iti {
    display: block !important;
}

.iti__flag {
    background-image: url(./images/flags.png) !important;
}

.form-alert {
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    font-size: 0.92rem;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.form-alert.alert-success {
    background-color: #e6f7ee;
    color: #157347;
}

.form-alert.alert-success i {
    color: #198754;
    font-size: 1.1rem;
}

.form-alert.alert-danger {
    background-color: #fdecea;
    color: #b02a37;
}

.form-alert.alert-danger i {
    color: #dc3545;
    font-size: 1.1rem;
}

.form-alert .btn-close {
    font-size: 0.75rem;
    opacity: 0.6;
}

.form-alert .btn-close:hover {
    opacity: 1;
}

.form-alert.fade-in {
    animation: alertFadeIn 0.3s ease forwards;
}

.form-alert.fade-out {
    animation: alertFadeOut 0.3s ease forwards;
}

@keyframes alertFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes alertFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}