

/* ====== HERO SECTION ====== */
#why-hero {
    position: relative;
    min-height: 550px;
    background-color: #000000;
   
}

#why-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#why-hero-container {
    position: relative;
    z-index: 2;
    justify-content: center;
}

#why-hero-bg {
    z-index: 0;
}

#why-hero-content {
    z-index: 10;
}

#why-hero-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Decorative Elements - Hero */
.decorative-ellipse {
    position: absolute;
    background: #009688;
    border-radius: 9999px;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

#why-hero-ellipse-1 { animation-delay: 0s; }
#why-hero-ellipse-2 { animation-delay: 1s; }
#why-hero-ellipse-3 { animation-delay: 2s; }
#why-hero-ellipse-4 { animation-delay: 3s; }
#why-hero-ellipse-5 { animation-delay: 4s; }
#why-hero-ellipse-6 { animation-delay: 5s; }
#why-hero-ellipse-7 { animation-delay: 6s; }
#why-hero-ellipse-8 { animation-delay: 7s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ====== INTRO SECTION ====== */
#why-intro {
    background: #13001A;
}

#why-intro-container {
    animation: fadeInUp 0.8s ease-out;
}

#why-intro-text {
    max-width: none;
    line-height: 1.2;
}

/* ====== SIGNAL-FIRST SECTION ====== */
#why-signal {
    background: #13001A;
    border-bottom: 1px solid #013233;
}

#why-signal-container {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

#why-signal-image {
    transition: transform 0.3s ease;
}


#why-signal-image-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

#why-signal-title {
    transition: color 0.3s ease;
}

#why-signal-subtitle {
    transition: opacity 0.3s ease;
}

#why-signal-body {
    transition: opacity 0.3s ease;
}

/* ====== SCIENCE SECTION ====== */
#why-science {
    background: #E6D2B5;
}

#why-science-container {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

#why-science-header {
    margin-bottom: 10px;
}
#why-science-signal-icon{
    mix-blend-mode: screen;
}
#why-science-voice-video{
    background: linear-gradient(306deg, rgba(0, 0, 0, 0.00) 40.39%, #25122C 65.43%);
mix-blend-mode: luminosity;
}
.why-noise-bg1::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../images/noise-texture.jpg);
    background-position: center;
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: 0.25;
    pointer-events: none;
    background-size: 801px;
}

#why-science-title {
    transition: color 0.3s ease;
}

#why-science-intro {
    transition: opacity 0.3s ease;
}

#why-science-voice-card {
    transition: all 0.3s ease;
}



#why-science-signal-card {
    transition: all 0.3s ease;
}



#why-science-intelligence-card {
    transition: all 0.3s ease;
}



#why-science-neuro-card {
    transition: all 0.3s ease;
}



#why-science-voice-line {
    transition: width 0.3s ease;
}

#why-science-voice-dot {
    transition: transform 0.3s ease;
}




/* ====== JUDGMENT SECTION ====== */
#why-judgment {
    background: #13001A;
    position: relative;
}

#why-judgment-container {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

#why-judgment-image {
    transition: all 0.3s ease;
}



#why-judgment-item-1,
#why-judgment-item-2,
#why-judgment-item-3,
#why-judgment-item-4 {
    transition: all 0.3s ease;
}



#why-judgment-divider-1,
#why-judgment-divider-2,
#why-judgment-divider-3 {
    transition: all 0.3s ease;
}



#why-judgment-decorative {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* ====== STATS SECTION ====== */
#why-stats {
    background: #99D2DD;
  
}

#why-stats-container {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

#why-stats-bg {
    transition: opacity 0.3s ease;
}

#why-stats-title {
    transition: color 0.3s ease;
}

#why-stats-subtitle {
    transition: opacity 0.3s ease;
}

.stat-card {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

#why-stats-card-1,
#why-stats-card-2,
#why-stats-card-3,
#why-stats-card-4,
#why-stats-card-5 {
    transition: all 0.3s ease;
}



#why-stats-icon-1 svg,
#why-stats-icon-2 svg,
#why-stats-icon-3 svg,
#why-stats-icon-4 svg,
#why-stats-icon-5 svg {
    transition: transform 0.3s ease;
}



/* ====== SECURITY SECTION ====== */
#why-security {
    background: #13001A;
}

#why-security-container {
    animation: fadeInUp 0.8s ease-out 1s both;
}

