/* ================= VARIABLES (FOREST GREEN THEME) ================= */
:root {
    --bg-dark: #020602; /* Very dark green-black */
    --bg-card: #0a150d; /* Dark Forest Card */
    --bg-card-hover: #112316;

    /* Theme Colors */
    --primary: #22c55e;       /* Bright Green (Buttons/Accents) */
    --primary-hover: #16a34a; /* Slightly darker green for hover */
    --secondary: #10b981;     /* Emerald/Teal secondary */

    /* Text */
    --text-white: #ffffff;
    --text-gray: #a1a1aa;

    /* Fonts */
    --font-main: 'Inter', sans-serif;

    /* Gradients */
    /* Forest to Bright Green */
    --gradient-main: linear-gradient(135deg, #15803d 0%, #4ade80 100%);
    /* Subtle glow behind hero */
    --gradient-glow: radial-gradient(circle at center, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= BUTTONS ================= */
.btn {
    display: inline-flex; /* Changed to inline-flex for better centering */
    align-items: center;
    justify-content: center; /* Centers text horizontally */
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center; /* Ensures text is centered if it wraps */
    text-decoration: none; /* Removes underline from links */
    line-height: 1.2;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    background: var(--gradient-main);
    color: #fff;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

/* ================= NAVBAR ================= */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 2, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
}

.logo-icon i { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.nav-links a:hover { color: var(--primary); }

/* ================= HERO SECTION ================= */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    background: var(--gradient-glow);
}

.rating-pill {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #86efac; /* Light green text */
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    /* Gradient Text: White to Green */
    background: linear-gradient(to right, #fff, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.hero-badges {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.hero-badges i { color: var(--primary); margin-right: 5px; }

/* ================= HERO VIDEO GLOW EFFECT ================= */

.hero-video-wrapper {
    margin-top: 60px;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;

    /* Ensure the glow isn't clipped, but corners remain rounded */
    /* We use a specific background to cover content behind if needed */
    background: #000;

    /* 1. The Border (Brighter Green on Top) */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(74, 222, 128, 0.6); /* Distinct green top edge */

    /* 2. The General Shadow (Green tint upwards, dark downwards) */
    box-shadow:
        0 -15px 40px rgba(34, 197, 94, 0.25), /* Upward Green Glow */
        0 20px 50px rgba(0, 0, 0, 0.8);      /* Downward Dark Shadow */

    z-index: 10;
}

/* 3. The "Laser Beam" Glow at the top center */
.hero-video-wrapper::before {
    content: '';
    position: absolute;
    top: -1px; /* Sits right on the border */
    left: 15%; /* Starts 15% from left */
    width: 70%; /* Spans 70% of the width */
    height: 1px;

    /* Creates the intense bright center */
    background: linear-gradient(90deg, transparent, #4ade80, transparent);

    /* Creates the fuzzy glow around the line */
    box-shadow: 0 -5px 20px 2px rgba(74, 222, 128, 0.6);

    z-index: 11;
    pointer-events: none; /* Allows clicking through the glow */
}

/* Ensure the iframe stays clipped to the border radius */
.video-embed-container {
    border-radius: 20px;
    overflow: hidden;
    /* ... existing styles ... */
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    width: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(34, 197, 94, 0.9); /* Green play button */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    color: white;
}

.play-button:hover { transform: translate(-50%, -50%) scale(1.1); }

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-1 { top: 20%; left: 10%; background: var(--secondary); color: white; }
.card-2 { bottom: 20%; right: 10%; }

/* ================= SECTIONS GENERAL ================= */
.section { padding: 80px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; text-align: center; }
.section-desc { color: var(--text-gray); text-align: center; max-width: 600px; margin: 0 auto 50px; }
.logo-strip { padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); text-align: center; }
.logos { display: flex; justify-content: center; gap: 40px; font-size: 1.8rem; color: #3f624e; margin-top: 10px; }
.trusted-text { font-size: 0.8rem; color: #3f624e; text-transform: uppercase; letter-spacing: 1px; }

/* ================= GRID LAYOUTS ================= */
.grid-3-col-center {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 40px;
    align-items: center;
}

/* ================= CARDS (General) ================= */
.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.feature-card:hover { background: var(--bg-card-hover); border-color: rgba(34, 197, 94, 0.3); }
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { color: var(--text-gray); font-size: 0.9rem; }

/* Icon Boxes - Re-mapped for Green Theme */
.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Redefining the 'purple' and 'blue' classes from HTML to use Green tones */
.icon-box.purple { background: rgba(34, 197, 94, 0.1); color: var(--primary); }
.icon-box.blue { background: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.icon-box.gradient { background: var(--gradient-main); color: white; }

.center-image img { border-radius: 20px; width: 100%; object-fit: cover; }

/* ================= SOLUTION SECTION (FOREST THEME - FIXED) ================= */
.solution-layout {
    display: grid;
    /* Adjusted columns: Image takes slightly less width to look vertical */
    grid-template-columns: 0.7fr 1.3fr;
    gap: 30px; /* Reduced gap to bring image closer to text */
    align-items: stretch; /* CRITICAL: Forces image wrapper to be as tall as the text side */
}

.solution-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #022c22;
    height: 100%; /* Fills the stretched grid cell */
    min-height: 500px; /* Ensures it stays tall even if text is short */
}

.solution-image-wrapper img {
    width: 100%;
    height: 100%; /* Forces image to cover the full height */
    object-fit: cover; /* Zooms/crops to fill the tall box */
    object-position: center top; /* Focuses on the face */
}

/* Sparkle CSS removed as requested */

.solution-heading {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: left;
}

.solution-sub {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-align: left;
}

.solution-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Green Gradient Cards */
.sol-card {
    background: linear-gradient(180deg, #064e3b 0%, #050505 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: 0.3s transform;
}

.sol-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(180deg, #065f46 0%, #050505 100%);
}

.sol-icon {
    width: 45px;
    height: 45px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86efac;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.sol-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.sol-card p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .solution-layout {
        grid-template-columns: 1fr;
        display: block; /* Stack them */
    }

    .solution-image-wrapper {
        height: 400px; /* Fixed height on mobile */
        margin-bottom: 30px;
        min-height: auto;
    }

    .solution-heading, .solution-sub { text-align: center; }
    .solution-grid-2x2 { grid-template-columns: 1fr; }
    .sol-icon { margin: 0 auto 15px; }
}


/* ================= OUTCOMES SECTION (FOREST THEME) ================= */
.outcomes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.outcome-card {
    background: #061109; /* Very dark green */
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: left;
}

.outcome-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.5);
}

.outcome-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.outcome-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.outcome-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: #15803d; /* Forest Green */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.outcome-card p { color: #94a3b8; font-size: 0.95rem; line-height: 1.6; }

/* ================= ACCORDION (Structure) ================= */
.structure-section { background: #020602; }
.split-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.accordion-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}
.accordion-item.active { border-color: var(--primary); }

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 { font-size: 1.1rem; margin-top: 5px; }
.accordion-header span { font-size: 0.8rem; color: var(--primary); text-transform: uppercase; }
.accordion-body { padding: 0 20px 20px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-gray); }
.accordion-body ul li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.02); }

/* ================= PRICING SECTION (FIXED) ================= */
/* ================= PRICING SECTION (CENTERED SINGLE CARD) ================= */
.pricing-section {
    position: relative;
    padding-bottom: 100px;
    width: 100%;
    overflow: hidden;
}

.pricing-grid {
    display: flex;
    justify-content: center; /* This centers the card */
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.pricing-card {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.3); /* Subtle green border */
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 550px; /* Prevents the card from becoming too wide */
    background: linear-gradient(180deg, rgba(6, 78, 59, 0.2) 0%, var(--bg-card) 100%);
}

.pricing-card h3 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    color: #fff; 
    text-align: center;
}

/* Price Styling */
.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    font-size: 5rem;
}

.price sup {
    font-size: 2rem;
    margin-top: 10px;
    margin-right: 5px;
    font-weight: 500;
    color: var(--primary);
}

/* Button */
.full-width {
    width: 100%;
    margin-bottom: 40px;
}

/* Features List */
.features-label { 
    font-weight: 600; 
    color: #fff; 
    margin-bottom: 20px; 
    font-size: 1.1rem; 
}

.features-list { 
    text-align: left; 
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-gray);
    display: flex;
    gap: 12px;
    font-size: 1rem;
    align-items: center;
}

