@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/*
FAQ accordion styles are scoped here so Bootstrap's collapse behavior
stays intact while the expanded panel keeps the intended dark theme.
*/

.faq-accordion .accordion-item,
.faq-accordion .accordion-collapse,
.faq-accordion .accordion-body {
    background-color: #404041;
    color: #ffffff;
}

.faq-accordion .accordion-button {
    background-color: #404041;
    color: #ffffff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #404041;
    color: #ffffff;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.faq-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.15);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    font-family: 'Nunito Sans', sans-serif;
}

body {
    /* font-family: 'NunitoSans'; */
    /* background-color: #eff3f0; */
    height: 100vh;
}


#burger {
    transition: all 0.3s ease;
}

#ext_nav,
#ext_nav2 {
    transition: left 0.5s ease;
}

.ext_nav {
    display: flex;
    left: 0;
}

.ext_nav2 {
    display: flex;
    left: 0;
}

@media (min-width: 1280px) {
    .ext_nav2 {
        left: 24rem;
    }
}

.ext_navLink:hover {
    color: #6f6a6a;
}

.active_link {
    color: #FF6223;
}


/* meet the headteachers swiper */
.mt_swiper,
.wl_swiper {
    /* width: 10% !important; */
    overflow: hidden !important;
    /* border: 1px solid red; */
}

.mt_swiper .swiper-slide,
.wl_swiper .swiper-slide,
.homeSwiper .swiper-slide,
.newsSwiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    border: none !important;

}



.mt_swiper .swiper-slide img,
.wl_swiper .swiper-slide img,
.extSwiper .swiper-slide img,
.homeSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    border: none !important;

}

@media screen and (min-width: 768px) {
    .homeSwiper .swiper-button-prev {
        left: 90px;
    }
}

.homeSwiper .swiper-button-prev,
.homeSwiper .swiper-button-next,
.mt_swiper .swiper-button-prev,
.mt_swiper .swiper-button-next,
.newsSwiper .swiper-button-prev,
.newsSwiper .swiper-button-next,
.extSwiper .swiper-button-prev,
.extSwiper .swiper-button-next,
.evntSwiper .swiper-button-prev,
.evntSwiper .swiper-button-next {
    color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

.wl_swiper .swiper-slide img {
    /* filter: brightness(70%);  */
}

.wl_swiper .swiper-button-prev,
.wl_swiper .swiper-button-next {
    top: auto !important;
    bottom: 20px !important;
    /* width: 27px; */
}

.wl_swiper .swiper-button-prev {
    right: 0 !important;
    /* right: 0 !important; */
}

.wl_swiper .swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: auto !important;
    right: 90px !important;
}

.wl_swiper .swiper-button-prev::after,
.wl_swiper .swiper-button-next::after {
    font-size: 25px !important;
    color: #FF6223;
}

.extSwiper .swiper-pagination .swiper-pagination-bullet-active {
    background: #FF6223;
}

.v-text {
    text-orientation: sideways;
    writing-mode: vertical-lr;
}

.gl_swiper2 {
    /* height: 700px !important; */
    margin: 20px 0 10px 0;
}

.gl_swiper .swiper-slide {
    filter: brightness(50%);
    height: 100px !important;
}

.gl_swiper2 .swiper-slide {
    display: flex !important;
    align-items: center;
    /* width: 100%;
    height: 100%; */
}

.gl_swiper .swiper-slide-thumb-active {
    filter: brightness(100%);
}


.gl_swiper2 .swiper-slide img {
    /* padding-top: 30px; */
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* gallery section animation */
.gallery_pg img {
    transition: all 0.5s ease;

}

.gallery_pg img:hover {
    filter: grayscale(50%);
    transform: scale(1.1);
    cursor: pointer;
}

.gallery .gallery_grid {}

.cTabs .content {
    border-bottom: 1px solid rgba(128, 128, 128, 0.468);
}

.depTabs {
    cursor: pointer;
    border: 1px solid transparent;
    padding: 10px 20px;
}

.n-active {
    transition: all 0.2s ease;
    /* font-size: 1.25rem; */
    font-weight: bold;
    color: #FFFFFF;
    border: 1px solid #FF6223;
    background-color: #FF6223;
}


.depCard {
    transition: background-size 0.7s ease;
    background-size: cover;
    background-position: center;
    height: 400px;
}

.depCard .depNameCard {
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: height 0.4s ease;
    overflow: hidden;
}

.depCard .depNameCard .content {
    display: none;
    transition: display 0.4s ease;
}

.depCard:hover {
    transition: background-size 1s ease;
    background-size: cover;
}

.depCard:hover .depNameCard {
    height: 170px;
    justify-content: flex-start;
    padding-top: 10px;
}

.depCard:hover .depNameCard .content {
    display: block;
}


.uniform_desc ul {
    list-style: circle;
    list-style-position: outside;
}

.uniform_desc ul li {
    margin: 10px 0 10px 25px;
}


.hide {
    opacity: 0;
}

.console-container,
.console-container #text {
    color: #FF6223 !important;
}

