@charset "UTF-8";
/*
Theme Name: Premium School Theme
Theme URI: https://saraswatischool.edu.in
Author: Saraswati School
Author URI: https://saraswatischool.edu.in
Description: A modern, high-performance, and fully Elementor-editable school WordPress theme. Features custom Elementor widgets for every homepage and inner-page section, FontAwesome 6 icon support, ERP login portals, location links, and mobile-optimized 4-column footer widget layout with side-by-side middle widgets.
Version: 1.2.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: premium-school-theme
Tags: education, school, elementor, responsive-layout, custom-menu, footer-widgets, full-width-template
*/

:root {
  --saffron: #f28c28;
  --green: #138a4b;
  --navy: #12304a;
  --cream: #fffaf3;
  --text: #26323a;
  --muted: #697680;
  --white: #fff;
  --shadow: 0 12px 35px rgba(18, 48, 74, .10);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

/* Typography matching original design */
body, button, input, select, textarea {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

/* Icon & Emoji containers */
.icon, .logo-mark, .login-icon-btn, .info-icon {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", Arial, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img, iframe {
  width: 100%;
  display: block;
  object-fit: cover;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.tricolor-line {
  height: 4px;
  background: linear-gradient(90deg, var(--saffron) 0 33%, #fff 33% 66%, var(--green) 66%);
}

/* Header */
header.site-header, header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: var(--navy);
  font-size: 21px;
  white-space: nowrap;
}

.logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  background: linear-gradient(150deg, var(--saffron), #fff 48%, var(--green));
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--saffron);
}

/* Navigation Dropdowns */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 8px 0;
  z-index: 101;
  border: 1px solid #e9eef0;
  list-style: none;
}

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

.dropdown-menu a {
  display: block;
  padding: 9px 16px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.dropdown-menu a:hover {
  background: #fff4e8;
  color: var(--saffron);
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-wrap {
  position: relative;
}

.login-icon-btn {
  border: 0;
  cursor: pointer;
  background: var(--saffron);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(242, 140, 40, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}

.login-icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(242, 140, 40, .45);
}

.login-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 48px;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 102;
  border: 1px solid #e9eef0;
}

.login-wrap:hover .login-menu,
.login-wrap.open .login-menu {
  display: block;
}

.login-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: background .2s, color .2s;
}

.login-menu a:hover {
  background: #fff4e8;
  color: var(--saffron);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #fffaf3, #fff);
  padding: 45px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--navy);
  margin-bottom: 10px;
}

.page-banner h1 span {
  color: var(--saffron);
}

.page-banner p {
  color: var(--muted);
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fffaf3, #fff);
  padding: 58px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  color: var(--navy);
  margin: 13px 0 18px;
}

.hero h1 span {
  color: var(--saffron);
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 570px;
}

.badge {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  background: #eaf8f0;
  padding: 7px 13px;
  border-radius: 30px;
  font-size: 13px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.primary-btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  background: var(--saffron);
  color: #fff;
  padding: 11px 17px;
  border-radius: 10px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}

.primary-btn:hover {
  background: #d9781b;
  transform: translateY(-2px);
  color: #fff;
}

.secondary-btn {
  display: inline-block;
  padding: 11px 17px;
  border: 1px solid #dbe3e8;
  border-radius: 10px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  transition: background .2s, border-color .2s;
}

.secondary-btn:hover {
  background: #f4f7f9;
  border-color: #c2cfd6;
}

.hero-media {
  height: 460px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: #e9eef0;
}

.hero-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: opacity .5s ease;
}

.hero-media::after {
  content: "SCHOOL • LEARNING • FUTURE";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}

/* General Sections */
section {
  padding: 78px 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 38px;
}

