/*
Theme Name: School Theme 10
Theme URI: https://saraswatiacademy.edu.in
Author: Saraswati Academy
Author URI: https://saraswatiacademy.edu.in
Description: School Theme 10 - A modern, vibrant, and fully Elementor-editable school WordPress theme. Features comprehensive Elementor widgets for every section, ERP portals login dropdown, responsive navigation, SEO schema markup, Fredoka & Poppins typography, and modern responsive design.
Version: 1.0.1
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-10
Tags: education, school, elementor, responsive-layout, custom-menu, full-width-template, theme-options
*/

:root {
    --bright-yellow: #FFD166;
    --coral-pink: #FF6B6B;
    --soft-teal: #4ECDC4;
    --purple-fun: #A06CD5;
    --fresh-green: #06D6A0;
    --sunny-orange: #FF9F1C;
    --dark-navy: #1D1D33;
    --light-bg: #FFFDF9;
    --card-bg: #FFFFFF;
    --dark-text: #2B2D42;
    --text-muted: #6C757D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

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

html, body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

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

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

/* Accessibility / Screen Reader */
.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;
}

.skip-link:focus {
    background-color: var(--coral-pink);
    border-radius: 4px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #fff;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 8px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 8px;
    width: auto;
    z-index: 100000;
}

/* --- Header Section --- */
header.site-header {
    background: var(--card-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-bottom: 5px solid var(--coral-pink);
}

.header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo i.logo-icon {
    font-size: 34px;
    color: var(--purple-fun);
    background: linear-gradient(135deg, var(--coral-pink), var(--purple-fun));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-logo-link img {
    max-height: 48px;
    width: auto;
}

.brand-text h1 {
    font-size: 20px;
    color: var(--dark-navy);
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1.2;
}

.brand-text p {
    font-size: 10px;
    color: var(--sunny-orange);
    font-weight: 600;
    white-space: nowrap;
    margin-top: 2px;
}

/* --- Navigation Menu --- */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list,
.main-nav > ul,
.main-nav > div > ul {
    display: flex;
    list-style: none;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item,
.main-nav > ul > li,
.main-nav > div > ul > li {
    position: relative;
    list-style: none;
}

.nav-link,
.main-nav li > a {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-navy);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.nav-link:hover,
.main-nav li > a:hover,
.nav-item.current-menu-item > .nav-link,
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a {
    color: var(--coral-pink);
}

/* Submenu Dropdown (Hidden by default, opens strictly on click) */
.nav-dropdown,
ul.nav-dropdown,
.main-nav ul.nav-dropdown,
.main-nav ul.sub-menu,
.main-nav .sub-menu,
.main-nav ul.children,
.nav-item .sub-menu,
.nav-item .nav-dropdown,
.menu-item-has-children > ul {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #FFFFFF !important;
    min-width: 230px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 2px solid #F1F3F5 !important;
    z-index: 1002 !important;
    list-style: none !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
}

/* Submenu items MUST ALWAYS be full width and vertically stacked (1 per line) */
.nav-dropdown li,
ul.nav-dropdown li,
.main-nav ul.sub-menu li,
.main-nav .sub-menu li,
.nav-item .nav-dropdown li,
.menu-item-has-children ul li {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.nav-dropdown li a,
.nav-dropdown a,
ul.nav-dropdown li a,
.main-nav ul.sub-menu li a,
.main-nav .sub-menu li a,
.nav-item .nav-dropdown li a {
    display: block !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--dark-text, #2B2D42) !important;
    border-bottom: 1px solid #F8F9FA !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.nav-dropdown li:last-child a,
.nav-dropdown a:last-child,
ul.nav-dropdown li:last-child a,
.main-nav ul.sub-menu li:last-child a,
.main-nav .sub-menu li:last-child a {
    border-bottom: none !important;
}

.nav-dropdown a:hover,
.nav-dropdown li a:hover,
ul.nav-dropdown li a:hover,
.main-nav ul.sub-menu li a:hover,
.main-nav .sub-menu li a:hover {
    background: #F4F0EA !important;
    color: var(--coral-pink, #FF6B6B) !important;
    padding-left: 24px !important;
}

/* Open ONLY on Click */
.nav-item.open > .nav-dropdown,
.nav-item.open > ul.nav-dropdown,
.nav-item.open > .sub-menu,
.main-nav li.open > ul.nav-dropdown,
.main-nav li.open > ul.sub-menu,
.main-nav li.open > .sub-menu,
.main-nav li.open > ul.children,
.menu-item-has-children.open > .sub-menu,
.menu-item-has-children.open > .nav-dropdown,
.menu-item-has-children.open > ul {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Login Dropdown */
.login-dropdown {
    position: relative;
}

.login-btn {
    background: linear-gradient(135deg, var(--soft-teal), var(--fresh-green));
    color: white;
    padding: 9px 18px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(78, 205, 196, 0.6);
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: var(--card-bg);
    min-width: 230px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #F1F3F5;
    z-index: 1001;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-text);
    border-bottom: 1px solid #F8F9FA;
    transition: all 0.2s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a i { 
    color: var(--purple-fun); 
    width: 18px;
    text-align: center;
}

.dropdown-menu a:hover {
    background: #F4F0EA;
    color: var(--coral-pink);
    padding-left: 22px;
}

.login-dropdown:hover .dropdown-menu,
.login-dropdown.active .dropdown-menu { 
    display: block; 
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--dark-navy);
    cursor: pointer;
    padding: 4px 8px;
}

/* --- Global Headings --- */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
    padding: 0 15px;
}

.section-title h2 {
    font-size: 30px;
    color: var(--purple-fun);
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--coral-pink);
}

.section-title p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

/* --- 1. Hero Section --- */
.hero {
    max-width: 1250px;
    margin: 25px auto;
    padding: 0 20px;
}

.hero-card {
    background: linear-gradient(135deg, #FFE3E3, #FFF3BF, #E8F9F5);
    border-radius: 25px;
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 3px dashed var(--coral-pink);
}

.hero-left { 
    flex: 1; 
}

.badge-tag {
    background: var(--purple-fun);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.badge-tag i {
    margin-right: 5px;
}

.hero-left h2 {
    font-size: 36px;
    color: var(--dark-navy);
    line-height: 1.25;
    margin-bottom: 15px;
}

.hero-left p {
    font-size: 15px;
    color: #495057;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-btn {
    background: var(--coral-pink);
    color: white;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    display: inline-block;
    transition: all 0.3s;
}

.hero-btn:hover {
    transform: scale(1.05);
    background: #ff5252;
    color: white;
}

.hero-right {
    flex: 1;
    width: 100%;
}

.hero-img-box {
    width: 100%;
    height: 330px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid var(--card-bg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 2. Academic Streams / Wings --- */
.stream-grid {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stream-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: all 0.3s;
    border-bottom: 6px solid var(--coral-pink);
}

.stream-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.stream-card.s-1 { border-color: var(--soft-teal); }
.stream-card.s-2 { border-color: var(--coral-pink); }
.stream-card.s-3 { border-color: var(--sunny-orange); }
.stream-card.s-4 { border-color: var(--purple-fun); }

.stream-card i {
    font-size: 38px;
    margin-bottom: 12px;
    display: inline-block;
}

.s-1 i { color: var(--soft-teal); }
.s-2 i { color: var(--coral-pink); }
.s-3 i { color: var(--sunny-orange); }
.s-4 i { color: var(--purple-fun); }

.stream-card h3 {
    font-size: 20px;
    color: var(--dark-navy);
    margin-bottom: 6px;
}

.stream-card span {
    font-size: 11px;
    background: #F1F3F5;
    padding: 4px 12px;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 600;
    display: inline-block;
}

.stream-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.5;
}

/* --- 3. Quick Student Services --- */
.quick-grid {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.quick-card {
    background: var(--card-bg);
    padding: 18px 10px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-top: 4px solid var(--fresh-green);
    transition: 0.3s;
    display: block;
}

.quick-card:hover {
    transform: translateY(-5px);
    background: #E8F9F5;
}

.quick-card i {
    font-size: 24px;
    color: var(--purple-fun);
    margin-bottom: 8px;
    display: block;
}

.quick-card span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-text);
}

/* --- Why Choose Us Section --- */
.why-grid {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    border: 2px solid #F1F3F5;
    border-top: 5px solid #845EC2;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    box-sizing: border-box;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.09);
}

.why-card.wc-1 { border-top-color: #845EC2; }
.why-card.wc-2 { border-top-color: #2C73D2; }
.why-card.wc-3 { border-top-color: #FF6B6B; }
.why-card.wc-4 { border-top-color: #FFC75F; }
.why-card.wc-5 { border-top-color: #2EC4B6; }
.why-card.wc-6 { border-top-color: #FF9671; }

.why-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.why-card:hover .why-icon-box {
    transform: scale(1.12) rotate(4deg);
}

.wc-1 .why-icon-box { background: #F3E8FF; color: #845EC2; }
.wc-2 .why-icon-box { background: #E0F2FE; color: #2C73D2; }
.wc-3 .why-icon-box { background: #FFE3E3; color: #FF6B6B; }
.wc-4 .why-icon-box { background: #FEF3C7; color: #D97706; }
.wc-5 .why-icon-box { background: #E6FFFA; color: #2EC4B6; }
.wc-6 .why-icon-box { background: #FFEDD5; color: #FF9671; }

.why-card h3 {
    font-size: 20px;
    color: var(--dark-navy, #1D1D33);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.why-card p {
    font-size: 13px;
    color: var(--text-muted, #6C757D);
    line-height: 1.6;
    margin: 0;
}

/* --- 4. Meet Our Senior Faculty --- */
.teacher-grid {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.teacher-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
    border-top: 5px solid var(--sunny-orange);
    transition: 0.3s;
}

.teacher-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.teacher-card img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bright-yellow);
    margin: 0 auto 10px;
}

.teacher-card h4 {
    color: var(--dark-navy);
    font-size: 16px;
    margin-bottom: 2px;
}

.teacher-card p {
    font-size: 12px;
    color: var(--coral-pink);
    font-weight: 600;
    margin-bottom: 8px;
}

.teacher-card a {
    font-size: 11px;
    color: var(--purple-fun);
    font-weight: 600;
    display: inline-block;
}

.teacher-card a:hover {
    color: var(--coral-pink);
}

/* --- 5 & 6. Campus Facilities --- */
.grid-3col {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.facility-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    padding: 15px;
    border: 2px solid #F1F3F5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.facility-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 12px;
}

.facility-card h4 {
    color: var(--purple-fun);
    font-size: 17px;
    margin-bottom: 6px;
}

.facility-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.facility-card a {
    font-size: 12px;
    color: var(--coral-pink);
    font-weight: 600;
}

.facility-card a:hover {
    color: #ff5252;
}

/* --- 7. Secondary School In News --- */
.news-grid {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-left: 5px solid var(--soft-teal);
    transition: transform 0.3s ease;
}

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

.news-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.news-card h4 {
    font-size: 15px;
    color: var(--purple-fun);
    margin-bottom: 5px;
}

.news-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-card a {
    font-size: 12px;
    color: var(--sunny-orange);
    font-weight: 600;
}

.news-card a:hover {
    color: var(--coral-pink);
}

/* --- 8. School Leadership --- */
.leader-grid {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.leader-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    border: 2px solid var(--bright-yellow);
    transition: transform 0.3s ease;
}

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

.leader-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--purple-fun);
    flex-shrink: 0;
}

.leader-card h4 { 
    color: var(--purple-fun); 
    font-size: 17px; 
    margin-bottom: 2px;
}

.leader-card span { 
    font-size: 12px; 
    color: var(--coral-pink); 
    font-weight: 600; 
    display: block; 
    margin-bottom: 6px; 
}

.leader-card p { 
    font-size: 12px; 
    color: var(--text-muted); 
    line-height: 1.5;
}

/* --- 9. Board Toppers & Reviews --- */
.student-grid {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.student-card {
    background: var(--card-bg);
    padding: 20px 12px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-bottom: 4px solid var(--bright-yellow);
    transition: transform 0.3s ease;
}

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

.student-card img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    border: 2px solid var(--fresh-green);
}

.student-card h5 { 
    color: var(--dark-navy); 
    font-size: 14px; 
    margin-bottom: 2px;
}

.student-card span { 
    font-size: 11px; 
    color: var(--sunny-orange); 
    font-weight: 700; 
    display: block; 
}

.student-card p { 
    font-size: 11px; 
    color: var(--text-muted); 
    margin-top: 5px; 
    line-height: 1.4;
    font-style: italic;
}

/* --- 10. FAQ Section --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    border-left: 5px solid var(--coral-pink);
    transition: transform 0.2s ease;
}

.faq-item:hover {
    transform: translateX(4px);
}

.faq-item h4 { 
    font-size: 15px; 
    color: var(--purple-fun); 
    line-height: 1.4;
}

.faq-item p { 
    font-size: 13px; 
    color: var(--text-muted); 
    margin-top: 6px; 
    line-height: 1.5;
}

/* --- Footer --- */
footer.site-footer {
    background: var(--dark-navy);
    color: #F8F9FA;
    margin-top: 60px;
    border-top: 6px solid var(--bright-yellow);
}

.footer-top {
    max-width: 1250px;
    margin: 0 auto;
    padding: 45px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-col h3 {
    font-size: 19px;
    color: var(--bright-yellow);
    margin-bottom: 15px;
}

.footer-col p { 
    font-size: 13px; 
    color: #ADB5BD; 
    margin-bottom: 15px; 
    line-height: 1.6;
}

.footer-col p i {
    width: 20px;
    text-align: center;
    margin-right: 5px;
}

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

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

.footer-links a { 
    font-size: 13px; 
    color: #DEE2E6; 
    transition: 0.2s; 
    display: inline-block;
}

.footer-links a:hover { 
    color: var(--soft-teal); 
    padding-left: 4px; 
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover { 
    background: var(--coral-pink); 
    transform: translateY(-3px); 
    color: white;
}

.footer-bottom {
    background: #131324;
    padding: 15px 20px;
    text-align: center;
    font-size: 12px;
    color: #ADB5BD;
}

.footer-bottom a {
    color: var(--bright-yellow);
}

/* --- Inner Pages Default Styles --- */
.page-header-banner {
    background: linear-gradient(135deg, #FFE3E3, #FFF3BF);
    border-bottom: 4px solid var(--coral-pink);
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.page-header-banner h1 {
    font-size: 32px;
    color: var(--dark-navy);
}

.page-header-banner p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 6px;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.entry-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    line-height: 1.8;
}

.entry-content h2, .entry-content h3 {
    color: var(--purple-fun);
    margin: 20px 0 10px;
}

.entry-content p {
    margin-bottom: 15px;
}

/* WordPress Core Alignment Classes */
.aligncenter { text-align: center; margin: 0 auto; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.alignwide { width: 100vw; max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100%; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* --- Page Banner (Used across News, Privacy, Result, Rules, Gallery) --- */
.page-banner {
    max-width: 1250px;
    margin: 25px auto;
    padding: 0 20px;
}

.banner-card {
    background: linear-gradient(135deg, #E2FBF0, #FFF3BF, #E8F9F5);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    border: 3px dashed var(--fresh-green);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.banner-card.banner-purple {
    background: linear-gradient(135deg, #EAE4FD, #F4EEFF, #FFF3BF);
    border-color: var(--purple-fun);
}

.banner-card.banner-orange {
    background: linear-gradient(135deg, #FFF3BF, #FFE8D6, #E8F9F5);
    border-color: var(--sunny-orange);
}

.banner-card.banner-green {
    background: linear-gradient(135deg, #D7FDEC, #E8F9F5, #FFF3BF);
    border-color: var(--fresh-green);
}

.banner-card h2 { 
    font-size: 38px; 
    color: var(--dark-navy); 
    margin-bottom: 10px; 
}

.banner-card p { 
    font-size: 15px; 
    color: var(--text-muted); 
}

/* --- Special & Fun News Highlight --- */
.fun-news-highlight {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
}

.fun-card {
    background: linear-gradient(135deg, #FFF0F5, #FFF8DC, #E0FFFF);
    border: 4px solid var(--coral-pink);
    border-radius: 25px;
    padding: 35px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.15);
    position: relative;
    overflow: hidden;
}

.fun-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--coral-pink);
    color: white;
    padding: 6px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.fun-img {
    width: 100%;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

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

.fun-content h3 {
    font-size: 26px;
    color: var(--coral-pink);
    margin-bottom: 12px;
}

.fun-content p {
    font-size: 14px;
    color: var(--dark-text);
    margin-bottom: 15px;
    text-align: justify;
}

.fun-meta {
    font-size: 12px;
    color: var(--purple-fun);
    font-weight: 600;
    display: flex;
    gap: 15px;
}

/* --- News Section & Stories Grid --- */
.news-section {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    border-bottom: 3px solid #E9ECEF;
    padding-bottom: 12px;
}

.news-section-title i {
    font-size: 26px;
    color: var(--fresh-green);
    background: #E2FBF0;
    padding: 10px;
    border-radius: 12px;
}

.news-section-title h3 {
    font-size: 24px;
    color: var(--dark-navy);
}

.news-body {
    padding: 20px;
}

.news-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--sunny-orange);
    background: #FFF3BF;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.news-body h4 {
    font-size: 17px;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.news-body p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-align: justify;
}

.news-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
}

.read-more {
    color: var(--purple-fun);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: 0.2s;
}

.read-more:hover {
    color: var(--coral-pink);
    gap: 8px;
}

/* --- Privacy Policy Section --- */
.privacy-container {
    max-width: 950px;
    margin: 40px auto;
    padding: 45px;
    background: var(--card-bg);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-top: 6px solid var(--fresh-green);
}

.privacy-section {
    margin-bottom: 35px;
}

.privacy-section h3 {
    font-size: 22px;
    color: var(--purple-fun);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-section h3 i {
    color: var(--fresh-green);
    font-size: 18px;
}

.privacy-section p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-align: justify;
}

.privacy-section ul {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.privacy-section ul li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.update-date {
    font-size: 13px;
    color: var(--sunny-orange);
    font-weight: 600;
    margin-bottom: 25px;
    display: inline-block;
    background: #FFF8E7;
    padding: 6px 15px;
    border-radius: 20px;
}

/* --- Results Portal Section --- */
.result-intro {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-img-box {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 5px solid var(--card-bg);
}

.intro-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-content h3 {
    font-size: 26px;
    color: var(--purple-fun);
    margin-bottom: 15px;
}

.intro-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-align: justify;
}

.search-container {
    max-width: 950px;
    margin: 40px auto;
    padding: 45px;
    background: var(--card-bg);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-top: 6px solid var(--purple-fun);
}

.search-container h3 {
    font-size: 24px;
    color: var(--purple-fun);
    margin-bottom: 10px;
    text-align: center;
}

.search-container p.sub-title {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-navy);
}

.form-group select, .form-group input {
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #E9ECEF;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #F8F9FA;
}

.form-group select:focus, .form-group input:focus {
    border-color: var(--purple-fun);
    background: #FFFFFF;
}

.submit-btn {
    background: linear-gradient(135deg, var(--purple-fun), var(--coral-pink));
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 5px 15px rgba(160, 108, 213, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 108, 213, 0.6);
}

.content-section {
    max-width: 950px;
    margin: 40px auto;
    padding: 45px;
    background: var(--card-bg);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.content-section h3 {
    font-size: 22px;
    color: var(--dark-navy);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section h3 i {
    color: var(--purple-fun);
}

.content-section p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-align: justify;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-section ul li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* --- Rules & Regulations Section --- */
.rules-intro {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.rules-img-box {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 5px solid var(--card-bg);
}

.rules-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rules-intro-content h3 {
    font-size: 26px;
    color: var(--purple-fun);
    margin-bottom: 15px;
}

.rules-intro-list {
    list-style: none;
    margin-top: 15px;
    padding: 0;
}

.rules-intro-list li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rules-intro-list li i {
    color: var(--coral-pink);
    font-size: 16px;
    margin-top: 3px;
}

.rules-grid-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rule-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border-left: 6px solid var(--purple-fun);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-5px);
}

.rule-number {
    background: var(--purple-fun);
    color: white;
    min-width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', cursive;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.rule-content h4 {
    font-size: 17px;
    color: var(--dark-navy);
    margin-bottom: 6px;
}

.rule-content p {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Gallery Section --- */
.gallery-section {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    border-bottom: 3px solid #E9ECEF;
    padding-bottom: 12px;
}

.section-header i {
    font-size: 28px;
    color: var(--sunny-orange);
    background: #FFF3BF;
    padding: 10px;
    border-radius: 12px;
}

.section-header h3 {
    font-size: 26px;
    color: var(--dark-navy);
}

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

.video-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border: 2px solid #F1F3F5;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: var(--sunny-orange);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: #000;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: 0.3s;
}

.video-card:hover .video-wrapper img {
    opacity: 1;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--sunny-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.5);
    transition: 0.3s;
}

.video-card:hover .play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--coral-pink);
}

.video-info {
    padding: 18px;
}

.video-info h4 {
    font-size: 16px;
    color: var(--dark-navy);
    margin-bottom: 6px;
}

.video-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.photo-card {
    position: relative;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    cursor: pointer;
}

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

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

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(29,29,51,0.85), transparent);
    padding: 20px 15px 15px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h4 {
    font-size: 15px;
    font-weight: 600;
}

.photo-overlay span {
    font-size: 11px;
    color: var(--bright-yellow);
}

/* --- Single Post Beautiful Layout --- */
.single-post-wrapper {
    max-width: 950px;
    margin: 40px auto;
    padding: 0 20px;
}

.single-post-card {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--fresh-green);
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #F1F3F5;
}

.single-post-meta span i {
    color: var(--coral-pink);
    margin-right: 5px;
}

.single-post-featured-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.single-post-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--dark-text);
}

.single-post-body p {
    margin-bottom: 18px;
}

.single-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px dashed #E9ECEF;
}

.single-post-nav a {
    color: var(--purple-fun);
    font-weight: 600;
    font-size: 14px;
}

.single-post-nav a:hover {
    color: var(--coral-pink);
}

/* --- Responsive Settings --- */
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .fun-card { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    header.site-header {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .header-container {
        padding: 10px 14px;
        gap: 8px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .brand-logo {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
        gap: 8px;
    }

    .brand-logo i.logo-icon {
        font-size: 26px;
        flex-shrink: 0;
    }

    .brand-text {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .brand-text h1 {
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .brand-text p {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .header-actions {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .login-btn {
        padding: 7px 11px;
        font-size: 11px;
        white-space: nowrap;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        background: var(--card-bg);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 3px solid var(--purple-fun);
        z-index: 999;
    }

    .main-nav.active {
        display: block !important;
    }

    .nav-list,
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        gap: 10px;
        width: 100%;
    }

    .nav-item,
    .main-nav li {
        width: 100%;
    }

    .nav-dropdown,
    .main-nav ul.sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        background: #F8F9FA;
        display: none !important;
        width: 100%;
        border-radius: 8px;
        margin-top: 5px;
    }

    .nav-item.open > .nav-dropdown,
    .menu-item-has-children.open > .sub-menu,
    .main-nav li.open > ul {
        display: block !important;
    }

    .why-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px; }
    .stream-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .teacher-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3col { grid-template-columns: repeat(2, 1fr); }
    .student-grid { grid-template-columns: repeat(2, 1fr); }
    .result-intro { grid-template-columns: 1fr; }
    .search-form { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .rules-intro { grid-template-columns: 1fr; }
    .rules-grid-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Mobile Hero */
    .hero-card { 
        padding: 15px; 
        flex-direction: column;
    }
    .hero-left { 
        display: none; 
    }
    .hero-right { 
        width: 100%; 
    }
    .hero-img-box { 
        height: 220px; 
    }

    /* Why Choose Us - 2 items per line */
    .why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
        padding: 0 10px;
    }
    .why-card {
        padding: 16px 12px;
        border-radius: 16px;
    }
    .why-icon-box {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    .why-card h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    .why-card p {
        font-size: 11px;
    }

    /* Mobile Grids */
    .stream-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 10px; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 10px; }
    .quick-card { padding: 12px 5px; }
    .quick-card i { font-size: 20px; }
    .quick-card span { font-size: 11px; }

    .teacher-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 10px; }
    .grid-3col { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 10px; }
    .facility-card { padding: 10px; }
    .facility-card img { height: 100px; }

    /* News Mobile Side-by-Side */
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 10px; }
    .news-card { display: flex; flex-direction: row; gap: 8px; padding: 8px; align-items: center; }
    .news-card img { width: 65px; height: 65px; margin-bottom: 0; }
    .news-card-content { flex: 1; }
    .news-card h4 { font-size: 11px; margin-bottom: 2px; }
    .news-card p { font-size: 10px; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    .leader-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 10px; }
    .leader-card { flex-direction: column; text-align: center; padding: 10px; }
    .leader-card img { width: 70px; height: 70px; }

    .student-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 10px; }

    /* Footer: Widgets 2 & 3 in One Line */
    .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 15px;
    }
    .footer-col:nth-child(1) { grid-column: 1 / -1; }
    .footer-col:nth-child(2) { grid-column: 1; }
    .footer-col:nth-child(3) { grid-column: 2; }
    .footer-col:nth-child(4) { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .header-container {
        padding: 8px 10px;
        gap: 6px;
    }
    .brand-logo {
        gap: 6px;
    }
    .brand-logo i.logo-icon {
        font-size: 22px;
    }
    .brand-text h1 {
        font-size: 13px;
    }
    .brand-text p {
        font-size: 8px;
    }
    .login-btn {
        padding: 5px 8px;
        font-size: 10px;
    }
    .mobile-toggle {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    /* Why Choose Us - strictly 2 per line on mobile */
    .why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 0 8px;
    }
    .why-card {
        padding: 12px 8px;
        border-radius: 12px;
        border-top-width: 4px;
    }
    .why-icon-box {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 16px;
        margin-bottom: 8px;
    }
    .why-card h3 {
        font-size: 12px;
        margin-bottom: 3px;
    }
    .why-card p {
        font-size: 10px;
        line-height: 1.35;
    }

    .stream-grid { grid-template-columns: 1fr 1fr; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .teacher-grid { grid-template-columns: 1fr 1fr; }
    .grid-3col { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card { padding: 10px; }
    .news-card img { width: 80px; height: 80px; }
    .leader-grid { grid-template-columns: 1fr; }
    .student-grid { grid-template-columns: 1fr 1fr; }

    /* Footer: Widgets 2 & 3 in One Line on small mobile */
    .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px 10px;
    }
    .footer-col:nth-child(1) { grid-column: 1 / -1; }
    .footer-col:nth-child(2) { grid-column: 1; }
    .footer-col:nth-child(3) { grid-column: 2; }
    .footer-col:nth-child(4) { grid-column: 1 / -1; }
    .footer-col h3 { font-size: 14px; margin-bottom: 8px; }
    .footer-links li a { font-size: 12px; }
}



/* ==========================================================================
   NEW PAGES STYLES (About, Admission, Contact, Facilities, Admission Form)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ABOUT US PAGE
   -------------------------------------------------------------------------- */
/* --- About Overview Section --- */
        .about-overview {
            max-width: 1250px;
            margin: 40px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .about-img-box {
            width: 100%;
            height: 380px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border: 5px solid var(--card-bg);
        }

        .about-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .about-content h3 {
            font-size: 28px;
            color: var(--purple-fun);
            margin-bottom: 15px;
        }

        .about-content p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 15px;
        }

        .features-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 20px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            color: var(--dark-navy);
        }

        .feature-item i {
            color: var(--fresh-green);
            font-size: 16px;
        }

        /* --- Message Sections (Director & Principal) --- */
        .message-container {
            max-width: 1250px;
            margin: 50px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .message-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.05);
            border-top: 6px solid var(--sunny-orange);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .message-card.principal {
            border-top-color: var(--soft-teal);
        }

        .message-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .message-header img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--bright-yellow);
            flex-shrink: 0;
        }

        .message-header h4 {
            font-size: 20px;
            color: var(--dark-navy);
        }

        .message-header span {
            font-size: 13px;
            color: var(--coral-pink);
            font-weight: 600;
            display: block;
        }

        .message-body p {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 12px;
            font-style: italic;
        }

/* --------------------------------------------------------------------------
   2. ADMISSION PAGE (Application Form & Guide)
   -------------------------------------------------------------------------- */
/* --- Admission Guide / Info Section with Image --- */
        .admission-guide {
            max-width: 1250px;
            margin: 40px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .guide-img-box {
            width: 100%;
            height: 380px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border: 5px solid var(--card-bg);
        }

        .guide-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .guide-content h3 {
            font-size: 26px;
            color: var(--purple-fun);
            margin-bottom: 15px;
        }

        .guide-steps {
            list-style: none;
            margin-top: 15px;
        }

        .guide-steps li {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 12px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .guide-steps li i {
            color: var(--fresh-green);
            font-size: 16px;
            margin-top: 3px;
        }

        /* --- Admission Form Section --- */
        .form-container {
            max-width: 900px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .admission-form {
            background: var(--card-bg);
            border-radius: 25px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.06);
            border-top: 6px solid var(--soft-teal);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group.full-width {
            grid-column: span 2;
        }

        .form-group label {
            font-size: 13px;
            font-weight: 600;
            color: var(--dark-navy);
        }

        .form-group input, .form-group select, .form-group textarea {
            padding: 12px 16px;
            border-radius: 12px;
            border: 2px solid #E9ECEF;
            font-size: 13px;
            outline: none;
            transition: 0.3s;
            background: #FDFEFE;
        }

        .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
            border-color: var(--purple-fun);
            box-shadow: 0 0 0 4px rgba(160, 108, 213, 0.1);
        }

        .submit-btn-box {
            text-align: center;
            margin-top: 30px;
        }

        .submit-btn {
            background: var(--coral-pink);
            color: white;
            border: none;
            padding: 14px 35px;
            border-radius: 30px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
            transition: all 0.3s ease;
        }

        .submit-btn:hover {
            transform: scale(1.05);
            background: #ff5252;
        }

/* --------------------------------------------------------------------------
   3. CONTACT US PAGE (Principal Desk, Office Info, Form & Map)
   -------------------------------------------------------------------------- */
/* --- Principal Desk Section --- */
        .principal-section {
            max-width: 1250px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .principal-card {
            background: var(--card-bg);
            border-radius: 25px;
            padding: 35px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 2px solid #F1F3F5;
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 35px;
            align-items: center;
        }

        .principal-img-box {
            text-align: center;
        }

        .principal-img {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid var(--bright-yellow);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            margin-bottom: 15px;
        }

        .principal-img-box h4 {
            font-size: 18px;
            color: var(--dark-navy);
        }

        .principal-img-box span {
            font-size: 13px;
            color: var(--purple-fun);
            font-weight: 600;
        }

        .principal-info h3 {
            font-size: 26px;
            color: var(--dark-navy);
            margin-bottom: 15px;
        }

        .principal-info p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 15px;
            text-align: justify;
        }

        .principal-contact-pills {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 20px;
        }

        .p-pill {
            background: #F8F9FA;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            color: var(--dark-navy);
            border: 1px solid #E9ECEF;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .p-pill i { color: var(--purple-fun); }

        /* --- Main Contact & Form Section --- */
        .contact-container {
            max-width: 1250px;
            margin: 40px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 30px;
        }

        .contact-info-col {
            background: var(--card-bg);
            border-radius: 25px;
            padding: 35px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 2px solid #F1F3F5;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .contact-info-col h3 {
            font-size: 24px;
            color: var(--dark-navy);
            margin-bottom: 20px;
        }

        .info-box {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
        }

        .info-icon {
            width: 50px;
            height: 50px;
            background: #F3E8FF;
            color: var(--purple-fun);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
        }

        .info-text h5 {
            font-size: 15px;
            color: var(--dark-navy);
            margin-bottom: 4px;
        }

        .info-text p {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* --- Form Column --- */
        .contact-form-col {
            background: var(--card-bg);
            border-radius: 25px;
            padding: 35px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 2px solid #F1F3F5;
        }

        .contact-form-col h3 {
            font-size: 24px;
            color: var(--dark-navy);
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        .contact-form-col label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: var(--dark-navy);
            margin-bottom: 6px;
        }
        .contact-form-col input, .contact-form-col select, .contact-form-col textarea {
            width: 100%;
            padding: 12px 16px;
            border-radius: 12px;
            border: 2px solid #E9ECEF;
            font-size: 13px;
            color: var(--dark-text);
            background: #F8F9FA;
            outline: none;
            transition: 0.3s;
        }
        .contact-form-col input:focus, .contact-form-col select:focus, .contact-form-col textarea:focus {
            border-color: var(--purple-fun);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(160, 108, 213, 0.1);
        }
        .contact-form-col textarea {
            resize: vertical;
            height: 120px;
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--purple-fun), var(--coral-pink));
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            width: 100%;
            box-shadow: 0 6px 20px rgba(160, 108, 213, 0.4);
            transition: 0.3s;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(160, 108, 213, 0.6);
        }

        /* --- Map Section --- */
        .map-section {
            max-width: 1250px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .map-card {
            background: var(--card-bg);
            border-radius: 25px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 2px solid #F1F3F5;
        }

        .map-card h3 {
            font-size: 22px;
            color: var(--dark-navy);
            margin-bottom: 15px;
            padding-left: 10px;
        }

        .map-frame {
            width: 100%;
            height: 380px;
            border-radius: 15px;
            border: none;
        }

/* --------------------------------------------------------------------------
   4. FACILITIES PAGE (Intro & 10 Facilities Grid)
   -------------------------------------------------------------------------- */
/* --- Facilities Intro with Image --- */
        .facilities-intro {
            max-width: 1250px;
            margin: 40px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .intro-img-box {
            width: 100%;
            height: 380px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border: 5px solid var(--card-bg);
        }

        .intro-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .intro-content h3 {
            font-size: 26px;
            color: var(--purple-fun);
            margin-bottom: 15px;
        }

        .intro-content p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 15px;
            text-align: justify;
        }

        /* --- 10 Facilities Grid Container --- */
        .facilities-grid {
            max-width: 1250px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }

        .facility-card {
            background: var(--card-bg);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-bottom: 5px solid var(--soft-teal);
            display: flex;
            flex-direction: column;
        }

        .facility-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.1);
        }

        .facility-img {
            width: 100%;
            height: 200px;
            overflow: hidden;
        }

        .facility-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .facility-card:hover .facility-img img {
            transform: scale(1.08);
        }

        .facility-info {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .facility-info h4 {
            font-size: 18px;
            color: var(--dark-navy);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .facility-info h4 i {
            color: var(--sunny-orange);
            font-size: 16px;
        }

        .facility-info p {
            font-size: 13px;
            color: var(--text-muted);
        }

/* --------------------------------------------------------------------------
   5. ADMISSION FORM DOWNLOAD PAGE (Cards & Guidelines)
   -------------------------------------------------------------------------- */
/* --- Intro Section (Image + Text) --- */
        .admission-intro {
            max-width: 1250px;
            margin: 40px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .intro-img-box {
            width: 100%;
            height: 380px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border: 5px solid var(--card-bg);
        }

        .intro-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .intro-content h3 {
            font-size: 26px;
            color: var(--coral-pink);
            margin-bottom: 15px;
        }

        .intro-content p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 12px;
            text-align: justify;
        }

        /* --- Professional Download Box Section --- */
        .download-section {
            max-width: 950px;
            margin: 40px auto;
            padding: 45px;
            background: var(--card-bg);
            border-radius: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.04);
            border-top: 6px solid var(--coral-pink);
        }

        .download-section h3 {
            font-size: 24px;
            color: var(--dark-navy);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .download-section h3 i {
            color: var(--coral-pink);
        }

        .download-section p.sub-text {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 30px;
        }

        .download-cards-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        .download-card {
            background: #F8F9FA;
            border: 2px solid #E9ECEF;
            border-radius: 16px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.3s ease;
        }

        .download-card:hover {
            border-color: var(--coral-pink);
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(255, 107, 107, 0.15);
        }

        .card-top {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 20px;
        }

        .card-top i {
            font-size: 32px;
            color: var(--coral-pink);
            background: #FFE8E8;
            padding: 12px;
            border-radius: 12px;
        }

        .card-info h4 {
            font-size: 17px;
            color: var(--dark-navy);
            margin-bottom: 4px;
        }

        .card-info span {
            font-size: 12px;
            color: var(--text-muted);
            font-weight: 500;
        }

        .download-btn {
            background: linear-gradient(135deg, var(--coral-pink), var(--purple-fun));
            color: white;
            padding: 12px 20px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 14px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
            transition: all 0.2s ease;
        }

        .download-btn:hover {
            filter: brightness(1.05);
            box-shadow: 0 6px 15px rgba(255, 107, 107, 0.5);
        }

        /* --- Important Instructions Box --- */
        .instructions-box {
            background: #FFF8E7;
            border-left: 5px solid var(--sunny-orange);
            padding: 20px;
            border-radius: 12px;
            margin-top: 25px;
        }

        .instructions-box h4 {
            font-size: 16px;
            color: var(--sunny-orange);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .instructions-box ul {
            margin-left: 20px;
        }

        .instructions-box ul li {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 6px;
        }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES FOR NEW PAGES
   ========================================================================== */

@media (max-width: 992px) {
    /* About */
    .about-overview { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .about-img-box { height: 300px; }
    .features-list { justify-content: center; }
    .message-container { grid-template-columns: 1fr; }

    /* Admission */
    .admission-guide { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .guide-img-box { height: 300px; }
    .guide-steps { text-align: left; max-width: 500px; margin: 20px auto 0; }

    /* Contact */
    .principal-card { flex-direction: column; text-align: center; padding: 25px; }
    .principal-img-box { margin-bottom: 10px; }
    .principal-contact-pills { justify-content: center; }
    .contact-container { grid-template-columns: 1fr; gap: 40px; }

    /* Facilities */
    .facilities-intro { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .facilities-intro .intro-img-box { height: 300px; }
    .facilities-grid { grid-template-columns: 1fr; }

    /* Download Forms */
    .admission-intro { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .admission-intro .intro-img-box { height: 300px; }
    .download-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .contact-form-col .form-row { grid-template-columns: 1fr; }
    .p-pill { width: 100%; justify-content: center; }
    .features-list { grid-template-columns: 1fr; display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .about-img-box, .guide-img-box, .facilities-intro .intro-img-box, .admission-intro .intro-img-box { height: 220px; }
    .form-container { padding: 20px 15px; }
    .contact-form-col { padding: 25px 15px; }
    .download-card { padding: 20px 15px; }
    .map-frame { height: 260px; }
}
