@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "BNCE" 0,
        "INFM" 0,
        "SPAC" 0;
}

body {
    margin: 0;
    color: #eee;
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
}

h2 {
    font-family: cursive;

}

body {
    font-size: 16px;
}


p {
    font-family: 'Fredoka';
    font-weight: 300;
    font-size: 1rem;
}

a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

section {
    min-height: 100vh;
    /*min-height: 100dvh;*/
    margin-inline: auto;
    padding: 0 5% 0;
}

.fixed-header {
    display: grid;
    grid-template-columns: 1fr 1fr 3fr 1fr;
    /* border-radius: 0px 5rem 0px; */
    font-family: 'Fredoka', sans-serif;
    padding-left: 1rem;
}

.fixed-header .icons .bx {
    font-size: 1.3rem;
    padding-left: 0.5rem;
}

.horizontal-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 70%;
    margin-inline: auto;
    margin-bottom: 2rem;
}

.circle {
    height: 10px;
    width: 10px;
    background-color: #cb0c9f;
    border-radius: 50%;
    flex-shrink: 0;
}

.horizontal-line {
    height: 3px;
    background-color: #cb0c9f;
    width: 90%;
}

.heading-title {
    margin-left: 30%;
}

.heading-title h2 {
    font-size: clamp(0.8rem, calc(7vw + 1rem), 1.8rem);
    font-family: "Pacifico", cursive;
    font-weight: normal;
}

/* Home section */
.container-home {
    display: grid;
    grid-template-columns: 100% 0%;
    gap: 2rem;
}

.home-image {
    position: absolute;
    max-width: 25%;
    z-index: 99;
    right: 7%;
}

.home-image marquee {
    max-height: 25rem;
}

.card-admission {
    background-color: rgba(255, 249, 249, 0.8);
    border-radius: 0 2rem 0;
}

.card-admission h4 {
    border-radius: 0 2rem 0 0;
}

/* end of Home section */

/* studnets container-students */
.container-students {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.students-image img {
    width: 25vw;
}

.scroll-students {
    display: flex;
    align-items: center;
    justify-content: center;
}


.achievement-banner {
    align-self: center;
    justify-self: center;
    border: 0.3rem solid #cb0c9f;
    margin: 1rem;
    border-radius: 0 1.7rem 0;
    text-align: center;
    padding: 0.5rem;
    background-color: transparent;
    backdrop-filter: blur(1px);
    max-width: max-content;
}

.achievement-banner .scroll-image {
    border-bottom: 1px solid gray;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.achievement-banner .scroll-image img {
    justify-self: center;
    border-radius: 0 1.7rem 0;
    height: 6.0rem;
}

.achievement-banner h5 {
    text-align: left;
    font-size: 1rem;
    white-space: nowrap;
}

.achievement-banner p {
    line-height: 0.3;
    text-align: left;
    white-space: nowrap;
}

/* studnets container-students */

/* director */

.container-director {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.director-image img {
    border-radius: 0 3rem 0;
    border: 0.3rem solid #6f42c1;
    max-width: 100%;
    height: 70dvh;
    aspect-ratio:1/ 1;
    object-fit: cover;

}

/* dorector */

/* about us section */

.container-about {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 1rem;
}


.about-image .quick-link {
    background-image: url('../image/img1.jpg');
    background-size: cover;
    background-position: center;
    border: 5px solid white;
    padding: 0 0.5rem 2rem 0.5rem;
    border-radius: 2rem 0 2rem 0;
}

.quick-btn {
    background-color: rgba(248, 248, 255, 0.8);
    color: black;
    font-weight: 400;
    border-radius: 0 0 1rem;
    transition: transform 0.4s ease;
    max-width: 90%;
    margin: auto;
}

.quick-btn:hover {
    background-color: aqua;
    color: #cb0c9f;
    transform: scaleX(110%);
}

/*end of about us section */


/* services */
.container-service {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 2rem;
}

.service-image img {
    border-radius: 3rem 0 3rem;
    border: 0.3rem solid #6f42c1;
     max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.container-service .service-text .campus-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5rem;
}


.service-student {
    border-radius: 0 1rem 0;
    transition: all ease 0.4s;
}

.service-student:hover {
    transform: scale(110%);
    cursor: pointer;
}

.service-student p {
    font-size: 2rem;
    margin: 0;
    font-family: 'Arial black';
    line-height: 0.8;
}

/* services */

/* course */
.container-course {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 2rem;
}

.container-course .course-text .course-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.course-student {
    border-radius: 0 1rem 0;
    transition: all ease 0.4s;
}

.course-student:hover {
    transform: scale(90%);
    cursor: pointer;
}

.course-student h4 {
    color: white;
}

.course-student p {
    color: #fff;
}

/* course */


/* teacher info */

.container-teachers{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

.teacher-image {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.teacher-info h5 {
    margin-top: 0.6rem;
    padding: 0;
    line-height: 1;
    font-size: 1rem;
}

.teacher-info img {
    max-width: 100%;
    height: 40dvh;
    aspect-ratio: 1 / 1;
    object-fit: cover;
     
    
}

/* teacher info */


/* gallery images */

.gallery-slider img{
     max-width: 100%;
    height: 60dvh;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* gallery images */

@media(max-width: 900px) {
    .fixed-header {
        grid-template-columns: 3fr 3fr;
    }

    .fixed-header .icons .bx,
    .news {
        display: none;
    }

    .home-image {
        position: unset;
        max-width: unset;
        margin: auto 1rem;
    }

    .container-about,
    .container-service,
    .container-course,
    .container-home,
    .container-director,
    .container-students,
    .container-teachers
    {
        grid-template-columns: 1fr;
        gap: auto;
    }


    .course-student,
    .teacher-image,
    .container-course .course-text .course-info {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .container-service .service-text .campus-info {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }


}