/* About Us Page Styles */

/* Hero Section */
.hero {
    background: linear-gradient(rgba(5, 116, 220, 0.8), rgba(252, 133, 31, 0.8)), var(--science-blue);
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 40px 20px;
    box-shadow: 0 8px 32px rgba(5,116,220,0.08);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(5,116,220,0.10);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background-color: var(--geyser);
    position: relative;
}

.mission::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(5, 116, 220, 0.08);
    top: -100px;
    left: -100px;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mission-content h2 {
    color: var(--science-blue);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.mission-content h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--ecstasy);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #444;
}

/* Team Section */
.our-team {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--science-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--ecstasy);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
    justify-content: center;
}

.team-member {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(5, 116, 220, 0.12);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 320px;
    flex: 1 1 0;
    min-height: 450px;
    max-width: 480px;
    align-items: center;
    border: 1px solid rgba(5, 116, 220, 0.1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(5, 116, 220, 0.18);
    border-color: rgba(5, 116, 220, 0.2);
}

.team-member:nth-child(2):hover {
    border-color: rgba(252, 133, 31, 0.2);
    box-shadow: 0 15px 35px rgba(252, 133, 31, 0.18);
}

.member-image {
    width: 130px;
    height: 130px;
    margin: 25px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(5,116,220,0.15);
    border: 3px solid #fff;
    background: none;
    transition: all 0.3s ease;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.team-member:hover .member-image {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(5,116,220,0.25);
}

.team-member:nth-child(2):hover .member-image {
    box-shadow: 0 6px 20px rgba(252, 133, 31, 0.25);
}

.member-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    height: 100%;
    align-items: center;
    text-align: center;
}

.member-header {
    margin-bottom: 1.2rem;
}

.member-info h3 {
    color: var(--science-blue);
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.member-info .position {
    color: var(--ecstasy);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.bio {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    min-height: 120px;
    margin-bottom: 1.5rem;
}

.bio-first {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.bio-rest {
    display: none;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.read-more-btn {
    background: linear-gradient(135deg, var(--science-blue), var(--picton-blue));
    color: var(--text-light);
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(5,116,220,0.25);
}

.read-more-btn:hover {
    background: linear-gradient(135deg, var(--ecstasy), var(--atomic-tangerine));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(252, 133, 31, 0.3);
}

.member-contact {
    margin-top: auto;
    background: linear-gradient(135deg, rgba(5, 116, 220, 0.08), rgba(84, 161, 229, 0.05));
    border-radius: 12px;
    padding: 18px 20px;
    width: 100%;
    border: 1px solid rgba(5, 116, 220, 0.1);
}

.team-member:nth-child(2) .member-contact {
    background: linear-gradient(135deg, rgba(252, 133, 31, 0.08), rgba(255, 152, 84, 0.05));
    border-color: rgba(252, 133, 31, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-weight: 600;
    color: var(--science-blue);
    font-size: 0.9rem;
    min-width: 50px;
}

.team-member:nth-child(2) .contact-label {
    color: var(--ecstasy);
}

.contact-link {
    color: var(--science-blue);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.team-member:nth-child(2) .contact-link {
    color: var(--ecstasy);
}

.contact-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background-color: var(--geyser);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(5, 116, 220, 0.08);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(252, 133, 31, 0.12);
}

.partner-card img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
}

.partner-card h3 {
    color: var(--science-blue);
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(5, 116, 220, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(252, 133, 31, 0.12);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--science-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--science-blue);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--science-blue) 0%, var(--picton-blue) 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-buttons .btn {
    border-radius: 50px;
    font-size: 1.1rem;
    padding: 15px 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.bio-rest {
    display: none;
}

.cta-buttons .btn {
    background-color: white;
    color: var(--science-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .mission-content h2,
    .section-title h2 {
        font-size: 2rem;
    }
    .team-grid,
    .partners-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    
    .team-member {
        max-width: 100%;
        min-width: unset;
    }
    
    .member-image {
        width: 110px;
        height: 110px;
    }
    
    .member-info {
        padding: 1.2rem;
    }
    
    .member-info h3 {
        font-size: 1.4rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 900px) {
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
    .team-member {
        max-width: 100%;
        min-width: unset;
        min-height: 480px;
    }
}

@media (max-width: 480px) {
    .member-image {
        width: 100px;
        height: 100px;
        margin: 20px auto 0 auto;
    }
    
    .member-info {
        padding: 1rem;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .bio-first, .bio-rest {
        font-size: 0.9rem;
    }
    
    .member-contact {
        padding: 15px;
    }
    
    .contact-label {
        font-size: 0.85rem;
    }
    
    .contact-link {
        font-size: 0.85rem;
    }
    
    .read-more-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}