﻿
html, body {
    overflow-x: hidden;
    
}
.custom-button {
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #000;
    border: 1px solid #EC1F25;
    border-radius: 20px;
    margin-top: 45px;
    background: linear-gradient(to right, #EC1F25 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.4s ease-out;
    font-weight:400;
}
    .custom-button:hover {
        background-position: left bottom;
        color: #fff;
    }
    .rounded-4 {
        border-radius: 20px;
    }

/*-----------Font style---------*/
* {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}

.roboto-regular {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth";
}

.roboto-medium {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth";
}

.alumni-sans-regular {
    font-family: "Alumni Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
   
}
.alumni-sans-medium {
    font-family: "Alumni Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
h1,h2,h3 {
    font-family: 'Alumni Sans', sans-serif;
    
}

/************************ Font Size Variants *******************************/
.font-xs {
    font-size: 0.75rem; /* 12px */
}

.font-sm {
    font-size: 0.875rem; /* 14px */
}

.font-md {
    font-size: 1rem; /* 16px */
}

.font-lg {
    font-size: 1.125rem; /* 18px */
}

.font-xl {
    font-size: 1.25rem; /* 20px */
}

.font-2xl {
    font-size: 1.5rem; /* 24px */
}

.font-3xl {
    font-size: 1.875rem; /* 30px */
}

.font-4xl {
    font-size: 2.25rem; /* 36px */
}

.font-5xl {
    font-size: 3rem; /* 48px */
}

.font-6xl {
    font-size: 4rem; /* 64px */
}

.font-7xl {
    font-size: 5rem; /* 64px */
}

.font-8xl {
    font-size: 6rem; /* 64px */
}

.handlee-regular {
    font-family: "Handlee", cursive;
    font-weight: 400;
    font-style: normal;
}
/*/*---------------------------- Theme colour ----------------------*/
.PrimaryColor {
    color: #2C3092;
}
.SecondaryColor {
    color: #EC1F25;
}
.PrimaryColorBG {
    background-color: #2C3092;
}
.SecondaryColorBg {
    background-color: #EC1F25;
}
.LightBackground {
    background: #fef7e5;
   
}
.GradientPrimarySecondary {
    background: linear-gradient(135deg, #2C3092, #EC1F25);
    color: white;
}

/*--------------font-style----------------*/
.font-md {
    font-size:18px;
}

/*------------------------Top Strip---------------------*/
.logo{
    position:absolute;
   /* z-index:999;
    top:10px;*/
}
.logo a img {
        max-height:100px;
        border-radius:10px;
    }
.top-strip {
    height: auto;
    background-color: #EC1F25;
    padding: 10px 0;
}
 .top-strip a {
        color: white;
        text-decoration: none;
        font-size: 14px;
    }
 .dropdown-menu .dropdown-item:hover {
    background-color: rgba(44, 48, 146, 0.8);
    color:#fff;
}
/*-----------------Inner banners-------------*/
.inner-banner {
    position: relative;
    height: 300px;
}

    .inner-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }

    .inner-banner .container {
        position: relative;
        z-index: 2;
    }
.navbar {
    z-index:1000;
}
 /*--------------------Navabr----------------*/

.navbar {
    height:120px !important;
}
.navbar-nav .nav-link {
    padding: 1rem 2rem;
   
    font-weight: 500;
    letter-spacing: 0.5px;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
      
        border-radius: 5px;
    }

.navbar-nav .nav-item {
    padding-left:10px;
}
.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
    border: none;
}
.dropdown {
    z-index: 2;
}
.dropdown-menu {
    position: absolute;
    background-color: #ffffff;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.banner-img {
  
    object-fit: cover;
}
.hover-dropdown:hover > .dropdown-menu {
    display: block;
}
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 14, 38, 0.3);
    z-index: 1;
}

