/* About Page Styles */

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Text Styling */
.content section {
    background: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(206, 161, 36, 0.1);
    transition: all 0.3s ease;
}

.content section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 2.5rem 0 1.5rem 0;
    text-align: center;
}

/* Enhanced paragraph styling */
#Who-are-we-text, .content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 1.5rem 2rem;
    text-align: justify;
    text-justify: inter-word;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.content p:first-of-type {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
}

.content p::first-line {
    font-weight: 600;
}

/* Quote styling for important text */
.content p:nth-of-type(2) {
    background: linear-gradient(135deg, rgba(206, 161, 36, 0.05), rgba(47, 53, 66, 0.05));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    position: relative;
}

/* Team section styling */
.mission-section, .team-section, .history-section {
    background: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(206, 161, 36, 0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.team-member {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff, #fafbfc);
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 1px solid rgba(206, 161, 36, 0.1);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(206, 161, 36, 0.1), transparent);
    transition: left 0.6s;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.member-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.team-member:hover .member-photo {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.member-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2.2rem;
    }
    
    .content h2 {
        font-size: 1.8rem;
    }
    
    #Who-are-we-text, .content p {
        font-size: 1.1rem;
        margin: 1rem;
        text-align: left;
    }
    
    .content section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
} 