

:root {
    --glass-bg1: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary-green: rgb(85, 139, 47);
    --custom-red: rgb(194, 59, 56);
    --facility-card-bg: #e7ecd0;
    --gold-pure: #b8860b;
    --alabaster: #fdfdfd;
    --glass-bg: rgba(255, 255, 255, 0.94);
    --glass-card-bg: rgba(255, 255, 255, 0.55);
    --white: #ffffff;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: #f9f7f2;
    margin: 0;
    overflow-x: clip;
    touch-action: pan-y;
}


.active, .mobile-nav-link.active {
    color: var(--primary-green) !important;
}

.text-accent-gold {
    color: #ffcc00 !important;
}

.text-accent-yellow {
    color: #ffe386 !important;
}

.bg-primary-green {
    background-color: var(--primary-green) !important;
}

.font-syncopate {
    font-family: "Syncopate", sans-serif !important;
}

.font-cinzel {
    font-family: "Cinzel", Georgia, serif !important;
}

/* --- Header & Layout --- */
.sanctuary-header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.utility-tier {
    width: 75%;
    background: var(--primary-green);
    height: 32px;
    border-radius: 40px 40px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    margin: 0 auto;
}

.utility-tier .cursor-pointer:hover {
    color: #ffcc00;
    transition: 0.3s ease;
}

.outer-halo {
    position: relative;
    padding: 8px;
    border: 2px solid var(--primary-green);
    border-radius: 20px 20px 80px 80px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    width: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.inner-bar {
    background: #e7ecd0;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 15px 15px 75px 75px;
    position: relative;
    padding: 0 30px;
    border-top: 4px solid var(--primary-green);
}

.logo-sanctuary {
    width: 105px;
    height: 105px;
    background: #e7ecd0;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -42%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px var(--primary-green), 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.logo-sanctuary img {
    width: 88%;
    height: 88%;
    object-fit: contain;
}

.nav-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.nav-side {
    display: flex;
    align-items: center;
    width: 40%;
    gap: 8px;
}

.nav-item-wrapper {
    position: relative;
    padding: 20px 0;
}

.sanctuary-link {
    text-decoration: none !important;
    color: var(--primary-green) !important;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    padding: 8px 12px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sanctuary-link:hover {
    color: var(--custom-red) !important;
}

.sanctuary-dropdown {
    position: absolute;
    top: 90%;
    left: 0;
    min-width: 240px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid var(--primary-green);
    box-shadow: 0 20px 40px rgba(85, 139, 47, 0.12);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1002;
}

.nav-item-wrapper:hover .sanctuary-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 12px;
    transition: 0.3s;
}

.dropdown-link:hover {
    background: white;
    color: var(--custom-red);
    transform: translateX(8px);
}

.action-cell {
    background: var(--primary-green);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    margin-left: 10px;
    transition: 0.3s;
}

.action-cell:hover {
    background: var(--custom-red) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.mobile-header-container {
    display: none;
    padding: 10px 15px;
    position: relative;
    height: 90px;
}

.mobile-brand-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 8px 10px 8px 75px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    height: 65px;
    margin-top: 5px;
    position: relative;
    z-index: 5;
}

.mobile-logo {
    height: 55px;
    position: absolute;
    left: 5px;
    z-index: 10;
}

.mobile-school-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-green);
    white-space: nowrap;
}

.mobile-location {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--custom-brown);
    text-transform: uppercase;
}

.mobile-brand-box .navbar-toggler {
    padding: 8px 12px;
    border-radius: 12px;
    background-color: rgba(85, 139, 47, 0.1);
    transition: all 0.3s ease;
}

.mobile-brand-box .navbar-toggler:hover {
    background-color: var(--primary-green);
}

.mobile-brand-box .navbar-toggler i {
    font-size: 1.6rem !important;
    color: var(--primary-green) !important;
    transition: color 0.3s ease;
}

.mobile-brand-box .navbar-toggler:hover i {
    color: #ffffff !important;
}

.offcanvas {
    background-color: var(--primary-green);
    color: white;
}

.mobile-nav-link {
    color: white !important;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .sanctuary-header {
        display: none !important;
    }

    .mobile-header-container {
        display: block !important;
        position: fixed !important;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        z-index: 1000;
        padding-top: 10px;
        max-width: 500px;
    }
}

/* Hero section */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #0d1b2a;
    color: #fff;
}

.mySwiper {
    width: 100%;
    height: 100vh;
}

.slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.content-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
}