.section-head .eyebrow {
  color: var(--saffron);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.section-head h2 {
  font-size: 34px;
  color: var(--navy);
  margin: 7px 0 9px;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

/* Quick links */
.quick {
  background: var(--cream);
}

.quick-grid {
  grid-template-columns: repeat(6, 1fr);
}

.quick-card {
  background: #fff;
  border: 1px solid #f0e6da;
  border-radius: 15px;
  padding: 20px 10px;
  text-align: center;
  transition: .25s ease;
  display: block;
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  background: #fff0df;
  color: var(--saffron);
  font-size: 22px;
}

.quick-card h3 {
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
}

/* Teachers */
.teacher-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid #e9eef0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 7px 22px rgba(18, 48, 74, .05);
}

.teacher-photo {
  height: 230px;
  width: 100%;
}

.teacher-body {
  padding: 17px;
}

.teacher-body h3 {
  color: var(--navy);
  font-size: 18px;
}

.qualification {
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.small-text {
  color: var(--muted);
  font-size: 13px;
  margin: 5px 0 12px;
}

.view {
  color: var(--saffron);
  font-size: 13px;
  font-weight: 800;
  display: inline-block;
}

.view:hover {
  text-decoration: underline;
}

/* Why Choose */
.why {
  background: #f7fbf8;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e3eee8;
}

.feature .icon {
  flex: none;
  margin: 0;
  background: #e8f7ef;
  color: var(--green);
}

.feature h3 {
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 4px;
}

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

/* Facilities */
.facility-grid {
  grid-template-columns: repeat(3, 1fr);
}

.facility img {
  height: 190px;
  width: 100%;
}

.facility-body {
  padding: 17px;
}

.facility h3 {
  color: var(--navy);
  font-size: 18px;
}

.facility p {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 10px;
}

/* News */
.news {
  background: var(--cream);
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news img {
  height: 185px;
  width: 100%;
}

.news-body {
  padding: 18px;
}

.news-date {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.news h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 5px 0;
}

.news p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Director & Leadership */
.people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.person {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e8edf0;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.person img {
  height: 190px;
  width: 100%;
  border-radius: 15px;
}

.person h3 {
  color: var(--navy);
  font-size: 22px;
}

.person .role {
  color: var(--saffron);
  font-weight: 800;
  font-size: 13px;
}

.person p {
  font-size: 14px;
  color: var(--muted);
  margin: 7px 0;
}

/* Testimonials */
.testimonials {
  background: #f7fbf8;
}

.student-grid {
  grid-template-columns: repeat(4, 1fr);
}

.testimonial {
  padding: 24px;
  text-align: center;
}

.student-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 13px;
  object-fit: cover;
}

.stars {
  color: var(--saffron);
  letter-spacing: 2px;
  font-size: 16px;
}

.testimonial p {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin: 9px 0;
}

.testimonial h3 {
  color: var(--navy);
  font-size: 16px;
}

/* FAQ */
.faq-wrap {
  max-width: 850px;
  margin: auto;
}

details {
  border-bottom: 1px solid #e4e9ec;
  padding: 18px 4px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  font-size: 16px;
}

details p {
  color: var(--muted);
  padding: 10px 25px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

/* ==============================================================
   PAGE 1: Video & Photo Gallery
   ============================================================== */
.video-section {
  background: #f7fbf8;
}

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

.video-card {
  background: #fff;
  border: 1px solid #e3eee8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(18, 48, 74, .04);
}

.video-frame {
  height: 280px;
  background: #000;
}

.video-frame iframe {
  height: 100%;
  width: 100%;
  border: none;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 6px;
}

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

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

.photo-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(18, 48, 74, .06);
  height: 240px;
  position: relative;
}

.photo-card img {
  height: 100%;
  width: 100%;
  transition: transform .4s ease;
}

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

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(18, 48, 74, 0.85), transparent);
  color: #fff;
  padding: 15px 15px 10px;
  font-size: 14px;
  font-weight: 700;
}

/* ==============================================================
   PAGE 2: News Page Grid Section
   ============================================================== */
.news-page-section, .news-section {
  background: #f7fbf8;
}

.news-card {
  background: #fff;
  border: 1px solid #e3eee8;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(18, 48, 74, .05);
  display: flex;
  flex-direction: column;
}

.news-img {
  height: 200px;
  width: 100%;
}

.news-img img {
  height: 100%;
  width: 100%;
}

.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--saffron);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.news-body h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.news-body p {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.read-more {
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 800;
  margin-top: auto;
  display: inline-block;
  transition: .2s;
}

.read-more:hover {
  color: var(--saffron);
}

/* ==============================================================
   PAGE 3: Privacy Policy Detailed Content
   ============================================================== */
.policy-section {
  padding: 65px 0;
}

.policy-card {
  background: #fff;
  border: 1px solid #e3eee8;
  border-radius: 24px;
  padding: 45px;
  box-shadow: var(--shadow);
  max-width: 950px;
  margin: 0 auto;
}

.policy-card h2 {
  color: var(--navy);
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 12px;
  border-bottom: 2px solid #f0e6da;
  padding-bottom: 8px;
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.policy-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 15px;
}

.policy-card ul {
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--muted);
}

