/* ============================================
   edtech.css - Deecipher Technologies
   EdTech Solutions Page Styles
   Follows the same design system as about.css, careers.css
   Version: 2.0 | Production Ready
   ============================================ */

/* ============================================
   1. Hero Section (Original About Page Style)
   ============================================ */
.edtech-hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.edtech-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}

.section-tag.center {
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--neutral-500);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.hero-trust-badges span {
    font-size: 0.8rem;
    color: var(--neutral-600);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-badges span i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* Stats Feature Card */
.stats-feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.stats-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    opacity: 0.4;
}

.stats-grid-mini {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mini-stat {
    text-align: center;
}

.mini-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    display: block;
}

.mini-stat-label {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.author-info span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-blue);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 35, 126, 0.3);
    background: var(--neon-blue);
    color: white;
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary-blue);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--primary-blue);
}

.btn-outline-primary-custom:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   2. Problem Section
   ============================================ */
.problem-section {
    padding: 80px 0;
    background: var(--white);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--neutral-500);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.problem-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--warning);
}

.problem-card i {
    font-size: 2.5rem;
    color: var(--warning);
    margin-bottom: 1rem;
    display: inline-block;
}

.problem-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.problem-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   3. Solutions Section
   ============================================ */
.solutions-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.solution-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.solution-icon i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}

.solution-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.solution-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.solution-features span {
    font-size: 0.7rem;
    background: rgba(26, 35, 126, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    color: var(--primary-blue);
}

/* ============================================
   4. Features Section
   ============================================ */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   5. Case Study Section
   ============================================ */
.casestudy-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.casestudy-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.casestudy-stat {
    text-align: center;
}

.casestudy-stat .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

.casestudy-stat .stat-label {
    font-size: 0.8rem;
    color: var(--neutral-500);
}

.casestudy-description {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.casestudy-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.casestudy-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--neutral-600);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.casestudy-features li i {
    color: var(--primary-green);
}

.casestudy-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder span {
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   6. Why EdTech Section
   ============================================ */
.why-edtech-section {
    padding: 80px 0;
    background: var(--white);
}

.why-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.why-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.why-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   7. Tech Stack Section
   ============================================ */
.tech-stack-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.tech-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.tech-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ============================================
   8. Benefits Section (User Personas)
   ============================================ */
.benefits-section {
    padding: 80px 0;
    background: var(--white);
}

.benefit-user-card {
    display: flex;
    gap: 1rem;
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.benefit-user-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.benefit-user-card i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.benefit-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.benefit-content p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ============================================
   9. Process Section
   ============================================ */
.process-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.process-step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    height: 100%;
}

.process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.process-step-card p {
    font-size: 0.75rem;
    color: var(--neutral-500);
    margin-bottom: 0;
}

/* ============================================
   10. FAQ Section
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--neutral-200);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(26, 35, 126, 0.05);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.6;
    border-top: 1px solid var(--neutral-200);
}

/* ============================================
   11. CTA Section
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-card i {
    color: white;
    opacity: 0.9;
}

.cta-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-card .btn-outline-custom {
    background: transparent;
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-card .btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: white;
}

.cta-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-note i {
    margin-right: 0.35rem;
}

/* ============================================
   12. Responsive Styles
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .casestudy-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .edtech-hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust-badges {
        gap: 1rem;
        flex-direction: column;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .section-subheading {
        font-size: 1rem;
    }
    
    .stats-grid-mini {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .mini-stat {
        flex: 1;
        min-width: 100px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .casestudy-image {
        margin-top: 2rem;
    }
    
    .benefit-user-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .stats-grid-mini {
        flex-direction: column;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problem-card,
    .solution-card,
    .feature-card,
    .why-card {
        padding: 1.25rem;
    }
    
    .casestudy-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-step-card {
        padding: 1rem;
    }
}

/* ============================================
   13. Utility Classes
   ============================================ */
.bg-light {
    background-color: var(--neutral-100) !important;
}

.text-center {
    text-align: center;
}

/* Animation Overrides */
[data-aos] {
    pointer-events: auto !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .info-strip,
    .navbar,
    .cta-section,
    footer {
        display: none;
    }
    
    .edtech-hero-section,
    .problem-section,
    .solutions-section,
    .features-section,
    .casestudy-section,
    .why-edtech-section,
    .tech-stack-section,
    .benefits-section,
    .process-section,
    .faq-section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .problem-card,
    .solution-card,
    .feature-card,
    .why-card,
    .tech-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}