
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/


/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
.service {
    background-color: #D6E4FF!important;
}


.accordion-button {
    color: #007bff !important; /* Bootstrap primary blue */
}

/* General styling for the accordion */
.accordion-item {
    border: 2px solid #393D72 !important;  /* Blue border */
}

/* Accordion button default state */
.accordion-button {
    color: #393D72 !important;  /* Blue text */
    background-color: #D0D3F0 !important;  /* Light blue background */
    border: 2px solid #393D72 !important;
}

/* Remove pink when active (clicked/opened) */
.accordion-button:not(.collapsed) {
    background-color: #9A9FD8 !important;  /* Darker blue */
    color: white !important;  /* White text */
    border: 2px solid #393D72 !important;
}

/* Remove pink on hover */
.accordion-button:hover,
.accordion-button:focus,
.accordion-button:not(.collapsed):hover {
    background-color: #7F83C9 !important;  /* Even darker blue */
    color: white !important;
    box-shadow: none !important;
}

/* Remove pink when clicking */
.accordion-button:active {
    background-color: #9A9FD8 !important;
    color: white !important;
    border: 2px solid #393D72 !important;
}

/* Ensure dropdown (expanded content) stays blue */
.accordion-collapse {
    border: 2px solid #393D72 !important;
    background-color: #EEF0FF !important; /* Light blue */
}

/* Accordion body styling */
.accordion-body {
    background-color: #EEF0FF !important;
    color: #272B5C !important;
}

/* Remove any default Bootstrap focus styles */
.accordion-button:focus {
    outline: none !important;
    box-shadow: none !important;
}


.btn-primary:hover {
    background-color: white !important;
    color: #4D65F9 !important;
    border: 2px solid #4D65F9 !important; /* Ensures border remains visible */
}

.service-item {
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

.service-item:hover {
    background-color: #4D65F9 !important; /* Custom blue */
    color: white !important; /* Text turns white */
    border-color: #4D65F9 !important; /* Border matches background */
}

.service-item:hover a,
.service-item:hover p,
.service-item:hover i {
    color: white !important; /* Change text, icons, and links to white */
}

.program-text {
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

.program-text:hover a,
.program-text:hover p {
    color: white !important; /* Change text and links to white */
}

.blog-content {
    background-color: #D6E4FF!important; /* Light blue */
}

.blog-content {
    background-color: #D6E4FF !important; /* Light blue */
}

.blog-date-comments,
.blog-text-inner {
    background-color: #D6E4FF !important; /* Light blue */
}

.blog {
    background-color: #D6E4FF !important; /* Light blue */
}

.bg-light {
    background-color: #FFFFFF !important;
}

.academics-page.service {
    background: var(--school-page-bg) !important;
}

.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
    color: #FFFFFF !important;
}

.breadcrumb-item a {
    text-decoration: none;
}

.blog-text-inner a:hover {
    color:#4D65F9;
}

.team-content h4,
.team-content p {
    transition: color 0.3s ease;
}

.team-content:hover h4,
.team-content:hover p {
    color: blue;
}

.team-item {
    transition: color 0.3s ease;
}

.team-item:hover .team-content h4,
.team-item:hover .team-content p {
    color: blue !important;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Poppins', Arial, sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Poppins', Arial, sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Poppins', Arial, sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: 0;
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
}

.title-border-radius {
    border-radius: 10% 30%;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color:  #4d65f9;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'Inter', 'Segoe UI', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/


/*** Hero Header ***/
.hero-header,
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05)), url(../img/stkizito\ \(2\).jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** Hero Header ***/


/*** About Start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(../img/stkizito\ \(5\).jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.video.border {
    border-radius: 50% 20% / 10% 40%;
}

.about {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../img/background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** About End ***/


/*** service Start ***/
.service {
    background: linear-gradient(rgba(255, 72, 128, 0.05), rgba(255, 72, 128, 0.2));
}

.service .service-item {
    box-shadow: var(--school-shadow);
    width: 100%;
    height: 100%;
    border-radius: 50% 20% / 10% 40%;
    border: 0;
    transition: 0.5s;
    position: relative;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: transparent;
    border-radius: 50% 20% / 10% 40%;
    transition: .5s;
}

.service-item:hover {
    box-shadow: 0 6px 14px rgba(29, 39, 82, 0.08);
}

.service-item:hover .service-content::after {
    background: var(--bs-secondary);
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
}

.service-item .service-content-inner i,
.service-item .service-content-inner p,
.service-item .service-content-inner a.h4 {
    transition: 0.5s;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-white) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: var(--bs-primary);
}

