@import url('design-system.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@100..900&display=swap');

:root {
    --navy: #08162b;
    --navy-light: #122952;
    --navy-deep: #030b18;
    --gold: #c9a84c;
    --gold-light: #ebb24b;
    --gold-deep: #ab862c;
    --white: #ffffff;
    --off-white: #f4f6fa;
    --text: #2c3a4e;
    --text-light: #64748b;
    --border: rgba(201, 168, 76, 0.2);
    --border-strong: rgba(201, 168, 76, 0.4);
    --glass: rgba(8, 22, 43, 0.45);
    --glass-light: rgba(255, 255, 255, 0.72);
    --shadow: 0 24px 60px rgba(3, 11, 23, 0.15);
    --glow: 0 0 25px rgba(201, 168, 76, 0.18);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--navy-deep);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    border-radius: 4px;
}

/* APP LOADER */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--navy-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: var(--gold);
    color: var(--navy-deep);
    border-radius: 6px;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(3,11,23,0.2);
}
#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
body.app-ready #loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    letter-spacing: 4px;
    animation: pulse 1.6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}
.loader-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.loader-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-top: 24px;
    overflow: hidden;
    position: relative;
}
.loader-bar-inner {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 10px;
    animation: load 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes load {
    to { width: 100%; }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.97); }
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2050;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-deep));
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.6);
    transition: width 0.15s ease-out;
}

/* ==========================================
   NEW PREMIUM HEADER (NAVIGATION BAR)
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    height: 72px;
    background: linear-gradient(180deg, rgba(8, 22, 43, 0.95), rgba(8, 22, 43, 0.82));
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), var(--glow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled header state */
.site-header.scrolled {
    height: 60px;
    background: rgba(3, 11, 24, 0.96);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    border-bottom-color: rgba(201, 168, 76, 0.28);
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Elegant Brand Logo Group */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.header-logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.25);
    overflow: hidden;
    transition: transform 0.4s ease;
}
.header-logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.05);
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}
.logo-subtitle {
    font-size: 0.62rem;
    color: var(--gold-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
}

/* Nav Links Styling (Desktop) */
.header-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0 !important;
    padding: 0;
    gap: 4px;
}

.nav-item-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-item-link i {
    font-size: 0.82rem;
    opacity: 0.75;
    transition: transform 0.3s ease;
}
.nav-item-link:hover i {
    transform: translateY(-1px);
}

/* Premium underline micro-animation */
.nav-item-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item-link:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.04);
}
.nav-item-link:hover::after,
.nav-item-link.active::after {
    transform: scaleX(1);
}
.nav-item-link.active {
    color: var(--gold-light) !important;
    background: rgba(201, 168, 76, 0.08);
}

.nav-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.3);
    margin: 0 6px;
}

/* Actions and CTA Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-btn {
    background: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
    color: var(--navy-deep) !important;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}
.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 168, 76, 0.5);
    color: var(--navy-deep) !important;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.logout-btn:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
    color: #ff6b6b !important;
    transform: translateY(-2px);
}


/* HERO SECTION */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 50%, #061125 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 90px 5% 80px;
}

