/* 
   MTQ Sayyed Legal - Elite Law Firm Theme 
   Version: 3.0 (High-Authority / Premium UI)
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Premium 2026 Professional Palette */
    --navy-primary: #041C32;
    --navy-deep: #020d18;
    --gold-heritage: #C8A96B;
    --warm-ivory: #F8F5F0;
    --white: #ffffff;
    --charcoal: #1E1E1E;
    --text-main: #1E1E1E;
    --text-muted: #555555;
    
    /* Effects & Transitions */
    --shadow-lux: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition-lux: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

h1, h2, h3, h4, .serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.container {
    max-width: 1320px; /* Standardized to 1320px as per guidelines */
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1400px) {
    .container { padding: 0 40px; }
}

/* --- Premium Navigation --- */
nav {
    background: var(--navy-primary);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    border-bottom: 1px solid rgba(200, 169, 107, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

body {
    padding-top: 80px; /* Offset for fixed navbar */
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px; /* Widened to push logo left and menu right */
    padding: 0 2%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Increased gap between logo and text */
    text-decoration: none;
    position: relative;
    z-index: 3001; /* Stay above mobile menu overlay */
}

.logo-container img {
    height: 65px; /* Slightly larger logo */
    mix-blend-mode: screen;
    background: transparent;
    border-radius: 50%; /* Helps if the logo is circular */
}

.logo-main {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--white) !important;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
    letter-spacing: 1.5px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--gold-heritage) !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    margin-top: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    margin-left: auto;
    margin-right: 40px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 3000;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-lux);
}

.nav-links a {
    color: var(--white) !important;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- Split Hero Layout --- */
.hero-lux {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 85vh;
    background: var(--navy-primary);
    align-items: center;
    padding: 0;
}

.hero-text-lux {
    padding: 0 8% 0 12%;
    z-index: 2;
}

.hero-visual-lux {
    height: 100%;
    background: url('/assets/images/legal-bg.png') center/cover no-repeat;
    position: relative;
}

.hero-visual-lux::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, var(--navy-primary), transparent);
}