.features-list li i { 
    color: var(--primary); 
    font-size: 0.9rem; 
}

/* ================= GUARANTEE PILLS ================= */
.guarantee-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.g-pill {
    background: #0f291e;
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill-icon {
    background: var(--primary);
    color: #000;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.7rem;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .pricing-card {
        padding: 30px 20px;
    }
    .price {
        font-size: 4rem;
    }
    .guarantee-row {
        flex-direction: column;
        align-items: center;
    }
    .g-pill {
        width: 100%;
        justify-content: center;
    }
}

/* ================= GUARANTEE PILLS (The 3 Pills) ================= */
.guarantee-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}

.g-pill {
    background: #0f291e; /* Dark Green/Black background */
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* The Green Circle Icon inside the pill */
.pill-icon {
    background: var(--primary); /* Bright Green */
    color: #000; /* Black Checkmark */
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.7rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .card-sub { min-height: auto; margin-bottom: 20px; }
    .guarantee-row { flex-direction: column; align-items: center; width: 100%; }
    .g-pill { width: 100%; justify-content: center; }
}

/* ================= INSTRUCTOR ================= */
.instructor-layout { display: grid; grid-template-columns: 350px 1fr; gap: 50px; align-items: center; }
.instructor-img img { border-radius: 20px; }
.instructor-info h2 { font-size: 3rem; margin-bottom: 20px; }
.instructor-info .subtitle { color: var(--primary); text-transform: uppercase; font-weight: 700; }
.socials { margin-top: 20px; font-size: 1.5rem; display: flex; gap: 20px; }
.socials a:hover { color: var(--primary); }

/* ================= FAQ SECTION (SPLIT LAYOUT) ================= */

/* The Grid Container */
.faq-layout {
    display: grid;
    grid-template-columns: 0.6fr 1fr; /* Left side smaller, Right side wider */
    gap: 60px;
    align-items: start;
}

/* --- Left Side Styling --- */
.faq-left {
    position: sticky;
    top: 100px; /* Stays visible as you scroll past long FAQs */
}

.faq-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: left; /* Override center alignment */
}