#why-security-image {
    transition: all 0.3s ease;
}
#why-security-image img{
   margin-top: -6px;
   border-radius: 20px;
}



#why-security-title {
    transition: color 0.3s ease;
}

#why-security-description {
    transition: opacity 0.3s ease;
}

/* ====== ENGINE SECTION ====== */
#why-engine {
    background: #13001A;
}

#why-engine-container {
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

#why-engine-image {
    transition: all 0.3s ease;
}

#why-engine-title {
    transition: color 0.3s ease;
}

#why-engine-description {
    transition: opacity 0.3s ease;
}

#why-engine-cta-btn {
    transition: all 0.3s ease;
}


.why-stats-container {
    align-items: flex-start;
    justify-content: space-between;
    min-height: 100vh;
  }

  /* Left sticky section */
  .why-stats-left {
    position: sticky;
    top: 100px;
    width: 50%;
    height: 100vh;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

 

  /* Right scrollable section */
  .why-stats-right {
    width: 50%;
    padding: 30px;
  }

  #why-judgment-image-mobile{
    background-image: linear-gradient(-85deg, rgba(0, 0, 0, 0) 82%, rgba(94, 55, 110, 1) 100%), linear-gradient(132deg, rgba(0, 0, 0, 0) 45%, rgba(171, 235, 240, 1) 100%), url('../images/why-pradhi/mobile-judgment-visual.jpg');
    background-size: cover;
    background-position: center;
}




/* ====== RESPONSIVE DESIGN ====== */

/* Tablet Styles (768px - 1024px) - Following about.css pattern */
@media (max-width: 1024px) {
    /* Hero Section - Tablet */
    #why-hero {
        height: 500px;
    }
    
    #why-hero-container {
        width: 100%;
        max-width: 100%;
        padding: 40px 30px;
        justify-content: center;
    }
    
    #why-hero-title {
        font-size: 48px !important;
        line-height: 1.1;
    }
    
    /* Intro Section - Tablet */
    #why-intro-container {
        width: 100%;
        max-width: 100%;
        padding: 50px 30px;
    }
    
    #why-intro-text {
        font-size: 36px !important;
        line-height: 1.2;
    }
    
    /* Signal-First Section - Tablet */
    #why-signal-container {
        width: 100%;
        max-width: 100%;
        padding: 50px 30px;
    }
    
    #why-signal-content {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        height: auto;
    }
    
    #why-signal-image-wrapper {
        width: 100%;
        height: 300px;
    }
    
    #why-signal-text-wrapper {
        width: 100%;
        margin-left: 0;
    }
    
    #why-signal-title {
        font-size: 36px !important;
        line-height: 1.2;
    }
    
    /* Science Section - Tablet */
    #why-science-container {
        width: 100%;
        max-width: 100%;
        padding: 50px 30px;
    }
    
    #why-science-header {
        flex-direction: column;
        gap: 30px;
    }
    
    #why-science-title {
        font-size: 42px !important;
        line-height: 1.2;
    }
    
    #why-science-insights {
        width: 100%;
    }
    
    #why-science-insights-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    #why-science-voice-card {
        width: 100%;
        height: 400px;
    }
    
    #why-science-spins-column {
        flex-direction: column;
        gap: 20px;
    }
    
    #why-science-in-row {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Judgment Section - Tablet */
    #why-judgment-container {
        width: 100%;
        max-width: 100%;
        padding: 50px 30px;
    }
    
    #why-judgment-content {
        flex-direction: column;
        gap: 30px;
    }
    
    #why-judgment-image {
        width: 100%;
        height: 300px;
    }
    
    #why-judgment-text-wrapper {
        width: 100%;
    }
    
    #why-judgment-title {
        font-size: 48px !important;
        line-height: 1.1;
    }
    
    /* Stats Section - Tablet */
    #why-stats-container {
        width: 100%;
        max-width: 100%;
        padding: 50px 30px;
        flex-direction: column;
        gap: 30px;
    }
    
    #why-stats-title {
        font-size: 48px !important;
        line-height: 1.1;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    #why-stats-icon-1,
    #why-stats-icon-2,
    #why-stats-icon-3,
    #why-stats-icon-4,
    #why-stats-icon-5 {
        width: 80px;
        height: 80px;
    }
    
    /* Security Section - Tablet */
    #why-security-container {
        width: 100%;
        max-width: 100%;
        padding: 50px 30px;
        flex-direction: column;
        gap: 30px;
        height: auto;
    }
    
    #why-security-image {
        width: 100%;
        height: 300px;
    }
    
    #why-security-text-wrapper {
        width: 100%;
    }
    
    #why-security-description {
        width: 100%;
    }
    
    #why-security-title {
        font-size: 36px !important;
        line-height: 1.2;
    }
    
    /* Engine Section - Tablet */
    #why-engine-container {
        width: 100%;
        max-width: 100%;
        padding: 50px 30px;
        flex-direction: column;
        gap: 30px;
    }
    
    #why-engine-image {
        width: 100%;
        height: 300px;
    }
    
    #why-engine-content {
        width: 100%;
    }
    
    #why-engine-title {
        font-size: 36px !important;
        line-height: 1.2;
    }
}



