:root {
    --theme-primary: #1c468b;
    --theme-secondary: #f8c400;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
    overflow-x: hidden !important;
    width: 100% !important;
    transform: none !important;
}

a {
    text-decoration: none;
}

.main-header.header-style-one {
    position: relative;
}

.main-header {
    position: relative;
    display: block;
    width: 100%;
    z-index: 9999;
    clear: both;
}

/* Header Styles */

/* ----------------------------Navbar------------------------- */

.custom-navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: white;
    border-radius: 50px;
    padding: 10px 30px;
    z-index: 999;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.logo-container {
    position: relative;
    width: 40px;
    height: 40px;
}

.logo-circle {
    width: 100%;
    height: 100%;
    /*  border: 2px solid #b85c5c;  */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

/* Toggle icon */

.navbar-toggler {
    border: none;
    padding: 8px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive dropdown support */

@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
        background: #f8f9fa;
        border-radius: 0 0 15px 15px;
        padding: 10px;
        margin-top: 10px;
    }
    .navbar-collapse::-webkit-scrollbar {
        width: 5px;
    }
    .navbar-collapse::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
    }
    .dropdown-menu {
        position: static !important;
        float: none;
        display: none;
        background: #ffffff;
    }
    .nav-item.dropdown.show .dropdown-menu {
        display: block;
    }
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #126766;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* Hero section */

.hero {
    /*height: 100vh;*/
    /* background: url('https://www.yayskool.com/images/school/sacred-heart-convent-senior-secondary-school-sri-ganganagar-50959796.jpg') center/cover no-repeat; */
    position: relative;
    color: #fff;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: #000; */
    background: transparent linear-gradient(180deg, #000000 0%, #00000000 100%) 0% 0% no-repeat padding-box;
    opacity: 0.8;
}

.hero-content {
    position: absolute;
    top: 32%;
    left: 10%;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.learn-more {
    color: var(--theme-secondary);
    font-weight: 600;
    background: #1c468bbb;
    padding: 10px 20px;
    border-radius: 60px;
}

.learn-more:hover {
    color: var(--theme-primary);
    font-weight: 600;
    background: #f8c200bd;
    padding: 10px 20px;
    border-radius: 60px;
    transition: 0.4s;
}

.learn-more1 {
    color: var(--theme-secondary);
    font-weight: 600;
    background: #126766;
    padding: 10px 20px;
    border-radius: 60px;
}

.learn-more1:hover {
    color: var(--theme-primary);
    font-weight: 600;
    background: var(--theme-secondary);
    padding: 10px 20px;
    border-radius: 60px;
    transition: 0.4s;
}

.custome-bf {
    background: linear-gradient(to right top, #126766, #2b7a79, #408e8d, #54a2a1, #68b6b6), url('../images/custome-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

/* Bottom floating pod */

#footer-baseline {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--theme-primary);
    z-index: 30;
}

#floating-pod {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme-primary);
    padding: 14px 48px;
    border-radius: 64px;
    display: flex;
    align-items: center;
    gap: 48px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 40;
    color: #fff;
}

.pod-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    white-space: nowrap;
    color: #fff;
}

.pod-item i {
    font-size: 1.7rem;
    color: var(--theme-secondary);
}

.pod-item span {
    display: block;
    line-height: 1.1;
}

.top-line {
    font-weight: 600;
}

.bottom-line {
    font-size: 0.8rem;
    color: var(--theme-secondary);
}

.pod-divider {
    height: 38px;
    border-right: 2px solid var(--theme-secondary);
}

.facility-card {
    height: 170px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.facility-card .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.281);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    transition: 0.3s;
}

.facility-card .overlay:hover {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.692);
    color: #fff;
    transition: 0.3s;
}

.facility-card i {
    font-size: 30px;
}

.facility-card .overlay i,
.facility-card .overlay p {
    transition: transform 0.4s ease;
}

/* Hover movement */

.facility-card:hover .overlay i {
    transform: translateY(-8px);
}

.facility-card:hover .overlay p {
    transform: translateY(8px);
}

@media (max-width: 768px) {
    .menu-link {
        margin: 0 0.5rem;
        font-size: 0.8rem;
    }
    #floating-pod {
        padding: 12px 28px;
        gap: 28px;
    }
    .pod-item {
        font-size: 0.8rem;
    }
    .pod-item i {
        font-size: 1.4rem;
    }
    .pod-divider {
        height: 30px;
    }
}

#main-header.scrolled {
    position: fixed !important;
    width: 100%;
    top: 0;
    background: url('../images/hover.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center -2px;
    border-top: 10px solid var(--theme-primary);
    z-index: 1000;
    transition: all 0.3s ease;
}

.green-bg {
    color: #126766;
}

/* ---------- Hero Banner ---------- */

.hero-about {
    height: 40vh;
    min-height: 50px;
    background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)), url('../images/Page-Bg1.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /*margin-top: 90px;*/
    padding-top: 180px;
padding-bottom: 80px;
}

.hero-about::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-title {
    position: relative;
    z-index: 5;
    text-align: center;
    color: #fff;
}

.hero-title h1 {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-divider {
    width: 120px;
    height: 4px;
    background: var(--theme-secondary);
    margin: 0.75rem auto;
    border-radius: 30px;
}

/* ---------- Campus Intro Section ---------- */

.intro-sec {
    padding: 50px 0;
}

.intro-text h2 {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--theme-primary);
}