.service-item:hover .service-content-inner a.btn-primary {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.service-item .service-content-inner a.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}
/*** Service End ***/


/*** Programs Start ***/
.program {
    background: linear-gradient(rgba(255, 72, 128, 0.1), rgba(255, 72, 128, 0.1));
}

.program .program-item .program-img .program-rate {
    position: absolute;
    width: 100px; 
    top: -20px; 
    left: 50%; 
    margin-left: -50px; 
    border-radius: 10% / 50%;
}

.program .program-item .program-text {
    padding-top: 150px; 
    margin-top: -125px;
}

.program .program-item .program-img img,
.program .program-item .program-teacher img,
.program .program-item:hover .program-text-inner a.h4 {
    transition: 0.5s;
}

.program .program-item:hover .program-img img,
.program .program-item:hover .program-teacher img {
    transform: scale(1.2);
}

.program .program-item:hover .program-text-inner a.h4 {
    color: var(--bs-primary) !important;
}
/*** Programs End ***/


/*** Events Start ***/
.events .events-item {
    width: 100%;
    height: 100%;
    border-radius: 30%;
    position: relative;
}

.events .events-item .events-inner .events-rate {
    position: absolute;
    width: 120px; 
    top: -20px; 
    left: 50%; 
    margin-left: -60px; 
    border-radius: 10% / 50%;
}

.events .events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.events .events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
}

.events .events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px;
    transition: 0.5s;
}

.events .events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events .events-item .events-text a.h4,
.events .events-item .events-img img {
    transition: 0.5s;
}

.events .events-item:hover .events-text a.h4 {
    color: var(--bs-primary) !important;
}

.events .events-item:hover .events-img img {
    transform: scale(1.3);
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-primary);
}
/*** Blog End ***/



/*** Team Start ***/
.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}

.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: var(--bs-primary) !important;
    border-radius: 0 0 10px 10px;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-dark) !important;
}
/*** Team end ***/


/*** testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-stage {
    display: flex;
}

.testimonial .testimonial-carousel .owl-item {
    display: flex;
}

.testimonial .testimonial-carousel .owl-item > .testimonial-item {
    display: flex;
    width: 100%;
}

.testimonial-item {
    height: 100%;
}

.testimonial-card-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
}

.testimonial-copy {
    margin-top: auto;
}

.testimonial-text {
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .25rem;
}

.testimonial-text.is-expanded {
    display: block;
    line-clamp: unset;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.testimonial-more {
    align-self: flex-start;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--bs-secondary);
    font-weight: 600;
    text-decoration: underline;
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 1)), url(../img/background.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.footer-brand h2 {
    line-height: 1.05;
}

.footer-brand-badge {
    width: 5.7rem;
    height: 4.05rem;
    flex: 0 0 auto;
}

.footer-brand-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-brand-title {
    font-size: 1.50rem;
}

.footer-brand-subtitle {
    font-size: 0.85rem;
}

.footer .footer-galary-img img {
    width: 100%;
    border-style: dotted; 
    border-color: var(--bs-primary);
    transition: 0.5s;
}

.footer .footer-galary-img img:hover {
    transform: scale(1.2);
}

.footer-item a.text-body:hover {
    color: var(--bs-secondary) !important;
}
/*** Footer End ***/

