﻿/* Container */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #F8F9FA;
    border-radius: 10px;
    padding: 20px;
}

/* Section Titles */
.Title, .about-header {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #1E3A68;
    margin-bottom: 15px;
}

/* Left Section */
.about-container .left span {
    font-size: 24px;
    font-weight: 700;
}

    .about-container .left span:nth-child(1) {
        color: var(--primary-color);
    }

    .about-container .left span:nth-child(2) {
        color: var(--secondary-color);
    }

.about-container .left div span:first-child {
    color: var(--secondary-color);
}

.about-container .left div span:last-child {
    color: var(--primary-color);
}

/* Right Section */
.about-container .right p {
    color: black;
}

/* Group Photo */
.group-photo {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 25px;
}

    .group-photo img {
        width: 100%;
        height: 85vh;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }

/* Message Section */
.message-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-box {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s;
    max-width: 850px;
    margin: auto;
}

    .message-box:hover {
        transform: scale(1.02);
        background-color: #f8f8f8;
    }

.message-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin-left: 20px;
}

.message-content {
    flex: 1;
    text-align: left;
}

    .message-content h4 {
        font-size: 20px;
        color: #1E3A68;
        margin-bottom: 5px;
    }

    .message-content p {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
    }

/* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 images per row */
    gap: 15px;
    padding: 0 10px;
}

    .gallery img {
        width: 100%;
        max-height: 180px; /* smaller height for better fit */
        object-fit: contain; /* show full image */
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
        background-color: #f0f0f0; /* optional for empty space */
    }

        .gallery img:hover {
            transform: scale(1.02);
        }

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr; /* 1 image per row on tablets/mobile */
    }

        .gallery img {
            max-height: 150px;
        }
}

/* Recent Events Section */
.events-section {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.event-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.3);
}

    .event-item:hover {
        transform: scale(1.02);
    }

    .event-item img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 50%;
        transition: transform 0.3s;
    }

        .event-item img:hover {
            transform: scale(1.1);
        }

.event-details {
    flex: 1;
}

    .event-details h5 {
        font-size: 16px;
        color: #1E3A68;
        margin-bottom: 5px;
    }

    .event-details p {
        font-size: 13px;
        color: #555;
    }
