* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    background-color: white;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

header {
    background-color: #1b4773;
    color: #fff;
    padding: 20px 0;
    position: relative;
}

header .logo img {
    width: 150px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

header nav ul li a:hover {
    color: #e67817;
    transform: translateY(-3px);
}


header .contact-info {
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: right;
}

header .contact-info p {
    margin: 5px 0;
}


header .contact-info .call-button {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}


/* Section Styling */
.student-gallery-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

/* Heading Container */
.heading-container {
    text-align: center;
    margin-bottom: 30px;
}

.page-heading {
    font-size: 38px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
}

.heading-line {
    width: 50px;
    height: 2px;
    background-color: #e67e22;
    margin: 10px auto;
}


/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

/* Image Container */
.zoom-img-wrapper {
    position: relative;
    display: inline-block;
}

/* Image Styling */
.zoom-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zoom-img:hover {
    transform: scale(1.05);
}

/* Plus Icon Styling */
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: white;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 50%;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.zoom-img-wrapper:hover .zoom-icon {
    opacity: 1;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: auto;
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    color: #ccc;
}




#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

#whatsapp-button:hover {
    transform: scale(1.1);
}

#whatsapp-button img {
    width: 40px;
    height: 40px;
}


footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}



@media screen and (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
        overflow-x: auto;
    }

    header nav ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    header nav ul li {
        margin-left: 10px;
    }

    header .contact-info {
        position: absolute;
        top: 20px;
        right: 10px;
        font-size: 12px;
    }

    .page-heading {
        font-size: 24px;
    }

    .gallery {
        grid-template-columns: repeat(4, 1fr); /* Force 4 per row */
        gap: 8px;
    }

    .zoom-img {
        width: 100%;
        height: auto;
    }

    footer {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .zoom-img {
        height: auto;
    }

    .page-heading {
        font-size: 20px;
    }

    header nav ul li a {
        font-size: 13px;
    }
}