/*** School Redesign Start ***/
:root {
    --school-surface: #FFFFFF;
    --school-surface-alt: #D6E4FF;
    --school-page-bg: #F5F8FD;
    --school-ink: #1F2A4D;
    --school-ink-soft: #566189;
    --school-border: rgba(57, 61, 114, 0.16);
    --school-radius: 14px;
    --school-radius-sm: 10px;
    --school-shadow: 0 4px 12px rgba(29, 39, 82, 0.06);
    --school-transition: all .22s ease;
}

body {
    background: var(--school-page-bg);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--school-ink);
    line-height: 1.65;
    letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Poppins', Arial, sans-serif;
    color: #1D2752;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 700;
    line-height: 1.2;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
}

p,
li,
small,
.text-body,
.topbar .top-info,
.navbar .navbar-nav .nav-link {
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid var(--school-border) !important;
    transition: background-color .2s ease, border-color .2s ease;
}

.site-header.scrolled {
    background: #FFFFFF !important;
    border-color: rgba(57, 61, 114, 0.26) !important;
}

.site-header .topbar.bg-primary {
    border-radius: 0 0 var(--school-radius) var(--school-radius) !important;
    box-shadow: none;
}

.topbar .top-info {
    font-size: 0.95rem;
    letter-spacing: 0;
}

.topbar .top-link a {
    box-shadow: none;
    border: 1px solid rgba(57, 61, 114, 0.25);
}

.navbar {
    border-bottom: 0;
}

.school-brand {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    text-decoration: none;
}

.school-brand-badge {
    width: 4.9rem;
    height: 5.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.school-brand-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(12, 17, 40, 0.28));
}

.school-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.02;
}

.school-brand-title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #FFFFFF;
}

.school-brand-subtitle {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, 0.92);
}

.navbar .navbar-nav .nav-link {
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.navbar .nav-item .dropdown-menu {
    border-radius: var(--school-radius-sm) !important;
    border: 1px solid var(--school-border);
    box-shadow: none;
}

.page-header {
    background: linear-gradient(rgba(57, 61, 114, 0.72), rgba(77, 101, 249, 0.45)), url(../img/stkizito\ \(2\).jpg);
}

.page-header h1 {
    text-shadow: 0 2px 6px rgba(12, 17, 40, 0.25);
}

.hero-carousel {
    margin-top: 0;
}

.hero-carousel .carousel-item {
    min-height: 560px;
}

.hero-slide {
    min-height: 560px;
    display: flex;
    align-items: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(30, 40, 86, 0.78) 0%, rgba(30, 40, 86, 0.55) 45%, rgba(77, 101, 249, 0.3) 100%);
}

.hero-slide .container {
    position: relative;
    z-index: 1;
}

.hero-slide-1 {
    background-image: url(../img/stkizito\ \(1\).jpg);
}

.hero-slide-2 {
    background-image: url(../img/stkizito\ \(6\).jpg);
}

.hero-slide-3 {
    background-image: url(../img/stkizito\ \(4\).jpg);
}

.hero-slide-4 {
    background-image: url(../img/stkizito\ \(5\).jpg);
}


.hero-kicker {
    display: inline-block;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    opacity: 1;
    transform: translateY(0);
    transition: opacity .55s ease, transform .55s ease;
}

.hero-kicker.is-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.hero-carousel .carousel-indicators {
    margin-bottom: -3.5rem;
}

.hero-carousel .carousel-indicators button {
    border-radius: 2px;
    border-bottom: solid 5px #4d65f9;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 8%;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.24);
}

.btn {
    font-family: 'Poppins', Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0.01em;
    border-radius: 8px !important;
    padding: .68rem 1.25rem;
    box-shadow: none !important;
    transition: var(--school-transition) !important;
}

