﻿/* MAIN CONTAINER */
.main-section {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto;
}

/* LIGHT BACKGROUND FOR SECTIONS */
.light-bg {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 20px;
}

/* SECTION TITLES */
.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f3b6f;
    border-bottom: 2px solid #e1e6f0;
    padding-bottom: 5px;
}

/* GALLERY */
.gallery-section {
    width: 60%;
}

.gallery-item {
    width: 20%;
    float: left;
    padding: 6px;
}

    .gallery-item img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        transition: transform 0.3s;
    }

        .gallery-item img:hover {
            transform: scale(1.05);
        }

/* NOTICE BOARD */
.notice-section {
    width: 40%;
}

.notice-card {
    background: #ffffff;
    border-left: 5px solid #1f3b6f;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    display: flex;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.notice-icon img {
    width: 48px;
    margin-right: 15px;
}

.notice-title {
    color: #d33;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.notice-text {
    font-size: 14px;
    color: #333;
}

.read-more {
    color: #1f3b6f;
    font-weight: 600;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-section {
        flex-direction: column;
    }

    .gallery-section,
    .notice-section {
        width: 100%;
    }

    .gallery-item {
        width: 33.33%;
    }
}
/* POPUP BACKGROUND */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

/* IMAGE */
.modal-image {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    margin-top: 5%;
    border-radius: 10px;
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* NEXT / PREV */
.prev, .next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

    /* HOVER */
    .prev:hover, .next:hover, .close-btn:hover {
        color: #ccc;
    }
/* IMAGE WRAPPER */
.img-wrapper {
    position: relative;
    overflow: visible;
}

/* HOVER ICON */
.hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* allows click to go to image */
}

/* SHOW ICON ON HOVER */
.img-wrapper:hover .hover-icon {
    opacity: 1;
}

/* OPTIONAL: DARK OVERLAY EFFECT */
.img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    transition: opacity 0.3s;
}

.img-wrapper:hover::after {
    opacity: 1;
}
.contact-activity-section {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: #f5f6fa;
}

.left-form, .right-activities {
    width: 50%;
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
}

.section-heading {
    background: #1f3c88;
    color: #fff;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 20px;
}

/* FORM */
.form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-send {
    width: 100%;
    padding: 12px;
    background: #1f3c88;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

    .btn-send:hover {
        background: #163172;
    }

/* ACTIVITIES */
.activity-card {
    background: #fafafa;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #1f3c88;
}

    .activity-card h4 {
        margin: 0 0 8px;
    }

.read-more {
    display: inline-block;
    margin-top: 8px;
    color: #1f3c88;
    text-decoration: none;
}
.contact-activity-section {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 70px 0;
    background: url('../images/7.jpeg') no-repeat center center/cover;
}

    /* Black transparent overlay */
    .contact-activity-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.65);
        z-index: 1;
    }
.left-form,
.right-activities {
    position: relative;
    z-index: 2;
    width: 42%; /* ↓ reduced from 50% */
    max-width: 520px; /* keeps it compact */
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
}
.section-heading {
    background: #1f3c88;
    color: #fff;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 20px;
}
.activity-card {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #1f3c88;
}
@media (max-width: 992px) {
    .contact-activity-section {
        flex-direction: column;
        padding: 50px 20px;
    }

    .left-form,
    .right-activities {
        width: 100%;
        max-width: 100%;
    }
}
/* Ambassador Section Center */
.ambassador-section {
    max-width: 1200px;
    margin: 0 auto; /* ✅ CENTER SECTION */
    padding: 60px 20px;
}

/* Slider container */
.slider-container {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

/* Card */
.ambassador-card {
    min-width: 280px;
    margin: 0 12px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

    .ambassador-card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

/* Caption BELOW image */
.caption-below {
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    background: #f5f5f5;
    text-align: left;
}
.slider-wrapper {
    position: relative; /* 🔑 key line */
    display: flex;
    align-items: center;
}

/* Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
}

    .nav-btn.left {
        left: -20px;
    }

    .nav-btn.right {
        right: -20px;
    }

    .nav-btn:hover {
        background: rgba(0,0,0,0.85);
    }

/* Buttons */

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 6px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
    }
}
/* ===== SLIDESHOW MODAL ===== */
.slideshow-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.slide-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 6px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}

/* Navigation */
.nav {
    position: absolute;
    top: 50%;
    font-size: 45px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Mobile tweak */
@media (max-width: 768px) {
    .nav {
        font-size: 32px;
    }
}
/* PHOTO GRID */
.activityPage-photos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.activityPage-photo-box img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s;
}

    .activityPage-photo-box img:hover {
        transform: scale(1.05);
    }

/* LIGHTBOX */
.activityPage-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.activityPage-lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
}

/* CLOSE */
.activityPage-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 34px;
    color: #fff;
    cursor: pointer;
}

/* PREV / NEXT */
.activityPage-prev,
.activityPage-next {
    position: absolute;
    top: 50%;
    font-size: 42px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 12px;
}

.activityPage-prev {
    left: 20px;
}

.activityPage-next {
    right: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .activityPage-prev,
    .activityPage-next {
        font-size: 30px;
    }
}


