/* ROOT THEME VARIABLES */
:root {
    --color-primary: #0b5ed7;
    --color-secondary: #1f2933;
    --color-text: #374151;
    --color-bg: #ffffff;
    --color-muted: #6b7280;

    --font-main: 'Inter', system-ui, sans-serif;
}

/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

/* LAYOUT */
.container {
    max-width: 1190px;
    margin: auto;
    padding: 1.275rem;
}

/* HEADER */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6.8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 77px;
    padding-top: 8px;
}

/* Header container overlap to allow full width nav */
.site-header .container {
    max-width: 98%;
    /* Increase width to fit translations */
}


.header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.425rem;
    padding-bottom: 0.34rem;
}

.logo {
    font-size: 1.53rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    letter-spacing: -0.02em;
    margin-bottom: -12px;
}
img#img-id {
    width: 180px !important;
    height: 80px !important;
    margin-top: 21px;
}

/* Navigation */
/* Navigation */
/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-left: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.85rem;
    /* Reduced gap to accommodate longer translations */
    margin: 0;
    padding: 0;
    position: relative;
    /* Anchor for dropdown centering */
}

/* Navigation Links */
.main-nav a {
    text-decoration: none;
    color: #000;
    font-size: 15.3px;
    /* Slightly smaller to ensure fit */
    font-weight: 500;
    /* Increased weight slightly */
    padding: 0.425rem 0.51rem;
    /* Reduced padding for more items */
    border-radius: 6.8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.17rem;
    position: relative;
    background-color: transparent;
    white-space: nowrap;
    /* Prevent wrapping for long translations */
}

/* Hover Effect: Light Gray Pill */
.main-nav a:hover,
.has-dropdown:hover>a {
    color: #111;
    background-color: #f3f4f6;
}

/* Chevron Arrow Icon (Desktop) */
.nav-icon {
    display: inline-block;
    width: 8.5px;
    height: 8.5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

/* Rotate Arrow on Hover */
.has-dropdown:hover .nav-icon {
    transform: rotate(180deg);
}

/* Hide standard text arrow on desktop if present */
.nav-arrow {
    display: none;
}


/* MEGA MENU STYLES */
.has-dropdown {
    position: static;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 765px;
    /* Increased slightly */
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 13.6px;
    /* Slightly more rounded */
    box-shadow: 0 8.5px 34px -8.5px rgba(0, 0, 0, 0.08);
    /* softer shadow */
    z-index: 1000;
    overflow: hidden;
    padding: 0;
    margin-top: 3.4px;
    cursor: default;
}


.has-dropdown:hover .dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8.5px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-content {
    padding: 0.425rem;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.55rem;
    padding: 1.7rem;
    /* Increased padding */
}

/* 2-Column Modifier */
.dropdown-grid-2 {
    grid-template-columns: 1fr 1fr;
    max-width: 467.5px;
    margin: 0 auto;
}

/* Vertical Divider Modifier */
.dropdown-divider-cols .dropdown-col {
    position: relative;
}

.dropdown-divider-cols .dropdown-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.275rem;
    top: 0;
    height: 100%;
    width: 0.85px;
    background-color: #f3f4f6;
}

/* Optional compact modifier if we want even smaller width for specific menus */
.dropdown-menu-compact {
    width: auto;
    min-width: 255px;
    max-width: 510px;
}

.dropdown-heading {
    font-size: 0.595rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
}

.hidden-heading {
    visibility: hidden;
}

.dropdown-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7225rem;
}

.dropdown-item {
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
}

.dropdown-item:hover .item-title {
    color: #000;
}

.item-title {
    display: block;
    font-size: 0.8075rem;
    /* Slightly larger */
    font-weight: 500;
    color: #000000;
    margin-bottom: 0.085rem;
    line-height: 1.2;
}

.item-desc {
    display: block;
    font-size: 0.68rem;
    color: #9ca3af;
    font-weight: 400;
    line-height: 1.3;
}


