﻿/* =========================================
   1. VARIABLES & PALETTE
   ========================================= */
:root {
    /* Main Colors */
    --color-primary: rgb(0, 96, 128);
    --color-primary-dark: rgb(0, 77, 102);
    --color-accent: rgb(212, 160, 23); /* Gold/Bronze */
    --color-accent-light: rgba(212, 160, 23, 0.2);
    --color-green: rgb(0, 255, 0);
    --color-red: rgb(192, 57, 43);
    /* Gradients */
    --bg-hero: linear-gradient(135deg, rgb(0, 91, 127) 0%, rgb(0, 153, 204) 100%);
    /* Backgrounds */
    --bg-services: rgb(250, 245, 240);
    --bg-news: rgb(255, 255, 255);
    --bg-testimonials: rgb(0, 64, 85);
    /* Shadows & Radius */
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius-lg: 10px;
}

/* =========================================
   2. SCOPED WRAPPER & TYPOGRAPHY
   ========================================= */
.home-page-wrapper {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: rgb(51, 51, 51);
    font-size: 16px; /* Reduced from 18px */
    line-height: 1.5; /* Adjusted from 1.6 */
    width: 100%;
}

    .home-page-wrapper h1,
    .home-page-wrapper h2,
    .home-page-wrapper h3,
    .home-page-wrapper h4 {
        font-weight: 700;
        margin: 0;
        line-height: 1.2; /* Adjusted from 1.3 */
    }

.main-container {
    width: 100%;
    padding: 0 40px; /* Reduced from 50px */
    box-sizing: border-box;
}

.section-block {
    padding: 60px 0; /* Reduced from 80px */
    position: relative;
}

.section-heading {
    text-align: center;
    font-size: 2.2rem; /* Reduced from 2.8rem */
    color: var(--color-primary);
    margin-bottom: 40px; /* Reduced from 60px */
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Reduced from 1px */
}



/* =========================================
   3. TOP SPLIT LAYOUT (EQUAL HEIGHTS)
   ========================================= */
.top-split-container {
    display: flex;
    width: 100%;
    align-items: stretch;
    overflow: hidden;
    min-height: 80vh; /* Reduced from 85vh */
}

/* LEFT COLUMN STRUCTURE (55%) */
.split-left {
    width: 55%;
    display: flex;
    flex-direction: column;
}

/* RIGHT COLUMN STRUCTURE (45%) */
.split-right {
    width: 45%;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-services);
}

/* =========================================
   4. HERO SECTION (LEFT COLUMN CONTENT)
   ========================================= */
.hero-section.full-height-hero {
    border-top-right-radius: 100px;
    background: var(--bg-hero);
    color: rgb(255, 255, 255);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 40px 40px; /* Reduced from 60px 50px */
    box-sizing: border-box;
}

.hero-content-vertical {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* 1. BRAND (Top) */
.hero-brand {
    width: 100%;
    margin-bottom: 0;
    margin-top: 20px; /* Reduced from 30px */
}

.brand-name {
    color: rgb(255, 255, 255) !important;
    font-size: 3rem; /* Reduced from 4rem */
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px; /* Reduced from 10px */
    line-height: 1.1;
}

.brand-location {
    color: rgb(170, 221, 255);
    font-weight: 400;
    font-size: 1.4rem; /* Reduced from 1.8rem */
    margin-top: 3px; /* Reduced from 5px */
}

.brand-underline {
    width: 80px; /* Reduced from 100px */
    height: 4px; /* Reduced from 5px */
    background: var(--color-accent);
    margin: 15px 0; /* Reduced from 25px 0 */
}

.brand-tagline {
    font-size: 1.4rem; /* Reduced from 1.8rem */
    font-weight: 600;
    color: rgb(255, 250, 240);
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    line-height: 1.4; /* Adjusted from 1.5 */
    max-width: 90%;
}

/* 2. INFO GROUP (Values & Benefits & Impact) */
.hero-info-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
    gap: 50px; /* Reduced from 80px */
}

/* CARD 1: VALUES (Light Glass) */
.hero-values {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px; /* Reduced from 25px */
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-list li {
    margin-bottom: 8px; /* Reduced from 10px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    display: flex;
    align-items: center;
    line-height: 1.3; /* Adjusted from 1.4 */
}

    .value-list li:last-child {
        margin-bottom: 0;
    }

.value-list .icon {
    margin-right: 12px; /* Reduced from 15px */
    font-size: 1.4rem; /* Reduced from 1.6rem */
}

/* CARD 2: DIRECT BENEFITS (Green Border, Medium Background) */
.benefits-card {
    background: rgba(0, 70, 90, 0.35);
    backdrop-filter: blur(10px);
    padding: 20px; /* Reduced from 25px */
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3); /* Reduced from 20px */
    color: rgb(255, 255, 255);
}

.benefits-title {
    color: var(--color-green);
    font-size: 1.4rem !important; /* Reduced from 1.6rem */
    text-transform: uppercase;
    margin-bottom: 12px; /* Reduced from 15px */
    font-weight: 800;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    padding-bottom: 8px; /* Reduced from 10px */
}

.benefits-text-uniform {
    font-size: 1.2rem; /* Reduced from 1.4rem */
    font-weight: 600;
    line-height: 1.4; /* Adjusted from 1.5 */
    font-style: normal;
    color: rgb(238, 238, 238);
}

.benefits-highlight {
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.3rem; /* Reduced from 1.5rem */
}

/* CARD 3: IMPACT BOX (Darker Transparent) */
.impact-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px; /* Reduced from 25px */
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--color-accent); /* Reduced from 6px */
}

.impact-text {
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 1.2rem !important; /* Reduced from 1.4rem */
    line-height: 1.4 !important; /* Adjusted from 1.5 */
    color: rgb(255, 255, 255);
    font-weight: 400;
    margin: 0;
}

.impact-number {
    font-size: 2.2rem !important; /* Reduced from 2.8rem */
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    margin-bottom: 3px; /* Reduced from 5px */
}

/* Art Deco Elements */
.art-deco {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: rgb(255, 255, 255);
}

.circle-1 {
    width: 400px; /* Reduced from 500px */
    height: 400px; /* Reduced from 500px */
    top: -80px; /* Reduced from -100px */
    right: -80px; /* Reduced from -100px */
}

.circle-2 {
    width: 250px; /* Reduced from 300px */
    height: 250px; /* Reduced from 300px */
    bottom: 40px; /* Reduced from 50px */
    left: -40px; /* Reduced from -50px */
}

/* =========================================
   5. SERVICES (RIGHT COLUMN CONTENT)
   ========================================= */
.services-section.vertical-mode {
    padding: 40px 0; /* Reduced from 60px */
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-wrapper {
    padding: 0 40px; /* Reduced from 50px */
}

    /* ADDED: Pushes 'Our Services' down */
    .services-wrapper .section-heading {
        margin-bottom: 20px;
    }

.services-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Reduced from 40px */
}