.hero-h1-lux {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* --- Full-Width Cinematic Carousel --- */
.hero-carousel {
    position: relative;
    height: 85vh;
    overflow: hidden;
    background: #FFFFFF; /* Forced Pure White */
}

.carousel-inner {
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background: #FFFFFF;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 10;
}

/* Removed dark gradient overlay */
.carousel-slide::after {
    display: none;
}

.carousel-content {
    position: relative;
    z-index: 20;
    width: 45%; /* Strictly keep on left half */
    padding-left: 10%;
    color: var(--navy-primary);
}

.carousel-content h1 {
    font-size: 4rem;
    color: var(--navy-primary);
    max-width: 100%;
    margin-bottom: 25px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s 0.3s ease-out;
}

.carousel-slide.active .carousel-content h1 {
    transform: translateY(0);
    opacity: 1;
}

/* --- Brand Infinite Scroll Ticker --- */
.partner-strip {
    background: #F9F9F9;
    padding: 30px 0;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    overflow: hidden;
    width: 100%;
}

.partner-strip-title {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 700;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-container::before,
.ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-container::before {
    left: 0;
    background: linear-gradient(to right, #F9F9F9 0%, transparent 100%);
}

.ticker-container::after {
    right: 0;
    background: linear-gradient(to left, #F9F9F9 0%, transparent 100%);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: infinite-ticker-scroll 20s linear infinite; /* Slightly faster, buttery smooth scroll */
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 195px; /* Slightly wider column for larger logos */
    flex-shrink: 0;
    height: 110px;
    padding: 0 10px; /* Snug padding for perfect balance */
}

.ticker-item img {
    max-height: 56px; /* Increased from 48px */
    max-width: 165px; /* Increased from 140px */
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.65);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Perfecting individual bank logo scales so none look disproportionately large or small */
.ticker-item img[alt="State Bank of India"],
.ticker-item img[alt="Bank of Baroda"],
.ticker-item img[alt="Punjab National Bank"],
.ticker-item img[alt="Union Bank of India"],
.ticker-item img[alt="Punjab & Sind Bank"],
.ticker-item img[alt="Indian Bank"] {
    max-height: 54px; /* Square/round logos scaled up to be highly readable */
}

.ticker-item img[alt="Axis Bank"],
.ticker-item img[alt="Axis Finance"] {
    max-height: 44px; /* Wide horizontal logos scaled up to be clear and readable */
}

.ticker-item img[alt="Saraswat Co-Op Bank"] {
    max-height: 64px !important; /* Extremely tall and clear */
    max-width: 260px !important; /* Maximum horizontal width! */
}

/* Give the extra-wide Saraswat logo container massive room to prevent overlapping */
.ticker-item:has(img[alt="Saraswat Co-Op Bank"]) {
    width: 280px !important;
}

.ticker-item img[alt="Ujjivan Small Finance Bank"] {
    max-height: 76px !important; /* Extremely tall and clear flower/typography */
    max-width: 210px !important;
}

/* Widen Ujjivan's container column as well to elegantly hold the larger logo */
.ticker-item:has(img[alt="Ujjivan Small Finance Bank"]) {
    width: 230px !important;
}

.ticker-item img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

@keyframes infinite-ticker-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.trust-badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.trust-badge-lux {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 169, 107, 0.3);
    padding: 20px;
    border-radius: 4px;
}

.trust-badge-lux span:first-child {
    font-size: 1.8rem;
    color: var(--gold-heritage);
    font-weight: 700;
    display: block;
}

.trust-badge-lux span:last-child {
    font-size: 0.7rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Executive Profiles --- */
.exec-card-lux {
    background: var(--navy-primary);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lux);
}

.exec-img-lux {
    height: 450px;
}

.exec-img-lux img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Fixes cropping issues */
}

.exec-content-lux {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(4, 28, 50, 0.95) 40%);
    color: var(--white);
}

.exec-role {
    color: var(--gold-heritage);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.exec-name {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.exec-social a {
    color: var(--gold-heritage) !important;
    margin-right: 15px;
    font-size: 1.2rem;
}

.btn-nav {
    background: var(--gold-heritage) !important;
    color: var(--navy-primary) !important;
    padding: 12px 28px !important;
    border-radius: 4px;
    font-weight: 700 !important;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-lux);
}

.btn-nav:hover {
    background: var(--white) !important;
    color: var(--navy-primary) !important;
    transform: translateY(-2px);
}

/* --- High-Authority Hero --- */
.hero-v3 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 85vh;
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.hero-text-area {
    padding: 10% 8% 10% 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold-heritage);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    width: fit-content;
}

.hero-v3 h1 {
    font-size: 4.5rem;
    color: var(--navy-deep);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-v3 p {
    font-size: 1.25rem;
    color: var(--slate);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-stats-row {
    display: flex;
    gap: 40px;
    margin-top: 4rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--gold-heritage);
}

.hero-visual-area {
    background: url('/assets/images/legal-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-visual-area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, var(--warm-white), transparent 30%);
}

/* --- Content Sections --- */
.section-v3 {
    padding: 120px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--institutional-navy);
    margin-bottom: 15px;
}


.v3-accent {
    width: 60px;
    height: 4px;
    background: var(--gold-heritage);
    margin: 0 auto;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- Global Premium Buttons --- */
.btn-lux {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: var(--transition-lux);
    border-radius: 4px;
    height: 60px; /* Force consistent height */
    min-width: 220px;
}

.btn-lux-primary {
    background: var(--gold-heritage);
    color: var(--navy-primary) !important;
    border: 1px solid var(--gold-heritage);
}

.btn-lux-primary:hover {
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-lux-outline {
    background: transparent;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-lux-outline:hover {
    border-color: var(--gold-heritage);
    color: var(--gold-heritage) !important;
    transform: translateY(-3px);
}

/* --- Service Grid Overhaul (2x2) --- */
.v3-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Balanced 2x2 layout */
    gap: 40px;
    margin-top: 60px;
}

.v3-card {
    background: var(--white);
    padding: 60px;
    border-top: 4px solid var(--gold-heritage);
    box-shadow: var(--shadow-lux);
    transition: var(--transition-lux);
}

.v3-card:hover {
    transform: translateY(-10px);
}

.v3-card i {
    font-size: 3rem;
    color: var(--gold-heritage);
    margin-bottom: 30px;
    display: block;
}

.v3-card h3 {
    font-size: 1.8rem;
    color: var(--navy-primary);
    margin-bottom: 20px;
}

.v3-card p {
    color: var(--slate);
    margin-bottom: 30px;
}

.v3-learn {
    text-decoration: none;
    color: var(--navy-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.v3-learn i {
    font-size: 0.8rem;
    margin: 0;
    transition: transform 0.3s;
}

.v3-card:hover .v3-learn i {
    transform: translateX(5px);
}

/* --- Leadership Expanded --- */
.team-row-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.member-v3 {
    text-align: center;
    background: var(--pure-white);
    padding-bottom: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-premium);
}

.member-v3:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.img-v3-wrapper {
    height: 400px; /* Increased height to prevent cropping */
    overflow: hidden;
    position: relative;
    background: #EEE; /* Neutral background for blank photos */
}

.member-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%; /* Ensures faces are prioritized in the frame */
    filter: grayscale(20%);
    transition: var(--transition-premium);
}


.member-v3:hover img { filter: grayscale(0%); }

.member-info-v3 { padding: 30px 20px; }

.member-v3 h4 { font-size: 1.5rem; color: var(--navy-primary); margin-bottom: 5px; }

.member-v3 span { 
    color: var(--gold-heritage); 
    font-weight: 700; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.member-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--warm-white);
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 4px;
    color: var(--slate);
}

/* --- Process / Workflow --- */
.workflow-v3 {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.workflow-v3::before {
    content: '';
    position: absolute;
    top: 40px; left: 0; width: 100%; height: 2px;
    background: var(--border-subtle);
    z-index: 0;
}

.step-v3 {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--pure-white);
    border: 2px solid var(--gold-heritage);
    color: var(--navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 30px;
    box-shadow: var(--shadow-sm);
}

.step-v3 h4 { font-size: 1.1rem; margin-bottom: 10px; }
.step-v3 p { font-size: 0.85rem; color: var(--slate); padding: 0 20px; }

/* --- FAQ --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--pure-white);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.faq-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy-primary);
}

.faq-body {
    padding: 0 30px 25px;
    color: var(--slate);
    display: none;
}

/* --- Premium Footer --- */
footer {
    background: var(--navy-deep);
    color: var(--white);
    padding: 100px 0 40px;
    border-top: 2px solid var(--gold-heritage);
}

.footer-grid-v3 {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1.5fr;
    gap: 80px; /* Expanded column spacing */
    margin-bottom: 60px;
}

.footer-brand h2 { 
    font-family: 'Cormorant Garamond', serif; 
    color: var(--gold-heritage); 
    margin-bottom: 15px;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.footer-col h5 { 
    color: var(--white); 
    margin-bottom: 35px; 
    font-size: 1.1rem; 
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-heritage);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 18px; display: flex; align-items: flex-start; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-heritage); }

.footer-contact i { 
    color: var(--gold-heritage); 
    margin-top: 5px;
    margin-right: 15px; 
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    line-height: 1.5;
}

.affiliation-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(200, 169, 107, 0.1);
    border-radius: 4px;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gold-heritage);
    border: 1px solid rgba(200, 169, 107, 0.2);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold-heritage);
    color: var(--navy-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* --- Mobile Specific --- */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 65px;
    height: 65px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

/* --- Luxury Component Extensions --- */

/* --- Global Premium Buttons --- */
.btn-lux {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: var(--transition-lux);
    border-radius: 4px;
    height: 54px; /* Refined height */
    min-width: 200px;
}

/* --- Refined Hero Split Layout --- */
.hero-lux {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 80vh;
    background: var(--navy-primary);
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero-text-lux {
    padding: 60px 8% 60px 12%;
    z-index: 2;
}

.hero-visual-lux {
    height: 100%;
    background: linear-gradient(rgba(4, 28, 50, 0.2), rgba(4, 28, 50, 0.2)), url('/assets/images/legal-bg.png') center/cover no-repeat;
    background-color: #020d18; /* Fallback */
    position: relative;
}

.hero-visual-lux::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, var(--navy-primary) 0%, transparent 40%);
}

.hero-h1-lux {
    font-size: 3.5rem; /* More elegant scaling */
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Glassmorphism Classes */
.glass-lux {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 50px;
    transition: var(--transition-lux);
}

.glass-lux:hover {
    border-color: var(--gold-heritage);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* Executive Cards */
.exec-card-lux {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: var(--navy-primary);
    transition: var(--transition-lux);
    margin-bottom: 30px;
}

.exec-img-lux {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.exec-img-lux img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.exec-content-lux {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px;
    background: linear-gradient(to top, var(--navy-primary) 0%, transparent 100%);
    transform: translateY(20px);
    transition: var(--transition-lux);
}

.exec-card-lux:hover .exec-content-lux { transform: translateY(0); }
.exec-card-lux:hover .exec-img-lux img { transform: scale(1.05); }

/* Workflow Timeline */
.workflow-lux {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 60px 0;
}

.workflow-lux::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; width: 100%; height: 1px;
    background: rgba(200, 169, 107, 0.2);
}

.wf-step-lux {
    background: var(--white);
    border: 1px solid var(--gold-heritage);
    padding: 30px;
    width: 180px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: var(--transition-lux);
}

.wf-step-lux:hover {
    background: var(--navy-primary);
    color: var(--white);
    transform: translateY(-10px);
}

/* Section Backgrounds */
.bg-ivory { background-color: var(--warm-ivory); }
.bg-navy { background-color: var(--navy-primary); color: var(--white); }
.bg-deep { background-color: var(--navy-deep); color: var(--white); }

/* Stats Section */
.stats-lux {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-num-lux {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: var(--gold-heritage);
    line-height: 1;
    margin-bottom: 10px;
}

/* Timeline V2 */
.timeline-lux {
    position: relative;
    padding-left: 50px;
    margin: 40px 0;
}

.timeline-lux::before {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 2px; height: 100%;
    background: linear-gradient(to bottom, var(--gold-heritage), transparent);
    z-index: 1;
}

.timeline-item-lux {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item-lux::before {
    content: '';
    position: absolute;
    left: -50px; /* Aligned with the vertical line */
    transform: translateX(-50%); /* Centered on the line */
    top: 10px; width: 14px; height: 14px;
    background: var(--navy-primary);
    border: 2px solid var(--gold-heritage);
    border-radius: 50%;
    z-index: 2;
}

/* --- Comprehensive Responsiveness Overhaul --- */

@media (max-width: 1200px) {
    .carousel-content h1 { font-size: 3.5rem; }
    .v3-grid { gap: 30px; }
}

/* --- VOD Audit Page Specifics --- */
.audit-cta-box {
    padding: 40px;
    border: 2px solid var(--gold-heritage);
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lux);
}

.sticky-sidebar-lux {
    position: sticky;
    top: 160px; /* Increased offset to clear premium navbar */
    align-self: start;
}

@media (max-width: 992px) {
    nav { padding: 1rem 0; }
    .nav-links { display: none; } /* Hidden for hamburger */
    .mobile-menu-btn { display: flex; }
    
    .hero-carousel { height: 70vh; }
    .carousel-content h1 { font-size: 2.8rem; }
    .carousel-content p { font-size: 1.1rem; }
    
    .v3-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid-v3 { grid-template-columns: 1fr 1fr; gap: 40px; }
    
    .workflow-lux { flex-direction: column; align-items: center; gap: 30px; }
    .workflow-lux::before { display: none; }
    .wf-step-lux { width: 100%; max-width: 350px; }

    .sticky-sidebar-lux {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero-carousel { height: 60vh; }
    .carousel-content h1 { font-size: 2.2rem; }
    .carousel-content { padding: 0 5%; text-align: center; }
    .carousel-content div { justify-content: center; flex-direction: column; align-items: center; }
    .btn-lux { width: 100%; min-width: unset; }
    
    .v3-grid { grid-template-columns: 1fr; }
    .footer-grid-v3 { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, .footer-col { align-items: center; display: flex; flex-direction: column; }
    
    .logo-main { font-size: 1.4rem; }
    .logo-sub { font-size: 0.6rem; letter-spacing: 2px; }
    
    .partner-track span { font-size: 1rem; }

    /* Timeline Mobile Fix */
    .timeline-lux { padding-left: 40px !important; margin-left: 10px; }
    .timeline-item-lux::before { left: -40px !important; }
}

@media (max-width: 480px) {
    .carousel-content h1 { font-size: 1.8rem; }
    .hero-badge { font-size: 0.7rem; }
}

/* --- Dynamic Responsive Grids --- */
.exec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.responsive-split-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

@media (max-width: 992px) {
    /* Stack split grid and exec grid to 2 columns on tablets */
    .responsive-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .exec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Hero Section Fixes */
    .hero-lux {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .hero-text-lux {
        padding: 100px 5% 50px;
        width: 100%;
        text-align: center;
        align-items: center;
    }
    .hero-visual-lux {
        width: 100%;
        height: 50vh;
        position: relative;
    }
    .trust-badge-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 40px auto 0;
    }
    .section-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Stack exec grid to 1 column on phones */
    .exec-grid {
        grid-template-columns: 1fr;
    }
    .trust-badge-grid {
        grid-template-columns: 1fr;
    }
    /* Adjust timeline spacing for readability */
    .timeline-lux {
        padding-left: 20px;
    }
    .timeline-item-lux {
        padding-left: 30px;
    }
}

.years-badge-lux {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--navy-primary);
    color: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: var(--shadow-lux);
}

@media (max-width: 768px) {
    .years-badge-lux {
        top: 10px;
        right: 10px;
        padding: 15px;
    }
}

/* Mobile Menu Active State */
.mobile-nav-active .nav-links {
    display: flex;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 2500;
}

.mobile-nav-active .mobile-menu-btn span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-nav-active .mobile-menu-btn span:nth-child(2) { opacity: 0; }
.mobile-nav-active .mobile-menu-btn span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* --- ULTIMATE MOBILE RESPONSIVENESS OVERHAUL --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Responsive Typography */
.carousel-h1 {
    font-size: 4rem;
    color: var(--navy-primary);
    line-height: 1.1;
    margin-bottom: 25px;
}

.carousel-p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-badge {
    background: rgba(4,28,50,0.05);
    color: var(--navy-primary);
    border: 1px solid rgba(4,28,50,0.1);
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
}

/* Default Desktop Carousel Visuals */
.carousel-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 25%), url('/assets/images/legal-bg.png') center/cover;
    z-index: 1;
}

.office-visual {
    background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 25%), url('/assets/images/office-lux.png') center/cover;
}

@media (max-width: 1200px) {
    .carousel-h1 { font-size: 3.5rem; }
    .v3-grid { gap: 30px; }
}

@media (max-width: 992px) {
    nav { padding: 0.8rem 0; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .nav-actions .btn-nav { display: none !important; }
    
    .logo-main { font-size: 1.3rem !important; letter-spacing: 1px !important; }
    .logo-sub { font-size: 0.55rem !important; letter-spacing: 2px !important; }
    .logo-container img { height: 45px !important; }

    /* Fix Carousel Stacking */
    .hero-carousel { height: 550px !important; }
    .carousel-slide { 
        position: absolute !important; 
        top: 0; left: 0; 
        width: 100%; height: 100%; 
        display: flex; 
        align-items: center; 
        justify-content: center;
        padding: 0 !important;
    }
    .carousel-content { 
        padding: 0 20px !important; 
        text-align: center; 
        width: 100%;
    }
    .carousel-h1 { font-size: 2.2rem !important; margin-bottom: 15px !important; line-height: 1.2 !important; }
    .carousel-p { font-size: 1.1rem !important; margin-bottom: 25px !important; }
    .hero-badge { display: block !important; width: fit-content; margin: 0 auto 20px !important; }
    
    .carousel-visual {
        position: absolute;
        top: 0; left: 0; right: auto; bottom: 0;
        width: 100%; height: 100%;
        background: linear-gradient(to top, white 20%, transparent), url('/assets/images/legal-bg.png') center/cover;
        z-index: 1;
        opacity: 0.2;
    }
    .office-visual {
        background: linear-gradient(to top, white 20%, transparent), url('/assets/images/office-lux.png') center/cover;
    }

    .carousel-content div { flex-direction: column !important; gap: 12px !important; align-items: center !important; display: flex !important; }
    .btn-lux { width: 100% !important; min-width: unset !important; height: 50px !important; padding: 10px 20px !important; }

    .v3-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid-v3 { grid-template-columns: 1fr 1fr; gap: 40px; }
    .exec-grid { grid-template-columns: repeat(2, 1fr); }
    .responsive-split-grid { grid-template-columns: 1fr; gap: 40px; }

    /* About Page Hero Centering */
    .hero-lux { grid-template-columns: 1fr !important; text-align: center !important; margin-top: -2px; }
    .hero-text-lux { padding: 80px 20px !important; display: flex; flex-direction: column; align-items: center; }
    .hero-text-lux div { justify-content: center !important; }
    .hero-visual-lux { height: 300px !important; order: -1; }
    .hero-h1-lux { font-size: 2.2rem !important; }
    .trust-badge-grid { justify-content: center !important; }

    /* Fix white line gap on mobile */
    body { padding-top: 70px !important; }
    .hero-carousel { margin-top: -2px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .v3-grid { grid-template-columns: 1fr; }
    .footer-grid-v3 { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, .footer-col { align-items: center; }
    .exec-grid { grid-template-columns: 1fr; }
    .trust-badge-grid { grid-template-columns: 1fr; }
    
    .carousel-h1 { font-size: 2rem !important; }
    .partner-track { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

@media (max-width: 480px) {
    .logo-main { font-size: 1.1rem !important; }
    .carousel-h1 { font-size: 1.8rem !important; }
}


/* --- Disclaimer Modal --- */
.disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.disclaimer-content {
    background: white;
    padding: 30px 45px 35px;
    border-radius: 12px;
    max-width: 1150px;
    width: 92%;
    max-height: 95vh;
    overflow-y: auto;
    text-align: left;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    color: #333;
}

.disclaimer-content h2 {
    color: var(--navy-primary);
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.disclaimer-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.disclaimer-content ul {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 0;
    list-style: none;
}

.disclaimer-content ul li {
    margin-bottom: 10px;
}

.disclaimer-content button {
    display: block;
    margin: 20px auto 0;
    padding: 12px 40px;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}