/* Dropdown Banner */
.dropdown-banner {
    background: #f9fafb;
    padding: 0.85rem 1.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f3f4f6;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.banner-icon-bg {
    width: 30.6px;
    height: 30.6px;
    background: linear-gradient(135deg, #111, #333);
    /* Darker vibe */
    border-radius: 6.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.765rem;
}

.banner-text {
    display: flex;
    flex-direction: column;
}

.banner-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
}

.banner-desc {
    font-size: 0.68rem;
    color: #666;
}

.banner-arrow {
    width: 23.8px;
    height: 23.8px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #111;
    border: 1px solid #e5e7eb;
}

/* Scrolled State adjustments */
.site-header.scrolled-nav .main-nav.active {
    display: flex;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.btn-login {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-size: 0.8075rem;
    padding: 0.425rem 0.425rem;
    white-space: nowrap;
    /* Prevent wrapping for long translations */
    border-radius: 6.8px;
    transition: color 0.2s;
}

.btn-login:hover {
    background-color: transparent;
    /* No background on hover for desktop login */
    color: #555;
    opacity: 0.8;
}

.btn-signup {
    text-decoration: none;
    background-color: #000;
    color: #fff;
    font-weight: 500;
    font-size: 0.765rem;
    padding: 0.425rem 1.02rem;
    white-space: nowrap;
    /* Prevent wrapping for long translations */
    border-radius: 42.5px;
    transition: transform 0.15s ease, opacity 0.2s;
}

.btn-signup:hover {
    opacity: 0.8;
    transform: translateY(-0.85px);
}

/* HERO SECTION */
.hero {
    padding: 4.25rem 0;
    background: #f9fafb;
    text-align: center;
}

.hero h2 {
    font-size: 2.125rem;
    margin-bottom: 0.85rem;
    color: var(--color-secondary);
}

.hero p {
    max-width: 595px;
    margin: auto;
    color: var(--color-muted);
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    margin-top: 1.7rem;
    padding: 0.6375rem 1.275rem;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 5.1px;
    font-weight: 600;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* FOOTER */
.site-footer {
    position: relative;
    background-color: #f9fafb;
    /* Light background */
    color: #1f2933;
    margin-top: 3.4rem;
    font-size: 0.765rem;
    overflow: hidden;
    padding-bottom: 1.7rem;
}

.footer-container-fluid {
    width: 100%;
    padding: 0 5%;
    /* Small padding to avoid touching edges completely, or 0 if desired strict full width. 5% matches typical fluid layouts */
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3.4rem;
    /* Increased gap to fill space better */
    padding-top: 3.4rem;
    padding-bottom: 0.85rem;
    /* Reduced from 3rem */
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.425rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

/* Simulate the icon in the branding if needed, or just text */
.footer-logo::before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    background-color: #333;
    border-radius: 50%;
    /* Placeholder for logo icon */
    background-image: radial-gradient(circle at 30% 30%, #555, #000);
}


.footer-col h4 {
    color: #9ca3af;
    /* Muted gray for headers */
    font-size: 0.7225rem;
    font-weight: 500;
    margin-bottom: 1.275rem;
    letter-spacing: 0.01em;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.7225rem;
}

.footer-nav a {
    text-decoration: none;
    color: #111;
    /* Dark text for links */
    font-weight: 500;
    font-size: 0.765rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #4b5563;
    /* Slightly lighter on hover or color primary */
    text-decoration: none;
}
#logo-img {
    height: 50px !important;
    width: 110px !important;
}
/* Footer Bottom handled by grid implicitly or removal if not in design.
  The requested image DOES NOT show a bottom bar (copyright etc).
  However, usually it's there. The prompt said "exactly like the given picture".
  The picture cuts off. I will keep the bottom bar but style it minimally
  or hide it if it looks out of place. I'll make it blend in.
*/

/* Footer Bottom */
.footer-bottom {
    display: block;
    margin-top: 0;
    /* Removed margin-top */
    padding-top: 1.275rem;
    /* Reduced padding-top */
    border-top: 1px solid #e5e7eb;
}

.footer-brand-row {
    margin-bottom: 1.275rem;
}

.footer-brand-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-bottom-logo {
    font-weight: 700;
    font-size: 0.935rem;
    color: #111;
}

.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    background-color: #f3f4f6;
    border: none;
    padding: 0.255rem 0.68rem;
    border-radius: 42.5px;
    font-size: 0.6375rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lang-icon {
    font-size: 0.7225rem;
    line-height: 1;
}

.footer-legal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: #6b7280;
    flex-wrap: wrap;
    /* Safety for smaller screens */
    gap: 1.7rem;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 1.275rem;
}

.social-icons a {
    color: #6b7280;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.social-icons a:hover {
    color: #111;
}

.social-icons svg {
    width: 17px;
    height: 17px;
}

.legal-links {
    display: flex;
    gap: 1.275rem;
    align-items: center;
}

.footer-legal-left {
    display: flex;
    align-items: center;
    gap: 1.7rem;
    flex-wrap: wrap;
}

.copyright {
    color: #374151;
    font-weight: 500;
}

.legal-links a {
    text-decoration: none;
    color: #6b7280;
    transition: color 0.2s;
    font-weight: 500;
}

.legal-links a:hover {
    color: #111;
}

/* Responsive Footer Bottom */
@media (max-width: 600px) {
    .footer-legal-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .legal-links {
        flex-wrap: wrap;
        gap: 0.85rem;
    }
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
        gap: 1.7rem;
    }

    .brand-col {
        grid-column: span 2;
        margin-bottom: 0.85rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .brand-col {
        grid-column: span 1;
    }
}

/* LANGUAGE SELECTOR & SIDEBAR */
/* LANGUAGE SELECTOR & SIDEBAR */
.auth-group-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15.3px;
    font-weight: 600;
    color: #111;
    display: flex;
    align-items: center;
    gap: 0.34rem;
    padding: 0.425rem 0.51rem;
    white-space: nowrap;
    transition: opacity 0.2s;
    border-radius: 6.8px;
}

.lang-trigger:hover {
    opacity: 0.7;
}

.lang-trigger .globe-icon {
    width: 13.6px;
    height: 13.6px;
    color: #0070ad;
    /* Capgemini blue-ish or brand primary */
}

/* Sidebar Overlay */
.lang-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(1.7px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lang-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.lang-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 340px;
    height: 100vh;
    background-color: #ffffff;
    /* Light background */
    color: #1f2937;
    /* Dark text */
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4.25px 0 21.25px rgba(0, 0, 0, 0.1);
}

.lang-sidebar.active {
    transform: translateX(0);
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.275rem 1.7rem;
    padding-bottom: 0.425rem;
}

.sidebar-header h3 {
    font-size: 0.935rem;
    font-weight: 400;
    color: #111827;
    /* Darker gray */
}

.close-sidebar {
    background: none;
    border: none;
    color: #4b5563;
    /* Gray close icon */
    cursor: pointer;
    padding: 0.425rem;
    transition: transform 0.2s;
}

.close-sidebar:hover {
    transform: rotate(90deg);
    color: #111827;
}

/* Current Selection Box */
.lang-current-selection {
    background-color: #0070ad;
    /* Brand blue, keeping highlight but distinct */
    margin: 0.85rem 1.7rem;
    padding: 1.0625rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.lang-current-selection:hover {
    background-color: #005685;
}

.globe-icon-lg {
    font-size: 1.02rem;
}

.current-text {
    flex: 1;
    font-weight: 600;
    font-size: 0.85rem;
}

.check-icon {
    font-size: 1.02rem;
}

/* Search Box */
.lang-search-container {
    margin: 0 1.7rem;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
    /* Light border */
}

#langSearch {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.85rem 0;
    padding-right: 1.7rem;
    color: #111827;
    /* Dark text */
    font-size: 0.85rem;
    outline: none;
}

#langSearch::placeholder {
    color: #9ca3af;
}