/* Add space below the 3rd card */
.service-card:last-child {
    margin-bottom: 40px;
}

/* --- DECORATED FRAME CARDS --- */
.service-card {
    background: rgb(255, 255, 255);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light), 0 8px 20px rgba(0, 0, 0, 0.08); /* Reduced shadow */
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 0 3px var(--color-accent), 0 15px 40px rgba(0, 0, 0, 0.12); /* Reduced shadow */
        border-color: var(--color-accent);
    }

.card-deco-top {
    height: 5px; /* Reduced from 6px */
    width: 100%;
    background: rgba(212, 160, 23, 0.3);
}



.preview-container {
    height: 180px; /* Reduced from 200px */
    background: rgb(238, 238, 238);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.page-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center; /* Changed from top center to left center */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 96, 128, 0.85);
    opacity: 0;
    transition: 0.3s;
    gap: 12px; /* Reduced from 15px */
}

.service-card:hover .overlay {
    opacity: 1;
}

.card-content {
    padding: 20px; /* Reduced from 25px */
    text-align: center;
}

    .card-content h3 {
        font-size: 1.4rem; /* Reduced from 1.6rem */
        color: var(--color-primary);
        margin-bottom: 0;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.3px; /* Reduced from 0.5px */
        line-height: 1.2; /* Adjusted from 1.3 */
    }

/* Card Buttons */
.btn-light {
    background: rgb(255, 255, 255);
    color: var(--color-primary);
    padding: 10px 25px; /* Reduced from 12px 30px */
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem; /* Reduced from 0.9rem */
    box-shadow: 0 3px 8px rgba(0,0,0,0.2); /* Reduced from 4px 10px */
    text-decoration: none;
    transition: transform 0.2s;
}

    .btn-light:hover {
        transform: scale(1.05);
        color: var(--color-accent);
    }

/* =========================================
   6. PRESTIGIOUS NEWS & PUBLICATIONS
   ========================================= */
.news-section {
    background-color: rgb(255, 255, 255);
    position: relative;
    padding: 80px 0; /* Reduced from 100px 0 */
    background-image: radial-gradient(rgba(0, 96, 128, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

    .news-section .section-heading {
        font-family: 'Georgia', 'Times New Roman', serif;
        color: var(--color-primary-dark);
        font-weight: 700;
        letter-spacing: 0.5px;
        margin-bottom: 50px; /* Reduced from 70px */
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); /* Reduced from 380px */
    gap: 40px; /* Reduced from 50px */
    position: relative;
    z-index: 2;
}

.news-wrapper {
    display: flex;
    flex-direction: column;
}

/* --- UPDATED: JOURNAL NAMES (Dark Grey Box, Yellow Italic Text) --- */
.news-top-title {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: rgb(255, 255, 50);
    font-weight: 900;
    font-style: italic;
    font-size: 1.2rem; /* Reduced from 1.3rem */
    text-transform: uppercase;
    letter-spacing: 0.8px; /* Reduced from 1px */
    line-height: 1.2;
    background-color: rgb(0, 90, 130);
    display: inline-block;
    padding: 10px 20px; /* Reduced from 12px 25px */
    margin: 15px 0 20px 0; /* Reduced from 20px 0 30px */
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2); /* Reduced from 4px 10px */
}


/* --- THE CARD --- */
.news-box {
    display: flex;
    flex-direction: column;
    background: rgb(255, 255, 255);
    height: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(220, 220, 220);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Reduced from 5px 20px */
    transition: all 0.1s ease;
}

    .news-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); /* Reduced from 15px 40px */
        border-color: var(--color-accent);
    }

/* --- IMAGE AREA (100% Width) --- */
.news-img-wrapper {
    width: 100%;
    height: 220px; /* Reduced from 260px */
    background: rgb(245, 245, 245);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--color-primary); /* Reduced from 4px */
    overflow: hidden;
}

    .news-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center; /* Added: left-aligned images */
        filter: none;
        transition: transform 0.5s ease;
    }

.news-box:hover .news-img-wrapper img {
    transform: scale(1.05);
}

/* --- TEXT CONTENT --- */
.news-text {
    padding: 25px; /* Reduced from 30px */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    /* TITLE WITH ARROW */
    .news-text h3 {
        font-family: 'Georgia', 'Times New Roman', serif;
        font-size: 1.4rem; /* Reduced from 1.6rem */
        color: var(--color-primary-dark);
        margin-bottom: 15px; /* Reduced from 20px */
        line-height: 1.3; /* Adjusted from 1.35 */
        font-weight: 700;
    }

        .news-text h3::after {
            content: ' \2197';
            font-family: 'Segoe UI', sans-serif;
            font-size: 0.8em;
            color: var(--color-accent);
            font-weight: 900;
            vertical-align: top;
            margin-left: 6px; /* Reduced from 8px */
            display: inline-block;
        }

.news-box:hover .news-text h3 {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
}

/* --- UPDATED: SUMMARY TEXT (Dark Red) --- */
.news-analysis {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.05rem; /* Reduced from 1.15rem */
    color: rgb(139, 0, 0);
    line-height: 1.5; /* Adjusted from 1.6 */
    font-weight: 600;
    margin-top: auto;
    padding-top: 15px; /* Reduced from 20px */
    border-top: 1px solid rgb(240, 240, 240);
}

/* =========================================
   7. ENHANCED TESTIMONIALS & AUDIO
   ========================================= */
.testimonials-section {
    background: linear-gradient(180deg, rgb(60, 80, 95) 0%, rgb(30, 40, 50) 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 80px; /* Reduced from 120px */
}

    .testimonials-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 40px 40px;
        opacity: 0.15;
        pointer-events: none;
    }

.light-text {
    color: rgb(255, 255, 255);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Reduced from 320px */
    gap: 25px; /* Reduced from 30px */
    position: relative;
    z-index: 2;
}

/* --- CARD DESIGN --- */
.testimonial-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px; /* Reduced from 16px */
    padding: 25px 20px; /* Reduced from 30px 25px */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Reduced shadow */
}

    /* Hover State */
    .testimonial-card:hover {
        transform: translateY(-8px) scale(1.02); /* Reduced from 10px */
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(0, 240, 255, 0.5);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.1); /* Reduced shadow */
    }

    .testimonial-card.highlight-card {
        background: linear-gradient(145deg, rgba(212, 160, 23, 0.1), rgba(0, 0, 0, 0.2));
        border: 1px solid rgba(212, 160, 23, 0.4);
    }

/* BACKGROUND ICON */
.card-icon-bg {
    position: absolute;
    top: -15px; /* Reduced from -20px */
    right: -15px; /* Reduced from -20px */
    width: 100px; /* Reduced from 120px */
    height: 100px; /* Reduced from 120px */
    opacity: 0.05;
    transform: rotate(15deg);
    pointer-events: none;
    transition: all 0.5s ease;
    color: rgb(255, 255, 255);
}