/* Mobile Judgment Section */
#why-judgment-mobile {
    background: #13001A;
}

#why-judgment-mobile-container {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

#why-judgment-mobile-image {
    transition: all 0.3s ease;
}

#why-judgment-mobile-item-1,
#why-judgment-mobile-item-2,
#why-judgment-mobile-item-3,
#why-judgment-mobile-item-4 {
    transition: all 0.3s ease;
}

#why-judgment-mobile-divider-1,
#why-judgment-mobile-divider-2,
#why-judgment-mobile-divider-3 {
    transition: all 0.3s ease;
}

/* Mobile Stats Section */
#why-stats-mobile {
    background: #99D2DD;
}

#why-stats-mobile-container {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

#why-stats-mobile-title {
    transition: color 0.3s ease;
}

#why-stats-mobile-subtitle {
    transition: opacity 0.3s ease;
}

/* Mobile-specific image styles */
#why-science-signal-icon-mobile {
    mix-blend-mode: screen;
}

/* Mobile Styles (up to 768px) - Following about.css pattern */
@media (max-width: 768px) {
    /* Hero Section - Mobile */
    #why-hero {
        height: 600px;
        padding: 0;
    }
    
    #why-hero-container {
        width: 100%;
        max-width: 100%;
        padding: 100px 28px 40px;
        justify-content: flex-start !important;
    }
    
    #why-hero-content {
        width: 100%;
        max-width: 100%;
    }
    
    #why-hero-title {
        font-size: 40px !important;
        line-height: 1.1;
        color: #FEF9F4;
        padding-top: 20px;
    }
    #why-hero-bg-mobile{
        background-image: url(../images/why-pradhi/mobile-hero-bg-6fdb79.jpg);
        /* z-index: 999999; */
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        background-size: cover;
        transform: scale(1.2);
    }
    
    /* Hide decorative elements on mobile */
    #why-hero-decorative {
        display: none;
    }
    
    /* Intro Section - Mobile */
    #why-intro-container {
        width: 100%;
        max-width: 100%;
        padding: 10px 20px;
    }
    
    #why-intro-text {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    
    /* Signal-First Section - Mobile */
    #why-signal-container {
        width: 100%;
        max-width: 100%;
        padding: 60px 20px;
        padding-top: 40px;
    }
    
    #why-signal-content {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        height: auto;
    }
    
    #why-signal-image-wrapper {
        width: 100%;
        height: 200px;
    }
    
    #why-signal-text-wrapper {
        width: 100%;
        margin-left: 0;
    }
    
    #why-signal-title {
        font-size: 28px !important;
        line-height: 1.2;
    }
    
    /* Science Section - Mobile */
    #why-science-container {
        width: 100%;
        max-width: 100%;
        padding: 60px 20px;
    }
    
    #why-science-header {
        flex-direction: column;
        gap: 24px;
    }
    
    #why-science-title {
        font-size: 42px !important;
        line-height: 1.2;
    }
    
    #why-science-intro {
        font-size: 16px !important;
        line-height: 1.4;
    }
    
    #why-science-insights {
        width: 100%;
    }
    
    #why-science-insights-grid {
        flex-direction: column;
        gap: 20px;
    }
    .why-noise-bg1::before {     
        opacity: 0.1;
    }
    #why-science-voice-card {
        width: 100%;
        height: 305px;
        border-radius: 10px;
    }
    #why-science-voice-content .text-h2 {
        font-size: 24px !important;
        line-height: 0.6 !important;
        padding-top: 10px;
    }
    #why-science-voice-content {
        width: 100%;
        align-items: start;
    }

    #why-science-signal-icon-wrapper{
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    #why-science-signal-card{
        height: fit-content;
        border-radius: 10px;
    }
    #why-science-signal-icon-mobile{
        margin-top: 15px;
    }
    #why-science-intelligence-card{
        border-radius: 10px;
    }
    #why-science-neuro-card{
        border-radius: 10px;
    }
    #why-science-voice-description {
        width: 100%;
        font-size: 16px !important;
        line-height: 1.3;
    }
    
    #why-science-spins-column {
        flex-direction: column;
        gap: 16px;
    }
    
    #why-science-in-row {
        flex-direction: column;
        gap: 16px;
    }
    
    #why-science-signal-description,
    #why-science-intelligence-description,
    #why-science-neuro-description {
        font-size: 16px !important;
        line-height: 1.3;
    }
    
    /* Judgment Section - Mobile */
    #why-judgment-container {
        width: 100%;
        max-width: 100%;
        padding: 60px 20px;
    }
    
    #why-judgment-content {
        flex-direction: column;
        gap: 24px;
    }
    
    #why-judgment-image {
        width: 100%;
        height: 200px;
    }
    
    #why-judgment-text-wrapper {
        width: 100%;
        padding: 0;
    }

    #why-judgment-image-mobile{
        background-image: linear-gradient(227deg, rgba(0, 0, 0, 0) 82%, rgba(94, 55, 110, 1) 100%), 
        linear-gradient(69deg, rgba(0, 0, 0, 0) 83%, rgba(171, 235, 240, 1) 100%), 
        url('../images/why-pradhi/mobile-judgment-visual.jpg');
        background-size: cover;
        background-position: center;
        height: 215px !important;
    }
    
    #why-judgment-title {
        font-size: 36px !important;
        line-height: 1.1;
    }
    
    /* Judgment Section - Mobile */
    #why-judgment-mobile-container {
        width: 100%;
        max-width: 100%;
        padding: 60px 20px;
    }
    
    #why-judgment-mobile-content {
        flex-direction: column;
        gap: 24px;
    }
    
    #why-judgment-mobile-image {
        width: 100%;
        height: 200px;
    }
    
    #why-judgment-mobile-text-wrapper {
        width: 100%;
        padding: 0;
    }
    
    #why-judgment-mobile-title {
        font-size: 36px !important;
        line-height: 1.1;
    }
    
    /* Stats Section - Mobile */
    #why-stats-mobile-container {
        width: 100%;
        max-width: 100%;
        padding: 32px 20px;
    }
    
    #why-stats-mobile-header {
        width: 100%;
    }
    
    #why-stats-mobile-title {
        font-size: 40px !important;
        line-height: 1.1;
    }
    
    #why-stats-mobile-subtitle {
        font-size: 18px !important;
        line-height: 1.4;
    }
    
    #why-stats-mobile-cards {
        gap: 16px;
    }
    
    #why-stats-mobile-card-1,
    #why-stats-mobile-card-2,
    #why-stats-mobile-card-3,
    #why-stats-mobile-card-4,
    #why-stats-mobile-card-5 {
        padding: 32px;
        gap: 40px;
    }
    
    #why-stats-mobile-icon-1,
    #why-stats-mobile-icon-2,
    #why-stats-mobile-icon-3,
    #why-stats-mobile-icon-4,
    #why-stats-mobile-icon-5 {
        width: 120px;
        height: 120px;
    }
    
    #why-stats-mobile-text-1,
    #why-stats-mobile-text-2,
    #why-stats-mobile-text-3,
    #why-stats-mobile-text-4,
    #why-stats-mobile-text-5 {
        font-size: 20px !important;
        line-height: 1.2;
        text-align: left;
    }

    #why-security-image-mobile{
        height: auto !important;
        margin-bottom: 20px;
    }

    #why-engine-image-mobile{
        height: 219px !important;

    }
    
    #why-stats-title {
        font-size: 36px !important;
        line-height: 1.1;
    }
    
    #why-stats-subtitle {
        font-size: 16px !important;
        line-height: 1.4;
    }
    
    .stat-card {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    #why-stats-card-1,
    #why-stats-card-2,
    #why-stats-card-3,
    #why-stats-card-4,
    #why-stats-card-5 {
        flex-direction: column;
        text-align: center;
    }
    
    #why-stats-icon-1,
    #why-stats-icon-2,
    #why-stats-icon-3,
    #why-stats-icon-4,
    #why-stats-icon-5 {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    #why-stats-text-1,
    #why-stats-text-2,
    #why-stats-text-3,
    #why-stats-text-4,
    #why-stats-text-5 {
        font-size: 16px !important;
        line-height: 1.3;
        width: 100%;
    }
    
    /* Security Section - Mobile */
    #why-security-container {
        width: 100%;
        max-width: 100%;
        padding: 60px 20px;
        flex-direction: column;
        gap: 24px;
        height: auto;
        padding-bottom: 0px;
    }
    
    #why-security-image {
        width: 100%;
        height: 200px;
    }
    
    #why-security-text-wrapper {
        width: 100%;
    }
    
    #why-security-description {
        width: 100%;
        font-size: 16px !important;
        line-height: 1.4;
    }
    
    #why-security-title {
        font-size: 28px !important;
        line-height: 1.2;
    }
    
    /* Engine Section - Mobile */
    #why-engine-container {
        width: 100%;
        max-width: 100%;
        padding: 60px 20px;
        flex-direction: column;
        gap: 24px;
    }
    
    #why-engine-image {
        width: 100%;
        height: 200px;
    }
    
    #why-engine-content {
        width: 100%;
        padding: 0px;
    }
    
    #why-engine-title {
        font-size: 28px !important;
        line-height: 1.2;
    }
    
    #why-engine-description {
        font-size: 16px !important;
        line-height: 1.4;
    }
    
    /* Mobile image adjustments */
    #why-signal-image-mobile,
    #why-judgment-image-mobile,
    #why-security-image-mobile,
    #why-engine-image-mobile {
        width: 100%;
        height: 100%;
        
    }
    #why-signal .text-p1 {
        margin-top: 0px;
    }
}