.btn-primary {
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: none;
    background: #FFFFFF !important;
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-light {
    border-width: 1px;
    box-shadow: none !important;
}

.btn-outline-light:hover {
    background: #FFFFFF !important;
    color: var(--bs-primary) !important;
    border-color: #FFFFFF !important;
}

.btn-border-radius,
.title-border-radius,
.img-border-radius,
.video.border {
    border-radius: var(--school-radius-sm) !important;
}

.about,
.footer {
    background-size: cover;
}

.service {
    background: linear-gradient(rgba(214, 228, 255, 0.55), rgba(214, 228, 255, 0.85));
}

.program {
    background: linear-gradient(rgba(214, 228, 255, 0.65), rgba(214, 228, 255, 0.35));
}

.service .row.g-5 > [class*="col-"],
.program .row.g-5 > [class*="col-"],
.events .row.g-4 > [class*="col-"],
.events .row.g-5 > [class*="col-"],
.blog .row.g-5 > [class*="col-"],
.team .row.g-5 > [class*="col-"] {
    display: flex;
}

.service .service-item,
.program .program-item,
.events .events-item,
.blog .blog-item,
.team .team-item {
    border-radius: var(--school-radius) !important;
    border: 0 !important;
    box-shadow: var(--school-shadow) !important;
    background: var(--school-surface);
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--school-transition);
}

.service-content::after {
    display: none;
}

.service .service-content,
.program .program-text,
.events .events-text,
.blog .blog-item .px-4.pb-4,
.team .team-item .team-content {
    flex: 1;
}

.service-item .service-content-inner,
.events .events-text,
.blog .blog-item .px-4.pb-4 {
    display: flex;
    flex-direction: column;
}

.service-item .service-content-inner p,
.events .events-text p,
.blog .blog-item .blog-text-inner {
    flex-grow: 1;
}

.events .events-item .events-inner .events-rate,
.program .program-item .program-img .program-rate {
    border-radius: 999px;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    width: fit-content;
    margin-bottom: .75rem;
    padding: .2rem .7rem !important;
    background: rgba(77, 101, 249, 0.14) !important;
    color: var(--bs-primary) !important;
}

.service .service-item:hover,
.program .program-item:hover,
.events .events-item:hover,
.blog .blog-item:hover,
.team .team-item:hover {
    transform: none;
    box-shadow: 0 6px 14px rgba(29, 39, 82, 0.08) !important;
}

.events .events-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.events .event-overlay a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 101, 249, 0.78);
}

.events .event-meta {
    display: grid;
    gap: .35rem;
    margin-bottom: .8rem;
}

.events .event-meta small {
    color: var(--school-ink-soft);
}

.contact-shell {
    background: var(--school-surface);
    border: 1px solid var(--school-border);
    border-radius: var(--school-radius);
}

.contact-info-card,
.contact-map-card,
.contact-detail-card {
    background: var(--school-surface);
    border: 0;
    border-radius: var(--school-radius-sm);
    padding: 1.5rem;
    height: 100%;
}

.contact-info-card i {
    font-size: 1.4rem;
}

.contact-info-card a {
    color: var(--school-ink);
}

.contact-map-card {
    padding: 0;
    overflow: hidden;
}

.contact-map-card iframe {
    border: 0;
    min-height: 320px;
}

.contact-hours li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .8rem;
    border-bottom: 1px solid rgba(57, 61, 114, 0.1);
    padding: .5rem 0;
}

.contact-hours li:last-child {
    border-bottom: 0;
}

.gallery-grid .gallery-card {
    display: block;
    position: relative;
    border-radius: var(--school-radius-sm);
    overflow: hidden;
    border: 0;
    min-height: 230px;
}

.gallery-grid .gallery-featured {
    min-height: 494px;
}

.gallery-grid .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-grid .gallery-card span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: .86rem;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.45);
    padding: .28rem .6rem;
    border-radius: 999px;
}

.gallery-grid .gallery-card:hover img {
    transform: scale(1.04);
}

.wow,
.animated {
    animation-duration: .6s !important;
}

.wow.tada,
#phone-tada .wow {
    animation: none !important;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid rgba(57, 61, 114, 0.28);
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.form-control:focus,
.form-select:focus {
    border-color: #4D65F9;
    box-shadow: 0 0 0 0.12rem rgba(77, 101, 249, 0.14);
}