/* Large-screen right-side vertical navigation (desktop) */
@media (min-width: 992px) {
    /* Keep navbar fixed but allow large header spacing */
    .navbar {
        padding: 0 4%;
        height: 76px;
    }

    /* Ensure inner nav container spans full height for vertical centering */
    .nav-inner {
        position: relative;
        width: 100%;
        height: 100%;
        align-items: center;
        display: flex;
        flex-wrap: nowrap;
    }

    #navLinks {
        position: static;
        transform: none;
        top: auto;
        right: auto;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        background: transparent;
        padding: 0;
        margin: 0 0 0 auto !important;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: visible;
    }

    /* Each nav item inline with small separators */
    #navLinks .nav-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        font-size: 0.95rem;
        color: rgba(255,255,255,0.95);
        border-radius: 6px;
        white-space: nowrap;
    }
    #navLinks li:not(:last-child) .nav-link {
        background: transparent !important;
    }
    #navLinks .nav-link::after { display: none; }

    /* Dot separators as inline small circles between items */
    #navLinks .nav-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(201, 168, 76, 0.35);
        margin: 0 8px;
        display: inline-block;
        vertical-align: middle;
    }

    /* Portal/Contact button styling on desktop */
    #navLinks li:last-child .nav-link {
        background: linear-gradient(135deg, var(--gold-deep), var(--gold-light)) !important;
        color: var(--navy-deep) !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
        padding: 8px 16px !important;
        margin-left: 6px;
    }
    #navLinks li:last-child .nav-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5);
        color: var(--navy-deep) !important;
    }

    /* Brand alignment */
    .navbar .navbar-brand {
        margin: 0 0 0 18px !important;
        display: flex;
        align-items: center;
        gap: 12px;
        white-space: nowrap;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.22), 0 0 10px rgba(201,168,76,0.06);
        border-radius: 50%;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
        color: var(--navy-deep);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Playfair Display', serif;
        font-weight: 800;
        font-size: 1rem;
        overflow: hidden;
    }
    .brand-title { font-size: 1rem; color: var(--white); }
    .brand-subtitle { font-size: 0.66rem; color: var(--gold-light); }

    /* Reduce hero top padding to accommodate taller navbar */
    #hero {
        padding-top: 76px;
    }
}
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.06;
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0% { transform: translateY(105vh) scale(0); opacity: 0; }
    10% { opacity: 0.08; }
    90% { opacity: 0.08; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 28px;
    animation: fadeUp 0.8s ease forwards;
}
.hero-badge i {
    color: var(--gold-light);
    font-size: 0.85rem;
}
.hero-badge span {
    font-size: 0.78rem;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeUp 1s ease 0.2s forwards;
    opacity: 0;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--gold-light) 30%, var(--gold) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    opacity: 0.3;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 620px;
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 44px;
    animation: fadeUp 1s ease 0.6s forwards;
    opacity: 0;
}
.hero-stat {
    text-align: center;
}
.hero-stat strong {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold-light);
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 6px;
    text-shadow: 0 0 15px rgba(201, 168, 76, 0.2);
}
.hero-stat span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 1s ease 0.8s forwards;
    opacity: 0;
}
.hero-btns a {
    text-decoration: none;
    border-radius: 8px;
    padding: 14px 34px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-btns .btn-primary {
    background: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
    color: var(--navy-deep);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}
.hero-btns .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(201, 168, 76, 0.55);
}
.hero-btns .btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    background: rgba(255, 255, 255, 0.03);
}
.hero-btns .btn-outline:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.08);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: fadeIn 1.2s ease 1.5s forwards;
    opacity: 0;
}
.hero-scroll span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}
.scroll-dot-wrap {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    position: relative;
}
.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.8s ease infinite;
}
@keyframes wheelScroll {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0.25; }
}

/* TICKER SYSTEM */
.ticker-wrap {
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
    overflow: hidden;
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(3, 11, 24, 0.15);
    position: relative;
    z-index: 10;
}
.ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: tickerLoop 36s linear infinite;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-deep);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 40px;
}
.ticker-item i {
    color: var(--navy-light);
    font-size: 0.95rem;
}
@keyframes tickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* GLOBAL SECTION LAYOUTS */
section {
    padding: 100px 7%;
    position: relative;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.section-label span {
    font-size: 0.8rem;
    color: var(--gold-deep);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
    opacity: 0.5;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    font-weight: 800;
    line-height: 1.25;
}
.section-title.white {
    color: var(--white);
}
.section-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin-top: 14px;
}
.section-sub.white {
    color: rgba(255, 255, 255, 0.7);
}
.divider {
    width: 64px;
    height: 3px;
    background: var(--gold);
    border-radius: 4px;
    margin: 18px 0 44px;
}

/* SERVICES REDESIGN */
#services {
    background: var(--off-white);
}
.services-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.services-header .divider {
    margin-left: auto;
    margin-right: auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.service-card {
    background: var(--white);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 30, 61, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}
.service-card.visible {
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover::before {
    width: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(201, 168, 76, 0.28);
}
.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: rgba(11, 30, 61, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.service-icon i {
    font-size: 1.6rem;
    color: var(--navy);
    transition: all 0.3s;
}
.service-card:hover .service-icon {
    background: var(--navy);
}
.service-card:hover .service-icon i {
    color: var(--gold-light);
    transform: scale(1.08);
}
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gold-deep);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.service-link i {
    transition: transform 0.3s;
}
.service-card:hover .service-link {
    color: var(--gold-light);
}
.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* ABOUT SECTION */
#about {
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.about-img-wrap {
    position: relative;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-img-wrap.visible {
    opacity: 1;
    transform: translateX(0);
}
.about-img-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-img-placeholder {
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}
.about-img-placeholder i {
    font-size: 4.8rem;
    color: rgba(201, 168, 76, 0.3);
    animation: slowPulse 3s ease-in-out infinite;
}
@keyframes slowPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.45; }
}
.about-img-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
    color: var(--navy-deep);
    padding: 22px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.4);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.about-img-badge strong {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 2px;
}
.about-img-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-deco {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 90px;
    height: 90px;
    border: 3px solid var(--gold);
    border-radius: 8px;
    opacity: 0.2;
    animation: rotateSlow 18s linear infinite;
}
@keyframes rotateSlow {
    to { transform: rotate(360deg); }
}