.heading-xl {
    font-family: "Syncopate", sans-serif;
    font-size: 3rem;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.nav-hub {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    background: var(--glass-bg1);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.nav-btn:hover {
    background: var(--primary-green);
    color: #fff;
}

.pag-container {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pag-bullet {
    width: 2px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
}

.pag-bullet-active {
    background: var(--primary-green);
    height: 70px;
}

/* About Section */
.about-section {
    padding: 60px 0;
    position: relative;
    background: #fdfdfd;
}

.heritage-badge {
    background: var(--primary-green);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-weight: 600;
}

.main-headline {
    font-size: 3rem;
    color: var(--dark-blue);
    line-height: 1.2;
    margin-bottom: 20px;
}

.description {
    font-size: 1.05rem;
    color: #555;
    max-width: 580px;
    margin-bottom: 30px;
    text-align: justify;
}

.feature-tile {
    background: rgba(85, 139, 47, 0.05);
    border: 1px solid rgba(85, 139, 47, 0.15);
    padding: 15px;
    border-radius: 16px;
    height: 100%;
    display: flex;
    align-items: center;
}

.icon-box {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 15px;
    background: rgba(85, 139, 47, 0.15);
    color: var(--primary-green);
}

.btn-group-custom {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-santhome-primary {
    background: var(--primary-green);
    color: white;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(85, 139, 47, 0.2);
    cursor: pointer;
    border: none;
}

.btn-santhome-primary:hover {
    background: var(--custom-red);
    color: white;
}

.btn-santhome-outline {
    border: 2px solid var(--primary-green);
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
}

.btn-santhome-outline:hover {
    background: var(--primary-green);
    color: #fff;
}

.collage-container {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border: 6px solid #fff;
}

.photo img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo:hover img {
    transform: scale(1.1);
}

.img-main {
    width: 340px;
    height: 420px;
    z-index: 5;
    top: 15%;
    left: 20%;
}

.img-lab {
    width: 210px;
    height: 190px;
    top: 0;
    left: 0;
    z-index: 2;
}

.img-sports {
    width: 260px;
    height: 210px;
    top: 8%;
    right: 0;
    z-index: 3;
}

.img-art {
    width: 230px;
    height: 190px;
    bottom: 0;
    left: 5%;
    z-index: 4;
}

.img-group {
    width: 290px;
    height: 210px;
    bottom: 5%;
    right: 5%;
    z-index: 6;
}

/* --- News Section --- */
.news-section {
    width: 100%;
    background: var(--primary-green);
    padding: 15px 40px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 4px solid var(--dark-blue);
    gap: 20px;
}

.news-sidebar {
    width: 180px;
    flex-shrink: 0;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-align: left;
}

.news-sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.news-view-all-btn {
    font-size: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.news-swiper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    backface-visibility: hidden;
}

.news-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    width: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 15px;
}

.news-date-box {
    text-align: center;
    padding-right: 15px;
    flex-shrink: 0;
}

.news-date-month {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    display: block;
}

.news-date-day {
    font-size: 1.1rem;
    font-weight: 700;
}

.news-text {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Message / Leadership Section */
.message-desk-section {
    background-color: var(--primary-green);
    padding: 60px 0;
}

.etched-header {
    padding-bottom: 30px;
    display: inline-block;
}

.etched-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    position: relative;
    letter-spacing: -2px;
}

.small-tag {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.5rem;
    color: #ffcc00;
    margin-bottom: -5px;
    font-weight: bold;
}

.nav-pills-custom .nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    text-align: left;
    margin-bottom: 10px;
    color: #fff;
}

.nav-pills-custom .nav-link img {
    width: 90px;
    height: 90px;
    border-radius: 50px;
    object-fit: cover;
    filter: grayscale(100%);
}

.nav-pills-custom .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-pills-custom .nav-link.active img {
    filter: grayscale(0%);
    border: 2px solid #fff;
}

.message-body-p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid #ffcc00;
}

.signature-name {
    font-family: "Georgia", serif;
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.signature-role {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffcc00;
    letter-spacing: 2px;
}
.message-img-frame{
   width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 30px 10px 30px 10px;
  border: 5px solid white;
}
.message-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 10px 30px 10px;
    border: 5px solid white;
}

/* Gallery Section */
.section-about {
    padding: 60px 0;
    background: #f9f7f2;
}

.etched-title1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin: 0;
}

.small-tag1 {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.5rem;
    color: var(--primary-green);
    margin-bottom: -5px;
    font-weight: bold;
}

.editorial-showcase-box {
    background: rgb(231, 236, 208);
    backdrop-filter: blur(30px);
    border: 1px solid var(--primary-green);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 40px 100px rgba(85, 139, 47, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.album-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    padding: 6px 16px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: rgba(85, 139, 47, 0.05);
    border-radius: 50px;
    align-self: flex-start;
}

.showcase-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.2;
}

