/* =========================================================
   GLOBAL RESET & BASICS
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    scroll-padding-top: 110px;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

html::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.44)), var(--bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(2px);
    transform: scale(1.03);
    z-index: -2;
    pointer-events: none;
    opacity: 0.9;
}

.page-wrapper {
    position: relative;
    z-index: 1;
}

/* =========================================================
   HEADER & NAVIGATION SYSTEM
========================================================= */
.top-bar {
    background: #b50704;
    padding: 0.8rem clamp(1rem, 5vw, 9rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.top-bar-left, 
.top-bar-right {
    display: flex;
    gap: 2rem;
    color: white;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header {
    background: rgba(255, 255, 255, 0.96);
    padding: 2rem clamp(1rem, 5vw, 9rem);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999999;
    backdrop-filter: blur(6px);
    transition: box-shadow 0.2s ease, height 0.2s ease;
    will-change: height;
}

header > * {
    transition: transform 0.2s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.logo-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text h1 {
    font-family: 'Salsa', cursive;
    letter-spacing: 1px;
    font-size: 2rem;
    background: linear-gradient(135deg, #bc1a02, #4d0c07);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 22px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #bc1a02;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #bc1a02;
}

nav a::before {
    content: "";
    position: absolute;
    top: 0;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    color: currentColor;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

nav a[data-icon="fa-house"]::before { content: "\f015"; }
nav a[data-icon="fa-school"]::before { content: "\f549"; }
nav a[data-icon="fa-book"]::before { content: "\f02d"; }
nav a[data-icon="fa-chalkboard-teacher"]::before { content: "\f51c"; }
nav a[data-icon="fa-phone"]::before { content: "\f095"; }
nav a[data-icon="fa-images"]::before { content: "\f302"; }
nav a[data-icon="fa-blog"]::before { content: "\f781"; }

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    list-style: none;
    padding: 6px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 99999;
    gap: 0 !important;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    color: #333;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
    margin: 0 !important;
    width: 8rem;
}

.dropdown-menu li a i {
    color: #bc1a02;
    font-size: 1rem;
}

.dropdown-menu li a:hover {
    background: rgba(188, 26, 2, 0.08);
    color: #bc1a02;
}

.enroll-btn {
    background: linear-gradient(135deg, #bc1a02, #4d0c07);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

.enroll-btn::after {
    display: none;
}

/* =========================================================
   HERO DISPLAY PANELS
========================================================= */
.hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.499));
    padding: 2rem clamp(1rem, 5vw, 9rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-content h2 {
    font-family: 'Salsa', cursive;
    letter-spacing: 1px;
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content .highlight {
    color: #bc1a02;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-bg,
.hero-img-about-bg {
    width: 600px;
    height: 100%;
    background: linear-gradient(135deg, #fcb2a7, #e62406);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 60px 20px;
}

.hero-img-bg {
    animation: morph 8s ease-in-out infinite;
    background-image: url("../images/home-img.png");
}

.hero-img-about-bg {
    background-image: url("../images/aboutus.png");
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-item {
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.float-item:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.float-item:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.float-item:nth-child(3) { bottom: 15%; left: 15%; animation-delay: 2s; }
.float-item:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* =========================================================
   INNER PAGES HERO SECTION
========================================================= */
.inner-hero {
    position: relative;
    min-height: 280px;
    max-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 2rem clamp(1rem, 5vw, 9rem);
    margin-bottom: 0;
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: 65% auto;
    background-position: right 35%;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.88);
    filter: saturate(1.05) brightness(0.95);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 65%, rgba(0,0,0,0.85) 70%, rgba(0,0,0,0.55) 85%, rgba(0,0,0,0) 90%);
}

.inner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 35%, rgba(255,255,255,0.4) 100%);
}

.inner-hero .hero-content {
    position: relative;
    z-index: 10;
    padding: 0;
    margin: 0;
    max-width: 300rem;
    transform: translateY(-5px);
}

.inner-hero .hero-content h2 {
    font-family: 'Salsa', cursive;
    font-size: 2.8rem;
    color: #704825;
    margin-bottom: 0.6rem;
    line-height: 1.2;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

.inner-hero .hero-content h2 span {
    color: #bc1a02;
}

.inner-hero .hero-content p {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.6;
    font-weight: 500;
    max-width: 90%;
}

.hero-academics::before { background-position: right 55%; }
.hero-teachers::before  { background-position: right 25%; }
.hero-blog::before      { background-position: right 45%; }
.hero-privacy::before   { background-position: right 43%; }
.hero-programs::before  { background-position: right 65%; }

/* =========================================================
   INTERACTIVE REUSABLE BUTTONS
========================================================= */
.btn-primary {
    background: linear-gradient(135deg, #bc1a02, #4d0c07);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
}

.btn-secondary {
    background: white;
    color: #bc1a02;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #bc1a02;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #bc1a02;
    color: white;
}

.btn-white {
    background: white;
    color: #bc1a02;
    padding: 1.1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s;
}

.btn-white:hover {
    transform: scale(1.05);
}

.small-btn {
    background: #704825;
    color: #fff !important;
    padding: 10px 24px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    text-decoration: none;
    border-radius: 12px;
    display: inline-block;
}

.small-btn:hover {
    background: #bc1a02;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(188, 26, 2, 0.2);
}

/* =========================================================
   AWARDS & DUAL CORES LAYOUT SPLITS
========================================================= */
.modern-split {
    padding: 60px 0;
}

.split-container {
    display: flex;
    /*grid-template-columns: 1fr 1fr;*/
    gap: 18px;
}

.split-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.split-column {
    display: flex;
}

.achievement-card,
.event-card,
.notice-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.achievements-column {
    background: #ffffff;
    padding: 15px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(188, 26, 2, 0.22);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, background 0.45s ease;
    will-change: transform;
}

.achievements-column:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 26px 55px rgba(188, 26, 2, 0.26), 0 10px 24px rgba(0, 0, 0, 0.08);
}

.split-right {
    display: flex;
}

.achieve-title {
    font-family: 'Salsa', cursive;
    letter-spacing: 1px;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* =========================================================
   COMPACT PREMIUM ACHIEVEMENTS
========================================================= */
.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.achievement-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 9px;
    min-height: auto;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(145deg, #ffffff, #fff8f4);
    border: 1.5px solid rgba(255, 214, 190, 0.42);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04), 0 4px 10px rgba(188, 26, 2, 0.04);
    transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .55s ease, border-color .55s ease, background .55s ease;
}

.achievement-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 193, 120, 0.18), transparent 28%), radial-gradient(circle at bottom left, rgba(255, 112, 67, 0.12), transparent 32%);
    z-index: -2;
}

.achievement-item::after {
    content: "";
    position: absolute;
    right: -25px;
    top: -25px;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 204, 128, 0.18), transparent 72%);
    transition: transform .7s ease;
}

.achievement-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.12) 45%, transparent 70%);
    transform: translateX(-130%);
    transition: transform .9s ease;
}

.achievement-item .icon,
.achievement-item > div:last-child {
    position: relative;
    z-index: 2;
}

.achievement-item:hover {
    transform: translateY(-4px) scale(1.01);
    background: linear-gradient(145deg, #ffffff, #fff4ee);
    border-color: rgba(255, 183, 77, 0.52);
    box-shadow: 0 18px 36px rgba(188, 26, 2, 0.12), 0 10px 18px rgba(0, 0, 0, 0.05);
}

.achievement-item:hover::after {
    transform: scale(1.12) rotate(10deg);
}

.achievement-item:hover .achievement-shine {
    transform: translateX(120%);
}

.achievement-item .icon {
    position: relative;
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.8rem;
    background: linear-gradient(145deg, #fff4eb, #ffdcca);
    color: #bc1a02;
    box-shadow: 0 8px 18px rgba(188, 26, 2, 0.10);
    transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .55s ease, background .55s ease;
}

.achievement-item .icon::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255, 183, 77, 0.22), transparent 72%);
    opacity: 0;
    transition: opacity .5s ease;
}

.achievement-item:hover .icon {
    transform: rotate(-5deg) translateY(-2px) scale(1.05);
    background: linear-gradient(145deg, #fff0e5, #ffcdb7);
    box-shadow: 0 16px 30px rgba(188, 26, 2, 0.16);
}

.achievement-item:hover .icon::before {
    opacity: 1;
}

.achievement-item > div:last-child {
    flex: 1;
}

.achievement-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.achievement-item h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #5b3421;
    font-family: 'Salsa', cursive;
    transition: color .35s ease, transform .35s ease;
}

.achievement-item:hover h3 {
    color: #bc1a02;
    transform: translateX(2px);
}

.achievement-item p {
    margin: 0;
    font-size: .89rem;
    line-height: 1.55;
    color: #666;
    transition: color .35s ease;
}

.achievement-item:hover p {
    color: #555;
}

.achievement-year {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 50px;
    background: linear-gradient(145deg, #fff2e8, #ffdcca);
    color: #bc1a02;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .4px;
    box-shadow: 0 4px 10px rgba(188, 26, 2, 0.08);
    overflow: hidden;
}

.achievement-year::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
    transition: left .9s ease;
}

.achievement-item:hover .achievement-year::before {
    left: 140%;
}