.policy-card li {
  margin-bottom: 8px;
  font-size: 14.5px;
}

/* ==============================================================
   PAGE 4: Academic Results Portal & Evaluation
   ============================================================== */
.result-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.result-intro-text h3 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 15px;
}

.result-intro-text p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
}

.result-img-wrap {
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.result-img-wrap img {
  height: 100%;
  width: 100%;
}

.search-portal-section {
  background: #f7fbf8;
}

.search-card {
  background: #fff;
  border: 1px solid #e3eee8;
  border-radius: 24px;
  padding: 45px;
  box-shadow: var(--shadow);
  max-width: 850px;
  margin: 0 auto;
}

.search-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 label {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

.form-group select,
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  background: #fff;
  font-family: inherit;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--saffron);
}

.search-btn {
  grid-column: span 2;
  background: var(--saffron);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: .2s;
  font-family: inherit;
}

.search-btn:hover {
  background: #d97720;
}

.result-output {
  margin-top: 30px;
  padding: 25px;
  border: 2px dashed var(--green);
  border-radius: 14px;
  background: #f0fdf4;
  display: none;
}

.result-output h3 {
  color: var(--green);
  margin-bottom: 10px;
  font-size: 20px;
}

.result-output p {
  color: var(--text);
  font-size: 14.5px;
  margin-bottom: 6px;
}

.details-content {
  max-width: 900px;
  margin: 60px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.details-content h3 {
  color: var(--navy);
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.details-content p {
  margin-bottom: 12px;
}

/* ==============================================================
   PAGE 5: Rules & Regulations
   ============================================================== */
.rules-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.rules-intro-text p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
}

.rules-img-wrap {
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rules-img-wrap img {
  height: 100%;
  width: 100%;
}

.rules-section {
  background: #f7fbf8;
}

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

.rule-card {
  background: #fff;
  border: 1px solid #e3eee8;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(18, 48, 74, .04);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.rule-number {
  background: var(--saffron);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

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

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

/* ==============================================================
   PAGE 6: Facilities Dedicated Page
   ============================================================== */
.facilities-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.facilities-intro-text h3 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 15px;
}

.facilities-intro-text p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
}

.facilities-img-wrap {
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.facilities-section {
  background: #f7fbf8;
}

/* ==============================================================
   PAGE 7: About Us Dedicated Page
   ============================================================== */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 15px;
}

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

.about-img-wrap {
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.messages-section {
  background: #f7fbf8;
}

.message-card {
  background: #fff;
  border: 1px solid #e8edf0;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}

.message-card img {
  height: 260px;
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.message-content .role {
  color: var(--saffron);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.message-content h3 {
  color: var(--navy);
  font-size: 24px;
  margin: 5px 0;
}

.message-content .qual {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.message-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ==============================================================
   PAGE 8: Download Admission Form Page
   ============================================================== */
.admission-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.admission-intro-text h3 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 15px;
}

.admission-intro-text p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
}

.admission-img-wrap {
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.download-section {
  background: #f7fbf8;
}

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

.download-card {
  background: #fff;
  border: 1px solid #e3eee8;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(18, 48, 74, .04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.download-icon {
  width: 60px;
  height: 60px;
  background: #fffaf3;
  color: var(--saffron);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
  border: 2px solid #fdecd0;
}

.download-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.download-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.dl-btn {
  background: var(--navy);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: .2s;
  display: inline-block;
}

.dl-btn:hover {
  background: var(--saffron);
  color: #fff;
}

.guidelines-wrap {
  max-width: 900px;
  margin: 50px auto 0;
  background: #fff;
  border: 1px solid #e3eee8;
  border-radius: 20px;
  padding: 35px;
  box-shadow: var(--shadow);
}

.guidelines-wrap h3 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 15px;
}

.guidelines-wrap ul {
  margin-left: 20px;
  color: var(--muted);
}

.guidelines-wrap li {
  margin-bottom: 8px;
  font-size: 14.5px;
}

/* ==============================================================
   PAGE 9: Apply for New Admission Page
   ============================================================== */
.admission-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.admission-info-text p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 14.5px;
}

.admission-info-text ul {
  list-style: none;
  margin-top: 15px;
}

.admission-info-text li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.admission-info-text li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--green);
}

.form-section {
  background: #f7fbf8;
}

.form-container {
  max-width: 850px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e3eee8;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
}

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

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #dbe3e8;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(242, 140, 40, .15);
}