.about-content {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}
.about-text p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-highlight {
    font-size: 1.15rem;
    color: var(--gold-deep);
    font-weight: 600;
    margin-bottom: 18px;
    border-left: 3px solid var(--gold);
    padding-left: 16px;
}

/* WHY US SECTION */
#why {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
    overflow: hidden;
}
.why-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}
.why-header .divider {
    margin-left: auto;
    margin-right: auto;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 18px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(3, 10, 24, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.why-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}
.why-card i {
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 24px;
    display: inline-block;
    text-shadow: 0 0 15px rgba(201, 168, 76, 0.35);
}
.why-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
}
.why-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

/* INTERACTIVE TAX WORKSPACE [NEW] */
#tax-workspace {
    background: var(--off-white);
}
.workspace-container {
    max-width: 960px;
    margin: 0 auto;
}
.workspace-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}
.workspace-header .divider {
    margin-left: auto;
    margin-right: auto;
}
.tab-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    background: rgba(8, 22, 43, 0.05);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.tab-btn {
    border: none;
    background: transparent;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tab-btn.active {
    background: var(--navy);
    color: var(--gold-light);
    box-shadow: 0 4px 15px rgba(8, 22, 43, 0.2);
}
.tab-pane {
    display: none;
    animation: tabFade 0.45s ease forwards;
}
.tab-pane.active {
    display: block;
}
@keyframes tabFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.calc-card {
    background: var(--white);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}
.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
}
.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.calc-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.calc-form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text);
}
.calc-form-group input,
.calc-form-group select {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #dcdfe6;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--navy-deep);
    background-color: var(--white);
    outline: none;
    transition: all 0.3s;
}
.calc-form-group input:focus,
.calc-form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
    background-color: rgba(201, 168, 76, 0.01);
}

.calc-results {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
    border-radius: 16px;
    padding: 32px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(201, 168, 76, 0.12);
}
.results-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--gold-light);
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}
.result-row.total {
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
    padding-top: 18px;
    margin-top: 8px;
}
.result-label {
    color: rgba(255, 255, 255, 0.7);
}
.result-val {
    font-weight: 700;
    font-size: 1.05rem;
}
.result-row.total .result-label {
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
}
.result-row.total .result-val {
    color: var(--gold-light);
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

/* TAX DEADLINE TIMELINE [NEW] */
#tax-deadlines {
    background: var(--white);
}
.deadlines-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}
.deadlines-header .divider {
    margin-left: auto;
    margin-right: auto;
}
.timeline-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline-wrap::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--gold-light), transparent);
}
.timeline-node {
    display: flex;
    gap: 28px;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}
.timeline-node.visible {
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.timeline-marker {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--navy);
    border: 3px solid var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.12);
}
.timeline-marker .day {
    font-size: 1.15rem;
    line-height: 1.1;
}
.timeline-marker .month {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
}
.timeline-content {
    background: var(--off-white);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 14px;
    padding: 24px;
    flex: 1;
    position: relative;
    transition: all 0.3s;
}
.timeline-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 24px;
    width: 14px;
    height: 14px;
    background: var(--off-white);
    border-left: 1px solid rgba(201, 168, 76, 0.15);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    transform: rotate(45deg);
}
.timeline-content:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-color: rgba(201, 168, 76, 0.3);
}
.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 6px;
}
.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* TESTIMONIALS SECTION */
#testimonials {
    background: var(--off-white);
}
.testimonials-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}
.testimonials-header .divider {
    margin-left: auto;
    margin-right: auto;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    box-shadow: 0 10px 30px rgba(11, 30, 61, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}
.testimonial-card.visible {
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(201, 168, 76, 0.28);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--navy-deep);
    font-weight: 800;
}
.testimonial-info strong {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 700;
    display: block;
}
.testimonial-info small {
    font-size: 0.78rem;
    color: var(--text-light);
}
.testimonial-stars {
    color: var(--gold-light);
    font-size: 0.8rem;
    margin-bottom: 16px;
}
.testimonial-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

