/* About page styles */
.about-section {
    padding: 60px 0;
}

.about-section h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2rem;
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--grey-color);
}

.about-content {
    margin-bottom: 50px;
}

.about-image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.gallery-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 220px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 50px 0;
}

.mission-card,
.vision-card {
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.mission-card {
    background: linear-gradient(135deg, #2a5298, #1a3c7c);
    color: white;
}

.vision-card {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: white;
}

.mission-card h3,
.vision-card h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    text-align: center;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.mission-card h3:after,
.vision-card h3:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: white;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.mission-card p,
.vision-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Responsive styles */
@media (max-width: 992px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-image-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .about-image-gallery {
        grid-template-columns: 1fr;
    }

    .mission-card h3,
    .vision-card h3 {
        font-size: 1.5rem;
    }

    .mission-card p,
    .vision-card p {
        font-size: 1rem;
    }
}