.submit-btn {
  border: 0;
  cursor: pointer;
  background: var(--saffron);
  color: #fff;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(242, 140, 40, .3);
  transition: .2s;
}

.submit-btn:hover {
  background: #e07b1e;
}

/* ==============================================================
   PAGE 10: Contact Us Page
   ============================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #f7fbf8;
  border: 1px solid #e3eee8;
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  color: var(--saffron);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(18, 48, 74, .05);
  border: 1px solid #fdecd0;
}

.info-content h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 6px;
}

.info-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.principal-box {
  background: var(--cream);
  border: 1px solid #fdecd0;
  border-radius: var(--radius);
  padding: 25px;
  margin-top: 20px;
}

.principal-box h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.principal-box p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid #e3eee8;
  border-radius: 24px;
  padding: 35px;
  box-shadow: var(--shadow);
}

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

.contact-form-wrap p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 25px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5dc;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: .2s;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(242, 140, 40, .15);
}

textarea.form-control {
  resize: vertical;
  height: 120px;
}

/* Footer */
footer {
  background: var(--navy);
  color: #dce6ec;
  padding: 55px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 35px;
}

.footer-col h3,
.footer-col .widget-title,
footer h3 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
}

.footer-col a,
footer a {
  display: block;
  color: #c5d2da;
  font-size: 14px;
  margin: 7px 0;
  transition: color .2s;
}

.footer-col a:hover,
footer a:hover {
  color: #fff;
}

.footer-about {
  font-size: 14px;
  color: #c5d2da;
  line-height: 1.6;
}

.contact, .contact-ft {
  font-size: 14px;
  color: #c5d2da;
  line-height: 2;
}

.contact a, .contact-ft a {
  display: inline-block;
  margin: 0;
  color: #c5d2da;
}

.contact a:hover, .contact-ft a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .15);
  margin-top: 35px;
  padding-top: 17px;
  text-align: center;
  font-size: 13px;
  color: #aebdc7;
}

/* WordPress Widget Support in Footer */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 7px 0;
}

.footer-col ul li a {
  color: #c5d2da;
}

.footer-col ul li a:hover {
  color: #fff;
}

/* Standard WordPress Content Styles */
.site-content {
  padding: 40px 0;
}

.alignwide {
  width: 100vw;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 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;
  width: 1px;
  word-wrap: normal !important;
}

/* Mobile Responsive */
@media(max-width: 900px) {
  .nav {
    min-height: 66px;
  }
  .logo {
    font-size: 17px;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
  }
  .nav {
    position: relative;
  }
  .nav-links {
    display: none;
  }
  .nav.mobile-open .nav-links {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .15);
    gap: 15px;
    border-top: 1px solid #f0e6da;
    z-index: 99999;
    max-height: 80vh;
    overflow-y: auto;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 15px;
    margin-top: 5px;
    background: #fffaf3;
  }
 
  .hero {
    padding: 18px 0 35px;
  }
  .hero-grid {
    display: block;
  }
  .hero-copy {
    display: none;
  }
  .hero-media {
    height: 410px;
    border-radius: 18px;
  }
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .teacher-grid,
  .student-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .teacher-photo {
    height: 190px;
  }
  .feature-grid,
  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 150px;
  }
  .news-card img {
    height: 100%;
    min-height: 150px;
  }
  .news-body {
    padding: 13px;
  }
  .news h3 {
    font-size: 15px;
  }
  .news p {
    font-size: 12px;
  }
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .person {
    display: block;
    padding: 13px;
  }
  .person img {
    height: 190px;
    margin-bottom: 12px;
  }
  .person p {
    font-size: 13px;
  }

  /* Inner Pages Breakpoints */
  .video-grid, .photo-grid {
    grid-template-columns: 1fr;
  }
  .policy-card {
    padding: 25px;
  }
  .result-intro-grid, .rules-intro-grid, .facilities-intro-grid, .about-overview-grid, .admission-intro-grid, .admission-info-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .message-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .message-card img {
    height: 220px;
    max-width: 220px;
    margin: 0 auto;
  }
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-form-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .form-container {
    padding: 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .search-btn {
    grid-column: span 1;
  }
  .rules-grid {
    grid-template-columns: 1fr;
  }

  /* Footer Mobile Requirement:
     Widget 1 on top full width,
     Widget 2 & 3 in ONE LINE side by side,
     Widget 4 below them full width
  */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
  }
  .footer-col-1 {
    grid-column: 1 / -1;
  }
  .footer-col-2 {
    grid-column: 1;
  }
  .footer-col-3 {
    grid-column: 2;
  }
  .footer-col-4 {
    grid-column: 1 / -1;
  }
}

