/* Rest of your existing CSS continues below... */

/* ===== ELEGANT TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== SMOOTH INTERACTIONS ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ===== PREMIUM TEXT SHINE ANIMATION ===== */
@keyframes sleekShine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(
        90deg,
        #001F3F 0%,
        #FFFFFF 25%,
        #FFD700 50%,
        #FFFFFF 75%,
        #001F3F 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sleekShine 6s ease-in-out infinite;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #E2E8F0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

/* ===== ELEVATED SHADOWS ===== */
.shadow-sm {
    box-shadow: 0 4px 20px rgba(0, 31, 63, 0.08);
}

.shadow-md {
    box-shadow: 0 8px 40px rgba(0, 31, 63, 0.12);
}

.shadow-lg {
    box-shadow: 0 15px 60px rgba(0, 31, 63, 0.15);
}

/* ===== SOPHISTICATED CARD STYLES ===== */
.card-elegant {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 31, 63, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
}

.card-elegant:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 31, 63, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

/* ===== GOLD ACCENT BORDERS ===== */
.border-gold {
    border-color: #FFD700;
}

.border-gold-light {
    border-color: rgba(255, 215, 0, 0.3);
}

/* ===== ELEGANT BUTTONS ===== */
.btn-gold {
    background: linear-gradient(135deg, #FFD700, #FFC400);
    color: #001F3F;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFC400, #FFB300);
    color: #001F3F;
    text-decoration: none;
}

.btn-navy {
    background: linear-gradient(135deg, #001F3F, #002E5D);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 31, 63, 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.btn-navy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 31, 63, 0.4);
    background: linear-gradient(135deg, #002E5D, #003D7A);
    color: white;
    text-decoration: none;
}

/* ===== HERO SECTION ENHANCEMENTS ===== */
.hero-skew {
    transform: skewY(-2deg);
    transform-origin: bottom;
}

.hero-content {
    transform: skewY(2deg);
}

/* ===== SVG ICON REFINEMENT ===== */
.icon-gold {
    color: #FFD700;
    stroke: #FFD700;
}

.icon-navy {
    color: #001F3F;
    stroke: #001F3F;
}

/* Ensure consistent SVG sizing */
svg {
    vertical-align: middle;
}

/* ===== ELEGANT GRADIENTS ===== */
.gradient-navy {
    background: linear-gradient(135deg, #001F3F 0%, #002E5D 50%, #001F3F 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFC400 50%, #FFD700 100%);
}

/* ===== CUSTOM ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* ===== FORM ELEGANCE ===== */
.input-elegant {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.input-elegant:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    outline: none;
    transform: translateY(-2px);
}

/* ===== TESTIMONIAL REFINEMENT ===== */
.testimonial-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 31, 63, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #001F3F);
    border-radius: 20px 20px 0 0;
}

/* ===== NAVY/GOLD COLOR UTILITIES ===== */
.text-navy {
    color: #001F3F;
}

.text-gold {
    color: #FFD700;
}

.bg-navy {
    background-color: #001F3F;
}

.bg-gold {
    background-color: #FFD700;
}

.border-navy {
    border-color: #001F3F;
}

/* ===== RESPONSIVE REFINEMENTS ===== */
@media (max-width: 768px) {
    .card-elegant:hover {
        transform: translateY(-4px);
    }
    
    .btn-gold:hover,
    .btn-navy:hover {
        transform: translateY(-1px);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .testimonial-card:hover {
        transform: translateY(-2px);
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700, #001F3F);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #001F3F, #FFD700);
}

/* ===== ACCESSIBILITY & FOCUS STATES ===== */
a:focus,
button:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== PRINT STYLES ===== */
@media print {
    .btn-gold,
    .btn-navy {
        background: #001F3F !important;
        color: white !important;
        box-shadow: none !important;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* ===== FORM VALIDATION STYLES ===== */
.input-elegant:invalid {
    border-color: #EF4444;
}

.input-elegant:valid {
    border-color: #10B981;
}

/* ===== SMOOTH TRANSITIONS FOR ALL INTERACTIVE ELEMENTS ===== */
a, button, .card-elegant, .btn-gold, .btn-navy, .input-elegant {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CONTAINER CONSISTENCY ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== PROGRESS BAR STYLES ===== */
.progress-container {
    transition: all 0.3s ease;
}

.progress-bar {
    transition: width 0.4s ease;
    background: linear-gradient(90deg, #FFD700, #FFC400);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Button loading state */
.btn-navy:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Success state */
.btn-success {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    color: white !important;
}

/* Progress states */
.progress-25 { width: 25% !important; }
.progress-50 { width: 50% !important; }
.progress-75 { width: 75% !important; }
.progress-100 { width: 100% !important; }

/* Prevent background scroll when navbar menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===== NAVBAR COMPONENT STYLES ===== */
.navbar-component {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 31, 63, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    font-family: 'Inter', sans-serif;
}

.navbar-logo {
    color: #001F3F;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.navbar-logo-video-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 0.75rem;
}

.navbar-logo-video {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-logo-video:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.6);
}

.navbar-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.navbar-link:hover {
    color: #001F3F;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #001F3F);
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-link-icon {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.navbar-cta-button {
    background: linear-gradient(135deg, #001F3F, #002E5D);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 31, 63, 0.3);
    border: 2px solid transparent;
}

.navbar-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 31, 63, 0.4);
    background: linear-gradient(135deg, #002E5D, #003D7A);
    color: white !important;
}

.navbar-mobile-menu {
    display: none;
    background: none;
    border: none;
    color: #001F3F;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-mobile-menu:hover {
    background: rgba(0, 31, 63, 0.05);
}

.navbar-mobile-menu-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.navbar-spacer {
    height: 80px;
}

/* ===== CONSOLIDATED MOBILE NAVBAR FIXES (REPLACE ALL OVERLAPPING MEDIA QUERIES) ===== */
@media (max-width: 768px) {
    /* Navbar base: Compact, no gap to hero */
    .navbar-component {
        padding: 1rem 1.25rem !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        height: auto !important; /* Prevents full-page takeover */
    }

    /* Hide spacer completely: Zero gap to hero */
    .navbar-spacer {
        display: none !important;
    }

    /* Push hero/content down by exact navbar height (alternative to spacer) */
    body:has(custom-navbar) > *:first-child:not(.navbar-component) {
        padding-top: 70px !important; /* Matches navbar ~70px height; adjust if needed */
    }

    .hero-section {
        z-index: 1 !important;
        position: relative !important;
        overflow: visible !important;
        margin-top: 0 !important; /* Kill any hero margin */
    }

    .hero-section > div.relative.z-10 { /* Target common Tailwind hero wrappers */
        z-index: 2 !important; /* Above bg, below menu */
        position: relative !important;
    }

    /* Mobile menu button */
    .navbar-mobile-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0.5rem !important;
        z-index: 1001 !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
    }

    .navbar-mobile-menu:hover {
        background: rgba(0, 31, 63, 0.05) !important;
    }

    /* Closed menu: Fully hidden, no leaks */
    custom-navbar .navbar-links {
        display: none !important;
        position: static !important;
        z-index: auto !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        transition: opacity 0.25s ease, transform 0.25s ease !important;
        pointer-events: none !important;
    }

    /* Open menu: Half-page centered dropdown, above everything */
    custom-navbar .navbar-links.active {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        position: fixed !important; /* Global positioning */
        top: 70px !important; /* Flush to navbar bottom */
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-height: 50vh !important; /* Half-page limit */
        height: auto !important; /* Grows to content, capped by max */
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(255, 215, 0, 0.1) !important;
        box-shadow: 0 4px 16px rgba(0, 31, 63, 0.08) !important;
        padding: 0.75rem 1.25rem !important; /* Compact padding */
        gap: 0.25rem !important;
        overflow-y: auto !important; /* Scroll if links overflow half-page */
        z-index: 999999 !important; /* Nuclear override: Above hero/body */
        opacity: 1 !important;
        transform: translateY(0) !important;
        isolation: isolate !important; /* Own stacking context */
        animation: navbarSlideIn 0.3s ease-out !important;
        pointer-events: auto !important;
    }

    /* Centered links inside half-page menu */
    custom-navbar .navbar-links.active .navbar-link {
        width: 100% !important;
        max-width: 300px !important; /* Center cap for narrow screens */
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(0, 31, 63, 0.05) !important;
        text-align: center !important;
        justify-content: center !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
    }

    custom-navbar .navbar-links.active .navbar-link:last-child {
        border-bottom: none !important;
    }

    /* Slim CTA in menu */
    custom-navbar .navbar-links.active .navbar-cta-button {
        margin-top: 0.5rem !important;
        padding: 0.75rem 1rem !important;
        align-self: stretch !important;
        text-align: center !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
    }

    /* Logo tweaks for mobile */
    .navbar-logo {
        font-size: 1.1rem !important;
    }

    .navbar-logo-video {
        width: 28px !important;
        height: 28px !important;
    }

    /* Hamburger icon rotation */
    .navbar-mobile-menu.active .navbar-mobile-menu-icon {
        transform: rotate(90deg) !important;
    }

    /* Lock body scroll */
    body.navbar-menu-open {
        overflow: hidden !important;
    }

    /* Animation (keep your existing) */
    @keyframes navbarSlideIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Smaller screens */
    @media (max-width: 480px) {
        .navbar-component {
            padding: 0.875rem 1rem !important;
        }

        body:has(custom-navbar) > *:first-child:not(.navbar-component) {
            padding-top: 65px !important; /* Adjust for smaller padding */
        }

        custom-navbar .navbar-links.active {
            top: 65px !important;
            padding: 0.5rem 1rem !important;
        }

        .navbar-logo {
            font-size: 1rem !important;
        }

        .navbar-logo-video {
            width: 24px !important;
            height: 24px !important;
        }
    }
}

/* ===== FINAL DESKTOP NAVBAR OVERRIDES ===== */
@media (min-width: 769px) {
    .navbar-component {
        padding: 1rem 2rem !important;
    }
    
    .navbar-logo {
        font-size: 1.5rem !important;
    }
    
    .navbar-links {
        display: flex !important;
        position: static !important;
        z-index: auto !important;
        gap: 2rem !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }
    
    .navbar-links li {
        display: flex !important;
        align-items: center !important;
    }
    
    .navbar-logo {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }
    
    .navbar-logo-video-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .navbar-component {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .navbar-mobile-menu {
        position: relative !important;
        z-index: 1002 !important;
    }
}

.perspective {
  perspective: 1000px;
  border: 2px solid red; /* Temporary to see the container */
}
.carousel-3d {
  transform-style: preserve-3d;
  animation: spinY 12s infinite linear;
}
@keyframes spinY {
  0% { transform: rotateY(0deg); }
  33% { transform: rotateY(120deg); }
  66% { transform: rotateY(240deg); }
  100% { transform: rotateY(360deg); }
}
.carousel-3d:hover {
  animation-play-state: paused;
}
/* Triangular Prism Carousel */
.carousel-front {
    transform: translateZ(20px);
    z-index: 30;
}

.carousel-right {
    transform: rotateY(45deg) translateZ(-10px) translateX(20px);
    z-index: 20;
}

.carousel-left {
    transform: rotateY(-45deg) translateZ(-10px) translateX(-20px);
    z-index: 20;
}

/* Carousel Animation */
@keyframes carouselRotate {
    0% { transform: rotateY(0deg) translateZ(20px); }
    33% { transform: rotateY(-45deg) translateZ(-10px) translateX(-20px); }
    66% { transform: rotateY(45deg) translateZ(-10px) translateX(20px); }
    100% { transform: rotateY(0deg) translateZ(20px); }
}

.carousel-card {
    animation: carouselRotate 12s infinite ease-in-out;
}

.carousel-card:nth-child(1) { animation-delay: 0s; }
.carousel-card:nth-child(2) { animation-delay: 4s; }
.carousel-card:nth-child(3) { animation-delay: 8s; }

/* Hover Pause */
.carousel-card:hover {
    animation-play-state: paused;
}
.carousel-slide {
  transition: opacity 0.8s ease-in-out;
}
  section {
    scroll-margin-top: 5rem; /* prevents navbar overlap when using anchors */
  }
  section:not(:first-of-type) {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  section:first-of-type {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  @media (min-width: 1024px) {
    section:not(:first-of-type) {
      padding-top: 6rem !important;
      padding-bottom: 6rem !important;
    }
    section:first-of-type {
      padding-top: 8rem !important;
      padding-bottom: 8rem !important;
    }
  }

/* Emotional Pain Points Animations */
.emotional-card {
    animation: emotionalEntrance 0.8s ease-out;
}

.emotional-card:nth-child(1) { animation-delay: 0.1s; }
.emotional-card:nth-child(2) { animation-delay: 0.2s; }
.emotional-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes emotionalEntrance {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Emotional Icon Animations */
.emotional-icon {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.emotional-card:hover .emotional-icon {
    transform: translateY(-5px);
}

/* Emotional Content Transitions */
.emotional-content {
    position: relative;
}

.problem-emotion {
  transition: opacity 0.6s ease;
}

.solution-emotion.visible ~ .problem-emotion {
  opacity: 0;
}

.solution-emotion {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.solution-emotion.visible {
  opacity: 1;
  transform: translateY(0);
}

.emotional-card:hover .problem-emotion {
    opacity: 0.7;
    transform: translateY(-5px);
}

.emotional-card:hover .solution-emotion {
    opacity: 1;
    transform: translateY(0);
}

/* Emotional Testimonials */
.emotional-testimonial {
    transition: all 0.3s ease;
}

.emotional-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.15);
}

/* Pulse animation for emotional emphasis */
@keyframes emotionalPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

.emotional-card:hover {
    animation: emotionalPulse 2s ease-in-out infinite;
}

/* Mobile emotional adjustments */
@media (max-width: 768px) {
    .emotional-content {
        position: static;
    }
    
    .solution-emotion {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 1rem;
    }
    
    .emotional-card:hover .problem-emotion {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 1024px) {
  .solution-emotion {
    opacity: 0;
    transform: translateY(0);
  }
  .emotional-card:hover .solution-emotion {
    opacity: 1;
  }
  .emotional-card:hover .problem-emotion {
    opacity: 0;
  }
}

/* ===== TESTIMONIAL SPACING + PREMIUM WHITE CARD BREATHING ROOM ===== */
.testimonial-card {
    padding: 2rem 2.5rem;       /* internal air */
    border-radius: 24px;        /* slightly rounder = more luxurious */
    line-height: 1.75;          /* easier reading */
    margin-bottom: 2.5rem;      /* extra gap between items */
}

.testimonial-card p {
    margin-bottom: 1.5rem;      /* spaced paragraphs */
}

.testimonial-card .author-name {
    display: block;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-card .author-role {
    opacity: .75;
    font-size: .95rem;
    margin-bottom: 1rem;
}

/* ===== VIDEO DEMO SECTION STYLES ===== */
.aspect-w-16 {
    position: relative;
}

.aspect-w-16::before {
    content: "";
    display: block;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.aspect-w-16 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Video hover effects */
video {
    transition: transform 0.3s ease;
}

video:hover {
    transform: scale(1.01);
}

/* Video timeline indicators */
.video-timeline-dot {
    transition: all 0.3s ease;
}

.video-timeline-dot:hover {
    transform: scale(1.2);
    background: #FFD700 !important;
}

/* ===== EMOTIONAL CARD IMPROVEMENTS ===== */
.emotional-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.emotional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 31, 63, 0.15);
}

/* ===== HERO CAROUSEL FIXES ===== */
.carousel-slide {
    transition: opacity 0.8s ease-in-out;
}

/* Ensure hero videos are properly sized */
.hero-section video {
    object-fit: cover;
    border-radius: 16px;
}

/* ===== FORM SUBMISSION STATES ===== */
.form-success {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    color: white !important;
}

.form-error {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
    color: white !important;
}

/* ===== LOADING ANIMATIONS ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}
/* ===== ENHANCED ANIMATIONS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideInUp 0.8s ease-out forwards;
}

/* Mobile reveal for emotional cards */
@media (max-width: 768px) {
    .solution-emotion.mobile-reveal {
        opacity: 1 !important;
        transform: none !important;
        position: static !important;
        margin-top: 1rem;
    }
    
    .emotional-card {
        cursor: pointer;
    }
}

/* Notification animations */
.safina-notification {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonial Carousel Styles - IMPROVED */
.testimonial-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: pan-y;
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 50%;   /* default 2 per view on desktop */
    padding: 0 12px;
    box-sizing: border-box;
}


/* Better mobile card sizing */
@media (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 100%;   /* full width per view */
    padding: 0 10px;
  }

  .testimonial-card {
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
  }
}

.carousel-dot.active {
  background: #FFD700 !important;
  transform: scale(1.2);
}

/* Desktop layout */
@media (min-width: 769px) {
    .testimonial-slide {
        width: 50% !important;
        padding: 0 12px;
    }
}

/* Active dot state */
.carousel-dot.active {
    background: #FFD700 !important;
    transform: scale(1.2);
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        display: none !important;
    }
}

/* Smooth transitions */
.carousel-track {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile touch improvements */
@media (max-width: 768px) {
    .testimonial-carousel {
        -webkit-overflow-scrolling: touch;
    }
    
    .carousel-track {
        cursor: grab;
    }
    
    .carousel-track:active {
        cursor: grabbing;
    }
}

/* Ensure proper container sizing */
#testimonialCarousel {
    width: 100%;
}

.carousel-track {
    width: 100%;
}

/* ===== SPLASH SCREEN: additions (append to bottom of style.css) ===== */

/* splash container */
.splash-container {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F5F5F3; /* same tone as video */
  z-index: 99999;
  overflow: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  visibility: visible;
}

/* center logo styles already exist as .splash-center in your HTML, but make sure these are present */
.splash-center {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  text-align: center;
  z-index: 20;
  pointer-events: none;
}

.splash-logo {
  width: clamp(90px, 18vmin, 150px);
  height: auto;
  display: block;
  margin: 0 auto 0.6rem;
  opacity: 1;
  transform-origin: center;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* nodes (SVG groups) - default non-highlighted */
.splash-node-g .splash-node-circle {
  transition: all 300ms ease;
  fill: rgba(255,255,255,0.95);
  stroke: rgba(255,215,0,0.9);
  stroke-width: 2;
  r: 15;
  transform-origin: center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

/* node label text style */
.splash-node-text {
  fill: #FFFFFF;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  pointer-events: none;
}

/* arrow lines default & highlighted */
#splash-svg .splash-flow-line {
  stroke: rgba(255,255,255,0.35);
  stroke-width: 2.2;
  transition: stroke 300ms ease, stroke-width 300ms ease, opacity 300ms ease;
  opacity: 0.85;
}

/* highlight state used during sequence */
.splash-highlight-node .splash-node-circle {
  fill: #FFD700;            /* gold fill */
  stroke: #001F3F;          /* dark navy outline */
  stroke-width: 2.5;
  transform: scale(1.25);
  transition: transform 250ms ease, fill 250ms ease, stroke 250ms ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  filter: drop-shadow(0 6px 18px rgba(255,215,0,0.18));
}

.splash-highlight-arrow {
  stroke: #FFD700 !important;
  stroke-width: 3.6 !important;
  opacity: 1 !important;
  transition: stroke 220ms ease, stroke-width 220ms ease;
}

/* dim non-active nodes/arrows slightly while one is highlighted */
.splash-dim #splash-svg .splash-node-circle,
.splash-dim #splash-svg .splash-flow-line {
  opacity: 0.45;
  filter: none;
}

/* fade out the whole splash container when finished */
.splash-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* small pop-in for central logo when sequence finishes */
.splash-center.bloom .splash-logo {
  transform: scale(1.08);
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
}

/* responsive tweaks for SVG size on small screens */
@media (max-width: 720px) {
  #splash-svg { width: 86vmin; height: 86vmin; max-width: 400px; }
  .splash-node-text { font-size: 9px; }
  .splash-logo { width: clamp(70px, 22vmin, 120px); }
}

.splash-video {
    width: 100vw;
    height: 100vh;
    object-fit: contain; /* Fills the entire screen */
    background-color: #F5F5F3; /* Matches video tone */
}