.banner-wrapper {
    position: absolute;
    top: -12%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.banner-text-box {
    background: #fef7e5;
    padding: 20px 30px;
    max-height: 150px;
    min-width: 800px;
    color: #040e26;
    text-align: center;
    border-radius: 20px;
    width: 100%;
}

.apply-btn {
    border-radius: 20px;
    padding: 10px 20px;
}

/*--------about school----------*/

.about-section {
    background-image:url('/images/dark-wood-1920x1080.jpg');
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
   padding-top:100px;
   padding-bottom:50px;
}
.vertical-divider {
    transform: rotate(90deg);
    width: 200px; 
    height: auto;
    opacity: 0.8;
    display: block;
}

/*----------------Facilities Section-----------------------*/
.short-line {
    width: 80px;
    height: 2px;
    background-color: #040e26;
    border: none;
    opacity: 0.8;
}
.service-card {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    z-index: 1;
    transition: transform 0.3s ease;
}

    .service-card::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0%;
        background-color: #F9C400;
        z-index: 0;
        transition: height 0.4s ease;
        opacity: 0.4; 
    }

    .service-card:hover::before {
        height: 100%;
    }

    .service-card * {
        position: relative;
        z-index: 1;
    }
    .service-card img {
        transition: transform 0.3s ease;
    }

    .service-card:hover img {
        transform: scale(1.2);
    }
.bg-icon {
    position: absolute;
   /* opacity: 0.7;*/
    pointer-events: none;
    z-index: -1;
}

.bg-icon-1 {
    top: 5%;
    left: 1%;
    width: 150px;
    z-index:1;
}

.bg-icon-2 {
    bottom: 5%;
    right: 5%;
    width: 200px;
    z-index:1;
}

.bg-icon-3 {
    top: 40%;
    right: 45%;
    width: 120px;
    z-index: 1;
    transform: rotate(55deg);
}
.bg-icon-kids {
    top: -10%;
    left: 5%;
    width: 150px;
    z-index: 1;
}
.bg-icon--admission {
    top: -23%;
    right: 5%;
    width: 200px;
    z-index: 1;
}
/*------------Principle Desk---------------*/
.principle-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*-----------------------curricular activities---------------------------*/
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 0;
}

.feature-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    background-size: cover;
    background-position: center;
}

/* Color background blocks with subtle patterns */
.bg-red {
    background-color: #911f26;
    background-image: url('images/pattern.svg'); /* Optional background SVG */
}

.bg-green {
    background-color: #c2d66f;
    color: #006d58;
    background-image: url('images/pattern.svg');
}

.bg-lightgreen {
    background-color: #a5d46a;
    color: #004634;
    background-image: url('images/pattern.svg');
}

.bg-orange {
    background-color: #e39a42;
    background-image: url('images/pattern.svg');
}

/* Image tiles */
.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
/*--------------infrastructure section-----------------*/
.infrastructure {
    position:relative;
    background-color: rgba(44, 48, 146, 0.8);
}
.short-line-infrastructure {
    width: 80px;
    height: 2px;
    background-color: #fff;
    border: none;
    opacity: 0.8;
}

.carousel-track {
    transition: transform 0.5s ease;
    gap: 1.5rem;
   
}
.carousel-wrapper{
    overflow:hidden;
}

.carousel-card {
    min-width: 360px;
    
    flex: 0 0 auto;
    background: #ffffff;
    padding:10px;
    border-radius:20px;
}
    .carousel-card .place-name {
        background-color: #ffffff;
        text-align: center;
        height: 80px;
        color: #000;
    }

    .carousel-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 20px;
        cursor: pointer;
    }
.carousel-buttons button{
   
    background:transparent !important;
    border-radius:50%;
    font-size:30px;
    height:60px;
    width:60px;
    padding-left:10px;
    border:none !important;
}
/*-----------awards and recongnition---------------*/
.achievement-image {
    border: 12px solid #ffff;
} 
/*---------------------------achievements---------*/
.carousel-indicators {
    bottom:-60px !important;
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2c3092;
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
}
/*********************Curricular Activities***************************/
.circle-image-wrapper {
    width: 200px;
    height: 200px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 50%;
}

    .circle-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 4px solid #e2e2e2;
        transition: transform 0.3s ease;
    }

        .circle-image-wrapper img:hover {
            transform: scale(1.05);
        }

.feature-box {
    height: 300px;
}

.object-fit-cover {
    object-fit: cover;
}

