@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400..800&display=swap');


/* Global Styles */
:root {
    --primary-color: #AC775B;
    --secondary-color: #333;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

.container-fluid {
    max-width: 1650px;
}

p {
    font-size: 18px;
    line-height: 1.6em;
}

ul li {
    font-size: 18px;
}

ol li {
    font-size: 18px;
}


.section-space {
    padding: 60px 0;
}

body {
    font-family: "Wix Madefor Display", sans-serif;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Wix Madefor Display", sans-serif;
}

/* Header Styles */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 80px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    border-top: 1px solid;
}

.nav-link:hover {
    color: var(--primary-color);
}


li.nav-item {
    margin-left: 20px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    border: none;
}

.dropdown .dropdown-menu {
    padding: 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.dropdown .dropdown-item {
    border-bottom: 1px solid #ddd;
}

/* Call to Action */

.btn-primary {
    background-color: #371016;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e16e1d;
    color: var(--white);
    transform: translateY(-2px);
}



/* Footer */
.main-footer {
    background-color: rgb(166, 153, 153);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.main-footer p {

    color: rgb(5, 36, 79);
}

.main-footer h4 {
    color: rgb(5, 36, 79);
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: #05244f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d33c2b;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #d33c2b;
}

.copyright {
    opacity: 0.8;
    border-top: 1px solid;
    padding-top: 10px;
    margin: 0;
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        height: 50px;
    }
}

/* =======================================================
                       home block 1 
==========================================================*/

.home-block-1 video {
    height: 800px;
    object-fit: cover;
    margin-bottom: -8px;
}

.home-block-1 .block-text {
    padding: 60px;
}

.home-block-1 .block-text h2 {
    font-size: 42px;
    color: rgb(5, 36, 79);
    font-weight: 400;
}

.home-block-1 .school-text h2 {
    display: inline;
    color: #fff;
    border-bottom: 1px solid #fff;
    padding: 10px;
    clear: both;
    font-family: auto;
    font-size: 90px;
}

.home-block-1 .school-text h4 {
    color: rgb(5, 36, 79);
    padding: 5px;
    margin-top: 30px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;

}

.home-block-1 .school-text h4 span {
    padding: 10px;
}

/*===========================================================
                        why choose section
==============================================================*/
.why-choose-text {
    padding: 40px;
    color: #fff;
}

.why-choose-text h4 {
    font-family: emoji;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 400;
}

.why-choose h2 {
    font-size: 81px;
    font-family: initial;
    font-style: italic;
    color: rgb(5, 36, 79);
}

.why-choose img {
    object-fit: cover;
    height: 445px;
}

.why-choose-text p {
    font-weight: 400;
}

/*==========================================================
                           about us page
============================================================*/

.inner-banner {
    height: 500px;
    position: relative;
}

.inner-banner video {
    height: 500px;
    object-fit: cover;
}

.banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: 40%;
    padding: 25px;
    background-color: #fff;
    text-align: center;

}

.banner-title h1 {
    font-size: 56px;
    color: rgb(5, 36, 79);
}

/*==================================================
                staff and management page
====================================================*/

.staff-title h3 {
    font-size: 45px;
    color: rgb(5, 36, 79);
    margin-bottom: 30px;
}

.management-card {
    margin-bottom: 30px;
}

.management-card h5 {
    margin-bottom: 0;
}

.scheme-of-studies p {
    font-size: 20px;
}

/* ===============================================
                     rules page
================================================== */

.rule-carousel .carousel-item {
    min-height: 400px;
}

.rule-carousel .carousel-caption {
    color: #fff;
    text-align: center;
    width: 40%;
    left: 0;
    right: 0;
    bottom: 35%;
    margin: auto;
    background: #fff;
    padding: 30px;
}

/* ==================================================
               council page
==================================================== */

.cabinet-leaders-card {
    margin-bottom: 30px;
}

/* ==================================================
                        house page
==================================================== */

.house-sec {
    padding-top: 100px;
}

.house-sec p {
    font-weight: 700;
    color: #05244f;
}

/* =================================================
                    club page
====================================================*/
.club video {
    height: 400px;
    object-fit: cover;

}

.club .club-text {
    margin-top: -170px;
    padding: 90px;
    border: 1px solid #ddd;
    border-bottom: none;
}

.club .club-text h1 {
    font-size: 56px;
    margin-bottom: 40px;
    color: rgb(5, 36, 79);
    font-weight: 700;
}

.club .club-text p {
    color: rgb(5, 36, 79);
    font-weight: 600;
}

.school-clubs {
    position: relative;
    padding: 200px 0;
    margin-top: -60px;
}

.school-clubs .shape-img1 {
    position: absolute;
    top: 0;
}

.school-clubs .shape-img2 {
    position: absolute;
    bottom: 0;
    transform: rotate(180deg);
}

.club-block {
    position: relative;
    z-index: 1;
    box-shadow: 0 0px 4px 6px rgba(174, 159, 159, 1);
    padding: 30px;
    width: 80%;
    margin: auto;
    margin-bottom: 30px;
    min-height: 385px;
}

.club-block h4 {
    padding-bottom: 10px;
    color: rgb(5, 36, 79);
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgb(5, 36, 79);
}

.club-block p {
    font-size: 16px;
}

/*======================================================
                         library page
========================================================*/

.library .list-block h2 {
    color: #fff;
    font-family: math;
    margin-bottom: 20px;
    font-size: 40px;
}

.library .list-block ul li {
    color: #fff;
    font-weight: 500;
    padding-bottom: 5px;
}

.library .list-block {
    padding-top: 20px;
    padding-left: 200px;
}

.library h2 {
    margin-left: -42px;
}

.libray-card {
    background-color: #fff;
    min-height: 525px;
}

.libray-card img {
    width: 100%;
}

.libray-card h4 {
    padding: 10px;
    margin: 0;
    color: rgb(5, 36, 79);
    font-family: none;
}

.libray-card p {
    padding: 10px;
    font-size: 16px;
    padding-top: 0;
    font-family: math;
    color: rgb(5, 36, 79);
}

/*==========================================================
                      careers  page
============================================================*/

.careers .block-text {
    min-height: 772px;
    padding: 60px;
}