/*
Theme Name: School Theme 5
Theme URI: https://saraswatischool.edu.in
Author: Saraswati School
Author URI: https://saraswatischool.edu.in
Description: School Theme 5 is a vibrant, modern, and fully Elementor-compatible WordPress theme crafted specifically for Saraswati School. Features full Elementor page editing support, customizable header navigation, editable ERP / Portal Login dropdowns, widgetized 4-column footer with side-by-side display for Widgets 2 & 3 on mobile, Google Fonts (Fredoka & Poppins), Font Awesome 6 icons, and built-in SEO schema markup.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: school-theme-5
Tags: education, school, elementor, responsive-layout, custom-menu, footer-widgets, theme-options
*/

/* -------------------------------------------------------------
   1. ROOT VARIABLES & GLOBAL RESETS
------------------------------------------------------------- */
:root {
    --brand-pink: #FF4081;
    --brand-yellow: #FFC107;
    --brand-blue: #00BCD4;
    --brand-green: #4CAF50;
    --brand-purple: #9C27B0;
    --brand-orange: #FF5722;
    --bg-amber: #FFFBEB;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50:  #F8FAFC;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-amber);
    color: var(--slate-800);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-fun {
    font-family: 'Fredoka', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* -------------------------------------------------------------
   2. HEADER & NAVIGATION
------------------------------------------------------------- */
.theme-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    border-bottom: 4px solid var(--brand-yellow);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-badge {
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-pink);
    color: #ffffff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(255, 64, 129, 0.3);
    flex-shrink: 0;
}

.brand-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-pink);
    letter-spacing: 0.025em;
    display: block;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 2px;
}

/* Primary Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-weight: 600;
    color: var(--slate-700);
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav > li {
    position: relative;
    padding: 0.5rem 0;
}

.desktop-nav a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--slate-700);
    padding: 0.25rem 0.5rem;
}

.desktop-nav a:hover {
    color: var(--brand-pink);
}

.desktop-nav .dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    display: none;
    min-width: 13rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--brand-blue);
    padding: 0.5rem 0;
    z-index: 50;
    list-style: none;
}

.desktop-nav li.has-dropdown:hover > .dropdown-menu,
.desktop-nav li.has-dropdown:focus-within > .dropdown-menu {
    display: block;
}

.desktop-nav .dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
}

.desktop-nav .dropdown-menu a:hover {
    background-color: #F0F9FF;
    color: var(--brand-blue);
}

/* Header Actions & ERP Login */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.portal-dropdown-wrap {
    position: relative;
}

.portal-btn {
    background: linear-gradient(to right, var(--brand-pink), var(--brand-orange));
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(255, 64, 129, 0.3);
}

.portal-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 14rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--brand-yellow);
    display: none;
    z-index: 60;
    overflow: hidden;
    list-style: none;
}

.portal-dropdown-wrap:hover .portal-menu,
.portal-dropdown-wrap:focus-within .portal-menu {
    display: block;
}

.portal-menu a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    border-bottom: 1px solid var(--slate-100);
    transition: background-color 0.15s ease;
}

.portal-menu a i {
    width: 1.25rem;
    text-align: center;
    margin-right: 0.5rem;
}

