/* =====================================
    RESET & GLOBAL FIXES
===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Fixes the left-to-right moving issue */
    scroll-behavior: smooth;
}

body {
    /* Updated to Syne */
    font-family: 'Syne', sans-serif;
    font-weight: 400; /* Standard weight */
    line-height: 1.6;
    color: #21313B;
    background-color: #fff;
    -webkit-font-smoothing: antialiased; /* Makes Syne look crisper on Mac/iOS */
    -moz-osx-font-smoothing: grayscale;
}

/* Optional: Syne looks especially good on headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700; /* Bold weight for impact */
}

/* =====================================
   VARIABLES
===================================== */
:root {
    --primary-blue: #CD9933;
    --dark-navy: #0A3616;
    --hover-blue: #CD9933;
    --white: #ffffff;
}



/* =====================================
   HEADER WRAPPER
===================================== */
/* =====================================
    HEADER WRAPPER
===================================== */
.custom-header {
    position: fixed;
    top: 15px;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0 15px;
}

/* =====================================
    NAV CONTAINER
===================================== */
.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    border-radius: 60px;
    box-shadow: 0 12px 30px rgba(33, 49, 59, 0.12);
}

/* =====================================
    LOGO
===================================== */
.logo img {
    height: 70px;
    display: block;
}

/* =====================================
    DESKTOP MENU
===================================== */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--dark-navy);
    font-size: 13px;
    font-weight: 700;
    padding: 16px 10px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.nav-menu li a:hover {
    color: var(--primary-blue);
}

/* =====================================
    DROPDOWN BASICS
===================================== */
.dropdown,
.sub-dropdown {
    position: relative;
}

.dropdown-content,
.sub-dropdown-content {
    position: absolute;
    background: var(--white);
    min-width: 260px;
    border-radius: 16px;
    padding: 12px 0;
    list-style: none;
    box-shadow: 0 20px 40px rgba(33, 49, 59, 0.14);
    border: 1px solid #f1f3f6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.dropdown-content {
    top: calc(100% + 10px);
    left: 0;
}

.sub-dropdown-content {
    top: 0;
    left: 100%;
    margin-left: 8px;
}

/* =====================================
    DROPDOWN HOVER UPDATES (REQUESTED)
===================================== */
.dropdown-content li a,
.sub-dropdown-content li a {
    padding: 12px 20px;
    margin: 0 10px;      /* Adds spacing so the background doesn't hit the border */
    border-radius: 10px; /* Matches the rounded UI theme */
    color: var(--dark-navy);
    transition: all 0.2s ease;
}

/* Changed hover from text-only to Background + White Text */
.dropdown-content li a:hover,
.sub-dropdown-content li a:hover {
    background-color: #CD9933; /* Matches your login button blue */
    color: #ffffff !important;
}

/* Ensure arrows inside dropdown turn white on hover */
.dropdown-content li a:hover .side-arrow,
.dropdown-content li a:hover .arrow {
    color: #ffffff;
}

/* Desktop Visibility */
@media (min-width: 1101px) {
    .dropdown:hover > .dropdown-content,
    .sub-dropdown:hover > .sub-dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Hover bridge */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

.sub-dropdown::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 15px;
    height: 100%;
}

.arrow,
.side-arrow {
    font-size: 10px;
    pointer-events: none;
}

/* =====================================
    BUTTONS
===================================== */
.header-btns {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-btn {
    background-color: #CD9933;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.login-btn:hover {
    background-color: #0A3616;
}

.mobile-login {
    display: none;
}

/* =====================================
    MOBILE
===================================== */
@media (max-width: 1100px) {

    .nav-container {
        padding: 10px 20px;
        border-radius: 40px;
    }

    .logo img {
        height: 60px;
    }

    .desktop-btn {
        display: none;
    }

    .mobile-login {
        display: block;
        padding: 15px 24px;
    }

    .mobile-btn {
        width: 100%;
        text-align: center;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        background: var(--white);
        width: 95%;
        padding: 20px 0;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(33, 49, 59, 0.18);
        display: none;
        max-height: 75vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        padding: 16px 24px;
        border-bottom: 1px solid #f4f4f4;
        justify-content: space-between;
    }

    .dropdown-content,
    .sub-dropdown-content {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        width: 100%;
        background: #fafcff;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary-blue);
        border-radius: 0;
        padding-left: 12px;
        margin: 0; /* Remove the desktop margin for mobile layout */
    }

    .dropdown.active > .dropdown-content,
    .sub-dropdown.active > .sub-dropdown-content {
        display: block;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .bar {
        width: 24px;
        height: 3px;
        background: var(--dark-navy);
        transition: 0.3s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/* =====================================
   FOOTER
===================================== */
/* CSS Reset and Typography */
.balanced-footer {
    background-color: #ffffff;
    font-family: "Raleway", sans-serif;
    padding: 30px 0 10px 0;
    border-top: 0px solid #f2f2f2;
}

.footer-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between; /* Creates equal gaps between columns */
    align-items: flex-start;
}

/* Headings */
.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #0A3616;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* Links and Lists */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-list a, .info-link {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    transition: 0.3s ease;
}

.footer-list a:hover {
    color: #CD9933;
}

/* Contact and Address Styling */
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.info-link i {
    font-size: 16px;
    color: #0A3616;
    width: 20px;
    margin-top: 4px;
}

/* Social Icon Styling - Circular & Floating */
.social-icon-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border: 1px solid #0A3616;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A3616; /* Specific blue-grey from your reference */
    text-decoration: none;
    transition: all 0.3s ease;
    animation: floatEffect 4s ease-in-out infinite;
}

.icon-circle:hover {
    background-color: #CD9933;
    color: #fff;
    border-color: #CD9933;
    transform: scale(1.1);
}

@keyframes floatEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Legal Bar styling */
.footer-legal-bar {
    margin-top: 15px;
    padding: 10px 40px 0 40px;
    border-top: 1px solid #f2f2f2;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.developer-tag a {
    color: #000;
    text-decoration: none;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .footer-main-container { flex-wrap: wrap; gap: 40px; }
    .footer-column { flex: 1 1 45%; }
}

@media (max-width: 600px) {
    .footer-main-container { flex-direction: column; }
    .legal-container { flex-direction: column; gap: 15px; text-align: center; }
}