@media(max-width: 560px) {
  section {
    padding: 55px 0;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .hero-media {
    height: 330px;
  }
  .quick-card {
    padding: 13px 5px;
  }
  .quick-card h3 {
    font-size: 11px;
  }
  .teacher-photo {
    height: 160px;
  }
  .teacher-body {
    padding: 12px;
  }
  .teacher-body h3 {
    font-size: 15px;
  }
  .feature-grid,
  .facility-grid,
  .news-grid,
  .people-grid,
  .student-grid,
  .download-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .feature {
    padding: 13px;
    display: block;
  }
  .feature .icon {
    margin: 0 0 10px;
  }
  .facility img {
    height: 140px;
  }
  .facility-body {
    padding: 12px;
  }
  .facility h3 {
    font-size: 15px;
  }
  .facility p {
    font-size: 12px;
  }
  .news-card {
    grid-template-columns: 43% 57%;
  }
  .news-card img {
    min-height: 135px;
  }
  .news-body {
    padding: 10px;
  }
  .news-date {
    font-size: 10px;
  }
  .news h3 {
    font-size: 13px;
  }
  .news p {
    font-size: 11px;
  }
  .person img {
    height: 145px;
  }
  .person h3 {
    font-size: 17px;
  }
  .person p {
    font-size: 12px;
  }

  .search-card {
    padding: 20px;
  }

  /* Footer on small mobile: Widget 1 on top full, Widget 2 & 3 in ONE LINE, Widget 4 bottom */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 15px;
  }
  .footer-col-1 {
    grid-column: 1 / -1;
  }
  .footer-col-2 {
    grid-column: 1;
  }
  .footer-col-3 {
    grid-column: 2;
  }
  .footer-col-4 {
    grid-column: 1 / -1;
  }
}

/* ==============================================================
   Single Post & News Archive Styles
   ============================================================== */

/* News Pagination */
.news-pagination,
.posts-pagination {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news-pagination .page-numbers,
.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
}
.news-pagination .page-numbers.current,
.posts-pagination .page-numbers.current {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}
.news-pagination .page-numbers:hover:not(.current),
.posts-pagination .page-numbers:hover:not(.current) {
  background: var(--cream);
  border-color: var(--saffron);
  color: var(--saffron);
}

/* Single Post Banner */
.single-post-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #153966 100%);
  color: #fff;
  padding: 45px 0 40px;
  position: relative;
  overflow: hidden;
}
.single-post-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle, rgba(247, 127, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.single-breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.single-breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.single-breadcrumbs a:hover {
  color: var(--saffron);
}
.single-breadcrumbs .sep {
  opacity: 0.5;
}
.single-cat-badge {
  display: inline-block;
  background: var(--saffron);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-decoration: none;
}
.single-post-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 16px;
}
.single-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}
.single-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.single-meta-item strong {
  color: #fff;
}

/* Single Post Layout Grid */
.single-post-section {
  padding: 50px 0 70px;
  background: #fdfaf6;
}
.single-post-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}
.single-main-column {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #ebdfd0;
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.05);
  padding: 36px 36px 40px;
  overflow: hidden;
}
.single-featured-wrap {
  margin: -36px -36px 30px;
  max-height: 440px;
  overflow: hidden;
  position: relative;
  background: #f0e6da;
}
.single-featured-wrap img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}
.single-lead-excerpt {
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  font-weight: 600;
  padding: 16px 20px;
  background: #fffaf3;
  border-left: 4px solid var(--saffron);
  border-radius: 4px;
  margin-bottom: 28px;
}

