/* =========================================
   GLOBAL VARIABLES & RESETS
========================================= */
:root {
    /* Unified Brand Colors */
    --primary: #041B3E;
    --primary-color: #041B3E;
    --accent: #CA8F3D;
    --asset: #CA8F3D;
    --gold: #CA8F3D;
    --accent-color: #CA8F3D;
    --asset-color: #CA8F3D;

    /* Backgrounds & Text */
    --bg-white: #FFFFFF;
    --bg-color: #FFFFFF;
    --white: #FFFFFF;
    --bg-light: #FAFAFB;
    --text-main: #041B3E;
    --text-light: #FFFFFF;

    /* Muted Text Variations (Scoped to keep exact original designs) */
    --text-muted: #555555;
    --text-muted-about: #4a5568;
    --text-muted-subscribe: #A0B2C6;
    --text-dark: #1A1A1A;
    --text-main: #374151;

    /* Component Specifics */
    --card-bg: #FFFFFF;
    --card-border: #EAEAEA;
    --section-bg: #F5EFE6;
    --border-color: #EAEAEA;

    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --global-padding-x: 5%;
    --global-max-width: 1200px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* :root {
    --bg-color: #F8F9FA;
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* check it once */
section {
    padding: 80px 5% 0 5%;
}

/* =========================================
   NAVBAR (Your code, perfectly intact)
========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--global-padding-x);
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(4, 27, 62, 0.03);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img-container {
    width: 130px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img-container img:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(4, 27, 62, 0.15);
}

.btn-contact:hover {
    background-color: var(--accent-color);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(202, 143, 61, 0.25);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
    background: none;
    border: none;
    z-index: 1001;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger:hover {
    color: var(--accent-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-link {
    font-size: 20px;
    font-weight: 600;
}

.mobile-menu .btn-contact {
    padding: 14px 40px;
    font-size: 16px;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-menu:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

/* --- Privacy Policy Specific Styles --- */

.legal-section {
    padding: 60px var(--global-padding-x) 100px var(--global-padding-x);
    background-color: var(--bg-light);
    /* Adds a subtle contrast from the main white content */
}

.legal-container {
    max-width: 800px;
    /* Narrower width for optimal reading experience */
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(4, 27, 62, 0.04);
    /* Soft shadow using primary color */
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-header h1 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 2.8rem;
    margin-bottom: 12px;
    line-height: 1.2;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.legal-content h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.7rem;
    margin: 45px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.25rem;
    margin: 30px 0 15px 0;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 18px;
    color: var(--text-main);
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.legal-content li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 8px;
    color: var(--text-main);
    position: relative;
    list-style-type: disc;
    padding-left: 5px;
}

.contact-block {
    background-color: var(--section-bg);
    padding: 20px 25px;
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    margin-top: 10px;
}

.legal-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 40px 0 30px 0;
}

.note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* JS Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   FOOTER (Updated padding for alignment)
========================================= */
.site-footer {
    background-color: var(--primary);
    color: var(--bg-white);
    /* Updated left/right to match global 5% spacing, keeping original vertical flow */
    padding: 60px var(--global-padding-x) 30px;
    position: relative;
    width: 100%;
}

.footer-content-wrapper {
    max-width: var(--global-max-width);
    /* Anchored to global max-width */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    width: 160px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-brand-bio {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 280px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.footer-social-icons a {
    color: var(--bg-white);
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.footer-social-icons a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item i {
    color: var(--bg-white);
    margin-top: 3px;
    font-size: 14px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-made-with {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 25px;
}

.footer-made-with i {
    color: #ff4d4d;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.footer-bottom-bar {
    max-width: var(--global-max-width);
    margin: 50px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   MEDIA QUERIES (Responsive adjustments)
========================================= */
@media (min-width: 769px) and (max-width: 1024px) {

    .nav-links {
        gap: 20px;
    }

}

@media (max-width: 768px) {

    .nav-links,
    .navbar>.btn-contact {
        display: none;
    }

    .nav-link:hover::after {
        width: 0%;
    }

    .hamburger {
        display: block;
    }

    section {
        margin: 60px 0 0 0;
        padding: 0 5%;
    }

    .legal-container {
        padding: 30px 20px;
    }

    .legal-header h1 {
        font-size: 2.2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .site-footer {
        padding: 40px var(--global-padding-x) 20px;
    }

    .footer-content-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: left;
    }

    .footer-col-brand {
        align-items: flex-start;
    }

    .footer-brand-bio {
        max-width: 100%;
    }

    .footer-bottom-bar {
        margin-top: 35px;
        padding-top: 20px;
    }
}