/* About Page Custom CSS */

/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1920x600/2c3e50/ffffff?text=About+Us+Hero');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 5rem;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-hero .hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.about-hero .hero-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.8;
    line-height: 1.8;
}

/* Intro Section */
.intro-section {
    margin-bottom: 5rem;
}

.intro-img-wrapper {
    position: relative;
    padding: 2rem;
}

.intro-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 30px;
    z-index: -1;
}

.intro-img-wrapper img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.intro-img-wrapper:hover img {
    transform: translateY(-10px);
}

/* Extra Sections (History, Mission, Goals) */
.extra-sections {
    margin-bottom: 5rem;
}

.extra-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.extra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.history-card {
    border-bottom-color: #3498db;
}

.mission-card {
    border-bottom-color: #e74c3c;
}

.goals-card {
    border-bottom-color: #2ecc71;
}

.extra-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.history-card .extra-icon {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.mission-card .extra-icon {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.goals-card .extra-icon {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.extra-card:hover .extra-icon {
    color: white;
}

.history-card:hover .extra-icon {
    background-color: #3498db;
}

.mission-card:hover .extra-icon {
    background-color: #e74c3c;
}

.goals-card:hover .extra-icon {
    background-color: #2ecc71;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    padding: 4rem 0;
    color: white;
    margin-bottom: 5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    margin-bottom: 5rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(91, 188, 176, 0.1);
    /* Light primary color */
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background-color: var(--primary-color);
    color: white;
}

/* Timeline Section */
.timeline-section {
    margin-bottom: 5rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .right {
        left: 0%;
    }
}

/* Team Section */
.team-section {
    margin-bottom: 5rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.3s ease;
    backdrop-filter: blur(5px);
}

.team-card:hover .team-socials {
    bottom: 0;
}

.team-socials a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-socials a:hover {
    color: var(--secondary-color);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h5 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.team-info span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 5rem 0;
    text-align: center;
    color: white;
    border-radius: 30px;
    margin: 0 20px 5rem 20px;
}

.btn-light-custom {
    background-color: white;
    color: var(--primary-color);
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-light-custom:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}