.testimonial-card:hover .card-icon-bg {
    opacity: 0.2;
    transform: rotate(0deg) scale(1.1);
    color: rgb(0, 240, 255);
}

/* HEADER */
.card-header {
    margin-bottom: 8px; /* Reduced from 10px */
}

/* GOLD TITLE */
.benefit-title {
    color: var(--color-accent);
    font-size: 0.95rem; /* Reduced from 1rem */
    text-transform: uppercase;
    letter-spacing: 1.5px; /* Reduced from 2px */
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* METRIC */
.card-metric {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2.4rem; /* Reduced from 2.8rem */
    font-weight: 800;
    color: rgb(255, 255, 255);
    margin-bottom: 12px; /* Reduced from 15px */
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* DESCRIPTION */
.benefit-desc {
    color: rgb(245, 245, 250);
    font-size: 1.05rem; /* Reduced from 1.15rem */
    line-height: 1.5; /* Adjusted from 1.6 */
    margin-bottom: 20px; /* Reduced from 25px */
    font-weight: 500;
    flex-grow: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* FOOTER / SOURCE */
.benefit-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 15px; /* Reduced from 20px */
    display: flex;
    justify-content: flex-end;
}

.benefit-source {
    display: inline-block;
    text-decoration: none;
    color: rgb(0, 255, 255);
    border: 1px solid rgba(0, 255, 255, 0.4);
    background: rgba(40, 55, 65, 0.7);
    font-size: 0.8rem; /* Reduced from 0.85rem */
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 15px; /* Reduced from 10px 18px */
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-align: right;
    line-height: 1.4;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Reduced from 4px 10px */
}

    .benefit-source:hover {
        background: rgba(0, 255, 255, 0.15);
        border-color: rgb(0, 255, 255);
        color: rgb(220, 255, 255);
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.4); /* Reduced from 20px */
        transform: translateY(-2px);
    }

/* =========================================
   9. SLIDESHOW ANIMATION (4 Images, 1.5s Each)
   ========================================= */
.slideshow-container {
    position: relative;
    height: 180px; /* Reduced from 200px */
    overflow: hidden;
    background: rgb(240, 240, 240);
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center; /* Changed from top center to left center */
    opacity: 0;
    animation: cycleFourImages 6s infinite ease-in-out;
}

    /* --- AUTOMATIC DELAYS (Staggered by 1.5s) --- */
    .slideshow-image:nth-child(1) {
        animation-delay: 0s;
    }

    .slideshow-image:nth-child(2) {
        animation-delay: 1.5s;
    }

    .slideshow-image:nth-child(3) {
        animation-delay: 3s;
    }

    .slideshow-image:nth-child(4) {
        animation-delay: 4.5s;
    }

/* --- THE KEYFRAMES (Calculated for 6s Cycle) --- */
@keyframes cycleFourImages {
    0% {
        opacity: 0;
        z-index: 1;
    }

    4% {
        opacity: 1;
        z-index: 2;
    }

    25% {
        opacity: 1;
        z-index: 2;
    }

    29% {
        opacity: 0;
        z-index: 1;
    }

    100% {
        opacity: 0;
        z-index: 1;
    }
}

/* Hover Effect */
.service-card:hover .slideshow-image {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* =========================================
   10. LEXUS-STYLE DECORATIONS
   ========================================= */
.section-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(212, 160, 23, 0.03) 0%, transparent 50%), radial-gradient(circle at 100% 100%, rgba(0, 96, 128, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.news-section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 160px; /* Reduced from 200px */
    height: 160px; /* Reduced from 200px */
    background: radial-gradient(circle, rgba(212, 160, 23, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80px; /* Reduced from 100px */
    height: 80px; /* Reduced from 100px */
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* =========================================
   11. RESPONSIVE (MOBILE / TABLET)
   ========================================= */
@media (max-width: 1200px) {
    .workflow-row {
        grid-template-columns: repeat(2, 1fr); /* Changed for tablet */
        gap: 20px;
    }

    .workflow-step {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    /* Stack the split container vertically */
    .top-split-container {
        flex-direction: column;
        min-height: auto;
    }

    .split-left, .split-right {
        width: 100%;
        height: auto;
    }

    /* Remove flex stretching on mobile to allow natural height */
    .hero-section.full-height-hero {
        flex: none;
        height: auto;
        padding: 30px 20px; /* Reduced further */
    }

    .services-section.vertical-mode {
        flex: none;
        padding: 40px 20px; /* Reduced from 60px */
    }

    .services-wrapper {
        padding: 0;
    }

        /* Remove added margins on mobile if needed */
        .hero-brand,
        .services-wrapper .section-heading {
            margin-top: 0;
        }

    .hero-content-vertical {
        gap: 30px; /* Reduced from 40px */
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px; /* Reduced from 40px */
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px; /* Reduced from 25px */
    }

    .workflow-row {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .workflow-step {
        min-width: 100%;
        max-width: 100%;
    }

    .main-container {
        padding: 0 20px; /* Reduced from 25px */
    }

    .section-block {
        padding: 40px 0; /* Reduced from 60px */
    }

    .section-heading {
        font-size: 1.8rem; /* Reduced from 2.2rem */
        margin-bottom: 30px; /* Reduced from 40px */
    }

    .brand-name {
        font-size: 2.5rem; /* Reduced from 3rem */
    }

    .brand-location {
        font-size: 1.2rem; /* Reduced from 1.4rem */
    }

    .brand-tagline {
        font-size: 1.2rem; /* Reduced from 1.4rem */
    }
}

@media (max-width: 768px) {
    .news-img-wrapper {
        height: 180px; /* Reduced from 200px */
        padding: 20px; /* Reduced from 25px */
    }

        .news-img-wrapper img {
            max-height: 100px; /* Reduced from 120px */
            max-width: 180px; /* Reduced from 200px */
        }

    .news-text {
        padding: 20px 20px 20px; /* Reduced */
    }

    .news-analysis {
        font-size: 1rem; /* Reduced from 1.05rem */
        padding: 15px; /* Reduced from 20px */
    }

    .workflow-step {
        padding: 20px 15px; /* Reduced */
    }

    .step-image-large {
        height: 100px;
    }

    /* FIXED: ADJUST BADGE POSITION FOR MOBILE (100px IMAGE) */
    .step-badge {
        top: 78px;
    }
}

/* =========================================
   MODERN AUDIO GUIDE SECTION
   ========================================= */
.audio-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0; /* Reduced from 80px */
    position: relative;
}

    .audio-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(236, 201, 75, 0.05) 0%, transparent 50%);
        pointer-events: none;
    }

.modern-guide-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced from 25px */
    max-width: 1200px;
    margin: 0 auto;
}

.modern-guide-card {
    background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
    border-radius: 16px; /* Reduced from 20px */
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

    .modern-guide-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(236, 201, 75, 0.03) 0%, transparent 50%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .modern-guide-card:hover {
        transform: translateY(-6px) scale(1.02); /* Reduced from 8px */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9); /* Reduced shadow */
        border-color: rgba(236, 201, 75, 0.3);
    }

        .modern-guide-card:hover::before {
            opacity: 1;
        }

/* Header with inverted colors */
.modern-guide-header {
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    padding: 25px 30px; /* Reduced from 30px 35px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

    .modern-guide-header::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: linear-gradient(45deg, transparent 0%, rgba(236, 201, 75, 0.1) 50%, transparent 100%);
        transform: rotate(45deg);
        transition: all 0.6s ease;
    }

.modern-guide-card:hover .modern-guide-header::after {
    right: 100%;
}

.modern-text-content {
    flex: 1;
}

.modern-guide-title {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.6rem; /* Reduced from 1.8rem */
    font-weight: 800;
    color: #eca94b;
    margin: 0 0 6px 0; /* Reduced from 8px */
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modern-guide-subtitle {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.95rem; /* Reduced from 1rem */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 0.3px;
}

/* Audio Control */
.modern-audio-control {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced from 15px */
    position: relative;
    z-index: 2;
}

.modern-audio-icon {
    width: 28px; /* Reduced from 32px */
    height: 28px; /* Reduced from 32px */
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-audio-indicator {
    width: 6px; /* Reduced from 8px */
    height: 6px; /* Reduced from 8px */
    border-radius: 50%;
    background: rgba(236, 201, 75, 0.5);
    opacity: 0;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.modern-guide-card.playing .modern-audio-indicator {
    opacity: 1;
    background: #eca94b;
}

.modern-guide-card.playing .modern-audio-icon {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(0deg);
}

/* Body with grey background and deep blue text */
.modern-guide-body {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 25px; /* Reduced from 35px */
}

.modern-guide-text {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.05rem; /* Reduced from 1.15rem */
    line-height: 1.6; /* Adjusted from 1.7 */
    color: #1e293b;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Active state for playing audio */
.modern-guide-card.playing {
    border-color: rgba(236, 201, 75, 0.5);
    box-shadow: 0 15px 30px rgba(236, 201, 75, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1); /* Reduced shadow */
}

    .modern-guide-card.playing .modern-guide-header {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    }

/* Pulse animation for audio indicator */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-guide-header {
        padding: 20px; /* Reduced from 25px */
        flex-direction: column;
        align-items: flex-start;
        gap: 15px; /* Reduced from 20px */
    }

    .modern-audio-control {
        align-self: flex-end;
    }

    .modern-guide-body {
        padding: 20px; /* Reduced from 25px */
    }

    .modern-guide-title {
        font-size: 1.3rem; /* Reduced from 1.5rem */
    }

    .modern-guide-text {
        font-size: 1rem; /* Reduced from 1.05rem */
    }
}

/* Enhanced section heading */
.audio-section .section-heading {
    color: #1e293b;
    margin-bottom: 40px; /* Reduced from 50px */
    position: relative;
}

    .audio-section .section-heading::after {
        background: linear-gradient(90deg, #eca94b, #2c5282);
        height: 3px; /* Reduced from 4px */
        width: 80px; /* Reduced from 100px */
    }


/* =========================================
   ROYAL LUXURY CONTACT SECTION
   ========================================= */

:root {
    --r-navy: #0B1120;
    --r-navy-light: #1e293b;
    --r-gold: #D4AF37;
    --r-gold-dim: #8a7020;
    --r-white: #f8fafc;
    --r-text-mute: #94a3b8;
    --r-glass: rgba(30, 41, 59, 0.75);
}

.royal-contact-section {
    position: relative;
    background-color: var(--r-navy);
    padding: 80px 0; /* Reduced from 100px */
    overflow: hidden;
    font-family: 'Segoe UI', serif;
}

.royal-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 25%), radial-gradient(circle at 85% 30%, rgba(74, 144, 226, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

/* --- HEADINGS --- */
.royal-heading-wrapper {
    text-align: center;
    margin-bottom: 60px; /* Reduced from 80px */
    position: relative;
    z-index: 2;
}

.royal-section-heading {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2.8rem; /* Reduced from 3.5rem */
    color: var(--r-white);
    margin: 0;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 50%, var(--r-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 8px 20px rgba(0,0,0,0.5); /* Reduced shadow */
}

.royal-subheading {
    color: var(--r-text-mute);
    font-size: 1rem; /* Reduced from 1.1rem */
    letter-spacing: 1.5px; /* Reduced from 2px */
    text-transform: uppercase;
    margin-top: 12px; /* Reduced from 15px */
}

/* Divider Diamond */
.royal-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Reduced from 15px */
    margin: 15px 0; /* Reduced from 20px 0 */
    opacity: 0.6;
}

.divider-line {
    height: 1px;
    width: 50px; /* Reduced from 60px */
    background: linear-gradient(90deg, transparent, var(--r-gold));
}

    .divider-line:last-child {
        background: linear-gradient(90deg, var(--r-gold), transparent);
    }

.divider-diamond {
    color: var(--r-gold);
    font-size: 1.1rem; /* Reduced from 1.2rem */
}

/* --- FIXED: GRID LAYOUT TO FLEX (For Centering) --- */
.royal-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px; /* Reduced from 30px */
    position: relative;
    z-index: 2;
}

/* --- THE CARD --- */
.royal-card {
    position: relative;
    background: var(--r-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 2px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.5); /* Reduced shadow */
    overflow: hidden;
    flex: 1 1 280px; /* Reduced from 300px */
    max-width: 340px; /* Reduced from 380px */
    width: 100%;
}

    .royal-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 12px;
        padding: 1px;
        background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(212,175,55,0.3) 50%, rgba(255,255,255,0.1));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .royal-card:hover {
        transform: translateY(-8px); /* Reduced from 10px */
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.7), 0 0 15px rgba(212, 175, 55, 0.1); /* Reduced shadow */
    }

        .royal-card:hover::before {
            background: linear-gradient(135deg, var(--r-gold), transparent, var(--r-gold));
            opacity: 0.8;
        }

.royal-card-content {
    background: linear-gradient(180deg, rgba(20, 25, 35, 0.9) 0%, rgba(11, 17, 32, 0.95) 100%);
    border-radius: 11px;
    padding: 30px 20px; /* Reduced from 35px 25px */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icons */
.royal-icon-box {
    width: 50px; /* Reduced from 60px */
    height: 50px; /* Reduced from 60px */
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* Reduced from 25px */
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* Reduced shadow */
}

.royal-icon-letter {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; /* Reduced from 1.4rem */
    color: var(--r-gold);
    font-weight: 700;
}

/* Location Title */
.royal-location {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: var(--r-white);
    margin-bottom: 20px; /* Reduced from 25px */
    position: relative;
    padding-bottom: 12px; /* Reduced from 15px */
}

    .royal-location::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 25px; /* Reduced from 30px */
        height: 2px;
        background: var(--r-gold);
    }

/* Details */
.royal-details {
    width: 100%;
}

.rd-item {
    margin-bottom: 15px; /* Reduced from 20px */
    display: flex;
    flex-direction: column;
    gap: 3px; /* Reduced from 4px */
}

.rd-label {
    font-size: 0.65rem; /* Reduced from 0.7rem */
    text-transform: uppercase;
    letter-spacing: 1.2px; /* Reduced from 1.5px */
    color: var(--r-gold-dim);
    font-weight: 600;
}

.rd-value {
    font-size: 0.9rem; /* Reduced from 1rem */
    color: #cbd5e1;
    line-height: 1.4; /* Adjusted from 1.5 */
}

.highlight-gold {
    color: var(--r-white);
    font-weight: 700;
    font-size: 1rem; /* Reduced from 1.1rem */
}

.rd-role {
    font-size: 0.75rem; /* Reduced from 0.8rem */
    color: var(--r-text-mute);
    font-style: italic;
}

/* --- CROWN JEWEL (Global Card) --- */
.royal-card.crown-card {
    border: 1px solid var(--r-gold);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(11, 17, 32, 0.9));
}

.crown-icon {
    color: var(--r-gold);
    margin-bottom: 15px; /* Reduced from 20px */
}

    .crown-icon svg {
        width: 35px; /* Reduced from 40px */
        height: 35px; /* Reduced from 40px */
        filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6)); /* Reduced shadow */
    }

/* Full Width Card Styles */
.royal-card.full-width-card {
    flex: 1 1 100%;
    max-width: 100%;
    margin-top: 30px; /* Reduced from 40px */
}

.royal-details-full {
    width: 100%;
    text-align: left;
}

.full-width-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* Reduced from 40px */
    margin-bottom: 25px; /* Reduced from 30px */
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced from 25px */
}

.rd-badges-full {
    display: flex;
    justify-content: center;
    gap: 12px; /* Reduced from 15px */
    margin-top: 25px; /* Reduced from 30px */
    flex-wrap: wrap;
}

    .rd-badges-full .r-badge {
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid rgba(212, 175, 55, 0.3);
        padding: 6px 12px; /* Reduced from 8px 16px */
        border-radius: 20px;
        font-size: 0.75rem; /* Reduced from 0.8rem */
        text-transform: uppercase;
        color: var(--r-gold);
        letter-spacing: 0.8px; /* Reduced from 1px */
        transition: all 0.3s ease;
    }

        .rd-badges-full .r-badge:hover {
            background: rgba(212, 175, 55, 0.2);
            transform: translateY(-2px);
        }

/* Enhanced full-width card specific styles */
.royal-card.full-width-card .royal-card-content {
    padding: 40px 30px; /* Reduced from 50px 40px */
}

.royal-card.full-width-card .royal-location {
    font-size: 1.6rem; /* Reduced from 2rem */
    margin-bottom: 30px; /* Reduced from 40px */
}

    .royal-card.full-width-card .royal-location::after {
        width: 50px; /* Reduced from 60px */
        height: 3px;
    }

.royal-card.full-width-card .crown-icon svg {
    width: 40px; /* Reduced from 50px */
    height: 40px; /* Reduced from 50px */
    margin-bottom: 15px; /* Reduced from 20px */
}

/* =========================================
   EMAIL COPY COMPONENT (ROYAL EDITION)
   ========================================= */
.email-copy-container {
    width: 100%;
    margin: 8px 0; /* Reduced from 10px */
}

.email-display-box {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 6px 10px; /* Reduced from 8px 12px */
    transition: all 0.3s ease;
    position: relative;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5); /* Reduced shadow */
}

    .email-display-box:hover {
        border-color: rgba(212, 175, 55, 0.6);
        box-shadow: 0 0 12px rgba(212, 175, 55, 0.1), inset 0 0 15px rgba(0,0,0,0.5); /* Reduced shadow */
    }