@media (max-width: 991.98px) {
    .site-header .topbar {
        display: none !important;
    }

    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: 460px;
    }

    .gallery-grid .gallery-featured {
        min-height: 260px;
    }
}
/*** School Redesign End ***/

/*** Round 3 Redesign Start ***/
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    border-bottom: 0 !important;
}

.site-header .container.px-0 {
    border-radius: 0 0 var(--school-radius) var(--school-radius);
    transition: background-color .25s ease, border-color .25s ease;
}

.site-header .navbar .navbar-nav .nav-link,
.site-header .navbar .navbar-brand h1,
.site-header .navbar .dropdown-toggle::after,
.site-header .school-brand-title,
.site-header .school-brand-subtitle,
.site-header .school-brand-badge {
    color: #FFFFFF !important;
}

.site-header .navbar .navbar-toggler .fa-bars {
    color: #FFFFFF !important;
}

.site-header.scrolled .container.px-0 {
    border-top: 0;
}

.site-header.scrolled .navbar .navbar-nav .nav-link,
.site-header.scrolled .navbar .navbar-brand h1,
.site-header.scrolled .navbar .dropdown-toggle::after,
.site-header.scrolled .school-brand-title,
.site-header.scrolled .school-brand-subtitle,
.site-header.scrolled .school-brand-badge {
    color: #1D2752 !important;
}

.site-header.scrolled .navbar .navbar-toggler .fa-bars {
    color: var(--bs-primary) !important;
}

.page-header {
    padding-top: 10rem !important;
}

.hero-carousel .carousel-item,
.hero-slide {
    min-height: 700px;
}

.hero-slide .container {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}

.hero-card-indicators {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 1.25rem;
    margin: 0;
    gap: .65rem;
}

.hero-card-indicators .hero-indicator-card {
    width: 100%;
    height: auto;
    text-indent: 0;
    margin: 0;
    background: white;
    color: #1D2752;
    padding: .65rem .75rem;
    opacity: 1;
}

.hero-indicator-title {
    display: block;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: .2rem;
}

.hero-indicator-text {
    display: block;
    font-size: .78rem;
    line-height: 1.3;
}

.hero-card-indicators .hero-indicator-card.active {
    background: #4d65f9;
    border-color: #4d65f9;
    color: white;
    border-bottom: solid 5px #4d65f9;
}


.hero-first-cta {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .55s ease, transform .55s ease;
}

.hero-first-cta.is-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.hero-first-content .hero-seq {
    opacity: 0;
    transform: translateY(14px);
}

@keyframes heroSeqIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSeqOut {
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.hero-first-content.is-reveal .hero-seq-kicker {
    animation: heroSeqIn .45s ease forwards;
    animation-delay: .05s;
}

.hero-first-content.is-reveal .hero-seq-title {
    animation: heroSeqIn .45s ease forwards;
    animation-delay: .25s;
}

.hero-first-content.is-reveal .hero-seq-text {
    animation: heroSeqIn .45s ease forwards;
    animation-delay: .45s;
}

.hero-first-content.is-reveal .hero-seq-cta {
    animation: heroSeqIn .45s ease forwards;
    animation-delay: .65s;
}

.hero-first-content.is-hidden .hero-seq {
    animation-name: heroSeqOut !important;
    animation-duration: .42s !important;
    animation-fill-mode: forwards !important;
    animation-timing-function: ease !important;
}

.hero-first-content.is-hidden .hero-seq-kicker {
    animation-delay: 0s !important;
}

.hero-first-content.is-hidden .hero-seq-title {
    animation-delay: .2s !important;
}

.hero-first-content.is-hidden .hero-seq-text {
    animation-delay: .4s !important;
}

.hero-first-content.is-hidden .hero-seq-cta {
    animation-delay: .6s !important;
}

.hero-first-content.is-hidden .hero-seq-cta {
    pointer-events: none;
}

.hero-cta-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid #FFFFFF !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    isolation: isolate;
}