.portal-menu a.student-link:hover { background-color: #FDF2F8; color: var(--brand-pink); }
.portal-menu a.parent-link:hover { background-color: #FEFCE8; color: #CA8A04; }
.portal-menu a.teacher-link:hover { background-color: #F0F9FF; color: var(--brand-blue); }
.portal-menu a.staff-link:hover { background-color: #FAF5FF; color: var(--brand-purple); }
.portal-menu a.admin-link:hover { background-color: #FEF2F2; color: #EF4444; }

.portal-menu a.register-link {
    background-color: var(--brand-green);
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    border-bottom: none;
}

.portal-menu a.register-link:hover {
    background-color: #388E3C;
    color: #ffffff;
}

/* Mobile Toggle Button */
.mobile-toggle-btn {
    display: block;
    font-size: 1.5rem;
    color: var(--slate-700);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

@media (min-width: 768px) {
    .mobile-toggle-btn {
        display: none;
    }
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
    display: none;
    background-color: #ffffff;
    border-top: 1px solid var(--slate-200);
    padding: 0.75rem 1rem;
}

.mobile-nav-drawer.is-open {
    display: block;
}

@media (min-width: 768px) {
    .mobile-nav-drawer {
        display: none !important;
    }
}

.mobile-nav-drawer a {
    display: block;
    font-weight: 600;
    color: var(--slate-700);
    padding: 0.5rem 0;
}

.mobile-nav-drawer a:hover {
    color: var(--brand-pink);
}

.mobile-nav-drawer details {
    padding: 0.25rem 0;
}

.mobile-nav-drawer summary {
    font-weight: 600;
    color: var(--slate-700);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.mobile-nav-drawer summary::-webkit-details-marker {
    display: none;
}

.mobile-nav-drawer .sub-menu-mobile {
    padding-left: 1rem;
    margin-top: 0.5rem;
    border-left: 2px solid var(--brand-blue);
}

.mobile-nav-drawer .sub-menu-mobile a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    padding: 0.35rem 0;
}

/* WP Nav Menu in Mobile Drawer */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--slate-100);
}

.mobile-nav-list li:last-child {
    border-bottom: none;
}

.mobile-nav-list a {
    display: block;
    font-weight: 600;
    color: var(--slate-700);
    padding: 0.5rem 0;
}

.mobile-nav-list a:hover {
    color: var(--brand-pink);
}

.mobile-nav-list .sub-menu {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    border-left: 2px solid var(--brand-blue);
}

.mobile-nav-list .sub-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    padding: 0.35rem 0;
}

/* -------------------------------------------------------------
   3. HERO SECTION & ANNOUNCEMENT MARQUEE
------------------------------------------------------------- */
.hero-section {
    position: relative;
    background: linear-gradient(to bottom, #E0F2FE, #FFFBEB);
    padding: 1.5rem 1rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }
}

.hero-inner {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-inner {
        flex-direction: row;
    }
}

.hero-content {
    display: none;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-content {
        display: block;
        width: 50%;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: var(--brand-yellow);
    color: var(--slate-900);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-desc {
    color: var(--slate-600);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-pink {
    background-color: var(--brand-pink);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(255, 64, 129, 0.3);
    display: inline-block;
}

.btn-pink:hover {
    background-color: #E91E63;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-blue {
    background-color: var(--brand-blue);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 188, 212, 0.3);
    display: inline-block;
}

.btn-blue:hover {
    background-color: #0097A7;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-media {
    width: 100%;
}

@media (min-width: 768px) {
    .hero-media {
        width: 50%;
    }
}

.video-thumb-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background-color: #000000;
}

.video-thumb-card img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .video-thumb-card img {
        height: 24rem;
    }
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-circle-btn {
    width: 4rem;
    height: 4rem;
    background-color: var(--brand-yellow);
    color: var(--slate-900);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.play-circle-btn:hover {
    transform: scale(1.15);
}

/* Marquee News Ticker */
.marquee-bar {
    max-width: 1280px;
    margin: 1.5rem auto 0 auto;
    background-color: #ffffff;
    border-radius: 1rem;
    border: 2px solid var(--brand-pink);
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.marquee-badge {
    background-color: var(--brand-pink);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.75rem;
    white-space: nowrap;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@media (min-width: 768px) {
    .marquee-badge {
        font-size: 0.875rem;
    }
}

.marquee-content {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-left: 0.75rem;
    flex-grow: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}

/* -------------------------------------------------------------
   4. STUDENT CORNER & QUICK LINKS (12 ITEMS)
------------------------------------------------------------- */
.section-quick-links {
    padding: 2.5rem 1rem;
    background-color: #ffffff;
}

.section-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.section-head-center {
    text-align: center;
    margin-bottom: 1.75rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--slate-600);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1rem;
    }
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1rem;
    }
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    border-radius: 1rem;
    border: 2px solid;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-link-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.quick-link-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.quick-link-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-800);
}

@media (min-width: 768px) {
    .quick-link-title {
        font-size: 0.875rem;
    }
}

/* Color Themes for Quick Link Cards */
.card-pink { background-color: #FDF2F8; border-color: #FBCFE8; }
.card-pink .quick-link-icon-box { background-color: var(--brand-pink); }

.card-yellow { background-color: #FEFCE8; border-color: #FEF08A; }
.card-yellow .quick-link-icon-box { background-color: var(--brand-yellow); color: var(--slate-900); }

.card-blue { background-color: #F0F9FF; border-color: #BAE6FD; }
.card-blue .quick-link-icon-box { background-color: var(--brand-blue); }

.card-green { background-color: #F0FDF4; border-color: #BBF7D0; }
.card-green .quick-link-icon-box { background-color: var(--brand-green); }

.card-purple { background-color: #FAF5FF; border-color: #E9D5FF; }
.card-purple .quick-link-icon-box { background-color: var(--brand-purple); }

.card-orange { background-color: #FFF7ED; border-color: #FED7AA; }
.card-orange .quick-link-icon-box { background-color: var(--brand-orange); }

.card-teal { background-color: #F0FDFA; border-color: #99F6E4; }
.card-teal .quick-link-icon-box { background-color: #14B8A6; }

.card-indigo { background-color: #EEF2FF; border-color: #C7D2FE; }
.card-indigo .quick-link-icon-box { background-color: #6366F1; }

.card-red { background-color: #FEF2F2; border-color: #FECACA; }
.card-red .quick-link-icon-box { background-color: #EF4444; }

.card-amber { background-color: #FFFBEB; border-color: #FDE68A; }
.card-amber .quick-link-icon-box { background-color: #F59E0B; }

.card-lime { background-color: #F7FEE7; border-color: #D9F99D; }
.card-lime .quick-link-icon-box { background-color: #84CC16; }

.card-cyan { background-color: #ECFEFF; border-color: #A5F3FC; }
.card-cyan .quick-link-icon-box { background-color: #06B6D4; }

/* -------------------------------------------------------------
   5. MEET OUR INSPIRING TEACHERS
------------------------------------------------------------- */
.section-teachers {
    padding: 3rem 1rem;
    background-color: #ECFDF5;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .teachers-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.teacher-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid;
    transition: transform 0.2s ease;
}

.teacher-card:hover {
    transform: translateY(-4px);
}

.teacher-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    margin: 0 auto 0.75rem auto;
    object-fit: cover;
    border: 4px solid;
}

.teacher-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-800);
}

@media (min-width: 768px) {
    .teacher-name {
        font-size: 1.125rem;
    }
}

.teacher-subject {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.15rem;
}

@media (min-width: 768px) {
    .teacher-subject {
        font-size: 0.875rem;
    }
}

.teacher-btn {
    margin-top: 0.75rem;
    display: inline-block;
    font-size: 0.75rem;
    background-color: var(--slate-100);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    color: var(--slate-700);
}

.teacher-btn:hover {
    background-color: var(--brand-pink);
    color: #ffffff;
}

/* -------------------------------------------------------------
   6. WHY CHOOSE SARASWATI SCHOOL
------------------------------------------------------------- */
.section-features {
    padding: 3rem 1rem;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.feature-card {
    padding: 1rem;
    border-radius: 1.5rem;
    border: 2px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-800);
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 1rem;
    }
}

.feature-desc {
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* -------------------------------------------------------------
   7. WORLD CLASS FACILITIES
------------------------------------------------------------- */
.section-facilities {
    padding: 3rem 1rem;
    background-color: #FEF3C7;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .facilities-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.facility-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.facility-img {
    height: 8rem;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .facility-img {
        height: 11rem;
    }
}

.facility-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.facility-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-800);
}

.facility-desc {
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.5rem;
    flex-grow: 1;
    line-height: 1.4;
}

.facility-link {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.75rem;
    display: inline-block;
}

/* -------------------------------------------------------------
   8. SARASWATI SCHOOL IN NEWS
------------------------------------------------------------- */
.section-news {
    padding: 3rem 1rem;
    background-color: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.news-card {
    background-color: var(--slate-50);
    padding: 0.75rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news-card:nth-child(3) {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .news-card:nth-child(3) {
        grid-column: span 1;
    }
}

.news-img {
    width: 100%;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.75rem;
}

@media (min-width: 768px) {
    .news-img {
        height: 10rem;
    }
}

.news-headline {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .news-headline {
        font-size: 1rem;
    }
}

.news-excerpt {
    display: none;
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .news-excerpt {
        display: block;
    }
}

.news-link {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.5rem;
    display: inline-block;
}

/* -------------------------------------------------------------
   9. OUR LEADERSHIP
------------------------------------------------------------- */
.section-leadership {
    padding: 3rem 1rem;
    background-color: #FAF5FF;
}

.leadership-container {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.leader-card {
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    border-left: 8px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .leader-card {
        flex-direction: row;
    }
}

.leader-avatar {
    width: 7rem;
    height: 7rem;
    border-radius: 1rem;
    object-fit: cover;
    border: 2px solid;
    flex-shrink: 0;
}

.leader-info {
    text-align: center;
}

@media (min-width: 640px) {
    .leader-info {
        text-align: left;
    }
}

.leader-designation {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

.leader-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-800);
}

.leader-quote {
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* -------------------------------------------------------------
   10. WHAT OUR STUDENTS SAY
------------------------------------------------------------- */
.section-testimonials {
    padding: 3rem 1rem;
    background-color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.testimonial-card {
    padding: 1rem;
    border-radius: 1.5rem;
    border: 2px solid;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.student-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid;
    margin-bottom: 0.5rem;
}

.student-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-800);
}

.student-class {
    font-size: 0.75rem;
    font-weight: 600;
}

.student-quote {
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.5rem;
    font-style: italic;
    line-height: 1.4;
}

/* -------------------------------------------------------------
   11. FREQUENTLY ASKED QUESTIONS (FAQ)
------------------------------------------------------------- */
.section-faq {
    padding: 3rem 1rem;
    background-color: #F0F9FF;
}

.faq-container {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #BAE6FD;
    cursor: pointer;
}

.faq-item summary {
    font-weight: 700;
    color: var(--slate-800);
    font-size: 0.875rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .faq-item summary {
        font-size: 1rem;
    }
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.5rem;
    padding-left: 1rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .faq-answer {
        font-size: 0.875rem;
    }
}

/* -------------------------------------------------------------
   12. FOOTER & SPECIAL 2-COLUMN MOBILE WIDGET LAYOUT
------------------------------------------------------------- */
.site-footer {
    background-color: var(--slate-900);
    color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-top: 8px solid var(--brand-pink);
}

.footer-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop layout: 4 columns */
@media (min-width: 768px) {
    .footer-widgets-wrap {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-row-2-3 {
        display: contents; /* Allows children col 2 and col 3 to participate in parent 4-col grid */
    }
}

/* CRITICAL USER REQUIREMENT:
   "footer me footer widget 2 or 3 wala widget mobile version me ek hi line me aana chahiye"
   On mobile (< 768px):
   Widget 1: full width
   Widget 2 & 3: in the SAME line side-by-side (2 columns)
   Widget 4: full width
*/
@media (max-width: 767px) {
    .footer-widgets-wrap {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-widget-col-1,
    .footer-widget-col-4 {
        width: 100%;
    }
    
    .footer-row-2-3 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    .footer-widget-col-2,
    .footer-widget-col-3 {
        min-width: 0 !important;
        width: 100% !important;
    }
}

.footer-widget-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .footer-widget-title {
        font-size: 1.25rem;
    }
}

.footer-widget-title.title-yellow { color: var(--brand-yellow); }
.footer-widget-title.title-pink { color: var(--brand-pink); }
.footer-widget-title.title-blue { color: var(--brand-blue); }
.footer-widget-title.title-green { color: var(--brand-green); }

.footer-desc {
    font-size: 0.75rem;
    color: var(--slate-400);
    line-height: 1.6;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-list a {
    font-size: 0.75rem;
    color: var(--slate-300);
    transition: color 0.15s ease;
}

.footer-nav-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Generic WordPress Widget Elements inside Footer Columns */
.footer-widget-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-widget-col ul li a {
    font-size: 0.75rem;
    color: var(--slate-300);
    transition: color 0.15s ease;
}

.footer-widget-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-widget-col p {
    font-size: 0.75rem;
    color: var(--slate-300);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-contact-item {
    font-size: 0.75rem;
    color: var(--slate-300);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
}

.footer-contact-item i {
    margin-right: 0.5rem;
    color: var(--brand-green);
    width: 1rem;
    text-align: center;
}

.footer-copyright-bar {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1rem;
    border-top: 1px solid #1E293B;
    text-align: center;
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* -------------------------------------------------------------
   13. ELEMENTOR & PAGE COMPATIBILITY
------------------------------------------------------------- */
/* When a page is edited with Elementor, ensure zero interference */
.elementor-page-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.elementor-page .site-content {
    padding: 0 !important;
    max-width: 100% !important;
}

/* Non-elementor standard page styling */
.standard-page-container {
    max-width: 1100px;
    margin: 2.5rem auto;
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--slate-200);
}

.standard-page-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--brand-pink);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--brand-yellow);
}

.entry-content {
    line-height: 1.8;
    color: var(--slate-700);
}

.entry-content p {
    margin-bottom: 1.25rem;
}

.entry-content h2, .entry-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--slate-900);
}

/* Standard WordPress Alignment and Utility Classes */
.alignleft { float: left; margin: 0 1.5rem 1.5rem 0; }
.alignright { float: right; margin: 0 0 1.5rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* -------------------------------------------------------------
   14. PAGE BANNERS & NEW 5 PAGES STYLES
------------------------------------------------------------- */
.page-banner {
    padding: 3rem 1rem;
    text-align: center;
    color: #ffffff;
}

.banner-orange {
    background: linear-gradient(to right, #FB923C, var(--brand-orange));
}

.banner-orange-yellow {
    background: linear-gradient(to right, var(--brand-orange), var(--brand-yellow));
    color: var(--slate-900);
}

.banner-purple {
    background: linear-gradient(to right, #9333EA, var(--brand-purple));
}

.banner-yellow {
    background: linear-gradient(to right, #FBBF24, var(--brand-yellow));
    color: var(--slate-900);
}

.page-banner-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .page-banner-title {
        font-size: 3rem;
    }
}

.page-banner-desc {
    max-width: 42rem;
    margin: 0 auto;
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .page-banner-desc {
        font-size: 1rem;
    }
}

/* Video Gallery Grid */
.video-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .video-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.video-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    border: 2px solid #FED7AA;
}

.video-card-media {
    position: relative;
    height: 12rem;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.video-card-play-btn {
    position: absolute;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--brand-yellow);
    color: var(--slate-900);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.video-card-play-btn:hover {
    transform: scale(1.15);
}

.video-card-body {
    padding: 1rem;
}

.video-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-800);
}

/* Photo Gallery Grid */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.photo-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
}

.photo-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card img:hover {
    transform: scale(1.05);
}

/* News Page Specifics */
.featured-news-card {
    background: linear-gradient(to right, #EC4899, var(--brand-purple));
    border-radius: 1.5rem;
    padding: 1.5rem;
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    border: 4px solid var(--brand-yellow);
}

@media (min-width: 768px) {
    .featured-news-card {
        padding: 2.5rem;
    }
}

.featured-cat-bg-icon {
    position: absolute;
    right: -2.5rem;
    bottom: -2.5rem;
    opacity: 0.1;
    font-size: 8rem;
    pointer-events: none;
}

.featured-news-badge {
    display: inline-block;
    background-color: var(--brand-yellow);
    color: var(--slate-900);
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .featured-news-title {
        font-size: 2.25rem;
    }
}

.featured-news-desc {
    font-size: 0.875rem;
    color: #FCE7F3;
    max-width: 48rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .featured-news-desc {
        font-size: 1rem;
    }
}

.featured-news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.featured-news-meta span {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
}

/* 10 News Updates Grid */
.news-updates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .news-updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-updates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-update-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    border: 2px solid;
    display: flex;
    flex-direction: column;
}

.news-update-card-wide {
    max-width: 36rem;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .news-update-card-wide {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .news-update-card-wide {
        grid-column: span 3;
    }
}

.news-update-img {
    height: 12rem;
    width: 100%;
    object-fit: cover;
}

.news-update-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-update-cat {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: block;
}

.news-update-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.3;
}

.news-update-excerpt {
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

.news-update-time {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 1rem;
    display: block;
}

/* Privacy Policy Page */
.privacy-document-card {
    max-width: 56rem;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid #F3E8FF;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--slate-700);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .privacy-document-card {
        padding: 3rem 2.5rem;
        font-size: 1rem;
    }
}

.privacy-updated-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-purple);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.privacy-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.privacy-divider {
    border: 0;
    border-top: 1px solid #F3E8FF;
    margin: 0;
}

/* Result Portal Page */
.result-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .result-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-intro-img-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
}

.result-intro-img-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.result-intro-badge {
    background-color: var(--slate-900);
    color: #ffffff;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.result-intro-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.result-intro-desc {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.result-form-container {
    max-width: 56rem;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}

.result-search-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--brand-yellow);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .result-search-card {
        padding: 2.5rem;
    }
}

.result-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.result-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .result-form-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.result-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 0.25rem;
}

.result-select, .result-input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-300);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.result-select:focus, .result-input:focus {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.result-submit-btn {
    width: 100%;
    background-color: var(--brand-yellow);
    color: var(--slate-900);
    font-weight: 700;
    padding: 0.875rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(255, 193, 7, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.result-submit-btn:hover {
    background-color: #F59E0B;
    transform: translateY(-2px);
}

.result-eval-container {
    max-width: 56rem;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}

.result-eval-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-200);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-eval-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
}

.result-eval-subheading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-top: 0.5rem;
}

.result-eval-text {
    font-size: 0.875rem;
    color: var(--slate-700);
    line-height: 1.7;
}

/* Rules Page */
.rules-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .rules-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rules-intro-badge {
    background-color: var(--brand-orange);
    color: #ffffff;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.rules-intro-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.rules-intro-desc {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.7;
}

.rules-intro-img-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
}

.rules-intro-img-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rule-card {
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    border-left: 4px solid;
}

.rule-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-800);
}

.rule-card-desc {
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.25rem;
    line-height: 1.5;
}

/* -------------------------------------------------------------
   15. STYLES FOR ABOUT, ADMISSION, CONTACT, DOWNLOAD & FACILITIES
------------------------------------------------------------- */
.banner-sky-blue {
    background: linear-gradient(to right, #38BDF8, var(--brand-blue));
}

.banner-pink-orange {
    background: linear-gradient(to right, #EC4899, var(--brand-orange));
}

.banner-blue-green {
    background: linear-gradient(to right, var(--brand-blue), var(--brand-green));
}

.banner-emerald-green {
    background: linear-gradient(to right, #10B981, var(--brand-green));
}

/* About Page Specifics */
.about-legacy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-legacy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-legacy-badge {
    background-color: var(--brand-yellow);
    color: var(--slate-900);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.about-legacy-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.about-legacy-desc {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .about-legacy-desc {
        font-size: 1rem;
    }
}

.about-legacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
}

.about-legacy-img-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
}

.about-legacy-img-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.about-leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.leadership-message-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 2px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .leadership-message-card {
        flex-direction: row;
    }
}

.leadership-message-card.border-purple {
    background-color: #FAF5FF;
    border-color: #E9D5FF;
}

.leadership-message-card.border-pink {
    background-color: #FDF2F8;
    border-color: #FBCFE8;
}

.leadership-message-img {
    width: 9rem;
    height: 9rem;
    border-radius: 1rem;
    object-fit: cover;
    border: 4px solid;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.leadership-message-img.border-purple { border-color: var(--brand-purple); }
.leadership-message-img.border-pink { border-color: var(--brand-pink); }

.leadership-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid;
    display: inline-block;
}

.leadership-badge.badge-purple { color: var(--brand-purple); border-color: #E9D5FF; }
.leadership-badge.badge-pink { color: var(--brand-pink); border-color: #FBCFE8; }

.leadership-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-top: 0.5rem;
}

.leadership-quote {
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.75rem;
    line-height: 1.6;
}

/* Admission Page Specifics */
.admission-guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .admission-guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.admission-guide-img-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--brand-pink);
}

.admission-guide-img-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.admission-guide-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admission-guide-badge {
    background-color: var(--brand-yellow);
    color: var(--slate-900);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    align-self: flex-start;
}

.admission-guide-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.25;
}

.admission-guide-desc {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.7;
}

.admission-guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-700);
    font-weight: 500;
}

.admission-form-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--brand-blue);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .admission-form-wrapper {
        padding: 2rem;
    }
}

.admission-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.admission-form-sub {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 0.25rem;
}

.admission-form-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.admission-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 0.25rem;
}

.admission-input, .admission-select, .admission-textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-300);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.admission-input:focus, .admission-select:focus, .admission-textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
}