/* =========================================================
   FEATURED EVENTS WRAPPERS
========================================================= */
.event-card {
    width: 100%;
    background: linear-gradient(135deg, #bc1a02, #8c1301);
    color: #fff;
    padding: 18px;
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(188, 26, 2, 0.22);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
    will-change: transform;
}

.event-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 72%);
    pointer-events: none;
}

.event-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 26px 55px rgba(188, 26, 2, 0.26), 0 10px 24px rgba(0, 0, 0, 0.08);
}

.event-title {
    margin-bottom: 18px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.event-highlight {
    position: relative;
    height: 161px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.event-highlight:hover {
    transform: translateY(-6px) scale(1.015);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16), 0 8px 18px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.event-image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.event-image-wrap img {
    height: 100%;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 58%, rgba(0,0,0,0.98) 68%, rgba(0,0,0,0.90) 76%, rgba(0,0,0,0.72) 84%, rgba(0,0,0,0.45) 90%, rgba(0,0,0,0.18) 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 58%, rgba(0,0,0,0.98) 68%, rgba(0,0,0,0.90) 76%, rgba(0,0,0,0.72) 84%, rgba(0,0,0,0.45) 90%, rgba(0,0,0,0.18) 96%, transparent 100%);
    transition: transform 0.45s ease;
}

.event-highlight:hover img {
    transform: scale(1.03) translateX(4px);
}

.event-overlay {
    position: absolute;
    left: 15px;
    bottom: 12px;
    width: 48%;
    z-index: 2;
    color: #fff;
}

.event-overlay h4 {
    margin: 0 0 6px;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.3;
}

.event-overlay p {
    margin: 0 0 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.event-overlay span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.event-row {
    display: grid;
    grid-template-columns: 70px 1fr 80px;
    align-items: center;
    padding: 6px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.event-row:hover {
    transform: translateX(5px) scale(1.01);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10), 0 4px 10px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.event-row span:first-child {
    font-weight: 700;
    color: #ffe7d7;
    font-size: 0.82rem;
}

.event-row span:nth-child(2) {
    font-size: 0.88rem;
    color: #fff;
}

.event-row span:last-child {
    text-align: right;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.78);
}

.event-highlight::after,
.event-row::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -40%;
    width: 45%;
    height: 300%;
    background: linear-gradient(rgba(255, 255, 255, 0.08), transparent);
    transform: rotate(25deg);
    transition: 0.8s ease;
    pointer-events: none;
}

.event-highlight:hover::after,
.event-row:hover::after {
    left: 130%;
}

.event-cta {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.view-btn {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.view-btn:hover {
    transform: translateX(3px);
    border-color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   EVENTS PAGE EXTENSIONS & GRIDS
========================================================= */
.calendar-toolbar {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    text-align: center;
}

.calendar-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.calendar-filter-btn {
    border: none;
    padding: 12px 22px;
    border-radius: 50px;
    background: #fff3ee;
    color: #704825;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.calendar-filter-btn:hover {
    background: #bc1a02;
    color: #fff;
    transform: translateY(-2px);
}

.calendar-filter-btn.active {
    background: #4f46e5;
    color: #fff;
}

.events-features-grid {
    align-items: stretch;
}

.event-feature-box {
    overflow: hidden;
    padding: 0 !important;
    transition: transform .35s ease, box-shadow .35s ease;
}

.event-feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(188, 26, 2, 0.16);
}

.event-feature-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.event-feature-box:hover img {
    transform: scale(1.08);
}

.event-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    border-radius: 50px;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}

.event-feature-content {
    padding: 24px;
}

.event-date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.event-date-box {
    width: 68px;
    height: 76px;
    border-radius: 20px;
    background: linear-gradient(135deg, #bc1a02, #8c1301);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-date-box .day {
    font-size: 1.45rem;
    font-weight: 800;
}

.event-date-box .month {
    font-size: .72rem;
    letter-spacing: 1px;
}

.event-feature-content h3 {
    color: #704825;
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-feature-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 18px;
}

.event-meta-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.event-time,
.event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
}

.event-time { color: #888; }
.event-location { color: #777; }

/* =========================================================
   STATISTICS TRACKER
========================================================= */
.stats {
    padding: 3rem clamp(1rem, 5vw, 9rem);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFF5F7, #F0F4FF);
    transition: transform 0.3s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.10);
}

.stat-number {
    font-family: 'Salsa', cursive;
    letter-spacing: 1px;
    font-size: 3rem;
    background: linear-gradient(135deg, #bc1a02, #4d0c07);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.stat-label {
    color: #666;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* =========================================================
   GENERIC SECTION HEADERS
========================================================= */
.section {
    padding: 3rem clamp(1rem, 5vw, 9rem);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: #bc1a02;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Salsa', cursive;
    letter-spacing: 1px;
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* =========================================================
   PROGRAMS DISPLAY GRID
========================================================= */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
    padding: 10px 0;
}

.program-card {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(112, 72, 37, 0.05), 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(112, 72, 37, 0.12);
    border-color: rgba(188, 26, 2, 0.1);
}

.program-icon {
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 4.5rem;
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, #bc1a02 0%, #f4b400 100%);
    transition: transform 0.5s ease;
}

.program-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.program-card:hover .program-icon {
    transform: scale(1.05);
}

.program-card:nth-child(2) .program-icon { background: linear-gradient(135deg, #704825 0%, #bc1a02 100%); }
.program-card:nth-child(3) .program-icon { background: linear-gradient(135deg, #f4b400 0%, #704825 100%); }
.program-card:nth-child(4) .program-icon { background: linear-gradient(135deg, #bc1a02 0%, #4d0c07 100%); }

.program-content {
    padding: 2rem 1.5rem;
    flex-grow: 1;
}

.program-age {
    display: inline-block;
    background: #fdf5f0;
    color: #bc1a02;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(188, 26, 2, 0.1);
}

.program-content h3 {
    font-family: 'Salsa', cursive;
    font-size: 1.8rem;
    color: #704825;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.program-content p {
    color: #5a5a5a;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.program-features {
    list-style: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.program-features li {
    padding: 0.6rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.program-features li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    background: #fdf5f0;
    color: #bc1a02;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.program-card:hover .program-features li::before {
    background: #bc1a02;
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

/* =========================================================
   CORE SCHOLASTIC FEATURES
========================================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.features-grid > * {
    height: 100%;
}

.feature-box {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(112, 72, 37, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(209, 30, 3, 0.2);
    box-shadow: 0 30px 60px rgba(112, 72, 37, 0.15), 0 10px 20px rgba(209, 30, 3, 0.1);
}

.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d11e03, #f4b400);
    opacity: 0;
    transition: 0.3s ease;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d11e03, #65100a);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 20px rgba(209, 30, 3, 0.3);
    transition: transform 0.4s ease;
}

.feature-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-box:hover .feature-icon-box {
    transform: rotate(10deg) scale(1.1);
}

.feature-box h3 {
    font-family: 'Salsa', cursive;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #704825;
    font-weight: 600;
}

.feature-box p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* =========================================================
   CALL TO ACTION INTERACTION MATRIX
========================================================= */
.cta-section {
    background: linear-gradient(135deg, #bc1a02, #4d0c07);
    color: white;
    text-align: center;
    padding: 1.5rem clamp(1rem, 5vw, 9rem);
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::before {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
}

.cta-section::after {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Salsa', cursive;
    letter-spacing: 1px;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =========================================================
   PARENT TESTIMONIALS CAROUSEL
========================================================= */
.testimonials-carousel,
.testimonials-carousel .owl-stage-outer,
.testimonials-carousel .owl-stage {
    background: transparent !important;
    border: none !important;
}

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

.testimonials-carousel .owl-item {
    background: transparent !important;
    padding: 6px;
    display: flex;
    height: auto;
}

.testimonials-carousel.owl-carousel {
    padding: 15px 0;
    overflow: visible !important;
}

.testimonials-carousel .owl-stage-outer {
    padding: 15px 5px;
    margin: -15px -5px;
    overflow: hidden;
    box-shadow: none !important;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.92);
    padding: 1rem;
    border-radius: 26px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    border: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.10);
}

.testimonial-rating {
    margin-bottom: 0.8rem;
    color: #f4b400;
    font-size: 1.1rem;
}

.testimonial-rating i {
    color: #f7b731;
    margin-right: 3px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    position: relative;
    min-height: 100px;
    padding-left: 24px;
    align-items: flex-start;
}

.testimonial-text::before {
    content: "“";
    font-size: 3.5rem;
    color: #bc1a02;
    position: absolute;
    top: -27px;
    left: -5px;
    opacity: 0.25;
    font-family: 'Salsa', cursive;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.parent-avatar {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #bc1a02, #4d0c07);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.parent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.parent-info h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #704825;
}

.parent-info span {
    font-size: 0.85rem;
    color: #888;
}

.testimonials-carousel .owl-dots {
    margin-top: 20px;
}

.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.testimonial-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    animation: fadeIn 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.read-more-btn {
    color: #bc1a02;
    cursor: pointer;
    font-weight: 600;
    margin-left: 5px;
}

@keyframes fadeIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* =========================================================
   FAQ COLUMN DESIGN ACCORDION
========================================================= */
.faq-two-column {
    padding: 50px;
}

.faq-columns {
    display: grid;
    grid-template-columns: 1fr 6px 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.faq-divider {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(188,26,2,0.18) 20%, rgba(188,26,2,0.35) 50%, rgba(188,26,2,0.18) 80%, rgba(255,255,255,0) 100%);
}

.faq-column .faq-item {
    padding-left: 0;
    padding-right: 0;
}

.faq-section {
    background: rgba(255, 255, 255, 0.88);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 3px solid transparent;
}

.faq-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.10);
}

.faq-item {
    padding: 25px;
    border-bottom: 2px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.25s ease;
}

.faq-item:hover {
    background: #fafafa;
}

.faq-question {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-arrow {
    font-size: 24px;
    color: #d32f2f;
    transition: transform 0.35s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-answer > * {
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
}

/* =========================================================
   GOOGLE PHOTOS + PHOTOSWIPE GALLERY
========================================================= */
.gallery-album-grid {
    columns: 6;
    column-gap: 15px;
    padding: 15px 0;
}

.gallery-album-grid::-webkit-scrollbar {
    width: 8px;
}

.gallery-album-grid::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.15);
    border-radius: 20px;
}

.album-image-card {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 6px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    overflow: hidden;
    border-radius: 18px;
    background: #f7f7f7;
    text-decoration: none;
    cursor: pointer;
    isolation: isolate;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,.04), 0 1px 4px rgba(0,0,0,.03);
    transition: box-shadow .25s ease, opacity .25s ease;
}

.album-image-card:hover {
    z-index: 10;
    box-shadow: 0 12px 30px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06);
}

.album-image-card img,
.lazy-album-img {
    display: block;
    width: 100%;
    height: auto !important;
    border-radius: 18px;
    object-fit: unset !important;
    transition: opacity .25s ease;
    will-change: opacity;
    user-select: none;
    -webkit-user-drag: none;
}

.album-image-card:hover img {
    opacity: .95;
}

.album-image-card::after {
    content: '\f00e';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    background: rgba(0,0,0,.15);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 3;
    pointer-events: none;
}

.album-image-card:hover::after {
    opacity: 1;
}

.album-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f1f1f1 25%, #e7e7e7 50%, #f1f1f1 75%);
    background-size: 200% 100%;
    animation: shimmer 1.3s infinite;
    z-index: 1;
}

.album-image-card.loaded .album-shimmer {
    display: none;
}

.lazy-album-img {
    opacity: 0;
}

.lazy-album-img.loaded {
    opacity: 1;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.gallery-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 80px;
    height: 80px;
    background: url('../images/weblogo.png') center no-repeat;
    background-size: contain;
    opacity: .36;
    z-index: 5;
    pointer-events: none;
}

/* =========================================================
   PHOTOSWIPE CUSTOMIZATION
========================================================= */
.pswp {
    --pswp-bg: rgba(0,0,0,.96);
}

.pswp__img {
    border-radius: 12px;
}

.pswp__top-bar {
    backdrop-filter: blur(12px);
}

.pswp__counter {
    font-size: 14px;
    font-weight: 700;
}

.pswp__button {
    opacity: .85;
    transition: opacity .2s ease;
}

.pswp__button:hover {
    opacity: 1;
}

.pswp__button--arrow--prev,
.pswp__button--arrow--next {
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.pswp__button--arrow--prev:hover,
.pswp__button--arrow--next:hover {
    background: rgba(255,255,255,.22);
}

.pswp__caption {
    text-align: center;
    font-size: 14px;
}

.pswp__zoom-wrap {
    position: relative !important;
}

.pswp-watermark {
    background-image: url('../images/weblogo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .36;
    pointer-events: none;
    z-index: 999999;
}


/* =====================================
   GALLERY CARD
===================================== */
.gallery-folder {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    transition: all .4s ease;
}

.gallery-folder:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(112, 72, 37, .12), 0 10px 20px rgba(0, 0, 0, .06);
}

.gallery-thumb {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #faf7f2 0%, #f3eee7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.gallery-thumb img,
.lazy-gallery-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform .5s ease;
}

.gallery-folder:hover .gallery-thumb img {
    transform: scale(1.03);
}

.gallery-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    text-align: left;
    background: #fff;
}

.gallery-date {
    font-size: .8rem;
    color: #bc1a02;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: .8rem;
}

.gallery-info a {
    text-decoration: none;
}

.gallery-title {
    font-family: 'Salsa', cursive;
    font-size: 2rem;
    line-height: 1.25;
    color: #704825;
    margin-bottom: .8rem;
    transition: color .3s ease;
}

.gallery-info a:hover .gallery-title {
    color: #bc1a02;
}

.gallery-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0;
    min-height: 120px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-desc p {
    line-height: 1.4 !important;
}

.gallery-btn {
    margin-top: 1rem;
    margin-left: auto;
    padding: .8rem 1.6rem;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
    transition: all .3s ease;
}

.gallery-btn:hover {
    transform: translateX(4px);
}

/* =========================================================
   BLOGS SYSTEM ENGINE
========================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.10);
}

.blog-thumb img {
    width: 100%;
    /*height: 220px;*/
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-title {
    font-family: 'Salsa', cursive;
    font-size: 1.3rem;
    color: #704825;
    margin-bottom: 0.6rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.blog-btn {
    padding: 0.45rem 1.2rem;
    font-size: 0.85rem;
    margin-top: auto;
    align-self: flex-end;
}

.blog-details-section {
    padding-top: 4rem;
}

.blog-details-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.blog-details-content {
    background: rgba(255, 255, 255, 0.88);
    padding: 2.8rem;
    border-radius: 26px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.blog-meta i {
    color: #bc1a02;
    margin-right: 6px;
}

.blog-featured-image {
    width: 100%;
    border-radius: 20px;
    margin: 1.8rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-details-content p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.4rem;
}

.blog-details-content h3 {
    font-family: 'Salsa', cursive;
    font-size: 1.6rem;
    color: #704825;
    margin: 2rem 0 1rem;
}

.blog-details-content ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.blog-details-content ul li {
    margin-bottom: 0.6rem;
    color: #555;
    list-style: disc;
}

.blog-details-content blockquote {
    margin: 2rem 0;
    padding: 1.4rem 1.8rem;
    border-left: 4px solid #bc1a02;
    background: rgba(188, 26, 2, 0.06);
    font-style: italic;
    color: #555;
    border-radius: 8px;
}

.blog-actions {
    margin-top: 2.5rem;
}

.blog-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-box {
    background: rgba(255, 255, 255, 0.88);
    padding: 2rem;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sidebar-box h4 {
    font-family: 'Salsa', cursive;
    font-size: 1.3rem;
    color: #704825;
    margin-bottom: 1.2rem;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box ul li {
    margin-bottom: 0.8rem;
}

.sidebar-box ul li a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.sidebar-box ul li a:hover {
    color: #bc1a02;
}

/* =========================================================
   CONTACT MAPS & ENQUIRY REGISTRATION
========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.4rem;
    align-items: start;
}

.contact-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(112, 72, 37, 0.1), 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
}

.form-subtitle {
    font-family: 'Salsa', cursive;
    font-size: 1.6rem;
    color: #704825;
    margin: 2rem 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-subtitle::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(112, 72, 37, 0.2), transparent);
}

.form-subtitle:first-of-type {
    margin-top: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    color: #333;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    outline: none;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    border-color: #bc1a02;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(188, 26, 2, 0.1);
    transform: translateY(-2px);
}

.contact-card textarea {
    margin-top: 1.25rem;
    resize: vertical;
    min-height: 120px;
}

.contact-card select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23bc1a02' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

.form-actions {
    margin-top: 2.5rem;
    text-align: left;
}

.contact-map {
    border-radius: 32px;
    overflow: hidden;
    position: sticky;
    top: 120px;
    box-shadow: 0 25px 60px rgba(112, 72, 37, 0.15);
    border: 8px solid #fff;
    transition: transform 0.4s ease;
}

.contact-map:hover {
    transform: scale(1.02);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: 0;
    filter: grayscale(0.2) contrast(1.1);
    transition: filter 0.3s ease;
}

.contact-map:hover iframe {
    filter: grayscale(0);
}

/* =========================================================
   TEACHERS & FACULTY DEPLOYMENT
========================================================= */
.trms-teachers,
.teachers-section {
    position: relative;
    z-index: 5;
    overflow: visible;
}

.trms-teachers {
    text-align: center;
}

.teachers-carousel {
    background: rgba(255, 255, 255, 0.88);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 3px solid transparent;
}

.teachers-carousel:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.10);
}

.staff-delimiter {
    width: 70px;
    height: 4px;
    background: #b5121b;
    margin: 20px auto 0;
    border-radius: 4px;
}

.teacher-item {
    padding: 15px 15px;
}

.circle-portrait {
    width: 180px;
    height: 180px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.circle-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-staff-contact {
    position: absolute;
    inset: 0;
    background: rgba(188, 26, 2, 0.80);
    display: grid;
    grid-template-columns: repeat(2, 42px);
    grid-template-rows: repeat(2, 42px);
    justify-content: center;
    align-content: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 50%;
}

.circle-portrait:hover .circle-staff-contact {
    opacity: 1;
}

.circle-staff-contact a {
    background: #fff;
    color: #111111;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.circle-staff-contact a:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.staff-title {
    font-family: 'Salsa', cursive;
    font-size: 1.25rem;
    margin-top: 16px;
    color: #704825;
}

.staff-position {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: #93c524;
    font-size: 0.95rem;
}

.teachers-carousel .owl-nav {
    display: block !important;
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    z-index: 20;
    pointer-events: none;
}

.teachers-carousel .owl-nav button {
    pointer-events: all;
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fc3700, #b50704) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: none;
}

.teachers-carousel .owl-prev { left: 15px; }
.teachers-carousel .owl-next { right: 15px; }

.teachers-carousel .owl-nav button span {
    font-size: 24px;
    color: #fff;
    line-height: 48px;
}

.teachers-details {
    margin: auto;
    padding: 3rem clamp(1rem, 5vw, 9rem);
}

.teacher-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    padding: 25px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.teacher-row:hover {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(112, 72, 37, 0.08);
    transform: translateY(-5px);
}

.teacher-row.reverse {
    grid-template-columns: 1fr 320px;
}

.teacher-row.reverse .teacher-photo {
    order: 2;
}

.teacher-row.reverse .teacher-info {
    order: 1;
    text-align: center;
}

.teacher-photo {
    position: relative;
    z-index: 1;
}

.teacher-photo::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(188, 26, 2, 0.1) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.teacher-photo img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 24px;
    border: 6px solid #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.teacher-row:hover .teacher-photo img {
    transform: scale(1.03) rotate(-1deg);
}

.teacher-row.reverse:hover .teacher-photo img {
    transform: scale(1.03) rotate(1deg);
}

.teacher-icon {
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #bc1a02, #8b1301);
    color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 15px rgba(188, 26, 2, 0.3);
    border: 3px solid #fff;
    z-index: 2;
    transition: 0.3s ease;
}

.teacher-row:hover .teacher-icon {
    transform: translateY(-5px);
}

.teacher-info h3 {
    font-family: 'Salsa', cursive;
    font-size: 2.2rem;
    color: #704825;
    margin-bottom: 4px;
}

.teacher-role {
    color: #bc1a02;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    /*margin-bottom: 18px;*/
    display: block;
}

.teacher-summary {
    color: #5a5a5a;
    font-size: 1.14rem;
    line-height: 1.8;
    /*margin-bottom: 25px;*/
    padding: 2rem clamp(2rem, 5vw, 8rem);
}

.teacher-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.teacher-meta div {
    background: #ffd4bd;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.teacher-meta i {
    color: #bc1a02;
    margin-right: 8px;
    font-size: 1rem;
}

.teacher-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.availability {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.availability i {
    color: #28a745;
    margin-right: 6px;
}

.teacher-row.reverse .teacher-summary,
.teacher-row.reverse .teacher-meta,
.teacher-row.reverse .teacher-actions {
    margin-left: auto;
    text-align: center;
    justify-content: center;
}

.teacher-row.reverse .teacher-actions .small-btn { margin-left: auto; }
.teacher-row.reverse .teacher-meta div { justify-self: end; }

/* =========================================================
   PREMIUM DAYCARE SPECIAL CONTAINER ELEMENTS
========================================================= */
.premium-daycare-features {
    position: relative;
    padding: 3rem clamp(1rem, 5vw, 9rem);
    overflow: hidden;
}

.premium-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .4;
    pointer-events: none;
}

.premium-shape-1 {
    width: 360px;
    height: 360px;
    background: #ffd8c7;
    top: -120px;
    right: -100px;
}

.premium-shape-2 {
    width: 320px;
    height: 320px;
    background: #ffe9bb;
    bottom: -120px;
    left: -100px;
}

.premium-features-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(420px, 1.15fr);
    gap: 38px;
    align-items: stretch;
    margin-top: 70px;
}

.premium-feature-main {
    position: relative;
    min-height: 720px;
    border-radius: 42px;
    overflow: hidden;
    isolation: isolate;
    background: #fff;
    box-shadow: 0 35px 80px rgba(188, 26, 2, .12), 0 10px 25px rgba(0, 0, 0, .05);
    transition: transform .7s cubic-bezier(.22, 1, .36, 1), box-shadow .7s ease;
}

.premium-feature-main::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -40%;
    width: 70%;
    height: 240%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    transform: rotate(18deg);
    transition: transform 1.2s ease;
    z-index: 2;
    pointer-events: none;
}

.premium-feature-main:hover::before {
    transform: rotate(18deg) translateX(650px);
}

.premium-feature-main:hover {
    transform: translateY(-12px);
    box-shadow: 0 45px 90px rgba(188, 26, 2, .18);
}

.feature-main-image {
    position: absolute;
    inset: 0;
}

.feature-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s ease;
}

.premium-feature-main:hover .feature-main-image img {
    transform: scale(1.08);
}

.feature-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 5%, rgba(0, 0, 0, .28) 48%, rgba(0, 0, 0, .06) 100%);
}

.feature-main-content {
    position: absolute;
    left: 42px;
    right: 42px;
    bottom: 42px;
    z-index: 5;
    color: #fff;
}

.feature-main-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 60px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.feature-main-content h3 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-family: 'Salsa', cursive;
}

.feature-main-content p {
    font-size: 1rem;
    line-height: 1.95;
    max-width: 520px;
    opacity: .96;
}

.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 24px;
}

.premium-feature-card {
    position: relative;
    padding: 34px 30px;
    border-radius: 34px;
    overflow: hidden;
    isolation: isolate;
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .05);
    transition: transform .55s cubic-bezier(.22, 1, .36, 1), box-shadow .55s ease, background .55s ease;
}

.premium-feature-card::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 208, 185, .22), transparent 70%);
    pointer-events: none;
}

.feature-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d11e03, #f4b400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}

.premium-feature-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 35px 70px rgba(188, 26, 2, .14);
}