.showcase-date {
    font-size: 0.8rem;
    color: var(--primary-green);
    letter-spacing: 1px;
    font-weight: 700;
}

.showcase-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.showcase-action-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.btn-editorial-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--dark-blue);
    padding-bottom: 4px;
    transition: 0.3s;
}

.btn-editorial-explore:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.editorial-nav-btn {
    display: flex;
    gap: 10px;
}

.edi-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.edi-arrow:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}

.mosaic-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mosaic-main-img {
    width: 100%;
    height: 340px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.mosaic-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mosaic-thumbnails {
    display: flex;
    gap: 15px;
}

.mosaic-thumb {
    flex: 1;
    height: 130px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mosaic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mosaic-thumb:hover img, .mosaic-main-img img:hover {
    transform: scale(1.05);
}

/* --- Children / Quick Links Section --- */
.children-sec {
    position: relative;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.94), rgba(30, 61, 88, 0.90)), url('../image/footer.jpeg') center/cover no-repeat;
    padding: 60px 0 70px 0;
    color: white;
    overflow: hidden;
}

.pdfour h2 {
    font-family: "Cinzel", Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 650px;
}

.pdfour p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 580px;
    margin-bottom: 35px;
    line-height: 1.6;
}

.box.box1 {
    background: rgb(85, 139, 47);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    height: 180px;
    width: 100%;
}

.box.box1:hover {
    background: #bd4549;
    border-color: #ffcc00;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.icon-card-box {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: 0.3s ease;
}

.box.box1:hover .icon-card-box {
    background: #fff;
    color: var(--primary-green);
}

.box.box1 img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.box.box1:hover img {
    filter: none;
}

.box.box1 p {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.3;
}

.more1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #558B2F;
    color: #ffffff !important;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 35px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.more1:hover {
    background: #bd4549;
    transform: translateY(-3px);
}

.more1 img {
    width: 16px;
    filter: brightness(0) invert(1);
}

.student-size {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    max-width: 100%;
    height: 380px;
    object-fit: cover;
    z-index: 5;
}

/* --- Achievements & School Facilities Section --- */
.achfac-section {
    padding: 60px 0;
    background: #f9f7f2;
}

.achfac-card-box {
    background: #e7ecd0;
    border-radius: 30px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.achfac-title {
    font-family: "Cinzel", Georgia, serif;
    font-size: 2rem;
    font-weight: 800;
    color: #0b3558;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 25px;
}

/* Swiper layout fixes for Achievements & Facilities */
.achfac-achievementSwiper,
.achfac-facilitySwiper {
    width: 100%;
    overflow: hidden;
}

.achfac-achievementSwiper .swiper-slide,
.achfac-facilitySwiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.achfac-item-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.achfac-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.achfac-item-card:hover img {
    transform: scale(1.05);
}

.achfac-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    color: #fff;
}

.achfac-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.achfac-arrow-btn {
    width: 45px;
    height: 45px;
    background: rgb(85, 139, 47);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(2, 117, 216, 0.3);
}

.achfac-arrow-btn:hover {
    background: #bd4549;
    transform: scale(1.08);
}

.achfac-action-btn {
    background: rgb(85, 139, 47);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(2, 117, 216, 0.3);
}

.achfac-action-btn:hover {
    background: #bd4549;
    color: #fff;
    transform: translateY(-2px);
}


/* For smaller mobile devices (410px width and below) */
@media (max-width: 410px) {
    .student-size {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 280px;
        margin-top: 40px;
        display: block;
    }
}

/* For larger phones and tablets (from 411px up to 1280px) */
@media (min-width: 411px) and (max-width: 1100px) {
    .student-size {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 530px;
        margin-top: 40px;
        display: block;
    }
}

/* Site Footer */
.site-footer {
    background-color: var(--primary-green);
    color: #ffffff;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.footer-wave .shape-fill {
    fill: #ffffff;
}