.admission-file-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-300);
    font-size: 0.875rem;
}

.admission-submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--brand-pink);
    color: #ffffff;
    font-weight: 700;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(255, 64, 129, 0.3);
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.admission-submit-btn:hover {
    background-color: #E91E63;
}

/* Contact Page Specifics */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-principal-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--brand-pink);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .contact-principal-card {
        padding: 2rem;
    }
}

.contact-leadership-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--brand-pink);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-bottom-left-radius: 1rem;
}

.contact-principal-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .contact-principal-flex {
        flex-direction: row;
        text-align: left;
    }
}

.contact-principal-img {
    width: 7rem;
    height: 7rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 4px solid var(--brand-yellow);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.contact-office-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--brand-blue);
}

@media (min-width: 768px) {
    .contact-office-card {
        padding: 2rem;
    }
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-form-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--brand-green);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .contact-form-card {
        padding: 2rem;
    }
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 0.25rem;
}

.contact-input, .contact-select, .contact-textarea {
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-300);
    font-size: 0.75rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-input:focus, .contact-select:focus, .contact-textarea:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.contact-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contact-form-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--brand-green);
    color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(76, 175, 80, 0.3);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-submit-btn:hover {
    background-color: #388E3C;
}

.contact-map-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--brand-yellow);
    padding: 0.5rem;
}