.hero-cta-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #FFFFFF;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    z-index: 0;
}

.hero-cta-btn > span {
    position: relative;
    z-index: 1;
}

.hero-cta-btn:hover::before {
    transform: scaleX(1);
}

.hero-cta-btn:hover {
    color: #1D2752 !important;
    background: transparent !important;
    border-color: #FFFFFF !important;
}

.about-feature-card,
.about-tabs-shell,
.about-side-media {
    background: #FFFFFF;
    border: 0;
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
}

.about-feature-card i {
    font-size: 1.35rem;
    margin-bottom: .65rem;
}

.about-tabs {
    border-bottom: 0;
    gap: .2rem;
}

.about-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--school-ink-soft);
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    padding: .4rem .7rem;
}

.about-tabs .nav-link.active {
    color: var(--bs-primary);
    background: transparent;
    border-bottom-color: var(--bs-primary);
}

.about-list {
    padding-left: 1rem;
}

.about-side-media {
    padding: 0;
    overflow: hidden;
}

.about-side-media img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.about-side-content {
    padding: 1rem 1.1rem 1.2rem;
}

.academics-page .academics-card,
.academics-dept-card,
.academics-media-card,
.academics-extra-card {
    background: #FFFFFF;
    border: 0;
    border-radius: 12px;
    height: 100%;
}

.academics-page .academics-card .service-content {
    display: block;
}

.academics-dept-card {
    padding: 1rem;
}

.academics-dept-card h5 {
    margin-bottom: .5rem;
}

.academics-media-card {
    overflow: hidden;
}

.academics-media-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.academics-extra-card {
    padding: 1.2rem;
}

.community-card,
.community-image-card {
    background: #FFFFFF;
    border: 0;
    border-radius: 12px;
    padding: 1.2rem;
    height: 100%;
}

.community-image-card {
    padding: 0;
    overflow: hidden;
}

.community-image-card img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.community-objectives {
    background: #F5F8FF;
}

.teachers-card {
    background: #FFFFFF;
    border: 0 !important;
    border-radius: 12px;
    overflow: hidden;
}

.teachers-card .team-icon,
.teachers-page .share,
.teachers-page .share-link {
    display: none !important;
}

.teachers-info-card {
    background: #FFFFFF;
    border: 0;
    border-radius: 12px;
    padding: 1.15rem;
}

@media (max-width: 991.98px) {
    .hero-card-indicators {
        display: none;
    }

    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: 560px;
    }

    .hero-slide .container {
        height: 100vh;
        padding-top: 7.8rem !important;
        padding-bottom: 8rem !important;
    }

    .page-header {
        padding-top: 8.8rem !important;
    }
}
/*** Round 3 Redesign End ***/

/*** Round 4 Refinements Start ***/
.site-header .navbar .navbar-nav .nav-link {
    position: relative;
    padding-bottom: .55rem;
}

.site-header .navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: .2rem;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .22s ease;
}

.site-header .navbar .navbar-nav .nav-link:hover::after,
.site-header .navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.site-header .navbar .dropdown-menu .dropdown-item.active {
    background: rgba(77, 101, 249, 0.14);
    color: var(--bs-primary);
    font-weight: 600;
}

.site-header.menu-open .container.px-0 {
    background: #FFFFFF;
    border: 1px solid var(--school-border);
    border-top: 0;
}

.site-header.menu-open .navbar .navbar-nav .nav-link,
.site-header.menu-open .navbar .navbar-brand h1,
.site-header.menu-open .navbar .dropdown-toggle::after,
.site-header.menu-open .school-brand-title,
.site-header.menu-open .school-brand-subtitle,
.site-header.menu-open .school-brand-badge {
    color: #1D2752 !important;
}

.site-header.menu-open .navbar .navbar-toggler .fa-bars {
    color: var(--bs-primary) !important;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.32);
}