.premium-feature-card:hover .feature-top-bar {
    transform: scale(1);
}

.premium-icon-wrap {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #fff0e5, #ffdcca);
    color: #bc1a02;
    font-size: 1.9rem;
    box-shadow: 0 18px 38px rgba(188, 26, 2, .10);
    transition: transform .55s ease;
}

.premium-feature-card:hover .premium-icon-wrap {
    transform: rotate(-8deg) scale(1.08);
}

.premium-feature-card h3 {
    font-size: 1.38rem;
    line-height: 1.4;
    margin-bottom: 14px;
    color: #4f2b1f;
    font-family: 'Salsa', cursive;
}

.premium-feature-card p {
    font-size: .94rem;
    line-height: 1.9;
    color: #666;
}

/* =========================================================
   DAILY ROUTINE TIMELINE MECHANICS
========================================================= */
.premium-routine-section {
    position: relative;
    padding: 3rem clamp(1rem, 5vw, 9rem);
    overflow: hidden;
}

.routine-timeline {
    position: relative;
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 70px 50px;
    border-radius: 42px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 250, 247, .95));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 30px 70px rgba(188, 26, 2, .08), 0 10px 30px rgba(0, 0, 0, .04);
}

.routine-timeline::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 208, 185, .28), transparent 72%);
    filter: blur(20px);
    pointer-events: none;
}

