/* ============================================
   ABOUT PAGE ENHANCED
   Beautiful Background & Attractive Design
   ============================================ */

/* ========== PAGE BACKGROUND ========== */
body.about-page {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05), rgba(0, 188, 212, 0.05)),
                url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

/* Subtle pattern overlay */
body.about-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(26, 115, 232, 0.02) 35px, rgba(26, 115, 232, 0.02) 70px);
    pointer-events: none;
    z-index: 0;
}

/* ========== HERO SECTION ========== */
.about-page #about-hero,
.about-page .page-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.95), rgba(0, 188, 212, 0.95)),
                url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    margin-bottom: 3rem;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-page #about-hero::before,
.about-page .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    animation: waveMove 20s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

.about-page #about-hero h1,
.about-page .page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.about-page #about-hero p,
.about-page .page-header p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== CONTENT SECTIONS ========== */
.about-page section {
    position: relative;
    z-index: 1;
}

.about-page .content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem 3rem;
    margin: 3rem 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
    animation: fadeInUp 0.8s ease-out;
}

/* ========== FEATURE BOXES ========== */
.about-page .feature-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
}

.about-page .feature-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(26, 115, 232, 0.2);
    border-color: rgba(26, 115, 232, 0.3);
}

.about-page .feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #f39c12, #f12711);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(26, 115, 232, 0.4);
    }
}

.about-page .feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.about-page .feature-box h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-page .feature-box p {
    color: #6c757d;
    line-height: 1.8;
    font-size: 1rem;
}

/* ========== STATS SECTION ========== */
.about-page .stats-section {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.95), rgba(230, 126, 34, 0.95));
    padding: 4rem 2rem;
    border-radius: 30px;
    margin: 3rem 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.about-page .stat-box {
    text-align: center;
    color: white;
    padding: 2rem;
}

.about-page .stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.about-page .stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ========== TEAM SECTION ========== */
.about-page .team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.about-page .team-member:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(26, 115, 232, 0.2);
}

.about-page .team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-page .team-member:hover img {
    transform: scale(1.1);
}

.about-page .team-info {
    padding: 2rem;
    text-align: center;
}

.about-page .team-info h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-page .team-info p {
    color: #6c757d;
    margin-bottom: 1rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-page .feature-box,
.about-page .team-member {
    animation: fadeInUp 0.6s ease-out;
}

.about-page .feature-box:nth-child(1) { animation-delay: 0.1s; }
.about-page .feature-box:nth-child(2) { animation-delay: 0.2s; }
.about-page .feature-box:nth-child(3) { animation-delay: 0.3s; }
.about-page .feature-box:nth-child(4) { animation-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    body.about-page {
        background-attachment: scroll;
    }
    
    .about-page #about-hero,
    .about-page .page-header {
        background-attachment: scroll;
        min-height: 300px;
        padding: 3rem 1.5rem;
        border-radius: 0 0 30px 30px;
    }
    
    .about-page .content-section {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .about-page .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .about-page .feature-icon i {
        font-size: 2rem;
    }
}
