/********** Template CSS light #FFF5F3 **********/
:root {
    --primary: #fff;   /* Main Brand Color */
    --light: #EDEDED;     /* Fixed double # error */
    --dark: #222222;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
/** 2026 update */
.navbar-toggler {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Kill Bootstrap focus ring completely */
.navbar-toggler::-moz-focus-inner {
    border: 0 !important;
}

button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/alhumaisara1.webp) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility 
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}
***/
/*** Professional Facility Cards 2026 ***/
/* Section Titles */

/* Facilities Section 2026/25/2 */
.facility-box {
    background: rgba(255, 255, 255, 0.15); /* Glass effect */
    backdrop-filter: blur(10px); /* Blur background for glass look */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    text-align: center;
    padding: 35px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}
.facility-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(103,0,0,0.25); /* Theme shadow on hover */
}

/* Facility Icon */
.facility-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #670000; /* Theme color */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: all 0.3s ease;
}
.facility-box:hover .facility-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(103,0,0,0.4);
}

/* Titles and Descriptions */
.facility-box h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: #670000;
}
.facility-box p {
    font-size: 14px;
    color: #333;
}

/* Section Titles */
.section-title {
    font-weight: 700;
    color: #670000;
    margin-bottom: 15px;
    font-size: 32px;
}
.section-subtitle {
    color: #555;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .facility-box {
        padding: 25px 15px;
    }
    .facility-icon {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }
}

/* School Statistics / Overview Section 2026 */
.stat-card {
    background: rgba(255, 255, 255, 0.15); /* Glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(103,0,0,0.25);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #670000;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 16px;
    color: #333;
}

@media (max-width: 991px) {
    .stat-card {
        padding: 25px 15px;
    }
    .stat-number {
        font-size: 36px;
    }
    .stat-text {
        font-size: 14px;
    }
}

/*** About 2026***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}

/* About Section 2/25/2026 */
.bg-light {
    background-color: rgba(255, 255, 255, 0.15); /* Glass effect */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 60px 30px;
    margin-bottom: 50px;
}

.section-subtitle {
    color: #670000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    color: #222;
    font-weight: 700;
    font-size: 36px;
}

.about-text {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.about-feature {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
    transition: all 0.3s;
}

.about-feature i {
    color: #670000;
    font-size: 18px;
    margin-right: 10px;
    flex-shrink: 0;
}

.about-feature:hover i {
    color: #00337a; /* subtle hover effect */
}

.btn-glass {
    background-color: #670000;
    color: #fff;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background-color: #00337a;
    transform: translateY(-2px);
}

.about-img-wrapper {
    position: relative;
}

.about-img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border-radius: 15px;
}

.about-img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .section-title {
        font-size: 28px;
    }
    .about-text {
        font-size: 15px;
    }
    .btn-glass {
        padding: 0.6rem 1.5rem;
        font-size: 14px;
    }
}


/*** Classes 2026***/

.classes-item {
    background: #ffffff;
    transition: transform 0.3s;
}
.classes-item:hover {
    transform: translateY(-5px);
}
.circle-grey {
    background-color: #f0f0f0;
}
.list-group-item {
    border: none;
    padding-left: 0;
    padding-right: 0;
}


/* Section Titles */
.section-title {
    color: #670000;
    font-weight: 700;
}

.section-subtitle {
    color: #555;
    font-size: 16px;
}

/* Gallery Wrapper 2026 */

.gallery-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: scrollGallery 25s linear infinite;
}

.gallery-item {
    margin-right: 20px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
    height: 250px;
    object-fit: cover;
    width: auto;
    border-radius: 12px;
    transition: transform 0.5s, filter 0.5s;
}

/* Hover effect for glassy feel */
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
    box-shadow: 0 10px 20px rgba(103, 0, 0, 0.3);
}

/* Scrolling animation */
@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .gallery-item img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .gallery-item img {
        height: 140px;
        margin-right: 12px;
    }
}