/* CONTACT SECTION REDESIGN */
#contact {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
    overflow: hidden;
}
.contact-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}
.contact-header .divider {
    margin-left: auto;
    margin-right: auto;
}
.contact-container {
    max-width: 900px;
    margin: 0 auto;
}
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px rgba(3, 10, 24, 0.35);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group.full {
    grid-column: 1 / -1;
}
.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.55);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white) !important;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.28);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}
.form-group select option {
    background-color: var(--navy-deep);
    color: var(--white);
}
.form-group textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    grid-column: 1 / -1;
    margin-top: 10px;
}

/* BACK TO TOP & UTILS */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
    color: var(--navy-deep);
    border: none;
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(201, 168, 76, 0.6);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), 0 0 12px rgba(37, 211, 102, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.45rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55), 0 0 18px rgba(37, 211, 102, 0.3);
    color: var(--white) !important;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
}
.hamburger:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: rgba(201, 168, 76, 0.3);
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--gold-light); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--gold-light); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.4s ease forwards;
}
.nav-overlay.open {
    display: block;
}

/* FOOTER SECTION */
.site-footer {
    background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy-deep) 100%);
    color: var(--white);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    position: relative;
    z-index: 10;
}
.footer-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.footer-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-badge {
    padding: 10px 22px;
    border-radius: 30px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.25);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.footer-grid {
    margin-bottom: 28px;
}
.footer-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
}
.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 18px;
    font-weight: 700;
}
.footer-about p,
.footer-cta p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.92rem;
}
.footer-contact-list div {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-contact-list i {
    color: var(--gold-light);
    font-size: 1rem;
    width: 20px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    font-size: 0.9rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-links a:hover {
    color: var(--gold-light);
    border-color: rgba(201, 168, 76, 0.18);
    background: rgba(201, 168, 76, 0.08);
    transform: translateX(4px);
}
.footer-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-actions .btn {
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 0.88rem;
    font-weight: 700;
}
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

/* PORTAL CORE SHELL */
.site-shell {
    margin-top: 88px;
    min-height: calc(100vh - 88px);
    display: flex;
    flex-direction: column;
}

/* KEY ANIMATION ENGINE */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .hamburger { display: flex; }
    
    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: min(300px, 80vw);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: rgba(3, 11, 24, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 24px 40px;
        gap: 6px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(201, 168, 76, 0.15);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        height: 100vh;
        z-index: 1051;
    }
    .navbar-nav.open {
        right: 0;
    }
    .nav-link {
        font-size: 0.95rem;
        padding: 14px 18px;
        border-radius: 8px;
    }
    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.active {
        background: rgba(201, 168, 76, 0.08);
    }
    .nav-dot, .nav-divider { display: none; }
    
    .navbar-nav .portal-btn {
        background: linear-gradient(135deg, var(--gold-deep), var(--gold-light)) !important;
        color: var(--navy-deep) !important;
        font-weight: 700 !important;
        justify-content: center;
        margin-top: 14px;
    }
    .navbar-nav .logout-btn {
        background: rgba(220, 53, 69, 0.15) !important;
        color: #ff6b6b !important;
        border: 1px solid rgba(220, 53, 69, 0.3) !important;
        justify-content: center;
        margin-top: 14px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-img-badge {
        right: 0;
        bottom: -15px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        padding: 32px;
    }
}

@media (max-width: 575px) {
    section {
        padding: 80px 5%;
    }
    .timeline-wrap::before {
        left: 21px;
    }
    .timeline-node {
        gap: 16px;
    }
    .timeline-marker {
        width: 44px;
        height: 44px;
        box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
    }
    .timeline-marker .day {
        font-size: 0.9rem;
    }
    .timeline-marker .month {
        font-size: 0.5rem;
    }
    .timeline-content {
        padding: 18px;
    }
    .timeline-content::before {
        top: 16px;
    }
}