.console-underscore {
    display: inline-block;
    position: relative;
    top: -0.14em;
    left: 10px;
}

/* .enrolBtn{
    align-self: start;
} */


/* FOR CHECKING ERRORS */
.error {
    border: 2px solid red;
}

/* ----------------BOARD MEMBERS SECTION--------------- */
.board_section,
.members_section {
    width: calc(100% - 80px);
    position: relative;
    top: 0;
    left: 80px;
    height: auto;
    padding-bottom: 50px;
    background-color: white;
}

.board_wrapper {
    width: 100%;
    height: 450px;
    background-color: #D9D9D9;
    position: relative;
}

.board_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    bottom: 0;
    left: 0;
}

.board_text_section {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    z-index: 100;
}

.board_text_area {
    width: 70%;
    height: 70%;
}

.board_text_section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FF6223;
}

.board_text_section p {
    margin-top: 20px;
    line-height: 30px;
}

.board_image_section {
    width: 100%;
    height: auto;
}

.board_image_container {
    width: 80%;
    height: auto;
    margin: 60px auto;
    margin-bottom: 0px;
    /* this overrides the margin-bottom in the above code */
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

@media screen and (max-width:380px) {
    .board_image_container {
        justify-content: center;
    }
}

.member_image_link_container {
    width: 24.63%;
    height: 250px;
}

.board_images {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

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

.inner_content {
    width: 100%;
    height: 0%;
    font-size: 0.8rem;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 0px 15px;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    overflow: hidden;
    transition: all .5s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.board_images:hover .inner_content {
    height: 35%;
}

.inner_content_text_wrapper {
    width: 60%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inner_content_text_wrapper h4 {
    color: white;
}

.inner_content_text_wrapper p {
    color: #6f6a6a;
}

.link_box {
    width: 80%;
    margin: 20px auto;
}

.link_box a {
    color: #FF6223;
    font-weight: bold;
}


/*------------------- EACH BOARD MEMBER STYLING------------------- */
.members_section {
    padding-top: 80px;
}

.members_section_container {
    width: 70%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 30px;
}

.members_section_container h1 {
    color: #FF6223;
    font-weight: bold;
    font-size: 2rem;
}

.member_role {
    font-size: .8rem;
    font-weight: bold;
}

.member_section_img {
    margin-top: 20px;
    width: 700px;
    height: 400px;
}

.member_section_img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.member_bio {
    line-height: 30px;
    margin-top: 30px;
    display: inline-block;
    width: 700px;
}



/*------------------- CAREER PAGE STYLING------------------- */
.slanted {
    /* display: none; */
    width: 100%;
    height: 25%;
    position: absolute;
    bottom: -60px;
    right: -40px;
    background-color: white;
    transform: rotate(-4deg);
    z-index: 99;
}

.career-table tr,
.career-table th,
.career-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.145);
}

.career-table .role {
    color: #FF6223;
}

.career-table .icon {
    width: 16px;
    height: 16px;
    border: 1px solid black;
    margin: 4px 0;
}

.form-control {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 100%;
}

.form-control label {
    display: block;
}

.form-control input {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid rgba(128, 128, 128, 0.267);
}

.form-control input[type="file"] {
    display: none;
}


/*------------------ THIS SECTION IS FOR VARIOUS SCREEN RESOLUTIONS-----------------------*/

/* FOR MEDIUM SCREENS */
@media screen and (max-width:1000px) {
    .board_text_area {
        width: 95%;
        height: 80%;
    }

    .member_image_link_container {
        width: 32.5%;
        height: 200px;
    }

    .inner_content {
        display: none;
    }

    .member_section_img {
        width: 100%;
    }

    .member_bio {
        width: 100%;
    }
}


/* FOR SMALLER SCREENS */
@media screen and (max-width:700px) {
    .board_section {
        width: 100%;
        height: auto;
        left: 0px;
        top: 80px;
    }

    .board_wrapper {
        height: auto;
    }

    .board_text_section {
        width: 100%;
        height: auto;
    }

    .board_text_area {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }

    .board_text_section h1 {
        margin-top: 30px;
        font-size: 2rem;
    }

    .board_text_section p {
        padding-bottom: 30px;
    }

    .board_image_container {
        width: 90%;
    }

    .member_image_link_container {
        width: 32.375%;
        height: 150px;
    }

    .inner_content {
        display: none;
    }

    .link_box {
        width: 90%;
    }

    .members_section {
        width: 100%;
        left: 0;
        padding-top: 110px;
    }

    .members_section_container {
        width: 95%;
        top: 80px;
    }

    .slanted {
        right: 0;
    }
}