/* Post Content Typography */
.single-entry-content {
  color: #2b394a;
  font-size: 15.5px;
  line-height: 1.75;
}
.single-entry-content p {
  margin-bottom: 20px;
}
.single-entry-content h2 {
  font-size: 24px;
  color: var(--navy);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f2e9de;
}
.single-entry-content h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 26px 0 12px;
}
.single-entry-content h4 {
  font-size: 17px;
  color: var(--navy);
  margin: 20px 0 10px;
}
.single-entry-content ul,
.single-entry-content ol {
  margin: 0 0 22px 24px;
  padding: 0;
}
.single-entry-content li {
  margin-bottom: 8px;
}
.single-entry-content blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  background: #fff8f0;
  border-left: 4px solid var(--saffron);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--navy);
  font-size: 16px;
}
.single-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 14.5px;
}
.single-entry-content th,
.single-entry-content td {
  border: 1px solid #ebd9c5;
  padding: 10px 14px;
  text-align: left;
}
.single-entry-content th {
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
}
.single-entry-content tr:nth-child(even) td {
  background: #faf7f2;
}
.single-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 15px 0;
}

/* Tags and Notice Callout */
.single-tags-wrap {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #eee4d8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.single-tags-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.single-tag-pill {
  display: inline-block;
  padding: 4px 12px;
  background: #f4ede3;
  color: var(--navy);
  font-size: 12.5px;
  border-radius: 20px;
  text-decoration: none;
  transition: all .2s ease;
}
.single-tag-pill:hover {
  background: var(--saffron);
  color: #fff;
}
.single-notice-callout {
  margin-top: 30px;
  background: #f0f7f3;
  border: 1px solid #cfe2d7;
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.single-notice-icon {
  font-size: 24px;
  line-height: 1;
}
.single-notice-text {
  font-size: 13.5px;
  color: #1a422d;
  line-height: 1.5;
}
.single-notice-text strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
  color: var(--green);
}

/* Post Navigation (Prev/Next) */
.single-post-nav {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #ebd9c5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.single-nav-item {
  display: block;
  background: #faf6f0;
  border: 1px solid #ebdecb;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-decoration: none;
  transition: all .2s ease;
}
.single-nav-item:hover {
  background: #fff;
  border-color: var(--saffron);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.08);
}
.single-nav-item.next {
  text-align: right;
}
.single-nav-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--saffron);
  margin-bottom: 4px;
}
.single-nav-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Single Sidebar */
.single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.single-widget {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #ebdfd0;
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.05);
  padding: 24px;
}
.single-widget-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--saffron);
  display: flex;
  align-items: center;
  gap: 8px;
}
.single-widget-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.single-widget-contact-list li {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.single-widget-contact-list strong {
  color: var(--navy);
  display: block;
}
.single-recent-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.single-recent-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 1px solid #f2e9de;
  transition: all .2s ease;
}
.single-recent-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.single-recent-thumb {
  width: 68px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0e6da;
}
.single-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-recent-info {
  flex-grow: 1;
}
.single-recent-info span {
  display: block;
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 3px;
}
.single-recent-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
  transition: color .2s ease;
}
.single-recent-item:hover .single-recent-info h4 {
  color: var(--saffron);
}

/* Related News Section */
.single-related-section {
  padding: 55px 0 65px;
  background: #f5efe6;
  border-top: 1px solid #e5d8c6;
}

/* Responsive for Single Post */
@media (max-width: 991px) {
  .single-post-grid {
    grid-template-columns: 1fr;
  }
  .single-post-title {
    font-size: 26px;
  }
}
@media (max-width: 600px) {
  .single-main-column {
    padding: 20px 18px 24px;
  }
  .single-featured-wrap {
    margin: -20px -18px 20px;
    max-height: 250px;
  }
  .single-post-title {
    font-size: 21px;
  }
  .single-post-nav {
    grid-template-columns: 1fr;
  }
  .single-nav-item.next {
    text-align: left;
  }
}

