/* About Us Page Styles */

/* Performance optimizations */
.hero-image img,
.team-member img {
    will-change: transform;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

    .hero-image img,
    .team-member,
    .team-member img,
    .story-card,
    .social-link {
        transition: none;
    }

    .hero-image img:hover,
    .team-member:hover,
    .team-member:hover img {
        transform: none;
    }
}

/* Focus states for accessibility */
.team-member:focus-within,
.social-link:focus {
    outline: 2px solid #F8606A;
    outline-offset: 2px;
}


/* About Section */
.about-section {
    padding: 80px 0;
}

.about-section ul {
    list-style: none;
    padding: 0;
    font-size: 20px;
}

.about-section p {
    font-size: 20px;
    line-height: 1.6;
}

/* Story Section */
.story-section {
    background: white;
    padding: 60px 0;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(30, 61, 107, 0.1);
}

.story-card {
    background: linear-gradient(135deg, #F7F6F4 0%, #fff 100%);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    border-left: 5px solid #F8606A;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.story-card h3 {
    color: #1E3D6B;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
}

.features-list li::before {
    content: '🎉';
    position: absolute;
    left: 0;
    top: 10px;
}

/* Team Section */
.team-section {
    background: linear-gradient(135deg, #1E3D6B 0%, #2165B2 100%);
    color: white;
    padding: 80px 0;
    margin-top: 60px;
}

.team-section h2 {
    color: white;
    text-align: left;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1E3D6B;
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #F8606A;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h4 {
    color: #1E3D6B;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.team-member p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link--facebook {
    background: #4267B2;
}

.social-link--twitter {
    background: #1DA1F2;
}

.social-link--linkedin {
    background: #0077B5;
}

.social-link--instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link--github {
    background: #333;
}

.social-link--youtube {
    background: #FF0000;
}

.social-link--email {
    background: #D44638;
}

/* Instagram Link */
.instagram-link {
    display: inline-block;
    background: linear-gradient(135deg, #F8606A 0%, #ff7b7b 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(248, 96, 106, 0.3);
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248, 96, 106, 0.4);
    color: white;
    text-decoration: none;
}

/* SEO and Performance */
.team-member {
    contain: layout style paint;
}

/* Print styles */
@media print {

    .about-hero,
    .team-section {
        background: white !important;
        color: black !important;
    }

    .hero-image img,
    .team-member img {
        max-width: 200px;
        height: auto;
    }

    .social-links {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .team-member {
        border: 2px solid #1E3D6B;
    }

    .social-link {
        border: 2px solid white;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-card {
        padding: 25px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-member {
        padding: 20px;
    }

    .team-member img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 60px 0;
    }

    .about-section,
    .team-section {
        padding: 40px 0;
    }

    .story-section {
        padding: 30px 0;
        margin: 20px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .team-section h2 {
        font-size: 2rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}