/* why-us.css */

/*----why-us section----*/

.qao-why-wrapper {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto !important;
    width: 100%;
    height: auto !important;
    min-height: 100vh;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(141, 220, 250, 0.2),
        inset 0 1px 1px rgba(141, 220, 250, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(141, 220, 250, 0.3);
    background: rgba(0, 40, 90, 0.4);
}

/* Background Effects */
.qao-why-bg-layer {
    position: fixed;
    width: 100%;
    height: 100%;
    /* ✅ UPDATED - Same as About */
    background: linear-gradient(135deg,
        rgba(141, 220, 250, 0.1) 0%,
        rgba(1, 40, 145, 0.08) 50%,
        rgba(202, 240, 250, 0.05) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.qao-why-glass-grid {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(141, 220, 250, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(141, 220, 250, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

/* Content Container */
.qao-why-content {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

.qao-why-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Animation Classes */
.qao-why-fade-in-up {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.qao-why-fade-in-up.qao-why-animated {
    opacity: 1;
    transform: translateY(0);
}

.qao-why-fade-in-down {
    opacity: 0;
    transform: translateY(-80px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.qao-why-fade-in-down.qao-why-animated {
    opacity: 1;
    transform: translateY(0);
}

.qao-why-fade-in-left {
    opacity: 0;
    transform: translateX(-100px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.qao-why-fade-in-left.qao-why-animated {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.qao-why-fade-in-right {
    opacity: 0;
    transform: translateX(100px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.qao-why-fade-in-right.qao-why-animated {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.qao-why-scale-in {
    opacity: 0;
    transform: scale(0.7) rotateX(10deg);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qao-why-scale-in.qao-why-animated {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
}

/* Stagger Animation Delays */
.qao-why-stagger-1 { transition-delay: 0.1s; }
.qao-why-stagger-2 { transition-delay: 0.2s; }
.qao-why-stagger-3 { transition-delay: 0.3s; }
.qao-why-stagger-4 { transition-delay: 0.4s; }
.qao-why-stagger-5 { transition-delay: 0.5s; }
.qao-why-stagger-6 { transition-delay: 0.6s; }
.qao-why-stagger-7 { transition-delay: 0.7s; }
.qao-why-stagger-8 { transition-delay: 0.8s; }
.qao-why-stagger-9 { transition-delay: 0.9s; }
.qao-why-stagger-10 { transition-delay: 1s; }
.qao-why-stagger-11 { transition-delay: 1.1s; }
.qao-why-stagger-12 { transition-delay: 1.2s; }

/* Section Header */
.qao-why-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.qao-why-badge {
    display: inline-block;
    padding: 12px 30px;
    /* ✅ UPDATED - Same as About */
    background: linear-gradient(135deg, 
        rgba(0, 5, 37, 0.4) 0%,
        rgba(1, 40, 145, 0.3) 50%,
        rgba(0, 5, 37, 0.4) 100%
    );
    border: 1px solid rgba(141, 220, 250, 0.3);
    border-radius: 50px;
    color: #8ddcfa;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(141, 220, 250, 0.3);
}

.qao-why-section-title {
    font-size: 4.5rem;
    font-weight: 900;
    /* ✅ UPDATED - Same as About */
    background: linear-gradient(135deg, 
        #8ddcfa 0%,
        #ccf2fb 25%,
        #caf0fa 50%,
        #8ddcfa 75%,
        #ccf2fb 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    letter-spacing: -2px;
    line-height: 1.2;
}

.qao-why-section-subtitle {
    font-size: 1.4rem;
    color: rgba(204, 242, 251, 0.7);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Features Grid */
.qao-why-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.qao-why-feature-card {
    /* ✅ UPDATED - Same as About */
     background: linear-gradient(135deg, 
        rgba(0, 5, 37, 0.7) 0%,
        rgba(1, 40, 145, 0.6) 50%,
        rgba(0, 5, 37, 0.7) 100%
    );
    backdrop-filter: blur(25px);
    border-radius: 30px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(141, 220, 250, 0.2);
}

/* Animated Border Effect */
.qao-why-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        #8ddcfa,
        #caf0fa,
        #8ddcfa,
        #caf0fa
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: qaoWhyRotateBorder 4s linear infinite;
    background-size: 300% 300%;
}

.qao-why-feature-card:hover::before {
    opacity: 1;
}

@keyframes qaoWhyRotateBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glow Effect */
.qao-why-feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(141, 220, 250, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.qao-why-feature-card:hover::after {
    width: 400px;
    height: 400px;
}

.qao-why-feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: linear-gradient(135deg, 
        rgba(0, 5, 37, 0.7) 0%,
        rgba(1, 40, 145, 0.6) 50%,
        rgba(0, 5, 37, 0.7) 100%
    );
    box-shadow: 0 30px 80px rgba(141, 220, 250, 0.4);
    border-color: rgba(141, 220, 250, 0.5);
}

.qao-why-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(141, 220, 250, 0.2), rgba(202, 240, 250, 0.2));
    border: 2px solid rgba(141, 220, 250, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(141, 220, 250, 0.3);
}

.qao-why-feature-card:hover .qao-why-feature-icon {
    transform: rotateY(360deg) scale(1.1);
    border-color: rgba(141, 220, 250, 0.6);
    box-shadow: 0 15px 40px rgba(141, 220, 250, 0.5);
}

.qao-why-feature-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.qao-why-feature-description {
    font-size: 1.05rem;
    color: rgba(204, 242, 251, 0.8);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Stats Section */
.qao-why-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 70px;
     background: linear-gradient(135deg, 
        rgba(0, 5, 37, 0.7) 0%,
        rgba(1, 40, 145, 0.6) 50%,
        rgba(0, 5, 37, 0.7) 100%
    );
    backdrop-filter: blur(30px);
    border: 2px solid rgba(141, 220, 250, 0.2);
    border-radius: 35px;
    margin-bottom: 100px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.qao-why-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(141, 220, 250, 0.1),
        transparent
    );
    animation: qaoWhyStatsShimmer 3s infinite;
}

@keyframes qaoWhyStatsShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.qao-why-stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.qao-why-stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: qaoWhyBounce 2s infinite;
}

@keyframes qaoWhyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.qao-why-stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    /* ✅ UPDATED - Same as About */
    background: linear-gradient(135deg, #8ddcfa, #caf0fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qao-why-stat-label {
    font-size: 1rem;
    color: rgba(204, 242, 251, 0.8);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* CTA Section */
.qao-why-cta {
    text-align: center;
    padding: 90px 60px;
    /* ✅ UPDATED - Same as About */
    background: linear-gradient(135deg, 
        rgba(0, 5, 37, 0.7) 0%,
        rgba(1, 40, 145, 0.6) 50%,
        rgba(0, 5, 37, 0.7) 100%
    );
    backdrop-filter: blur(30px);
    border: 2px solid rgba(141, 220, 250, 0.3);
    border-radius: 45px;
    margin-bottom: 80px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.qao-why-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(141, 220, 250, 0.1), transparent);
    animation: qaoWhyCtaRotate 10s linear infinite;
}

@keyframes qaoWhyCtaRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.qao-why-cta-content {
    position: relative;
    z-index: 1;
}

.qao-why-cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    /* ✅ UPDATED - Same as About */
    background: linear-gradient(135deg, #8ddcfa, #caf0fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    line-height: 1.2;
}

.qao-why-cta-text {
    font-size: 1.4rem;
    color: rgba(204, 242, 251, 0.8);
    margin-bottom: 45px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.qao-why-cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.qao-why-btn {
    padding: 22px 55px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.5s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.qao-why-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.qao-why-btn:hover::before {
    left: 100%;
}

.qao-why-btn-primary {
    /* ✅ UPDATED - Same as About */
    background: linear-gradient(135deg, #8ddcfa 0%, #012891 100%);
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(141, 220, 250, 0.5);
}

.qao-why-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 60px rgba(141, 220, 250, 0.7);
}

.qao-why-btn-secondary {
    background: rgba(204, 242, 251, 0.05);
    color: #ffffff;
    border: 2px solid rgba(141, 220, 250, 0.5);
    backdrop-filter: blur(10px);
}

.qao-why-btn-secondary:hover {
    background: rgba(141, 220, 250, 0.1);
    border-color: #8ddcfa;
    transform: translateY(-5px) scale(1.05);
}

/* Responsive */
@media (max-width: 1200px) {
    .qao-why-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .qao-why-wrapper {
        position: relative;
        overflow-x: hidden;
        overflow-y: auto !important;
        width: 100%;
        height: auto !important;
        min-height: 100vh;
        z-index: 5;
    }

    .qao-why-section-title {
        font-size: 3rem;
    }

    .qao-why-section-subtitle {
        font-size: 1.2rem;
    }

    .qao-why-features-grid,
    .qao-why-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qao-why-feature-card {
        padding: 40px 30px;
    }

    .qao-why-stats {
        padding: 50px 30px;
    }

    .qao-why-cta {
        padding: 50px 30px;
    }

    .qao-why-cta-title {
        font-size: 2.5rem;
    }

    .qao-why-cta-text {
        font-size: 1.2rem;
    }

    .qao-why-cta-buttons {
        flex-direction: column;
    }

    .qao-why-btn {
        width: 100%;
        justify-content: center;
    }

    .qao-why-container {
        padding: 0 20px;
    }

    .qao-why-content {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .qao-why-wrapper {
        position: relative;
        overflow-x: hidden;
        overflow-y: auto !important;
        width: 100%;
        height: auto !important;
        min-height: 100vh;
        z-index: 5;
    }

    .qao-why-section-title {
        font-size: 2.2rem;
    }

    .qao-why-feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .qao-why-feature-title {
        font-size: 1.5rem;
    }

    .qao-why-stat-number {
        font-size: 2.5rem;
    }
}