.routine-timeline::before {
    content: "";
    position: absolute;
    top: 70px;
    bottom: 70px;
    left: 112px;
    width: 4px;
    border-radius: 30px;
    background: linear-gradient(to bottom, #ffd3bf, #d11e03, #f4b400);
    box-shadow: 0 0 18px rgba(209, 30, 3, .18);
}

.routine-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 34px;
    align-items: flex-start;
    margin-bottom: 42px;
}

.routine-time {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #bc1a02, #d92d11);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: 0 18px 40px rgba(188, 26, 2, .22), inset 0 2px 6px rgba(255, 255, 255, .22);
    border: 6px solid rgba(255, 255, 255, .7);
    transition: transform .5s ease, box-shadow .5s ease;
}

.routine-time::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    border: 2px dashed rgba(244, 180, 0, .45);
    animation: rotateRing 16s linear infinite;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.routine-content {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 36px;
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .05);
    transition: transform .55s cubic-bezier(.22, 1, .36, 1), box-shadow .55s ease;
}

.routine-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d11e03, #f4b400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}

.routine-item:hover .routine-content {
    transform: translateY(-10px);
    box-shadow: 0 35px 75px rgba(188, 26, 2, .12);
}

.routine-item:hover .routine-content::before {
    transform: scaleX(1);
}

.routine-item:hover .routine-time {
    transform: scale(1.05) rotate(-4deg);
}

.routine-icon {
    width: 84px;
    height: 84px;
    min-width: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: linear-gradient(145deg, #fff0e5, #ffdcca);
    color: #bc1a02;
    font-size: 1.8rem;
    box-shadow: 0 14px 30px rgba(188, 26, 2, .10);
}

.routine-content h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: #4f2b1f;
    font-family: 'Salsa', cursive;
}

.routine-content p {
    font-size: .96rem;
    line-height: 1.95;
    color: #666;
}

/* =========================================================
   PREMIUM INDEPENDENT AWARDS SECTION
========================================================= */
.awards {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.awards::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 193, 120, 0.12), transparent 28%), radial-gradient(circle at bottom left, rgba(188, 26, 2, 0.08), transparent 30%);
    pointer-events: none;
}