.search-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    /* Gray icon */
    pointer-events: none;
}

/* Language List */
.lang-list-container {
    flex: 1;
    overflow-y: auto;
    padding: 0.85rem 1.7rem;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f3f4f6;
    /* Light scrollbar */
}

.lang-group {
    margin-bottom: 1.7rem;
}

.lang-group-title {
    font-size: 0.85rem;
    color: #6b7280;
    /* Gray title */
    margin-bottom: 0.85rem;
    font-weight: 500;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    background: none;
    border: none;
    padding: 0.6375rem 0;
    color: #9ca3af;
    cursor: not-allowed;
    text-align: left;
    transition: color 0.2s;
    font-size: 0.8075rem;
}

.lang-option:hover {
    color: #5c5c5c;
}

.lang-option.active {
    display: none;
    /* Hide current selection from list as it's at the top? Or show differently? Capgemini shows it separately. */
}

.lang-flag {
    font-size: 1.2rem;
    margin-bottom: 4px;
}
/* Scrollbar styles for webkit */
.lang-list-container::-webkit-scrollbar {
    width: 5.1px;
}

.lang-list-container::-webkit-scrollbar-track {
    background: #1f2937;
}

.lang-list-container::-webkit-scrollbar-thumb {
    background-color: #4b5563;
    border-radius: 2.55px;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .lang-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .lang-current-selection,
    .lang-search-container,
    .sidebar-header,
    .lang-list-container {
        padding-left: 1.275rem;
        padding-right: 1.275rem;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Mobile Navigation & Drawer */
.nav-header,
.nav-footer,
.mobile-actions,
.btn-signup-header-mobile,
.close-menu {
    display: none;
}

.nav-arrow {
    display: none;
}

/* Helper for desktop auth grouping */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

@media (max-width: 900px) {

    /* Header Layout adjustments */
    .header-layout {
        justify-content: space-between;
    }

    /* Hide Desktop Auth */
    .auth-buttons.desktop-hide {
        display: none;
    }

    /* Show Mobile Actions */
    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 0.85rem;
    }

    .btn-signup-header-mobile {
        display: inline-block;
        background: #000;
        color: #fff;
        padding: 0.425rem 0.85rem;
        border-radius: 42.5px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.765rem;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 20.4px;
        /* Slightly narrower to match reference */
        height: 15.3px;
        /* Compact height */
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
        margin-left: 0.425rem;
        /* Spacing from sign up button */
    }

    .hamburger-menu span {
        width: 100%;
        height: 1.7px;
        /* Thinner lines like the reference */
        background-color: #000;
        /* Pure black */
        border-radius: 3.4px;
        /* Rounded tips */
        transition: all 0.3s ease;
    }

    /* Drawer Styles */
    .main-nav {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 2000;
        flex-direction: column;
        padding: 0;
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex;
    }

    /* Drawer Header */
    .nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.275rem;
        border-bottom: 1px solid #f3f4f6;
        /* Optional */
    }

    .nav-brand {
        font-size: 1.275rem;
        font-weight: 800;
        color: #666;
        /* Greyish as per screenshot */
    }

    .close-menu {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        color: #000;
        padding: 0.425rem;
    }

    /* Drawer Links */
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0.85rem 0;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0.85rem 1.275rem;
        font-size: 0.935rem;
        color: #111;
        border-radius: 0;
        font-weight: 500;
    }

    .main-nav a:hover {
        background-color: #f9fafb;
    }

    .nav-arrow {
        display: inline-block;
        font-size: 1.02rem;
        color: #999;
    }

    .nav-icon {
        display: none;
        /* Hide desktop down arrows */
    }

    /* Drawer Footer */
    .nav-footer {
        display: flex;
        flex-direction: row;
        /* Horizontal */
        justify-content: center;
        /* Centered */
        gap: 0.85rem;
        padding: 1.7rem 1.275rem;
        margin-top: auto;
    }

    .btn-login-mobile,
    .btn-signup-mobile {
        flex: 1;
        /* Make them equal width or remove to wrap content */
        max-width: 127.5px;
        /* Limit width for clean look */
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 0.6375rem 1.275rem;
        /* Medium size */
        border-radius: 849.15px;
        /* Curved */
        font-weight: 600;
        font-size: 0.8075rem;
        text-decoration: none;
        transition: transform 0.2s;
    }

    .btn-login-mobile {
        border: 1px solid #e5e7eb;
        color: #111;
    }

    /* Drill-down Submenu Styles */
    .dropdown-menu {
        display: block !important;
        /* Force display for transform logic, visibility handled by opacity/transform */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 2100;
        /* Higher than main nav */
        overflow-y: auto;
        padding: 3.4rem 1.275rem 1.7rem;
        /* Top padding for back button */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        opacity: 0;
        pointer-events: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 0;
    }

    .dropdown-menu.mobile-active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Override desktop styles within mobile */
    .dropdown-grid {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 1.7rem;
    }

    .dropdown-col {
        margin-bottom: 0;
        /* Handled by gap */
    }

    .dropdown-grid-2 {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .dropdown-divider-cols .dropdown-col:not(:last-child)::after {
        display: none;
    }

    .dropdown-heading {
        font-size: 0.6375rem;
        margin-bottom: 0.85rem;
        color: #6e6e6e;
        letter-spacing: 0.05em;
    }

    .dropdown-links {
        gap: 1.02rem;
    }

    .dropdown-item .item-title {
        font-size: 0.8075rem;
        /* Slightly smaller for mobile list */
        font-weight: 500;
        margin-bottom: 0.17rem;
    }

    .dropdown-item .item-desc {
        font-size: 0.68rem;
        color: #6b7280;
    }

    .dropdown-banner {
        display: flex;
        /* Show banner */
        margin-top: 0.85rem;
        border-top: 1px solid #f3f4f6;
        padding-top: 1.275rem;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
        background: transparent;
    }

    .banner-content {
        flex: 1;
    }

    .banner-arrow {
        display: none;
    }

    /* Back Button */
    .mobile-back-btn {
        display: flex;
        align-items: center;
        position: absolute;
        top: 1.275rem;
        left: 0.85rem;
        background: none;
        border: none;
        color: #111;
        cursor: pointer;
        padding: 0.425rem;
        z-index: 2200;
    }

    .btn-signup-mobile:hover,
    .btn-login-mobile:hover {
        transform: translateY(-1.7px);
    }

    /* Scrolled State adjustments */
    .site-header.scrolled-nav .main-nav.active {
        display: flex;
    }
}

