
.home{
    height: 90vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('/media/School/school.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}
.home h1{
    font-weight: 900;
    font-size: 50px;
}
.home h2{
    font-weight: 500;
    color: #dbdbdb;
}


.home h1{
    color: #FCD581;
}

.home a{
    width: fit-content;
    text-align: center;
    font-size: 20px;
    padding: 5px 15px;
    background: transparent;
    border: 2px solid var(--red);
    border-radius: 50px;
    margin-top: 10px;
    transition: 0.5s;
}
.home a:hover{
    background: var(--red);
    color: var(--black);
}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    height: 100vh;
    background: var(--blue);
    color: #ffffff;
}
.about .container{
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.img-cont{
    width: 40%;
}
.info-cont{
    width: 40%;
    padding: 0 30px;
}
.info-cont h1{
    font-size: 35px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}
.info-cont a{
    width: fit-content;
    text-align: center;
    font-size: 20px;
    padding: 5px 15px;
    background: transparent;
    border: 2px solid var(--yellow);
    border-radius: 50px;
    margin-top: 10px;
    transition: 0.5s;
}
.info-cont a:hover{
    background: var(--yellow);
    color: var(--black);
}
.about img{
    width: 90%;

}

.gallery{
    height: 100vh;
    color: var(--black);
    display: flex;
    flex-direction: column;
}
.gallery-title{

    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
.gallery-title h1{
    background: var(--yellow);
    display: inline-block;
    padding: 10px;
    border-radius: 20px;
}
.gallery-link{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.gallery a {
    color: var(--black);
    text-align: center;
    margin-top: 15px;
    border: 1px solid var(--red);
    padding: 10px;
    transition: 0.3s;
}
.gallery a:hover{
    background: var(--red);
    color: white;
}

.contact {
    padding: 70px 30px 80px;
    background: #f7f7f7;
    color: var(--black);
}

.contact-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-title h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.contact-title p {
    color: #666;
    line-height: 1.6;
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item h3 {
    font-size: 16px;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
    color: var(--black);
    font-size: 16px;
}

.contact-map {
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {

    .about {
        flex-direction: column;
        height: auto;
        padding: 60px 20px;
        gap: 30px;
        text-align: center;
    }

    .img-cont,
    .info-cont {
        width: 100%;
    }

    .info-cont {
        padding: 0;
    }

    .info-cont a {
        margin: 10px auto 0;
    }

  

}

@media (max-width: 650px) {

    .home h1 {
        font-size: 34px;
    }

    .home h2 {
        font-size: 16px;
        padding: 0 20px;
    }

    .gallery {
        height: auto;
        padding-bottom: 40px;
    }

    .gallery-title h1 {
        font-size: 22px;
    }

    .about img {
        width: 100%;
    }

    .info-cont h1 {
        font-size: 28px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 300px;
    }

}