/* 2026 visit */
/* Visit Section Wrapper */
.visit-wrapper {
    background: rgba(255, 255, 255, 0.15); /* subtle glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
}

/* Visit Form */
.visit-form h1.section-title {
    color: #670000;
    font-weight: 700;
}

.visit-form .section-subtitle {
    color: #555;
    font-size: 16px;
}

.form-control-glass {
    background: #ffffff;
    color: #333;
    border-radius: 0.5rem;
    border: 2px solid #ccc;
    padding: 1rem;
    transition: all 0.3s ease;
}

.form-control-glass:focus {
    border-color: #670000;
    box-shadow: 0 0 8px rgba(103,0,0,0.2);
}

/* Button */
.btn-glass {
    background-color: #670000;
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background-color: #00337a;
    transform: translateY(-2px);
}

/* Image Section */
.visit-image .visit-img {
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.visit-image .visit-img:hover {
    transform: scale(1.05);
    filter: brightness(0.95);
}

.visit-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.visit-text p {
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .visit-form {
        padding: 2rem;
    }
    .visit-text h2 {
        font-size: 26px;
    }
    .visit-text p {
        font-size: 14px;
    }
}


/* Why Choose Us Cards 2026 */
.why-card {
    background: rgba(255, 255, 255, 0.85); /* Glass effect */
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(103, 0, 0, 0.2);
}

.why-card i {
    color: #670000;
}

.why-card h5 {
    font-weight: 600;
    color: #222;
}

.why-card p {
    font-size: 14px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .why-card {
        min-height: 220px;
    }
}
@media (max-width: 576px) {
    .why-card {
        min-height: 200px;
    }
}



/* 2026 news & events */

/* -------------------------------
   News & Events Cards
---------------------------------*/
.news-card {
    background: rgba(255, 255, 255, 0.95); /* Glass effect */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(103, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(103, 0, 0, 0.2);
}

.news-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    font-weight: 600;
    color: #670000;
    margin-bottom: 10px;
    font-size: 18px;
}

.news-card-text {
    color: #555;
    font-size: 14px;
    margin-bottom: auto;
}

.nav-tabs .nav-link {
    color: #670000;
    font-weight: 500;
    border: none;
    transition: 0.3s;
}

.nav-tabs .nav-link.active {
    background-color: #670000;
    color: #fff;
    border-radius: 50px;
}

.nav-tabs .nav-link:hover {
    color: #fff;
    background-color: #8a0000;
}

@media (max-width: 991px) {
    .news-card-img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .news-card-img {
        height: 150px;
    }
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}

/* -------------------------------
   Professional Card with Simpler Design
---------------------------------*/
.glass-card {
    background-color: #f7f7f7; /* Light neutral background color */
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border: 1px solid #ddd;
    color: #333; /* Darker text color for better readability */
}

/* -------------------------------
   Input Fields with Clean Design
---------------------------------*/
.form-control-glass {
    background: #ffffff; /* White background for form inputs */
    color: #333; /* Dark text color for better contrast */
    border-radius: 0.5rem;
    padding: 1rem;
    border: 2px solid #ccc; /* Light border */
    transition: all 0.3s ease;
}

.form-control-glass:focus {
    border-color: #007bff; /* Blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); /* Subtle focus effect */
}

/* -------------------------------
   Buttons with Simple Style
---------------------------------*/
.btn-glass {
    background: #007bff; /* Blue background for buttons */
    border: none;
    color: #fff; /* White text */
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    padding: 0.8rem;
}

.btn-glass:hover {
    background: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px);
}

/* -------------------------------
   Section Titles / Headings
---------------------------------*/
.section-title {
    color: #333; /* Dark text for headings */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* -------------------------------
   Responsive Adjustments for Mobile
---------------------------------*/
@media (max-width: 991px) {
    .glass-card {
        padding: 1.5rem;
    }
    .form-control-glass {
        padding: 0.75rem;
    }
}

/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}




/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