.email-text {
    flex: 1;
    color: #e2e8f0;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 0.9rem; /* Reduced from 0.95rem */
    letter-spacing: 0.3px; /* Reduced from 0.5px */
    margin-right: 12px; /* Reduced from 15px */
}

/* --- PRESTIGIOUS BUTTON --- */
.copy-email-button {
    background: linear-gradient(135deg, #D4AF37 0%, #b8860b 100%);
    color: #0B1120;
    border: 1px solid #FDE068;
    border-radius: 6px;
    padding: 6px 12px; /* Reduced from 8px 16px */
    font-weight: 800;
    font-size: 0.75rem; /* Reduced from 0.8rem */
    text-transform: uppercase;
    letter-spacing: 0.8px; /* Reduced from 1px */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 6px; /* Reduced from 8px */
    box-shadow: 0 3px 8px rgba(0,0,0,0.3); /* Reduced shadow */
    outline: none;
}

    .copy-email-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 12px rgba(212, 175, 55, 0.3); /* Reduced shadow */
        background: linear-gradient(135deg, #FDE068 0%, #D4AF37 100%);
    }

    .copy-email-button:active {
        transform: translateY(0);
    }

/* The Feather Icon Styling */
.prestige-icon {
    font-size: 0.9rem; /* Reduced from 1rem */
    filter: drop-shadow(0 1px 1px rgba(255,255,255,0.4));
}

/* --- TOOLTIP (No Triangle) --- */
.email-copy-tooltip {
    position: absolute;
    top: -45px; /* Reduced from 50px */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0B1120;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 4px;
    font-size: 0.75rem; /* Reduced from 0.8rem */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px; /* Reduced from 1px */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* Reduced shadow */
    pointer-events: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 6px; /* Reduced from 8px */
}

    /* Activate state */
    .email-copy-tooltip.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }


/* --- FOOTER --- */
.royal-footer {
    text-align: center;
    margin-top: 40px; /* Reduced from 60px */
    position: relative;
    z-index: 2;
    opacity: 0.7;
}

.royal-motto {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem; /* Reduced from 1.4rem */
    color: var(--r-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .royal-section-heading {
        font-size: 2rem; /* Reduced from 2.5rem */
    }

    /* REMOVE GRID SETTINGS HERE, LET FLEX HANDLE IT */
    .royal-grid {
        padding: 0 15px; /* Reduced from 20px */
    }

    .contact-columns {
        grid-template-columns: 1fr;
        gap: 15px; /* Reduced from 20px */
    }

    .royal-card.full-width-card .royal-card-content {
        padding: 30px 20px; /* Reduced from 40px 25px */
    }

    .royal-card.full-width-card .royal-location {
        font-size: 1.4rem; /* Reduced from 1.6rem */
    }

    .rd-badges-full {
        gap: 8px; /* Reduced from 10px */
    }

        .rd-badges-full .r-badge {
            padding: 5px 10px; /* Reduced from 6px 12px */
            font-size: 0.65rem; /* Reduced from 0.7rem */
        }

    .email-display-box {
        flex-direction: column;
        gap: 10px; /* Reduced from 12px */
        text-align: center;
    }

    .email-text {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .copy-email-button {
        width: 100%;
        justify-content: center;
    }

    .email-copy-tooltip {
        font-size: 0.7rem; /* Reduced from 0.75rem */
        padding: 6px 10px; /* Reduced from 8px 14px */
        top: -45px; /* Reduced from 50px */
    }
}

@media (max-width: 480px) {
    .contact-columns {
        grid-template-columns: 1fr;
    }

    .rd-badges-full {
        flex-direction: column;
        align-items: center;
    }

        .rd-badges-full .r-badge {
            width: 180px; /* Reduced from 200px */
            text-align: center;
        }

    .email-display-box {
        padding: 8px 10px; /* Reduced from 10px 12px */
    }

    .email-text {
        font-size: 0.85rem; /* Reduced from 0.9rem */
    }

    .copy-email-button {
        padding: 5px 10px; /* Reduced from 6px 12px */
        font-size: 0.75rem; /* Reduced from 0.8rem */
    }
}

/* =========================================
   VALIDATION SECTION - LUXURY STYLING
   ========================================= */
.validation-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

    .validation-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.03) 0%, transparent 50%);
        pointer-events: none;
    }

