/* Global Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #0A2342; /* Navy Blue */
    font-weight: 600;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #F8F9FA;
}

.section-subtitle {
    display: block;
    font-family: 'Lato', sans-serif;
    color: #C5A059; /* Gold accent */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
}

/* 1. DISCLAIMER OVERLAY */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0A2342; /* Solid Navy Blue so NO background is visible or accessible */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden; /* Prevents scrolling */
}

.overlay-content {
    background-color: #fff;
    padding: 40px;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 4px;
    border-top: 5px solid #C5A059;
}

.overlay-content h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.overlay-content p, .overlay-content ul {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.overlay-content ul {
    padding-left: 20px;
}

.disclaimer-btns {
    display: flex;
    justify-content: space-between; /* Pushes Agree to left, Disagree to right */
    align-items: center;
    margin-top: 30px;
}

/* Bigger Agree Button */
#agree-btn {
    padding: 15px 50px; /* Much larger padding */
    background-color: #C5A059; /* Solid Gold background */
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px; /* Larger font */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

#agree-btn:hover {
    background-color: #0A2342;
}

/* Smaller Disagree Button */
.btn-disagree {
    padding: 10px 25px;
    background-color: transparent;
    color: #888;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-disagree:hover {
    border-color: #dc3545;
    color: #dc3545;
}


/* 2. NAVIGATION BAR */
#header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 28px;
    color: #C5A059; /* Gold */
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #0A2342;
    line-height: 1;
}

.logo-subtext {
    font-size: 11px;
    color: #555;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: #0A2342;
}

.nav-links a.active::after, .nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #C5A059;
}

/* 3. HERO SECTION (Elite Hybrid - Grid Layout) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Forces EXACTLY 50% and 50% */
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

/* Left Side */
.hero-left {
    background-color: #0A2342;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    z-index: 2;
}

.hero-eyebrow {
    color: #C5A059; /* Gold */
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 80px; /* Massive typography */
    color: #ffffff;
    line-height: 1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-tagline {
    color: #b0c4de; /* Muted light blue/grey */
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 450px;
    line-height: 1.6;
}

/* Right Side */
.hero-right {
    position: relative;
    /* background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2000&auto=format&fit=crop'); */
    background-image: url('../images/heroPage.webp');
    
    background-size: cover;
    background-position: center;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 35, 66, 0.5); /* 85% Navy Overlay */
}

/* The Vertical Gold Divider */
.hero-divider {
    position: absolute;
    left: 50%;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background-color: #C5A059; /* Gold */
    z-index: 10;
    transform: translateX(-50%); /* Perfectly centers the line */
    opacity: 0.8;
}

/* Smaller, Elegant Outline Button */
.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: #C5A059;
    border: 1px solid #C5A059;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    transition: all 0.3s ease;
    align-self: flex-start; /* Keeps button left-aligned with the text */
}

.btn-primary:hover {
    background-color: #C5A059;
    color: #0A2342;
    transform: translateY(-2px);
}

.btn-text {
    display: inline-block;
    margin-top: 15px;
    color: #0A2342;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid #C5A059;
    padding-bottom: 3px;
}

/* 4. FIRM OVERVIEW */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.overview-text p {
    color: #555;
    font-size: 16px;
}

.image-placeholder {
    height: 400px;
    background-color: #0A2342;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C5A059;
}

.image-placeholder i {
    font-size: 100px;
    opacity: 0.5;
}

/* 5. CORE PRINCIPLES */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-bottom: 3px solid #C5A059;
}

.value-icon {
    font-size: 40px;
    color: #0A2342;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    font-size: 15px;
}

/* 5. PRACTICE AREAS */
.section-intro {
    color: #777;
    font-size: 16px;
    max-width: 600px;
    margin: 15px auto 0;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.practice-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    border-top: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-top-color: #C5A059; /* Gold accent on hover */
}

.practice-icon {
    font-size: 36px;
    color: #0A2342; /* Navy */
    margin-bottom: 20px;
}

.practice-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.practice-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 6. MEDIA PREVIEW */
.media-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.media-card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
}

.media-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
}

.bg-thumb-1 { background-color: #1a3c61; }
.bg-thumb-2 { background-color: #2c5282; }
.bg-thumb-3 { background-color: #1a3c61; }

.media-content {
    padding: 25px;
}

.media-tag {
    display: inline-block;
    color: #C5A059;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.media-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.media-content a {
    color: #0A2342;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* 7. FOOTER */
.footer {
    background-color: #0A2342;
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo .logo-text, .footer-logo .logo-icon {
    color: #fff;
}

.footer-logo .logo-subtext {
    color: #C5A059;
}

.footer-col p {
    margin-top: 15px;
    color: #bbb;
    font-size: 14px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #C5A059;
}

.social-links a {
    color: #C5A059;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid #1a3c61;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* Mobile Responsive (Merged for all sections) */
@media (max-width: 768px) {
    /* Show Hamburger Icon */
    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: #0A2342;
        z-index: 1001;
    }

    /* Hide normal nav links, style them to drop down */
    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Drops down below the navbar */
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 20px;
    }

    /* When JS adds the 'active' class, show the menu */
    .nav-links.active {
        display: flex;
    }

    /* Hero Mobile */
    .hero-split {
        grid-template-columns: 1fr;
    }
    .hero-left {
        padding: 80px 20px;
        text-align: center;
        align-items: center;
    }
    .btn-primary {
        align-self: center;
    }
    .hero-right {
        min-height: 300px;
    }
    .hero-divider {
        display: none;
    }
    .hero-title {
        font-size: 56px;
    }
    .hero-tagline {
        max-width: 100%;
    }

    /* Grids Mobile */
    .overview-grid, 
    .values-grid, 
    .practice-grid, 
    .media-preview-grid, 
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}


/* Page Banner */
.page-banner {
    background-color: #0A2342;
    padding: 30px 0 30px;
    text-align: center;
}

.page-banner h1 {
    color: #fff;
    font-size: 48px;
    margin-bottom: 10px;
}

.page-banner p {
    color: #b0c4de;
    font-size: 16px;
}

.media-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    overflow: hidden; /* ADD THIS: Prevents images from spilling outside the card */
}

/* ADD THIS NEW RULE FOR THE IMAGE */
.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image fill the box perfectly without stretching */
    object-position: center;
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

/* ADD THIS FOR A NICE HOVER EFFECT */
.media-card:hover .media-thumb img {
    transform: scale(1.05); /* Slight zoom when hovering over the card */
}