/* ====== ANIMATIONS AND TRANSITIONS ====== */

/* Fade in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for interactive elements */
#why-signal-image,
#why-science-voice-card,
#why-science-signal-card,
#why-science-intelligence-card,
#why-science-neuro-card,
#why-judgment-image,
#why-security-image,
#why-engine-image {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ====== ACCESSIBILITY ====== */

/* Focus states */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .decorative-ellipse,
    #why-hero-ellipse-1,
    #why-hero-ellipse-2,
    #why-hero-ellipse-3,
    #why-hero-ellipse-4,
    #why-hero-ellipse-5,
    #why-hero-ellipse-6,
    #why-hero-ellipse-7,
    #why-hero-ellipse-8,
    #why-signal-image,
    #why-science-voice-card,
    #why-science-signal-card,
    #why-science-intelligence-card,
    #why-science-neuro-card,
    #why-judgment-image,
    #why-judgment-decorative,
    #why-security-image,
    #why-engine-image,
    .stat-card,
    #why-stats-card-1,
    #why-stats-card-2,
    #why-stats-card-3,
    #why-stats-card-4,
    #why-stats-card-5 {
        animation: none;
        transition: none;
    }
    
    #why-intro-container,
    #why-signal-container,
    #why-science-container,
    #why-judgment-container,
    #why-stats-container,
    #why-security-container,
    #why-engine-container {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #why-hero {
        background: #000000;
    }
    
    #why-hero-title {
        color: #FFFFFF;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    #why-science {
        background: #F5F5F5;
    }
    
    #why-science-title {
        color: #000000;
    }
    
    #why-stats {
        background: #E0E0E0;
    }
    
    #why-stats-title {
        color: #000000;
    }
}

/* ====== PRINT STYLES ====== */
@media print {
    #why-hero {
        background: none !important;
        color: #000000 !important;
        height: auto !important;
    }
    
    #why-hero-decorative,
    .decorative-ellipse {
        display: none !important;
    }
    
    #why-science {
        background: #FFFFFF !important;
        color: #000000 !important;
    }
    
    #why-stats {
        background: #FFFFFF !important;
        color: #000000 !important;
    }
    
    #why-engine-cta-btn {
        background: #FFFFFF !important;
        color: #000000 !important;
        border: 1px solid #000000 !important;
    }
}

/* Mobile: Force all GSAP animations to be visible */
@media (max-width: 767px) {
    .gsap-fade-up,
    .gsap-fade-right,
    .gsap-fade-left,
    .gsap-zoom-in,
    .gsap-text-reveal {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}