/*---------------------------------CTA Strip----------------------------*/
.admission-strip {
    background: rgba(44, 48, 146, 0.8);
    color: #fff;
    position: relative;
}
.bus-strip {
    height: 250px;
    position: relative;
}

.bus-animation {
    position: absolute;
    bottom: -70px;
    left: -200px;
    animation: moveBus 10s linear infinite;
}


.bus-img {
    width: 150px;
}


@keyframes moveBus {
    0% {
        left: -200px;
    }

    100% {
        left: 100%;
    }
}

    .enroll-btn:hover {
        background-color: #EC1F25;
        color: #fff;
        box-shadow: 0 0 15px rgba(236, 31, 37, 0.6);
    }


/*--------------------------news section------------------------*/
/*.news-img-wrapper {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.zoom-img {
    transition: transform 0.4s ease;
}

    .zoom-img:hover {
        transform: scale(1.08);
    }

.tilt-left {
    transform: rotate(-4deg);
}

.tilt-right {
    transform: rotate(2.5deg);
}

.tilt-up {
    transform: rotate(5deg);


}*/
.news-box {
    border: 1px solid #EC1F25; /* Theme color */
    border-radius: 10px;
    overflow: hidden;
    height: 250px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .news-box img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Fill box without stretching */
        transition: transform 0.4s ease;
        padding: 20px;
    }

        .news-box img:hover {
            transform: scale(1.05);
        }


    /*-------------------------------------footer-----------------------------*/
#topBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #EC1F25; /* Your theme color */
    color: white;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    #topBtn:hover {
        background-color: #2C3092; /* Accent on hover */
        transform: translateY(-3px);
    }

    .quick-links {
        padding-left: 120px;
    }
    .quick-links li a:hover {
        color:#ccc !important;

    }
.enroll-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #EC1F25;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(236, 31, 37, 0.5);
    position: relative;
    overflow: hidden;
}

    .enroll-btn::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: -100%;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.6s ease;
    }

    .enroll-btn:hover::after {
        left: 100%;
    }

    .enroll-btn:hover {
        background-color: #c61b20;
        box-shadow: 0 0 25px rgba(236, 31, 37, 0.8);
    }
footer .website-link a:hover {
    text-decoration:underline !important;
}
/*====================================Our Board===========================*/
.smc-cards .card {
    border-left: 3px solid #EC1F25; /* Accent color */
    transition: transform 0.3s ease;
    position: relative;
}
.smc-cards .number {
    position: absolute;
    top:-40px;
    left:23px;
    z-index:2;
    color:rgba(44, 48, 146, 0.8);
    
}
/*================================Principal Desk===============================*/
.principal-profile-img {
    width: 400px;
    overflow: hidden;
    margin: 0 auto;
}

    .principal-profile-img img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
/*=======================================Admission Page===============================*/
form input, form select, form textarea {
    border-radius: 6px;
}

form label {
    font-weight: 500;
}

.card-header {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.list-group-item {
    font-size: 1rem;
}

/*==============================Facilities page=======================================*/
 .image-area img {
   width:600px;    
   
}
/*===========================Achievements page=========================================*/
.gallery-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .gallery-img:hover {
        transform: scale(1.03);
    }

/*==============================Fagallery-imgculty page css=========================*/
.team-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    padding: 40px;
}

.team-card {
    position: relative;
    width: 220px;
    height: 280px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.card-layer {
    position: absolute;
    width: 220px;
    height: 280px;
    background-color: rgba(236, 31, 37, 0.5);
    z-index: 1;
    top: 0;
    left: 0;
    border-radius: 0;
}

.layer2 {
    transform: rotate(-5deg);
    top: 5px;
    left: 5px;
    z-index: 2;
}

.team-card-content {
    position: relative;
    z-index: 4;
    background-color: #fff; /* same as main card */
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}
/*=============================Contact Page============================*/
.contact-form {
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
/*================================Gallery Page======================================*/

/*#gallery .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

#gallery .column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

    #gallery .column img {
        margin-top: 8px;
        vertical-align: middle;
        width: 100%;
    }*/

/* Responsive layout */
/*video {
    height: auto;
    max-height: 300px;
    background: none !important;
}*/