.contact-map-frame {
    width: 100%;
    height: 20rem;
    border-radius: 1rem;
    border: 0;
}

/* Download Form Page */
.download-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .download-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.download-intro-img-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
}

.download-intro-img-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.download-intro-badge {
    background-color: var(--brand-purple);
    color: #ffffff;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.download-intro-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.download-intro-desc {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.7;
}

.download-files-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .download-files-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.download-file-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    border: 2px solid #E9D5FF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.download-file-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-800);
}

.download-file-meta {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 0.25rem;
}

.download-btn {
    color: #ffffff;
    font-weight: 700;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.download-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

.download-btn.bg-purple { background-color: var(--brand-purple); }
.download-btn.bg-pink { background-color: var(--brand-pink); }
.download-btn.bg-blue { background-color: var(--brand-blue); }
.download-btn.bg-green { background-color: var(--brand-green); }

/* Facilities Page Specifics */
.facilities-overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .facilities-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.facilities-overview-img-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
}

.facilities-overview-img-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.facilities-badge {
    background-color: var(--brand-green);
    color: #ffffff;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.facilities-overview-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.facilities-overview-desc {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.facilities-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-700);
}

.facilities-highlight-box {
    background-color: #ffffff;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #A7F3D0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.facilities-full-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .facilities-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .facilities-full-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.facility-full-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid #D1FAE5;
}