/* =========================================
   NEW PRE-FOOTER & MINIMAL FOOTER STYLES
   ========================================= */

/* Pre-Footer Section */
.pre-footer-section {
    position: relative;
    width: 100%;
    min-height: 510px;
    display: flex;
    flex-direction: column;
    gap: 2.55rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    padding: 5.1rem 0.85rem;
}

/* Background Wave/Glow Simulation */
/* Background Wave/Glow Simulation */

.bg-wave-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    /* background-color removed */
}

.bg-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: url('../media/green-wave.png');
    background-size: 50% auto;
    background-position: center;
    background-repeat: repeat-x;
    opacity: 0.8;
    mix-blend-mode: multiply;
    /* Blends white background of image */
    animation: particlesFlow 60s linear infinite;
}

@keyframes particlesFlow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* CTA Card */
/* CTA Card */
.cta-card {
    position: relative;
    z-index: 10;
    background: #fff;
    width: 100%;
    max-width: 374px;
    border-radius: 27.2px;
    padding: 2.55rem 2.125rem;
    text-align: center;
    /* Deep, soft levitation shadow */
    box-shadow:
        0 25.5px 51px -10.2px rgba(0, 0, 0, 0.12),
        0 15.3px 30.6px -15.3px rgba(0, 0, 0, 0.08),
        0 0 0 0.85px rgba(0, 0, 0, 0.02);
}