.awards-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding: 3rem clamp(1rem, 5vw, 9rem);
    margin-top: 30px;
}

.award-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 26px;
    border-radius: 30px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(145deg, #ffffff, #fff8f4);
    border: 1px solid rgba(255, 214, 190, 0.45);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04), 0 5px 12px rgba(188, 26, 2, 0.04);
    transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .55s ease, border-color .55s ease, background .55s ease;
}

.award-item::before {
    content: "";
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d11e03, #f4b400);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity .35s ease, transform .45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 5;
}

.award-item:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.award-item::after {
    content: "";
    position: absolute;
    top: -35px;
    right: -35px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 204, 128, 0.18), transparent 72%);
    transition: transform .7s ease;
}

.award-item .card-shine {
    position: absolute;
    top: 0;
    left: -140%;
    width: 70%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.award-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(145deg, #ffffff, #fff4ee);
    border-color: rgba(255, 183, 77, 0.60);
    box-shadow: 0 28px 55px rgba(188, 26, 2, 0.14), 0 12px 24px rgba(0, 0, 0, 0.05);
}

.award-item:hover::after {
    transform: scale(1.15) rotate(10deg);
}

.award-item:hover .card-shine {
    animation: awardShine 1s ease;
}

@keyframes awardShine {
    0% { left: -140%; opacity: 0; }
    15% { opacity: 1; }
    100% { left: 160%; opacity: 0; }
}

.award-icon {
    position: relative;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 26px;
    font-size: 1.9rem;
    background: linear-gradient(145deg, #fff4eb, #ffdcca);
    color: #bc1a02;
    box-shadow: 0 12px 28px rgba(188, 26, 2, 0.12);
    transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .55s ease, background .55s ease;
}

.award-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.75), transparent);
    pointer-events: none;
}

.award-item:hover .award-icon {
    transform: rotate(-6deg) translateY(-4px) scale(1.08);
    background: linear-gradient(145deg, #fff0e5, #ffcdb7);
    box-shadow: 0 20px 38px rgba(188, 26, 2, 0.18);
}

.award-item h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    font-size: 1.2rem;
    line-height: 1.45;
    color: #5b3421;
    font-family: 'Salsa', cursive;
    transition: color .35s ease, transform .35s ease;
}

.award-item:hover h3 {
    color: #bc1a02;
    transform: translateX(3px);
}

.award-item p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: .92rem;
    line-height: 1.8;
    color: #666;
    transition: color .35s ease;
}

.award-item:hover p {
    color: #555;
}

.award-year {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 8px 16px;
    border-radius: 50px;
    background: linear-gradient(145deg, #bc1a02, #4d0c07);
    color: #ffffff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: 0 6px 14px rgba(188, 26, 2, 0.10);
    overflow: hidden;
}

.award-year::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    transition: left .9s ease;
}

.award-item:hover .award-year::before {
    left: 140%;
}

/* =========================================================
   LEGAL TERMS TYPOGRAPHY BLOCKS
========================================================= */
.privacy-text-block h3, 
.terms-text-block h3 { margin-bottom: 0px; color: #704825; }
.privacy-text-block p, 
.terms-text-block p { margin-bottom: 22px; line-height: 1.7; }
.privacy-text-block ul, 
.terms-text-block ul { margin-bottom: 15px; }

/* =========================================================
   POPUP MODAL COMPONENT (MASCOT CONTEXT)
========================================================= */
.mascot-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.mascot-box {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fffaf5, #fff);
    padding: 20px;
    border-radius: 22px;
    max-width: 720px;
    width: 92%;
    max-height: 80vh;
    position: relative;
    border: 2px solid #ffe0c7;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: popupFade 0.35s ease;
    overflow: hidden;
}

.mascot-box::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, #ffe0c7, #fff5ec);
    z-index: -1;
}

.mascot-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mascot-title img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    animation: mascotFloat 3s ease-in-out infinite;
}

.mascot-title h3 {
    margin: 0;
    font-size: 1.75rem;
    color: #704825;
    font-weight: 600;
}

.mascot-body {
    overflow-y: auto;
    max-height: 60vh;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #bc1a02 transparent;
}

#mascotModalText {
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

#mascotModalText p {
    margin-bottom: 14px;
}

.mascot-body::-webkit-scrollbar {
    width: 6px;
}

.mascot-body::-webkit-scrollbar-track {
    background: transparent;
}

.mascot-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #bc1a02, #f2994a);
    border-radius: 10px;
}

.mascot-close {
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #a67c52;
    transition: 0.25s ease;
}

.mascot-close:hover {
    color: #bc1a02;
    transform: scale(1.2);
}

@keyframes popupFade {
    0% { transform: translateY(25px) scale(0.9); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* =========================
   NOTICE / IC MODAL
========================= */

.mascot-ic-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.mascot-ic-box {
    background: linear-gradient(135deg, #fffaf5, #fff);
    padding: 20px;
    border-radius: 22px;
    max-width: 900px;
    width: 92%;
    max-height: 85vh;
    position: relative;
    border: 2px solid #ffe0c7;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2),
                0 5px 15px rgba(0, 0, 0, 0.08);
    animation: popupFade 0.35s ease;
    overflow: hidden;
}

.mascot-ic-box::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, #ffe0c7, #fff5ec);
    z-index: -1;
}

.mascot-ic-title {
    text-align: center;
    margin-bottom: 15px;
}

.mascot-ic-title h3 {
    margin: 0;
    font-size: 1.75rem;
    color: #704825;
    font-weight: 600;
}

.mascot-ic-body {
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 8px;
    text-align: justify;
    line-height: 1.8;
    color: #555;
    scrollbar-width: thin;
    scrollbar-color: #bc1a02 transparent;
}

/* Image floating left */
.mascot-ic-body img {
    float: left;
    /*width: 260px;*/
    max-width: 45%;
    margin: 0 20px 15px 0;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,.12);
}

.mascot-ic-body::after {
    content: "";
    display: block;
    clear: both;
}

#mascotICModalText {
    font-size: 1.05rem;
    color: #555;
}

#mascotICModalText p {
    margin-bottom: 14px;
}

.mascot-ic-body::-webkit-scrollbar {
    width: 6px;
}

.mascot-ic-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #bc1a02, #f2994a);
    border-radius: 10px;
}

.mascot-ic-close {
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #a67c52;
    transition: 0.25s ease;
}

.mascot-ic-close:hover {
    color: #bc1a02;
    transform: scale(1.2);
}

/* Mobile */
@media (max-width: 768px) {

    .mascot-ic-box {
        width: 95%;
        padding: 15px;
    }

    .mascot-ic-title h3 {
        font-size: 1.4rem;
        padding-right: 25px;
    }

    .mascot-ic-body img {
        float: none;
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 15px;
    }

    #mascotICModalText {
        text-align: left;
    }
}

/* =========================================================
   NOTICES ENGINE & SYSTEM LAYOUTS
========================================================= */
.notice-card {
    width: 100%;
    background: linear-gradient(135deg, #fff8f3 0%, #fff2ea 100%);
    border: 1px solid rgba(188, 26, 2, 0.08);
    border-radius: 30px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 35px rgba(188, 26, 2, 0.08);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
    will-change: transform;
}

.notice-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #bc1a02, #f5a623);
    z-index: 1;
}

.notice-card::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(188, 26, 2, 0.10), transparent 72%);
    pointer-events: none;
}

.notice-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 26px 55px rgba(188, 26, 2, 0.12), 0 10px 24px rgba(0, 0, 0, 0.08);
}

.notice-card .event-cta {
    margin-top: 2px !important;
}

.notice-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #2D3748;
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
}

.notice-title i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #bc1a02;
    color: #fff;
    border-radius: 50%;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.notice-thumb {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 18px;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.notice-row:hover .notice-thumb {
    transform: scale(1.05);
}

.notice-info h4 {
    margin: 0 0 4px;
}

.notice-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    background: #fff;
    padding: 9px 11px;
    border-radius: 18px;
    border: 1px solid rgba(188,26,2,.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
    transition: transform .3s ease, box-shadow .3s ease;
}

.notice-row:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
    border-color: rgba(188,26,2,.18);
}

.notice-row h4::before {
    content: "📌";
    margin-right: 8px;
}

.notice-row h4 {
    margin: 0 0 6px;
    color: #2D3748;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.notice-row span {
    color: #718096;
    font-size: 13px;
}

.notice-date {
    display: inline-block;
    margin-top: 5px;
    background: #fff4e8;
    color: #888;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.notice-row i {
    color: #bc1a02;
    font-size: 14px;
    transition: .3s;
}

.notice-row:hover i {
    transform: translateX(4px);
}

.notice-card .view-btn {
    margin-top: 22px;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #bc1a02, #d72f14);
    color: #fff;
    border-radius: 50px;
    padding: 14px 24px;
    font-weight: 700;
    display: inline-block;
}

.notice-card .view-btn:hover {
    transform: translateY(-2px);
}

.empty-notice {
    color: #777;
    text-align: center;
    padding: 30px 0;
}

.notice-footer {
    position: relative;
    z-index: 2;
}

.notice-page {
    padding: 2rem clamp(1rem, 5vw, 9rem);
}