.footer-brand .logo-box {
    width: 85px;
    height: 85px;
    background: #fff;
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 3px solid var(--gold-pure);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.footer-brand .logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand h2 {
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 14px;
}

.footer-brand h2 span {
    color: #ffcc00;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-brand p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    max-width: 360px;
}

.f-heading {
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffcc00;
    letter-spacing: 1px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.f-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ffcc00;
}

.f-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.f-links li {
    margin-bottom: 12px;
}

.f-links li a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.f-links li a i {
    font-size: 0.65rem;
    color: #ffcc00;
    transition: 0.3s;
}

.f-links li a:hover {
    color: #ffcc00;
    transform: translateX(5px);
}

.c-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.c-item i {
    color: #ffcc00;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.c-item p {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-row a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffcc00;
    color: #fff;
    transform: translateY(-2px);
}

.map-container {
    width: 100%;
    height: 135px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 14px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.store-btns {
    display: flex;
    gap: 10px;
}

.store-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffcc00;
    color: #fff;
    transform: translateY(-2px);
}

.store-btn i {
    font-size: 1.35rem;
    color: #fff;
}

.store-btn div {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.store-btn span {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.store-btn b {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
}

.school-frame {
    position: relative;
    width: 100%;
    margin-top: 25px;
    line-height: 0;
}

.school-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(to bottom, var(--primary-green) 5%, rgba(85, 139, 47, 0.65) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.school-frame img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 100%);
}

.school-frame .bottom-bar {
    position: relative;
    z-index: 3;
    background: rgb(65, 108, 35);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 15px;
    text-align: center;
    line-height: 1.5;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Back-to-Top Button */
#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 45px;
    height: 45px;
    background-color: var(--primary-green);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#backToTopBtn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .heading-xl {
        font-size: 2.1rem;
    }

    .content-overlay {
        padding: 0 5%;
        text-align: center;
        align-items: center;
    }

    .content-overlay p {
        max-width: 100% !important;
        font-size: 0.9rem;
    }

    .nav-hub {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        gap: 12px;
    }

    .pag-container {
        display: none;
    }

    .news-section {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }

    .news-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .news-swiper {
        width: 100%;
    }

    .about-section {
        padding: 60px 0;
    }

    .main-headline {
        font-size: 2.2rem;
    }

    .collage-container {
        height: 420px;
        margin-top: 30px;
    }

    .img-main {
        width: 220px;
        height: 280px;
        top: 10%;
        left: 15%;
    }

    .img-lab {
        width: 140px;
        height: 130px;
        top: 0;
        left: 0;
    }

    .img-sports {
        width: 160px;
        height: 140px;
        top: 5%;
        right: 0;
    }

    .img-art {
        width: 150px;
        height: 120px;
        bottom: 0;
        left: 10%;
    }

    .img-group {
        width: 180px;
        height: 130px;
        bottom: 5%;
        right: 5%;
    }

    .etched-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .nav-pills-custom {
        flex-direction: row !important;
        justify-content: center;
        margin-bottom: 25px;
    }

    .nav-pills-custom .nav-link {
        flex-direction: column;
        text-align: center;
    }

    .message-body-p {
        padding-left: 10px;
        font-size: 0.95rem;
    }

    .etched-title1 {
        font-size: 2.2rem;
    }

    .editorial-showcase-box {
        padding: 25px;
    }

    .showcase-heading {
        font-size: 1.5rem;
    }

    .mosaic-main-img {
        height: 240px;
    }

    .mosaic-thumb {
        height: 90px;
    }

    .children-sec {
        padding: 50px 15px;
    }

    .site-footer {
        padding-top: 70px;
    }

    .store-btns {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .heading-xl {
        font-size: 1.75rem;
    }

    .main-headline {
        font-size: 1.8rem;
    }

    .collage-container {
        height: 350px;
    }

    .img-main {
        width: 180px;
        height: 230px;
    }

    .img-lab {
        width: 110px;
        height: 100px;
    }

    .img-sports {
        width: 120px;
        height: 110px;
    }

    .img-art {
        width: 110px;
        height: 90px;
    }

    .img-group {
        width: 130px;
        height: 100px;
    }

    .btn-group-custom {
        flex-direction: column;
    }

    .btn-santhome-primary, .btn-santhome-outline {
        text-align: center;
    }
}

/* ================================Page Css======================================= */
/* ============================================================================== */

/* Banners & Overlays */
.universal-banner,
.hero-banner {
    background: rgb(85, 139, 47);
    height: 430px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--custom-brown, #8d6e63);
    opacity: 0.75;
    z-index: 1;
    /* Sits behind the content */
}

/* ============================================================================== */
/* Enhanced Banner & Title Design */
/* ============================================================================== */

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

/* Upgraded Page Title */
.banner-content h1 {
    font-size: 2.5rem;
    /* Larger, more impactful */
    font-weight: 800;
    color: var(--white, #ffffff);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    /* Text pop */
    margin-bottom: 15px;
}

/* Glowing Green/Gold Gradient Separator */
.heading-separator {
    width: 100px;
    height: 5px;
    background: #fecb00;
    border-radius: 5px;
    margin: 0 auto 25px;
    /* Adds a vibrant green/gold glow */
}

/* Footer layout for lines and pill */
.banner-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

/* Fading Green/Gold Lines on the sides */
.decorative-line {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--primary-green, #558b2f), transparent);
}

/* Glassmorphism Description/Location Pill */
.location-tag {
    margin: 0;
    padding: 5px 10px;
    background: rgba(141, 110, 99, 0.6);
    /* Brown tint matching theme */
    backdrop-filter: blur(8px);
    /* Modern frosted glass effect */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(184, 134, 11, 0.5);
    /* Gold border */
    border-radius: 40px;
    color: var(--white, #ffffff);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for banner on mobile */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .decorative-line {
        display: none;
        /* Hide side lines on small screens to save space */
    }

    .location-tag {
        font-size: 0.95rem;
        padding: 8px 18px;
    }
}

/* ============================================================================== */
/* General Content Styles */
/* ============================================================================== */

.about-content {
    padding: 60px 0px;
    background: #fff;
}

.page-heading {
    text-transform: uppercase;
    position: relative;
    color: var(--custom-red, #c23b38);
    font-weight: 700;
}

.about-quote {
    text-transform: uppercase;
    position: relative;
    color: var(--custom-red, #c23b38);
    font-weight: 600;
}

.yellow-divider {
    width: 200px;
    height: 6px;
    background: linear-gradient(90deg, var(--gold-pure, #b8860b), var(--custom-brown, #8d6e63));
    margin: 10px auto;
    border-radius: 1px;
}

/* Swiper full size */
.heroSwiper {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.heroSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================== */
/* Cards */
/* ============================================================================== */
.custom-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--card-radius, 8px);
    border: 1px solid rgba(85, 139, 47, 0.2);
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(85, 139, 47, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: var(--card-radius, 8px);
    border-top-right-radius: var(--card-radius, 8px);
}

/* ============================================================================== */
/* Lists */
/* ============================================================================== */
.list-styling-arrow {
    padding: 0% 0% 0% 1%;
    margin: 0;
}

.list-styling-arrow li {
    position: relative;
    line-height: 28px;
    padding: 0px 0 0px 32px;
    list-style: none;
    margin: 8px 0;
    color: var(--custom-brown, #1c1c1c);
}

.list-styling-arrow li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 14px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green, #558b2f);
    color: var(--white, #ffffff);
    font-size: 11px;
    border-radius: 20px;
}

ol li {
    line-height: 28px;
    padding: 0px !important;
    list-style-type: disc !important;
    background: none !important;
    list-style: none;
    margin: 8px 0px;
    vertical-align: middle;
    color: var(--custom-brown, #1c1c1c);
}

/* ============================================================================== */
/* Tables */
/* ============================================================================== */
thead th {
    background: #558b2f !important;
    color: var(--white, #ffffff) !important;
    border-color: rgb(255, 255, 255) !important;
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
}

table td {
    font-size: 15px;
    background: #e7ecd0 !important;
    color: var(--custom-brown, #1c1c1c);
    border-color: rgb(255, 255, 255);
}
.action-cell-page {
    background: var(--primary-green);
  color: white !important;
  padding: 5px 15px !important;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  margin-left: 10px;
  transition: 0.3s;
  padding: 10px;
}
.action-cell-page:hover {
  background: var(--custom-red) !important;
  color: #ffffff !important;
  transform: translateY(-3px)
}

/* ============================================================================== */
/* Accordion */
/* ============================================================================== */

.accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 10px;
}

/* Default ALL buttons (Green/Brown Gradient theme) */
.accordion-button {
    background:#558b2f !important;
    color: var(--white, #ffffff);
    border-radius: 10px !important;
    padding: 15px 20px;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

/* Remove Bootstrap arrow */
.accordion-button::after {
    display: none;
}

/* Arrow */
.arrow-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: var(--white, #ffffff);
}

/* Rotate when open */
.accordion-button:not(.collapsed) .arrow-icon {
    transform: rotate(180deg);
}

/* OPEN STATE HEADER (Gold background with dark/brown text) */
.accordion-button:not(.collapsed) {
    border-radius: 10px 10px 0 0 !important;
    background: var(--gold-pure, #b8860b);
    color: var(--white, #ffffff);
}

/* Arrow color updates when open */
.accordion-button:not(.collapsed) .arrow-icon {
    color: var(--white, #ffffff);
}

/* BODY STYLE */
.accordion-body {
    background: var(--facility-card-bg, #e7ecd0);
    border: 1px solid rgba(85, 139, 47, 0.2);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 20px;
    color: black;
}

/* Remove gap between header & body */
.accordion-collapse {
    border: none;
    margin-top: -5px;
}

.accordion-button:focus {
    box-shadow: none;
}