.validation-header {
    text-align: center;
    margin-bottom: 40px; /* Reduced from 60px */
}

.validation-subtitle {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2rem; /* Reduced from 1.3rem */
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.8px; /* Reduced from 1px */
    text-transform: uppercase;
    margin-top: 12px; /* Reduced from 15px */
}

.validation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); /* Reduced from 380px */
    gap: 25px; /* Reduced from 30px */
    margin-bottom: 40px; /* Reduced from 60px */
}

/* Prestige Card Styling */
.validation-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px; /* Reduced from 20px */
    padding: 30px 25px; /* Reduced from 40px 30px */
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

    .validation-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .validation-card:hover {
        transform: translateY(-6px); /* Reduced from 8px */
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9); /* Reduced shadow */
    }

        .validation-card:hover::before {
            opacity: 1;
        }

.highlight-card {
    background: linear-gradient(145deg, #ffffff 0%, #fefce8 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

    .highlight-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px; /* Reduced from 4px */
        background: linear-gradient(90deg, #d4af37, #b8860b);
    }

.card-crown {
    position: absolute;
    top: 15px; /* Reduced from 20px */
    right: 20px; /* Reduced from 25px */
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #d4af37;
    opacity: 0.7;
}

.validation-icon {
    width: 50px; /* Reduced from 60px */
    height: 50px; /* Reduced from 60px */
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* Reduced from 25px */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Reduced shadow */
}

    .validation-icon svg {
        width: 24px; /* Reduced from 28px */
        height: 24px; /* Reduced from 28px */
        color: #d4af37;
    }

.validation-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; /* Reduced from 1.6rem */
    color: #1e293b;
    margin-bottom: 15px; /* Reduced from 20px */
    font-weight: 700;
    line-height: 1.3;
}

.validation-content {
    position: relative;
    z-index: 2;
}

.validation-text {
    color: #475569;
    font-size: 1rem; /* Reduced from 1.05rem */
    line-height: 1.5; /* Adjusted from 1.6 */
    margin-bottom: 15px; /* Reduced from 20px */
}

.validation-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0; /* Reduced from 25px */
}

    .validation-list li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 10px; /* Reduced from 12px */
        color: #475569;
        line-height: 1.5;
    }

.accent-dot {
    display: inline-block;
    width: 5px; /* Reduced from 6px */
    height: 5px; /* Reduced from 6px */
    background: #d4af37;
    border-radius: 50%;
    margin-right: 10px; /* Reduced from 12px */
    margin-top: 7px; /* Reduced from 8px */
    flex-shrink: 0;
}

/* Prestige Link */
.prestige-link {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Reduced from 10px */
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 16px; /* Reduced from 12px 20px */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

    .prestige-link:hover {
        color: #d4af37;
        border-color: #d4af37;
        transform: translateX(5px);
    }

    .prestige-link svg {
        width: 14px; /* Reduced from 16px */
        height: 14px; /* Reduced from 16px */
        transition: transform 0.3s ease;
    }

    .prestige-link:hover svg {
        transform: translateX(3px);
    }

/* Integration Features */
.integration-features {
    margin: 20px 0; /* Reduced from 25px */
}

.feature-pair {
    display: flex;
    gap: 12px; /* Reduced from 15px */
    margin-bottom: 12px; /* Reduced from 15px */
}

.feature {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 10px */
    padding: 10px; /* Reduced from 12px */
    background: rgba(241, 245, 249, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-badge {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #d4af37;
    padding: 3px 6px; /* Reduced from 4px 8px */
    border-radius: 4px;
    font-size: 0.75rem; /* Reduced from 0.8rem */
    font-weight: 700;
    min-width: 35px; /* Reduced from 40px */
    text-align: center;
}

.feature-text {
    color: #475569;
    font-weight: 500;
}

/* Automation Stack */
.automation-stack {
    margin: 20px 0; /* Reduced from 25px */
}

.automation-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Reduced from 12px */
    padding: 8px 0; /* Reduced from 10px */
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

    .automation-item:last-child {
        border-bottom: none;
    }

.automation-icon {
    width: 20px; /* Reduced from 24px */
    height: 20px; /* Reduced from 24px */
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem; /* Reduced from 0.8rem */
    font-weight: 700;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Reduced from 20px */
    margin: 25px 0; /* Reduced from 30px */
}

.metric {
    text-align: center;
    padding: 15px; /* Reduced from 20px */
    background: rgba(241, 245, 249, 0.7);
    border-radius: 10px; /* Reduced from 12px */
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.metric-value {
    font-size: 1.8rem; /* Reduced from 2.2rem */
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.8rem; /* Reduced from 0.85rem */
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Deployment Info */
.deployment-info {
    margin-top: 20px; /* Reduced from 25px */
}

.deployment-item {
    padding: 6px 0; /* Reduced from 8px */
    color: #475569;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

    .deployment-item:last-child {
        border-bottom: none;
    }

/* Innovation Pipeline */
.innovation-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 14px; /* Reduced from 16px */
    padding: 30px; /* Reduced from 40px */
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); /* Reduced shadow */
}

.innovation-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; /* Reduced from 1.4rem */
    color: #1e293b;
    margin-bottom: 20px; /* Reduced from 25px */
    text-align: center;
    font-weight: 700;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Reduced from 250px */
    gap: 12px; /* Reduced from 15px */
}

.innovation-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Reduced from 12px */
    padding: 12px; /* Reduced from 15px */
    background: rgba(241, 245, 249, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

    .innovation-item:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-2px);
    }

.innovation-badge {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 3px 6px; /* Reduced from 4px 8px */
    border-radius: 4px;
    font-size: 0.65rem; /* Reduced from 0.7rem */
    font-weight: 700;
    min-width: 30px; /* Reduced from 35px */
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .validation-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* Reduced from 20px */
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px; /* Reduced from 15px */
    }

    .feature-pair {
        flex-direction: column;
        gap: 8px; /* Reduced from 10px */
    }

    .innovation-grid {
        grid-template-columns: 1fr;
    }

    .validation-card {
        padding: 25px 15px; /* Reduced from 30px 20px */
    }

    .innovation-section {
        padding: 25px 15px; /* Reduced from 30px 20px */
    }
}

@media (max-width: 480px) {
    .validation-subtitle {
        font-size: 1rem; /* Reduced from 1.1rem */
    }

    .metric-value {
        font-size: 1.6rem; /* Reduced from 1.8rem */
    }

    .prestige-link {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   GENOMICS & DISEASES SECTION STYLING
   ========================================= */
.genomics-diseases-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px 0; /* Reduced from 80px */
    position: relative;
}

.genomics-diseases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* Reduced from 40px */
    max-width: 1400px;
    margin: 0 auto;
}

.diseases-column,
.genomics-column {
    background: white;
    border-radius: 14px; /* Reduced from 16px */
    padding: 25px; /* Reduced from 30px */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); /* Reduced shadow */
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

    .diseases-column:hover,
    .genomics-column:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); /* Reduced shadow */
    }

