/* About Page Styles */
:root {
    --primary-color: #4285f4;
    --secondary-color: #fbbc05;
    --accent-color: #ea4335;
    --light-bg: #f8f9fa;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --container-width: 1200px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    padding: 0 0 6rem;
    position: relative;
}

.about-hero {
    text-align: center;
    padding: 6rem 0 4rem;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.about-hero .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
}

/* Wave Transitions */
.wave-transition {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-transition svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.wave-transition:hover svg {
    transform: scale(1.02);
}

.wave-primary-to-white path {
    fill: white;
}

.wave-white-to-light path {
    fill: var(--light-bg);
}

.wave-light-to-white path {
    fill: white;
}

.wave-white-to-green path {
    fill: #10B981;
}

/* Content Sections */
section {
    padding: 6rem 0;
}

section.our-story {
    background: white;
}

section.our-mission {
    background: var(--light-bg);
}

section.team {
    background: white;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    border-top: 4px solid;
}

.mission-card:nth-child(1) {
    border-color: var(--primary-color);
}

.mission-card:nth-child(2) {
    border-color: var(--secondary-color);
}

.mission-card:nth-child(3) {
    border-color: var(--accent-color);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.mission-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mission-card:nth-child(1) h3 {
    color: var(--primary-color);
}

.mission-card:nth-child(2) h3 {
    color: var(--secondary-color);
}

.mission-card:nth-child(3) h3 {
    color: var(--accent-color);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.team .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.team-member {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.member-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-image:hover img {
    transform: scale(1.1);
}

.social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.member-image:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.member-info .role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info .bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible .slide-up {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.visible .fade-in {
    opacity: 1;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .team {
        padding: 4rem 0;
    }

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

    .member-info h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .mission-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

nav {
    position: relative;
    padding: 3rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    max-width: var(--container-width);
    margin: 0 auto;
}
