@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Asap:400,400i,500,500i,700,700i);
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,300i,400,400i,500,500i,700,700i);

body {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    background-color: #F7F1EA;
}

/* Header and Footer */
#header, #footer {
    width: 100%;
}

/* Image Section */
.image-container {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section {
        width: 80%;
        margin: 30px auto;
        padding: 30px;
    }

    .section-one {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: #8F654F;
        color: white;
        max-width: 90%;
        padding: 10px 45px;
        margin: 5% 2% 1%;
    }

    .section-one h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-one p {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Second Section */
    .section-two {
        display: flex;
        flex-direction: column;
        background-color: #EBE6E0;
        max-width: 90%;
        padding: 10px 45px 50px;
        margin: 0% 2% 5%;
    }

    .section-two h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .image-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .cert-item {
        text-align: center;
        max-width: 200px;
    }
    
    .cert-item img {
        width: 100%;
        height: auto;
        border: 1px solid #ccc;
        border-radius: 8px;
    }
    
    .cert-caption {
        margin-top: 8px;
        font-size: 14px;
        color: #333;
    }
    
    /* Modal Styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 9999;
        padding-top: 60px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.9);
    }

    .modal-content {
        margin: auto;
        display: block;
        max-width: 80%;
        max-height: 80%;
        border-radius: 8px;
        transition: transform 0.2s ease;
        transform-origin: center center;
        cursor: zoom-in;
    }

    .modal-close {
        position: absolute;
        top: 20px;
        right: 40px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        z-index: 10000;
    }

    .modal-close:hover {
        color: #ccc;
    }


.modal-content.zoom {
    transition: transform 0.2s ease;
    transform-origin: center center;
    width: 100%;
    max-width: 100%;
}


    @media screen and (max-width: 1440px) {
        .image-gallery{
            gap: 20px;
        }
    }

    @media screen and (max-width: 1024px) {
        .image-gallery{
            gap: 14px;
        }
    }


    @media screen and (max-width: 380px) {
        .section-one p{
            font-size: 12px;
        }

        .section-two{
            padding: 2% 5%;
        }
    }

    @media screen and (max-width: 320px) {

        .section-one{
            padding: 10px 25px;
        }

        .section-two{
            padding: 10px 24px;
        }
    }