.notice-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 50px;
}

.notice-filters a {
    text-decoration: none;
    color: #374151;
    background: rgba(255,255,255,.85);
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: all .35s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.notice-filters a span {
    color: #bc1a02;
}

.notice-filters a:hover,
.notice-filters a.active {
    background: linear-gradient(135deg,#bc1a02,#d93817);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(188,26,2,.25);
}

.notice-filters a:hover span,
.notice-filters a.active span {
    color: #fff;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.notice-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.notice-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff4e8;
    color: #bc1a02;
    font-size: 13px;
    font-weight: 700;
}

.notice-date {
    background: #eef2ff;
    color: #667085;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.notice-card h3 {
    margin-bottom: 12px;
    color: #2D3748;
    line-height: 1.4;
    min-height: 45px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
}

.notice-description {
    color: #6b7280;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.notice-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: auto;

    position: relative;
    z-index: 2;
}

.notice-actions a:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #bc1a02;
    font-weight: 700;
    text-decoration: none;

    transition: .3s;
}

.notice-actions a:first-child:hover {
    color: #9f1600;
    gap: 12px;
}

.download-btn {
    background: #bc1a02;
    color: #fff !important;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.download-btn:hover {
    background: #a51601;
}

.empty-notices {
    text-align: center;
    padding: 80px 20px;
}

.empty-notices i {
    font-size: 60px;
    color: #bc1a02;
    margin-bottom: 20px;
}

.empty-notices h3 {
    margin-bottom: 10px;
}

.empty-notices p {
    color: #6b7280;
}

/* ==========================================
   NOTICE DETAIL PAGE
========================================== */
.notice-detail-page {
    padding: 2rem clamp(1rem, 5vw, 9rem);
}

.notice-detail-card {
    background: #fff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
    position: relative;
    overflow: hidden;
}

.notice-detail-card::before,
.notice-detail-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.notice-detail-card::before {
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: rgba(188,26,2,.04);
}

.notice-detail-card::after {
    bottom: -50px;
    left: -50px;
    width: 140px;
    height: 140px;
    background: rgba(255,190,92,.08);
}

.notice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.notice-category,
.notice-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.notice-date {
    background: #f4f6f8;
    color: #667085;
}

.notice-summary {
    background: #fff8f2;
    border-left: 5px solid #bc1a02;
    padding: 22px;
    border-radius: 14px;
    margin-bottom: 35px;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.notice-attachment-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    background: #f9fafb;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.notice-attachment-banner > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-attachment-banner i {
    font-size: 30px;
    color: #bc1a02;
}

.notice-attachment-banner h4 {
    margin: 0 0 5px;
    color: #2D3748;
}

.notice-attachment-banner p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.notice-attachment-banner .download-btn {
    background: linear-gradient(135deg, #bc1a02, #d62d12);
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 700;
    transition: all .3s ease;
}

.notice-attachment-banner .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(188,26,2,.25);
}

.notice-content {
    position: relative;
    z-index: 2;
    color: #444;
    font-size: 16px;
    line-height: 1.9;
}

.notice-content h1,
.notice-content h2,
.notice-content h3,
.notice-content h4,
.notice-content h5,
.notice-content h6 {
    color: #2D3748;
    margin-top: 30px;
    margin-bottom: 15px;
}

.notice-content p {
    margin-bottom: 18px;
}

.notice-content ul,
.notice-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.notice-content li {
    margin-bottom: 8px;
}

.notice-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 20px 0;
}

.notice-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.notice-content table th,
.notice-content table td {
    border: 1px solid #e5e7eb;
    padding: 12px;
}

.notice-content table th {
    background: #f8f9fa;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #bc1a02;
    font-weight: 700;
    transition: .3s;
}

.back-btn:hover {
    gap: 14px;
}

/* =========================================================
   FOOTER PATTERNS
========================================================= */
footer {
    background: rgba(255, 255, 255, 0.75);
    color: #2D3748;
    padding: 2rem clamp(1rem, 5vw, 9rem);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-about h3 {
    font-family: 'Salsa', cursive;
    letter-spacing: 1px;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #bc1a02, #4d0c07);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    color: #2D3748;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2D3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #bc1a02;
}

.footer-section h4 {
    font-family: 'Salsa', cursive;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-section a {
    color: #2D3748;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.footer-section a:hover {
    color: #bc1a02;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-links-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-grid li {
    margin-bottom: 12px;
}

.footer-links-grid a {
    color: #2D3748;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.footer-links-grid a:hover {
    color: #bc1a02;
}

.footer-links-grid i {
    width: 20px;
    min-width: 20px;
    text-align: center;
    font-size: 16px;
}

.footer-bottom {
    background: #b50704;
    padding: 1rem clamp(1rem, 5vw, 9rem);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links i {
    color: #fff;
}

.footer-links a {
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd6d6;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   FLOATING MASCOTS & AUXILIARY CONTROLS
========================================================= */
.whatsapp-mascot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 110px;
    height: 110px;
    cursor: pointer;
    z-index: 1000;
    animation: mascotBounce 3s ease-in-out infinite;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.25));
}

.whatsapp-mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes mascotBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.scroll-top {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    position: fixed;
    z-index: 99999;
    bottom: 40px;
    left: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff !important;
    font-size: 36px;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.5);
    background: linear-gradient(135deg, #fc3700, #b50704);
}

/* =========================================================
   GENERIC STRUCTURE WRAPPER HOOKS
========================================================= */
.about-welcome-layout,
.about-curriculum-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.page-btn {
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    background: #bc1a02;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* =========================================================
   SYSTEM SCREEN PRELOADER LAYER
========================================================= */
#pageLoader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #fff7f0 0%, #fffdf8 100%);
    z-index: 999999;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

#pageLoader.loaded .loader-content {
    opacity: 0;
    transform: translateY(-40px) scale(.95);
    transition: all .8s cubic-bezier(.22,.61,.36,1);
}

#pageLoader.loaded .loader-bg-shape {
    opacity: 0;
    transform: scale(1.3);
    transition: all 1s ease;
}

#pageLoader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 500px;
    padding: 20px;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all .8s cubic-bezier(.22,.61,.36,1);
    animation: loaderEntrance 1s ease;
}

.loader-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
    animation: floatShape 8s infinite ease-in-out;
}