.faq-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-align: left; /* Override center alignment */
}

/* CTA Card on Left */
.faq-cta-card {
    background: #061109; /* Dark Green/Black */
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    margin-top: 20px;
}

.faq-cta-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.faq-cta-card p { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 20px; }


/* --- Right Side (Accordions) --- */
.faq-list {
    width: 100%;
}

.faq-item {
    background: #08120b; /* Very Dark Green Background */
    margin-bottom: 15px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    overflow: hidden;
}

.faq-item:hover {
    background: #0f2215; /* Slightly lighter on hover */
}

.faq-item.active {
    background: #0f2215;
    border-color: rgba(34, 197, 94, 0.3);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    padding-right: 20px; /* Prevents text from hitting the icon */
}

/* The Circle Icon Button */
.faq-icon-circle {
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.2); /* Transparent Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary); /* Bright Green Icon */
    transition: 0.3s;
}

/* Accordion Content */
.accordion-body {
    padding: 0 25px 25px;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: none;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 40px;
    }

    .faq-left {
        position: static; /* Remove sticky on mobile */
        text-align: center;
    }

    .faq-title, .faq-desc { text-align: center; }

    .faq-cta-card { text-align: left; } /* Keep card text aligned left */
}

/* ================= FOOTER ================= */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 80px 0 20px; margin-top: 50px; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 50px; }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 10px; }
.footer-brand p { color: var(--text-gray); max-width: 300px; }
.footer-links { display: flex; gap: 80px; }
.footer-links h4 { margin-bottom: 20px; }
.footer-links a { display: block; color: var(--text-gray); margin-bottom: 10px; }
.footer-links a:hover { color: var(--primary); }
.copyright { text-align: center; color: #444; font-size: 0.9rem; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .grid-3-col-center, .grid-2-col, .split-layout, .instructor-layout, .pricing-grid, .footer-content, .solution-layout, .solution-grid-2x2, .outcomes-grid {
        grid-template-columns: 1fr;
        display: block;
    }

    .nav-links { display: none; }
    .pricing-card { margin-bottom: 30px; }
    .hero h1 { font-size: 2.5rem; }
    .card-column, .center-image { margin-bottom: 30px; }
    .solution-heading, .solution-sub { text-align: center; }
    .sol-icon { margin: 0 auto 15px; }
    .outcome-card { margin-bottom: 20px; }
}