.cta-icon-wrapper {
    width: 47.6px;
    height: 47.6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 13.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.7rem;
    color: #111;
    box-shadow: 0 3.4px 10.2px rgba(0, 0, 0, 0.03);
}

.cta-card h2 {
    font-size: 1.4875rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 2.125rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.cta-btn-black {
    display: block;
    width: 100%;
    background: #295950;
    color: #fff;
    font-weight: 700;
    font-size: 0.7225rem;
    padding: 0.935rem;
    border-radius: 42.5px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.275rem;
    transition: transform 0.2s, opacity 0.2s;
}

.cta-btn-black:hover {
    transform: translateY(-1.7px);
    opacity: 0.9;
}

.cta-login-text {
    font-size: 0.765rem;
    color: #666;
}

.cta-login-text a {
    color: #111;
    text-decoration: underline;
    font-weight: 500;
    text-underline-offset: 1.7px;
}

/* Social Icons Row */
.social-icons-row {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.social-icons-row a {
    color: #111;
    transition: all 0.2s ease;
    background: #fff;
    border: 1px solid #e5e7eb;
    width: 37.4px;
    height: 37.4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1.7px 4.25px rgba(0, 0, 0, 0.02);
}

.social-icons-row a:hover {
    transform: translateY(-2.55px);
    border-color: #d1d5db;
    box-shadow: 0 4.25px 10.2px rgba(0, 0, 0, 0.08);
}

.social-icons-row svg {
    width: 17px;
    height: 17px;
}





@media (max-width: 600px) {
    .cta-card {
        margin: 0 0.85rem;
        width: calc(100% - 1.7rem);
    }
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 25.5px;
    right: 25.5px;
    width: 38.25px;
    height: 38.25px;
    background-color: #96c549;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3.4px 10.2px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(17px);
    transition: all 0.3s ease;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    background-color: #295950;
    /* Slightly darker shade of primary */
    transform: translateY(-1.7px);
    box-shadow: 0 5.1px 13.6px rgba(0, 0, 0, 0.2);
}

#scrollToTopBtn svg {
    width: 20.4px;
    height: 20.4px;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    #scrollToTopBtn {
        bottom: 17px;
        right: 17px;
        width: 34px;
        height: 34px;
    }
}


@media (max-width: 900px) {
    .auth-group-wrapper {
        display: none;
    }
}