.shape1 { width: 220px; height: 220px; background: #4d0c07; top: -60px; left: -40px; }
.shape2 { width: 180px; height: 180px; background: #bc1a02; bottom: -50px; right: -40px; animation-delay: 2s; }
.shape3 { width: 140px; height: 140px; background: #4d0c07; top: 54%; left: 60%; animation-delay: 4s; }
.shape4 { width: 80px; height: 80px;   background: #d11e03; top: 15%; left: 81%; animation-delay: 4s; }
.shape5 { width: 160px; height: 160px; background: #ffb347; bottom: 20px; left: 40px; animation-delay: 4s; }
.shape6 { width: 100px; height: 100px; background: #e62406; top: 36%; left: 24%; animation-delay: 4s; }

.loader-logo-wrap {
    margin-bottom: 24px;
}

.loader-logo-circle {
    width: 150px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    animation: floatLogo 4s ease-in-out infinite;
}

.loader-logo-circle img {
    width: 150px;
    filter: drop-shadow(0 12px 25px rgba(188,26,2,.15));
}

.loader-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.loader-message-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 3px 3px;
    border-radius: 50px;
    min-height: 58px;
}

.loader-message {
    min-width: auto;
    color: #4d0c07;
    font-family: 'Salsa', cursive;
    font-size: 24px;
    line-height: 1.3;
    transition: opacity .8s ease, transform .8s ease;
}

.loading-dot {
    color: #bc1a02;
    font-size: 33px;
    font-weight: 700;
    animation: loadingDots 1.4s infinite;
    opacity: .2;
}

.loading-dot:nth-child(2) { animation-delay: 0s; }
.loading-dot:nth-child(3) { animation-delay: .2s; }
.loading-dot:nth-child(4) { animation-delay: .4s; }

.leaf-animation {
    position: absolute;
    font-size: 28px;
    opacity: .24;
    animation: floatLeaf linear infinite;
}

@keyframes floatLeaf {
    from { transform: translateY(-330px) rotate(0deg); }
    to { transform: translateY(60vh) rotate(360deg); }
}
@keyframes loaderEntrance { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseLoader { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes floatLogo { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }
@keyframes floatShape { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-25px); } }
@keyframes bounceDots {
    0%, 80%, 100% { transform: scale(.7); opacity: .5; }
    40% { transform: scale(1.2); opacity: 1; }
}
@keyframes loadingDots {
    0%, 100% { opacity: .2; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

/* =========================================================
   HAMBURGER NAVIGATION INTERACTION CONVERSIONS
========================================================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    justify-content: center;
}

.menu-toggle span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #bc1a02;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   NATIVE PLATFORM CALENDAR LAYOUT 
=========================== */
.parent-calendar-wrapper,
.parent-calendar-left {
    width: 100%;
}

.calendar-month-banner {
    text-align: center;
    margin-bottom: 35px;
}

.month-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(90deg, #ff5f6d, #ffb347, #4caf50, #42a5f5, #ab47bc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.month-subtitle {
    margin-top: 12px;
    font-size: 18px;
    color:#64748b;
}

.school-calendar {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 2px;
}

.school-calendar th {
    color: #fff;
    padding: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    border-radius: 14px;
}

/* Calendar Day Column Header Color Tags */
.sun { background: #ef4444; }
.mon { background: #f97316; }
.tue { background: #f59e0b; }
.wed { background: #22c55e; }
.thu { background: #06b6d4; }
.fri { background: #8b5cf6; }
.sat { background: #ec4899; }

.calendar-day-cell {
    width: 14.285%;
    height: 222px;
    background: #fff;
    border: 2px solid #eef2ff;
    border-radius: 18px;
    padding: 2px;
    vertical-align: top;
    overflow: hidden;
    transition: .3s ease;
}

.calendar-day-cell:hover { border-color: #c7d2fe; }
.calendar-day-cell.has-event { background: #fffdf7; border-color: #ffd54f; }

.calendar-date-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.has-event .calendar-date-number {
    background: #ff9800;
    color: #fff;
}

.calendar-event-card {
    position: relative;
    width: 100%;
    height: 222px;
    min-height: auto;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    transition: .3s ease;
}

.calendar-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.calendar-event-overlay {
    position: absolute;
    inset: 0;
    padding: 9px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.49), rgba(0,0,0,.12));
}

.calendar-event-content {
    width: 100%;
}

.calendar-event-meta {
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 30px;
    background: linear-gradient(135deg, #bc1a02, #4d0c07);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.calendar-event-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 5px;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.calendar-event-desc {
    color: rgba(255,255,255,.95);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-modal {
    display: none;
    position: fixed;
    z-index: 9999999;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.event-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.event-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    display: block;
}

.event-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 24px;
    cursor: pointer;
    font-weight: bold;
}

.admission-modal{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.admission-modal.show{
    display:flex;
}

.admission-modal-content{
    position:relative;
    width: auto;
    max-width: 90vw;
}

.admission-modal-content img{
    max-width:100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius:15px;
    display:block;
    object-fit: contain;
}

.close-modal{
    position:absolute;
    top:-15px;
    right:-15px;
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#bc1a02;
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

/* =========================================================
   RESPONSIVE LAYOUT BREAKPOINTS
========================================================= */

/* --- MIN-WIDTH MEDIA DESKTOP SCROLL REDUCTION SYSTEMS --- */
@media (min-width: 1025px) {
    header.scrolled {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        height: 80px;
    }
    header.scrolled > * {
        transform: scale(0.85);
        transform-origin: center left;
    }
    header.scrolled nav {
        transform-origin: center right;
    }
}

/* --- MONITORS & WIDESCREEN TELESETS (min-width: 1201px) --- */
@media (min-width: 1201px) {
    .month-title { font-size: 64px; }
    /*.calendar-day-cell, .calendar-event-card { height: 222px; }*/
    .calendar-event-meta { font-size: 17px; width: 40px; height: 40px;}
    .calendar-event-title { font-size: 18px; }
    .calendar-event-desc { font-size: 13px; }
}

/* --- INTERMEDIATE PC RES RE-ADAPTATIONS (1025px - 1200px) --- */
@media (min-width: 1025px) and (max-width: 1200px) {
    .month-title { font-size: 56px; }
    .month-subtitle { font-size: 16px; }
    .school-calendar th { font-size: 13px; padding: 12px; }
    /*.calendar-day-cell, .calendar-event-card { height: 190px; }*/
    .calendar-event-meta { font-size: 14px; padding: 5px 12px; }
    .calendar-event-title { font-size: 15px; line-height: 1.4; }
    .calendar-event-desc { font-size: 12px; -webkit-line-clamp: 2; }
}

/* --- RESPONSIVE MAX-WIDTH BOUNDARY (max-width: 1200px) --- */
@media (max-width: 1200px) {
    .top-bar, header, .hero, .section, .stats, .cta-section, footer, .footer-bottom {
        padding-left: clamp(1rem, 5vw, 9rem);
        padding-right: clamp(1rem, 5vw, 9rem);
    }
    .features-grid, .blog-grid, .awards-grid, .notice-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .split-three { grid-template-columns: 1fr 1fr; gap: 25px; }
    .notice-column { grid-column: 1 / -1; }
    .notice-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .notice-row { min-height: 90px; padding: 16px; }
    .notice-row h4 { font-size: 14px; }
    .notice-title { font-size: 1.25rem; }
    /*.calendar-day-cell { height: 240px; }*/
    /*.calendar-event-card { min-height: 210px; }*/
    .gallery-album-grid { columns: 3; }
}

/* --- SMALL PC / LANDSCAPE TABLETS (min-width: 992px) and (max-width: 1024px) --- */
@media (min-width: 992px) and (max-width: 1024px) {
    .month-title { font-size: 50px; }
    .school-calendar th { font-size: 12px; padding: 10px; }
    /*.calendar-day-cell, .calendar-event-card { height: 170px; }*/
    .calendar-event-overlay { padding: 7px; }
    .calendar-event-meta { font-size: 12px; padding: 4px 10px; }
    .calendar-event-title { font-size: 13px; line-height: 1.3; }
    .calendar-event-desc { font-size: 11px; -webkit-line-clamp: 2; }
}

/* --- RESPONSIVE TABLET GRID RE-BLOCKING (max-width: 1024px) --- */
@media (max-width: 1024px) {
    header { padding: 0 clamp(1rem, 5vw, 9rem); height: 90px !important; }
    header.scrolled { height: 90px !important; }
    header.scrolled > * { transform: none !important; }
    .hero { grid-template-columns: 1fr; text-align: center; padding: 2.5rem clamp(1rem, 5vw, 9rem); }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .hero-image { height: 420px; margin-top: 1rem; }
    .hero-img-bg, .hero-img-about-bg { width: 100%; max-width: 420px; }
    .split-container { grid-template-columns: 1fr; gap: 24px; }
    .split-right { display: block; }
    .programs-grid, .features-grid, .blog-grid, .awards-grid, .stats, .footer-content { grid-template-columns: repeat(2, 1fr); }
    .contact-grid, .blog-details-grid { grid-template-columns: 1fr; }
    .contact-map { position: static; }
    .teacher-row, .teacher-row.reverse { grid-template-columns: 1fr !important; text-align: center; }
    .teacher-photo { max-width: 320px; margin: auto; }
    .teacher-meta, .teacher-row.reverse .teacher-meta { justify-content: center; }
    .teacher-actions { flex-direction: column; }
    .menu-toggle { display: flex !important; }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }
    nav.active { display: block; animation: slideDown .35s ease; }
    nav ul { display: flex !important; flex-direction: column; padding: 1rem 0; gap: 0; }
    nav ul li { width: 100%; }
    nav ul li a { display: flex; align-items: center; gap: 14px; padding: 14px 20px; font-size: 1rem; }
    nav a { flex-direction: row; padding-top: 14px; }
    nav a::before { position: static; opacity: 1; transform: none; }
    .premium-features-layout { grid-template-columns: 1fr; }
    .premium-feature-main { min-height: 580px; }
    .dropdown-menu li a { width: 100%; gap: 14px; display: flex; align-items: center; }
    .about-welcome-layout, .about-curriculum-layout { grid-template-columns: 1fr; }
}

/* --- VERTICAL RESPONSIVE ACCORDION ADAPTATIONS (max-width: 992px) --- */
@media (max-width: 992px) {
    .gallery-thumb { height: 240px; }
    .gallery-title { font-size: 1.6rem; }
}

/* --- PORTRAIT TABLETS / NOTEBOOKS INTERCEPTS (769px - 991px) --- */
@media (min-width: 769px) and (max-width: 991px) {
    .month-title { font-size: 42px; }
    .month-subtitle { font-size: 14px; }
    .school-calendar th { font-size: 11px; padding: 8px; }
    /*.calendar-day-cell, .calendar-event-card { height: 145px; }*/
    .calendar-event-overlay { padding: 6px; }
    .calendar-event-meta { font-size: 10px; padding: 3px 8px; }
    .calendar-event-title { font-size: 12px; line-height: 1.3; margin-bottom: 3px; }
    .calendar-event-desc { font-size: 10px; line-height: 1.3; -webkit-line-clamp: 2; }
}

@media (max-width: 991px) {
    .notice-detail-page { padding: 2rem clamp(1rem, 5vw, 9rem); }
    .notice-detail-card { padding: 35px; }
    .notice-title { font-size: 1.6rem; }
    .month-title { font-size: 42px; }
    .month-subtitle { font-size: 15px; }
    /*.calendar-day-cell { height: 250px; }*/
    /*.calendar-event-card { min-height: 150px; }*/
    .calendar-event-title { font-size: 14px; }
    .calendar-event-desc { font-size: 11px; -webkit-line-clamp: 2; }
}

/* --- RESPONSIVE SMARTPHONE INTERFACES (max-width: 768px) --- */
@media (max-width: 768px) {
    .gallery-album-grid { columns: 2; }
    .gallery-thumb { height: 220px; }
    .gallery-info { padding: 0.5rem; }
    .gallery-title { font-size: 1.4rem; }
    .gallery-desc { min-height: auto; -webkit-line-clamp: 2; }
    .top-bar { flex-direction: column; gap: .5rem; text-align: center; padding: 0.8rem clamp(1rem, 5vw, 9rem); }
    .top-bar-left, .top-bar-right { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    header { padding: 1rem clamp(1rem, 5vw, 9rem); position: relative; }
    .logo { gap: .6rem; }
    .logo-icon { width: 66px; height: 66px; }
    .logo-text h1 { font-size: 1.45rem; }
    .logo-text p { font-size: .56rem; }
    .hero-content h2 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; display: block; }
    .btn-primary, .btn-secondary { width: 50%; justify-content: center; }
    .hero-image { height: 320px; }
    .section { padding: 1rem clamp(1rem, 5vw, 9rem); }
    .section-title { font-size: 2rem; }
    .section-description { font-size: 1rem; }
    .stats, .programs-grid, .features-grid, .blog-grid, .awards-grid, .notice-grid { grid-template-columns: 1fr; gap: 20px; }
    .event-card { padding: 18px 18px; }
    .event-highlight { height: 150px; }
    .event-overlay { left: 18px; right: 18px; bottom: 18px; width: auto; }
    .event-overlay h4 { font-size: 1rem; }
    .event-row { grid-template-columns: 1fr; gap: 4px; }
    .event-row span:last-child { text-align: left; }
    .event-cta { justify-content: flex-start; }
    .achievement-item { padding: 12px 14px; gap: 12px; }
    .achievement-item .icon { width: 52px; height: 52px; min-width: 52px; font-size: 1.2rem; }
    .achievement-top { flex-direction: column; align-items: flex-start; gap: 4px; }
    .faq-columns { grid-template-columns: 1fr; }
    .faq-divider { display: none; }
    .faq-section { padding: 24px 18px; }
    footer { padding: 2rem clamp(1rem, 5vw, 9rem); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .whatsapp-mascot { width: 80px; height: 80px; right: 20px; bottom: 20px; }
    .scroll-top { left: 20px; bottom: 20px; }
    .inner-hero { text-align: center; justify-content: center; }
    .inner-hero::after { background: rgba(255, 255, 255, 0.85); }
    .inner-hero .hero-content h2 { font-size: 2rem; }
    .awards { padding: 60px 0; }
    .award-item { padding: 24px 22px; border-radius: 26px; }
    .award-icon { width: 68px; height: 68px; font-size: 1.6rem; margin-bottom: 18px; }
    .award-item h3 { font-size: .05rem; }
    .award-item p { font-size: .85rem; line-height: 1.7; }
    .premium-daycare-features, .premium-routine-section { padding: 0.1rem clamp(1rem, 5vw, 9rem); }
    .premium-feature-grid { grid-template-columns: 1fr; }
    .feature-main-content { left: 28px; right: 28px; bottom: 28px; }
    .feature-main-content h3 { font-size: 2rem; }
    .routine-timeline { padding: 40px 22px; border-radius: 30px; margin-top: 0px !important;}
    .routine-timeline::before { display: none; }
    .routine-item { grid-template-columns: 1fr; gap: 18px; }
    .routine-time { width: 90px; height: 90px; font-size: .82rem; }
    .routine-content { padding: 26px; font-size: 15px; line-height: 1.8; }
    .about-welcome-layout, .about-curriculum-layout { grid-template-columns: 1fr; }
    .section-header, .notice-header { display: none; }
    .premium-features-layout { margin-top: 0px !important; }
    .split-three { grid-template-columns: 1fr; gap: 20px; }
    .notice-column { grid-column: auto; }
    .notice-title { font-size: 1.3rem; margin-bottom: 18px; }
    .notice-title i { width: 36px; height: 36px; font-size: 14px; }
    .notice-list { display: flex; flex-direction: column; gap: 12px; }
    .notice-row { padding: 14px; border-radius: 14px; }
    .notice-row h4 { font-size: 14px; line-height: 1.4; }
    .notice-row i { display: none; }
    .notice-filters { justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
    .notice-filters::-webkit-scrollbar { display: none; }
    .notice-card h3 { min-height: auto; }
    .notice-actions { flex-wrap: wrap; gap: 10px; }
    .notice-detail-card { padding: 25px; border-radius: 22px; }
    .notice-detail-card .notice-title { font-size: 1.8rem; }
    .notice-meta { gap: 8px; }
    .notice-category, .notice-date { font-size: 12px; padding: 7px 12px; }
    .notice-summary { padding: 18px; font-size: 15px; }
    .notice-attachment-banner { flex-direction: column; align-items: flex-start; }
}

/* --- MOBILE LANDSCAPE DATABOUND VIEWS (481px - 768px) --- */
@media (min-width: 481px) and (max-width: 768px) {
    #calendarContainer { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .school-calendar { min-width: 850px; }
    .month-title { font-size: 34px; }
    .month-subtitle { font-size: 13px; }
    .calendar-filter-btn { padding: 8px 14px; font-size: 13px; }
    /*.calendar-day-cell, .calendar-event-card { height: 130px; }*/
    .calendar-event-meta { font-size: 9px; padding: 3px 7px; }
    .calendar-event-title { font-size: 11px; }
    .calendar-event-desc { display: none; }
}

/* --- MICRO-MOBILE VIEWS & CELLULAR DEPLOYMENTS (max-width: 480px) --- */
@media (max-width: 480px) {
    .gallery-album-grid { columns: 1; }
    #calendarContainer { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .school-calendar { min-width: 750px; }
    .month-title { font-size: 28px; }
    .month-subtitle { font-size: 12px; }
    .calendar-toolbar { margin-bottom: 15px; }
    .calendar-filters { gap: 6px; }
    .calendar-filter-btn { padding: 6px 12px; font-size: 12px; }
    .school-calendar th { font-size: 10px; padding: 6px; }
    /*.calendar-day-cell, .calendar-event-card { height: 110px; }*/
    .calendar-event-overlay { padding: 5px; }
    .calendar-event-meta { font-size: 8px; padding: 2px 6px; }
    .calendar-event-title { font-size: 10px; line-height: 1.2; }
    .calendar-event-desc { display: none; }
    .logo-text { display: none; }
    .btn-primary { margin-bottom: 1rem; }
    .btn-primary, .btn-secondary { width: 85%; display: inline-flex; }
    .hero-content h2 { font-size: 1.9rem; line-height: 1.3; }
    .hero-content p { font-size: .95rem; }
    .hero-img-bg, .hero-img-about-bg { max-width: 300px; }
    .section-title, .notice-header h1 { font-size: 1.7rem; }
    .notice-header h1 { font-size: 2rem; }
    .cta-content h2 { font-size: 2rem; }
    .cta-content p { font-size: 1rem; }
    .stat-number { font-size: 2.2rem; }
    .program-content { padding: 1.8rem 1.4rem; }
    .program-content h3 { font-size: 1.4rem; }
    .feature-box { padding: 1rem 1rem !important; }
    .event-highlight { height: 120px; }
    .achievement-item h3 { font-size: .92rem; }
    .achievement-item p { font-size: .76rem; }
    .blog-details-content { padding: 1.8rem; }
    .contact-card { padding: 1.5rem; }
    .form-grid { grid-template-columns: 1fr; }
    .award-item { padding: 22px 18px; }
    .award-icon { width: 60px; height: 60px; font-size: 1.4rem; border-radius: 22px; }
    .award-year { padding: 6px 12px; font-size: .68rem; }
    .premium-feature-main { min-height: 480px; border-radius: 30px; }
    .premium-feature-card, .routine-content { padding: 24px 20px; }
    .premium-feature-card { border-radius: 28px; }
    .routine-content { flex-direction: column; align-items: center; text-align: center; }
    .premium-icon-wrap, .routine-icon { width: 70px; height: 70px; min-width: 70px; font-size: 1.5rem; }
    .feature-main-content h3 { font-size: 1.55rem; }
    .premium-feature-card h3, .routine-content h3 { font-size: 1.08rem; }
    .premium-feature-card p, .routine-content p { font-size: .84rem; line-height: 1.75; }
    .loader-logo-circle { width: 110px; height: 110px; }
    .loader-logo-circle img { width: 70px; }
    .loader-title { font-size: 26px; }
    .loader-text { font-size: 15px; }
    .dropdown-menu li a { width: 100%; gap: 14px; display: flex; align-items: center; }
    .about-welcome-layout, .about-curriculum-layout { grid-template-columns: 1fr; }
    .home .section-header, .inner-page .section-header { display: block; margin-top: 2rem !important; margin-bottom: 2rem !important; }
    .inner-page .inner-hero + section .section-header { display: none; }
    .section { padding: 1rem clamp(1rem, 5vw, 9rem); }
    .notice-card { padding: 16px; border-radius: 20px; }
    .notice-title { font-size: 1.3rem; }
    .notice-row { padding: 12px; }
    .notice-row h4 { font-size: 13px; }
    .notice-row span, .notice-date { font-size: 11px; }
    .notice-row h4::before { margin-right: 5px; }
    .notice-top { flex-direction: column; align-items: flex-start; gap: 8px; }
    .notice-detail-card { padding: 20px; }
    .notice-detail-card .notice-title { font-size: 1.5rem; }
    .notice-detail-card .notice-content { font-size: 14px; }
}