.facility-card-wide {
    width: 100%;
}

@media (min-width: 1024px) {
    .facility-card-wide {
        grid-column: span 3;
        max-width: 28rem;
        margin-left: auto;
        margin-right: auto;
    }
}

.facility-full-img {
    height: 11rem;
    object-fit: cover;
    width: 100%;
}

.facility-full-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.facility-full-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-800);
}

.facility-full-desc {
    font-size: 0.75rem;
    color: var(--slate-600);
    margin-top: 0.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

/* -------------------------------------------------------------
   15. SINGLE POST & BLOG STYLING
------------------------------------------------------------- */
.single-post-main {
    background-color: var(--bg-amber);
    min-height: 60vh;
}

.single-entry-body h2,
.single-entry-body h3,
.single-entry-body h4 {
    font-family: 'Fredoka', sans-serif;
    color: var(--slate-900);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.single-entry-body h2 { font-size: 1.75rem; }
.single-entry-body h3 { font-size: 1.4rem; }
.single-entry-body h4 { font-size: 1.2rem; }

.single-entry-body p {
    margin-bottom: 1.25rem;
}

.single-entry-body blockquote {
    background: #FFFBEB;
    border-left: 5px solid var(--brand-yellow);
    padding: 1.25rem 1.5rem;
    border-radius: 0 1rem 1rem 0;
    margin: 2rem 0;
    font-style: italic;
    color: var(--slate-700);
}

.single-entry-body ul,
.single-entry-body ol {
    margin: 1.25rem 0 1.5rem 1.75rem;
}

.single-entry-body li {
    margin-bottom: 0.5rem;
}

.single-entry-body img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.single-entry-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.single-entry-body th,
.single-entry-body td {
    border: 1px solid var(--slate-200);
    padding: 0.75rem 1rem;
    text-align: left;
}

.single-entry-body th {
    background-color: #F8FAFC;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

/* Comments Section Styling */
.single-comments-card .comments-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.comment-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.comment-list .comment {
    background: #F8FAFC;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.comment-author .fn {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: var(--slate-900);
}

.comment-metadata {
    font-size: 0.8rem;
    color: var(--slate-500);
    margin-bottom: 0.75rem;
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-content p {
    font-size: 0.95rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-pink);
    text-decoration: none;
    margin-top: 0.5rem;
}

.comment-respond {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--slate-200);
}

.comment-reply-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.35rem;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.35rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--slate-200);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--brand-blue);
}

.comment-form input[type="submit"] {
    background-color: var(--brand-pink);
    color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 64, 129, 0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Pagination Styling */
.pagination-wrap ul.page-numbers {
    display: inline-flex;
    list-style: none;
    gap: 0.5rem;
    padding: 0;
    margin: 0 auto;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background: #ffffff;
    border: 2px solid var(--slate-200);
    border-radius: 0.75rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--slate-700);
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-numbers.current {
    background-color: var(--brand-pink);
    border-color: var(--brand-pink);
    color: #ffffff;
}

.page-numbers:hover:not(.current) {
    border-color: var(--brand-pink);
    color: var(--brand-pink);
}

/* Font Awesome & Icons Reliability Guarantee */
i.fa-solid,
i.fa-regular,
i.fa-brands,
i.fa {
    display: inline-block;
    line-height: 1;
    font-style: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