.list-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; /* Reduced from 1.8rem */
    color: var(--color-primary);
    margin-bottom: 20px; /* Reduced from 25px */
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid var(--color-accent); /* Reduced from 3px */
    padding-bottom: 12px; /* Reduced from 15px */
}

.diseases-list-container,
.genomics-list-container {
    height: 450px; /* Reduced from 500px */
    overflow: hidden;
    position: relative;
}

.diseases-scrollable,
.genomics-scrollable {
    height: 100%;
    overflow-y: auto;
    padding-right: 8px; /* Reduced from 10px */
}

    /* Custom scrollbar */
    .diseases-scrollable::-webkit-scrollbar,
    .genomics-scrollable::-webkit-scrollbar {
        width: 5px; /* Reduced from 6px */
    }

    .diseases-scrollable::-webkit-scrollbar-track,
    .genomics-scrollable::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .diseases-scrollable::-webkit-scrollbar-thumb,
    .genomics-scrollable::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 3px;
    }

        .diseases-scrollable::-webkit-scrollbar-thumb:hover,
        .genomics-scrollable::-webkit-scrollbar-thumb:hover {
            background: var(--color-primary-dark);
        }

.medical-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .medical-list li {
        padding: 10px 12px; /* Reduced from 12px 15px */
        margin-bottom: 6px; /* Reduced from 8px */
        background: rgba(241, 245, 249, 0.5);
        border-radius: 8px;
        border-left: 3px solid var(--color-accent); /* Reduced from 4px */
        font-size: 0.95rem; /* Reduced from 1rem */
        color: #475569;
        transition: all 0.3s ease;
        font-weight: 500;
    }

        .medical-list li:hover {
            background: rgba(212, 175, 55, 0.1);
            transform: translateX(5px);
            color: #1e293b;
        }

/* Responsive Design */
@media (max-width: 992px) {
    .genomics-diseases-grid {
        grid-template-columns: 1fr;
        gap: 25px; /* Reduced from 30px */
    }

    .diseases-list-container,
    .genomics-list-container {
        height: 350px; /* Reduced from 400px */
    }
}

@media (max-width: 768px) {
    .genomics-diseases-section {
        padding: 50px 0; /* Reduced from 60px */
    }

    .diseases-column,
    .genomics-column {
        padding: 15px; /* Reduced from 20px */
    }

    .list-title {
        font-size: 1.4rem; /* Reduced from 1.5rem */
    }

    .medical-list li {
        font-size: 0.9rem; /* Reduced from 0.95rem */
        padding: 8px 10px; /* Reduced from 10px 12px */
    }
}

/* =========================================
   SIDEBAR NAVIGATION - DESKTOP ONLY
   ========================================= */
.home-sidebar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 180px;
    height: 100vh;
    box-sizing: border-box;
    padding-top: 150px;
    background: transparent;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s;
    display: none;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge Legacy */
}

.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 0;
    background: linear-gradient(180deg, rgba(11, 17, 32, 0.97) 0%, rgba(30, 41, 59, 0.95) 50%, rgba(11, 17, 32, 0.97) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar-header {
    padding: 0 15px 15px 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    margin-bottom: 15px;
}

.sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #D4AF37;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.sidebar-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
}

