/* ===== Global Styles ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #004d40;
    line-height: 1.6;
}

.container {
    max-width: 80%;
    margin: auto;
}

h1, h2 {
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    color: #14285d;
    border-bottom: 3px solid #14285d;
    padding-bottom: 10px;
}

.section {
    margin-bottom: 60px;
}

.intro {
    font-size: 1.2em;
    color: #004d40;
    margin-bottom: 30px;
}

/* ===== Vision & Mission Cards ===== */
.vision-mission {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.card {
    background-color: #e0f2f1;
    border-radius: 12px;
    padding: 25px;
    flex: 1 1 40%;
    box-shadow: 0 8px 15px rgba(0, 77, 64, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 77, 64, 0.3);
}

.card h2 {
    color: #004d40;
    margin-top: 0;
    font-size: 1.8em;
}

.card p {
    font-size: 1em;
    color: #00332f;
}

/* ===== Team Section ===== */
.team-photo {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===== CTA Button ===== */
.cta-btn {
    display: inline-block;
    background-color: #00796b;
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #004d40;
}

/* ===== Gallery Section ===== */
.gallery-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 10px 10px;
    text-align: center;
}

.gallery-section h2 {
    color: #14285d;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-title-below {
    padding: 10px;
    text-align: center;
    background: none;
    color: #2d6ef0;
    font-size: 1.1rem;
    font-weight: bold;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
}

.lightbox-caption {
    margin-top: 15px;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .vision-mission {
        flex-direction: column;
    }
    .gallery-item img {
        height: 180px;
    }
    h1 {
        font-size: 2.3em;
    }
}