/* ================= LOGO STRIP (MOTION RE-DESIGN) ================= */
/* ================= LOGO STRIP (CARDS VERSION) ================= */
.logo-strip-motion {
    padding: 100px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.motion-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Center Text styling */
.trusted-center {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Enlarged Pill Container */
.marquee-wrapper {
    flex: 1;
    position: relative;
    background: rgba(22, 101, 52, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 40px;
    height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transform: translateZ(0);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    width: max-content;
    height: 100%;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* FIX: Changed object-fit to 'contain' to prevent cropping certificates */
.marquee-track img {
    height: 90%;
    width: 350px;
    object-fit: contain;
    border-radius: 25px;
    flex-shrink: 0;
    opacity: 1;
    transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
}

/* FADE EFFECT */
.fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(90deg,
        #0a0a0a 0%,
        transparent 10%,
        transparent 90%,
        #0a0a0a 100%
    );
    border-radius: 40px;
}

/* ANIMATIONS */
.scroll-left {
    animation: scrollLeft 40s linear infinite;
}

.scroll-right {
    animation: scrollRight 40s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes scrollRight {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* MOBILE VIEW ADJUSTMENTS */
@media (max-width: 768px) {
    .motion-layout {
        flex-direction: column;
        gap: 20px;
    }

    /* FIX: Hide the black shadow overlay on mobile */
    .fade-overlay {
        display: none;
    }

    .logo-strip-motion {
        padding: 40px 15px;
    }

    .marquee-wrapper {
        width: 100%;
        height: 180px; /* Uniform height for both pills */
        border-radius: 20px;
    }

    .marquee-track img {
        width: 250px; /* Adjusted width for mobile visibility */
        height: 90%;
    }

    /* FIX: Removed 'order: -1' so text stays in the middle */
    .trusted-center {
        font-size: 1.1rem;
        margin: 10px 0;
        letter-spacing: 1px;
    }

    .scroll-left, .scroll-right {
        animation-duration: 35s;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .marquee-wrapper {
        height: 150px;
    }

    .marquee-track img {
        width: 200px;
    }
}

/* ================= VIDEO EMBED STYLING ================= */

/* Ensures the wrapper handles the iframe content correctly */
.hero-video-wrapper {
    /* Existing styles... */
    background: #000; /* Black background while loading */
    overflow: hidden; /* Ensures rounded corners clip the video */
}

/* The Aspect Ratio Hack (16:9) */
.video-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Ratio (9 / 16 = 0.5625) */
    height: 0;
    width: 100%;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Adjust Floating Cards to not cover the play button/controls */
.card-1 {
    top: 10%;
    left: -20px; /* Pushed slightly outside */
    z-index: 10;
}

.card-2 {
    bottom: 10%;
    right: -20px;
    z-index: 10;
}

/* Mobile Adjustment for floating cards */
@media (max-width: 768px) {
    .card-1, .card-2 {
        display: none; /* Hide floating cards on mobile to focus on video */
    }
}

/* ================= PROBLEM SECTION FIXES (FINAL WIDER CENTER) ================= */

/* 1. Widen the Center Column */
.grid-3-col-center {
    display: grid;
    /*
       OLD: 1fr 320px 1fr
       NEW: 1fr 420px 1fr  <-- This makes the middle card wider
    */
    grid-template-columns: 1fr 420px 1fr;
    gap: 20px;
    align-items: stretch;
}

/* 2. Keep the rest the same... */
.card-column {
    display: flex;
    flex-direction: column;
    gap: 0px;
    justify-content: space-between;
}

.feature-card {
    background: var(--bg-card);
    padding: 25px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.icon-box {
    margin-bottom: 15px;
    width: 45px;
    height: 45px;
}

/* 3. The Middle Card Container */
.center-card-fill {
    position: relative;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

/* 4. The Image Fix */
.center-card-fill img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Mobile Fix */
@media (max-width: 900px) {
    .grid-3-col-center {
        grid-template-columns: 1fr;
    }

    .center-card-fill {
        height: 350px;
        margin-bottom: 20px;
    }
}