.sidebar-nav {
    flex: 1;
    padding: 0 8px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .sidebar-link:hover {
        background: rgba(212, 175, 55, 0.1);
        color: #f8fafc;
        transform: translateX(5px);
    }

    .sidebar-link.active {
        background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
        color: #D4AF37;
        border-left: 3px solid #D4AF37;
        padding-left: 9px;
    }

.sidebar-icon {
    font-size: 0.85rem;
    margin-right: 10px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.sidebar-link:hover .sidebar-icon,
.sidebar-link.active .sidebar-icon {
    opacity: 1;
    transform: translateX(3px);
}

.sidebar-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.sidebar-top-btn {
    width: 36px;
    height: 36px;
    margin: 20px auto;
    background: linear-gradient(135deg, #D4AF37 0%, #b8860b 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

    .sidebar-top-btn.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .sidebar-top-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        background: linear-gradient(135deg, #FDE068 0%, #D4AF37 100%);
    }

    .sidebar-top-btn:active {
        transform: translateY(-1px);
    }

    .sidebar-top-btn svg {
        width: 18px;
        height: 18px;
        stroke: #0B1120;
        stroke-width: 2.5;
    }

.sidebar-footer {
    padding: 15px 15px 0 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 10px;
}

.sidebar-mini-logo {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #D4AF37 0%, #b8860b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #0B1120;
    font-size: 1rem;
    margin: 0 auto;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.home-sidebar::-webkit-scrollbar {
    display: none;
}

.home-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.home-sidebar::-webkit-scrollbar-thumb {
    border-radius: 2px;
}

    .home-sidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(212, 175, 55, 0.7);
    }

@media (min-width: 993px) {
    .home-sidebar {
        display: block;
    }

    .home-page-wrapper {
        margin-left: 180px;
        width: calc(100% - 180px);
        transition: margin-left 0.3s ease;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .home-sidebar {
        width: 180px;
    }

    .home-page-wrapper {
        margin-left: 180px;
        width: calc(100% - 180px);
    }
}

@media (max-width: 992px) {
    .home-page-wrapper {
        margin-left: 0;
        width: 100%;
    }
}

/* =========================================
   ADDITIONAL ADJUSTMENTS FOR SIDEBAR LAYOUT
   ========================================= */

/* Ensure cards fit in one row on desktop */
@media (min-width: 993px) {
    .validation-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Additional text wrapping adjustments */
.brand-tagline {
    font-size: 1.3rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-wrap: break-word;
    word-break: break-word;
}

.impact-text {
    font-size: 1.1rem;
}

.hero-values li {
    font-size: 1rem;
}

.news-text h3 {
    font-size: 1.3rem;
    line-height: 1.2;
}

/* =========================================
   HIDE SIDEBAR ON MOBILE COMPLETELY
   ========================================= */
@media (max-width: 992px) {
    .home-sidebar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }

    .home-page-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* Hide the sidebar navigation items completely */
    .sidebar-menu,
    .sidebar-nav,
    .sidebar-content {
        display: none !important;
    }
}

@media (max-width: 992px) {
    /* Ensure no sidebar layout shifts */
    body, html {
        overflow-x: hidden;
    }

    /* Remove any potential sidebar-related margins */
    .main-container, .section-block, .top-split-container {
        margin-left: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* =========================================
   FLOATING TV VIDEO SECTION (SIMPLE VERSION)
   ========================================= */
.floating-video-section {
    position: relative;
    z-index: 1000;
}

.floating-video-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    z-index: 1000;
    transition: all 0.4s ease;
}

/* THIN TV Frame Design */
.tv-frame {
    position: relative;
    background: rgba(11, 17, 32, 0.95);
    border-radius: 8px;
    padding: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 175, 55, 0.3), 0 0 15px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.tv-screen {
    position: relative;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.tv-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SIMPLE Play Overlay - ALWAYS VISIBLE when paused */
.tv-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

    .tv-play-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.play-button-circle {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.tv-play-icon {
    font-size: 36px;
    color: #0B1120;
    margin-left: 5px;
    font-weight: bold;
}

.play-hint {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* Video Title */
.video-title {
    margin-top: 12px;
    text-align: center;
    padding: 10px 15px;
    background: rgba(11, 17, 32, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

    .video-title h3 {
        color: #D4AF37;
        font-size: 1.1rem;
        margin: 0 0 5px 0;
        font-weight: 700;
    }

    .video-title p {
        color: #cbd5e1;
        font-size: 0.85rem;
        margin: 0;
        opacity: 0.8;
    }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1200px) {
    .floating-video-container {
        width: 320px;
        right: 25px;
        bottom: 25px;
    }
}

@media (max-width: 992px) {
    .floating-video-section {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
    }

    .floating-video-container {
        position: relative;
        width: 300px;
        right: 0;
        bottom: 0;
        margin: 0;
    }

    .play-button-circle {
        width: 70px;
        height: 70px;
    }

    .tv-play-icon {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .floating-video-section {
        position: fixed;
        bottom: 10px;
        right: 10px;
        z-index: 1000;
        pointer-events: none; /* Allow clicks to pass through to container */
    }

    .floating-video-container {
        position: fixed;
        width: 250px;
        right: 10px;
        bottom: 10px;
        margin: 0;
        transition: all 0.3s ease;
        pointer-events: auto; /* Container handles clicks */
        z-index: 1001;
        /* Ensure it stays within viewport bounds */
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

        /* When expanded on mobile */
        .floating-video-container[style*="width: 90%"] {
            width: 90% !important;
            max-width: 500px !important;
            max-height: 80vh !important;
            right: 5% !important;
            left: 5% !important;
            bottom: 20px !important;
            top: auto !important;
            transform: none !important;
            margin: 0 auto !important;
        }

    .play-button-circle {
        width: 60px;
        height: 60px;
    }

    .tv-play-icon {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .floating-video-container {
        width: 220px;
        bottom: 10px;
        right: 10px;
    }

        /* When expanded on small mobile */
        .floating-video-container[style*="width: 90%"] {
            width: 94% !important;
            right: 3% !important;
            left: 3% !important;
            bottom: 15px !important;
        }

    .play-button-circle {
        width: 50px;
        height: 50px;
    }

    .tv-play-icon {
        font-size: 22px;
    }
}

/* Ensure video scales properly */
.tv-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tv-screen {
    position: relative;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
/* =========================================
   ALWAYS-VISIBLE PAUSE OVERLAY
   ========================================= */

.tv-pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    cursor: pointer;
    z-index: 10;
    background: transparent; /* Fully transparent */
    pointer-events: auto; /* Ensure click events work */
}

    .tv-pause-overlay.visible {
        opacity: 1;
        visibility: visible;
    }

.pause-button-circle {
    width: 40px; /* Slightly larger for better visibility */
    height: 40px;
    background: rgba(212, 175, 55, 0.9); /* Solid gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tv-pause-icon {
    font-size: 18px; /* Slightly larger */
    color: #0B1120;
    font-weight: bold;
    line-height: 1;
}

/* Simple hover effect - optional */
.tv-pause-overlay:hover .pause-button-circle {
    background: rgba(255, 221, 87, 1);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

/* Keep play button size for comparison */
.play-button-circle {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.tv-play-icon {
    font-size: 36px;
    color: #0B1120;
    margin-left: 5px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .pause-button-circle {
        width: 38px;
        height: 38px;
    }

    .tv-pause-icon {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .pause-button-circle {
        width: 36px;
        height: 36px;
    }

    .tv-pause-icon {
        font-size: 16px;
    }

    .play-button-circle {
        width: 70px;
        height: 70px;
    }

    .tv-play-icon {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .pause-button-circle {
        width: 34px;
        height: 34px;
    }

    .tv-pause-icon {
        font-size: 15px;
    }

    .play-button-circle {
        width: 60px;
        height: 60px;
    }

    .tv-play-icon {
        font-size: 26px;
    }
}
/* Ensure video poster is visible */
.tv-video[poster] {
    background-color: #000;
    display: block;
}

/* Make sure the video element is positioned correctly */
.tv-screen {
    position: relative;
    width: 100%;
    height: 100%;
}

.tv-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

    /* When video is loading or paused, ensure poster is visible */
    .tv-video:not([poster=""]) {
        background-image: var(--poster-image); /* Fallback */
    }

/* Make play overlay appear over the poster */
.tv-play-overlay {
    z-index: 5;
}

/* Ensure video container dimensions */
.floating-video-container {
    width: 380px;
}

.tv-frame {
    width: 100%;
}

/* Mobile responsiveness for poster */
@media (max-width: 768px) {
    .floating-video-container {
        width: 300px;
    }

    /* Ensure poster scales properly */
    .tv-video[poster] {
        background-size: cover;
        background-position: center;
    }
}