.intro-text p {
    font-size: 1.02rem;
    line-height: 1.7;
}

.check-item i {
    color: var(--theme-secondary);
    font-size: 1.4rem;
}

.round-img {
    border-radius: 24px;
    object-fit: cover;
}

/* ---------- Responsive Tweaks ---------- */

@media (max-width: 992px) {
    .hero-title h1 {
        font-size: 2.4rem;
    }
    .intro-sec {
        padding: 60px 0;
    }
}

/* ---------------------table----------------------- */

thead .backcolor {
    background: var(--theme-primary);
}

/* ---------------------According---------------------- */

.accordion {
    border: none;
}

.accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
}

.accordion-item:first-of-type,
.accordion-item:first-of-type .accordion-button {
    border-radius: 10px;
}

.accordion-button {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    background-color: var(--theme-secondary);
    border: none;
    border-radius: 10px;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); */
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.accordion-button span {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.accordion-button:hover span {
    transform: translateX(5px);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.accordion-button:not(.collapsed) {
    background-color: var(--theme-primary);
    color: #fff;
}

.accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 10px;
}

.management-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.management-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.management-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.single-contact-card {
    background-color: #F5F5F5;
    padding: 5px 20px;
    min-height: 100px;
    margin-bottom: 25px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    border-radius: 50px;
    cursor: pointer;
}

.single-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.single-contact-card .top-part {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.single-contact-card .top-part img {
    width: 75px;
    height: 75px;
    text-align: center;
    float: left;
    overflow: hidden;
    margin-right: 20px;
}

.intro-sec h2 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #368483;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--theme-secondary);
    color: white;
    width: 40px;
    height: 40px;
    padding: 10px 14px;
    border-radius: 50%;
    display: none;
    z-index: 999;
    transition: all 0.4s;
}

.back-to-top::after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 1;
    background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
    background: -webkit-radial-gradient(center ellipse, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
}

.nav-pills .nav-link.active {
    background: #126766 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 30px;
}

.nav-pills .nav-link {
    color: #1c468b;
    transition: 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: rgba(28, 70, 139, 0.1);
}

.floating-links {
    position: absolute;
    top: 40%;
    right: 60px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-link {
    color: var(--theme-secondary);
    font-weight: 600;
    background: linear-gradient(to right top, #126766, #2b7a79, #408e8d, #54a2a1, #68b6b6);
    padding: 10px 20px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: background 0.3s ease;
}

.floating-link:hover {
    color: var(--theme-primary);
    font-weight: 600;
    background: #f8c200bd;
    padding: 10px 20px;
    border-radius: 60px;
    transition: 0.4s;
}

/* Responsive for mobile */

@media (max-width: 768px) {
    .floating-links {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto;
        flex-direction: column;
        align-items: center;
    }
    .floating-link {
        width: 90%;
        max-width: 300px;
        font-size: 13px;
    }
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 40px!important;
height: 40px!important;
border-radius: 50%!important;
background: #fcc31c!important;
display: flex!important;
justify-content: center!important;
align-items: center!important;
color: #000!important;
}
.carousel-control-prev-icon {
  background-image: 0!important;
}
.carousel-indicators [data-bs-target] {

    width: 10px!important;
height: 10px!important;
border-radius: 50%!important;
box-sizing: content-box!important;
flex: 0 1 auto!important;
/*width: 30px;
height: 3px;*/
padding: 0!important;
margin-right: 3px!important;
margin-left: 3px!important;
text-indent: -999px!important;
cursor: pointer!important;
background-color: #fff!important;
background-clip: padding-box!important;
border: 0!important;
 /* border-top-color: currentcolor;
  border-top-style: none;
  border-top-width: 0px;
  border-bottom-color: currentcolor;
  border-bottom-style: none;
  border-bottom-width: 0px;*/
border-top: 10px solid transparent!important;
border-bottom: 10px solid transparent!important;
/*opacity: .5;*/
transition: opacity .6s ease!important;
    }
    
        .nav-item dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* remove gap so it sticks under the lPrimary-color */
}
.nav-item dropdown .dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 0px;
    border-left: 3px solid var(--gold);
    background: linear-gradient(to right top, #135513, #3d7318, #68921b, #98b01e, #cdcd23);
    min-width: 230px;
}
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.fcontols{
display: block;

padding: .375rem .75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: var(--bs-body-color);
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: var(--bs-body-bg);
background-clip: padding-box;
border: var(--bs-border-width) solid var(--bs-border-color);
border-radius: var(--bs-border-radius);
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;}

#newmodal .carousel-control-next,
#newmodal .carousel-control-prev {
    background-color: var(--theme-primary);
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes shine {
    0% {
        left: -150%;
    }
    50% {
        left: 50%;
    }
    100% {
        left: 150%;
    }
}

.btn-col span:hover {
    color: #fff;
}
#newModalCarousel .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--theme-secondary);
}

#newModalCarousel .carousel-indicators .active {
    background-color: var(--theme-secondary);
}

@media only screen and (min-width: 992px) {
    #newmodal .modal-dialog {
        max-width: 580px;
    }
}
.simple-thumbnail::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 10px solid var(--bs-white);
  z-index: 5;
  overflow: hidden;
}