.footer .footer-item .d-flex.flex-column.align-items-start a {
    width: 100%;
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    padding: .6rem .7rem;
    margin-bottom: .55rem !important;
    border: 1px solid rgba(57, 61, 114, 0.16);
    border-radius: 10px;
    line-height: 1.35;
}

.footer .footer-item .d-flex.flex-column.align-items-start a i {
    margin-top: .1rem;
}

.footer .footer-item .d-flex.flex-column.align-items-start a:hover {
    background: rgba(77, 101, 249, 0.08);
    border-color: rgba(77, 101, 249, 0.28);
}

.about-speech-card,
.about-teachers-shell {
    background: #FFFFFF;
    border: 0;
    border-radius: 12px;
    padding: 1.35rem;
    box-shadow: var(--school-shadow);
}

.about-speech-card img {
    width: 100%;
    min-height: 240px;
    object-fit: cover;
}

.headteacher-signoff {
    display: inline-block;
    margin-top: .8rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    color: var(--bs-primary);
}

.about-teacher-card {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: var(--school-shadow);
}

.about-teacher-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.about-teacher-meta {
    padding: .95rem 1rem 1.1rem;
}

.about-teacher-meta h5 {
    margin-bottom: .25rem;
    font-size: 1rem;
}

.about-teacher-meta p {
    color: var(--school-ink-soft);
}

.about-teacher-note {
    margin-top: 1rem;
    border-top: 1px solid rgba(57, 61, 114, 0.15);
    padding-top: .85rem;
}

.program-fees-page {
    position: relative;
}

.program-fees-hero,
.fees-section-card,
.fees-summary-card,
.fees-note-card,
.program-fees-note {
    background: #FFFFFF;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
}

.program-fees-hero {
    padding: 1.5rem;
}

.program-fees-kicker {
    display: inline-block;
    margin-bottom: .75rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.program-fees-note,
.fees-summary-card,
.fees-note-card {
    padding: 1.1rem;
}

.fees-summary-card h5,
.fees-note-card h4,
.fees-section-card h3 {
    font-family: 'Poppins', Arial, sans-serif;
}

.fees-summary-card {
    height: 100%;
}

.fees-summary-card p,
.program-fees-note p,
.fees-note-card p,
.fees-note-item span {
    color: var(--school-ink-soft);
}

.fees-table {
    margin-bottom: 0;
}

.fees-table thead th {
    background: #1D2752;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82rem;
}

.fees-table tbody td {
    font-size: .96rem;
    color: var(--school-ink);
}

.fees-table th,
.fees-table td {
    text-align: center;
    padding: .9rem .85rem;
}

.fees-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    background: rgba(77, 101, 249, 0.12);
    color: var(--bs-primary);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem .7rem;
}

.fees-note-list {
    padding-left: 1rem;
}

.fees-note-list li {
    margin-bottom: .4rem;
}

.fees-note-item {
    display: grid;
    gap: .2rem;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(57, 61, 114, 0.12);
}

.fees-note-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 991.98px) {
    .school-brand-badge {
        width: 4.5rem;
        height: 4.8rem;
    }

    .school-brand-title {
        font-size: .88rem;
    }

    .school-brand-subtitle {
        font-size: .6rem;
        letter-spacing: .14em;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 14%;
        opacity: 1;
    }

    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        width: 2.2rem;
        height: 2.2rem;
        background-color: rgba(29, 39, 82, 0.56);
    }

    .site-header.menu-open .container.px-0 {
        border-radius: 0;
    }
}

@media (max-width: 575.98px) {
    .school-brand {
        gap: .55rem;
    }

    .school-brand-badge {
        width: 2.3rem;
        height: 2.55rem;
    }

    .school-brand-subtitle {
        font-size: .5rem;
        letter-spacing: .11em;
    }

    .footer-brand-badge {
        width: 2.35rem;
        height: 2.7rem;
    }

    .program-fees-hero {
        padding: 1.2rem;
    }
}
/*** Round 4 Refinements End ***/
