/* ============================================
   About Page Styles (About.cshtml)
   ============================================ */

/* Hero Section */
.hero-section-about {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-section-about h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-section-about .lead {
    font-size: clamp(1rem, 3vw, 1.3rem);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Badge styling for hero section */
.hero-section-about .badge {
    color: #4f46e5 !important;
}

/* Wave divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 30px;
    background: white;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Mission & Vision Header */
.mission-vision-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.mission-vision-header .icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    min-width: 60px;
    min-height: 60px;
}

.mission-vision-header .card-title {
    margin-bottom: 0;
    margin-right: 0;
}

/* Icon boxes */
.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-text {
    line-height: 1.8;
}

/* Icon circles for stats section */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.icon-circle.bg-primary {
    background-color: #0d6efd !important;
}

.icon-circle.bg-success {
    background-color: #198754 !important;
}

.icon-circle.bg-info {
    background-color: #0dcaf0 !important;
}

.icon-circle.bg-warning {
    background-color: #ffc107 !important;
    color: #333;
}

.icon-circle.bg-danger {
    background-color: #dc3545 !important;
}

.icon-circle.bg-secondary {
    background-color: #6c757d !important;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border-radius: 1rem;
    padding: 3rem 2rem;
}

.cta-section .counter-item h2 {
    font-weight: 700;
}

.cta-section .counter-item p {
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-section-about {
        padding: 60px 0;
    }

    .hero-section-about h1 {
        font-size: 1.8rem;
    }

    .hero-section-about .lead {
        font-size: 1rem;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
    }

    .icon-box {
        width: 50px;
        height: 50px;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section-about {
        padding: 40px 0;
    }

    .hero-section-about h1 {
        font-size: 1.5rem;
    }

    .hero-section-about .lead {
        font-size: 0.9rem;
    }

    .hero-section-about .badge {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    .mission-vision-header .icon-box {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .mission-vision-header .icon-box i {
        font-size: 1.2rem;
    }

    .mission-vision-header h3 {
        font-size: 1.2rem;
    }

    .card-text {
        font-size: 0.9rem;
    }

    .icon-circle {
        width: 56px;
        height: 56px;
    }

    .icon-circle i {
        font-size: 1.3rem !important;
    }

    .cta-section {
        padding: 1.5rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.3rem;
    }
}

/* ============================================
   Team Section (2026)
   ============================================ */
.team-card {
    background: #fff;
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(30, 41, 59, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.team-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.team-position {
    color: #4f46e5;
    font-weight: 600;
    font-size: 0.95rem;
}

.team-description {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Scroll reveal — only hides when JS is active (html.js) */
html.js .stat-number,
html.js .team-card {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js .stat-number.in-view,
html.js .team-card.in-view {
    opacity: 1;
    transform: none;
}

@media (max-width: 575.98px) {
    .team-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.15rem;
    }

    .team-card {
        padding: 1.25rem 1rem !important;
    }

    .team-description {
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-card,
    html.js .stat-number,
    html.js .team-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
