/*
Theme Name: Faizan Public School
Theme URI: https://fps.aromanish.com
Author: Faizan Public School
Author URI: https://fps.aromanish.com
Description: A fully customizable, accessible, and modern WordPress theme built for Faizan Public School. Features a dark-green and gold colour palette, responsive multi-section layout, Customizer-powered settings, WCAG 2.1 AA accessibility compliance, and dedicated page templates for Home, About, Services, Admissions, Blog, Gallery, Contact, Privacy, and Terms pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fps-theme
Tags: education, school, responsive, accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, theme-options, two-columns, block-patterns
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — All colours, fonts, spacing
   These are overridden by the Customizer via inline CSS in wp_head
   ============================================================ */
:root {
  /* Brand colours */
  --fps-primary:        #0a5c36;
  --fps-primary-mid:    #1a7a4a;
  --fps-primary-light:  #e8f5ee;
  --fps-primary-dark:   #041f14;
  --fps-accent:         #c9972b;
  --fps-accent-light:   #fdf6e3;
  --fps-accent-dark:    #8a5a00;

  /* Neutral colours */
  --fps-text:           #1a1a1a;
  --fps-text-muted:     #5c6470;
  --fps-bg:             #fafaf8;
  --fps-white:          #ffffff;
  --fps-border:         rgba(0, 0, 0, 0.10);

  /* Typography */
  --fps-font-heading:   'Playfair Display', Georgia, serif;
  --fps-font-body:      'DM Sans', system-ui, sans-serif;
  --fps-font-size-base: 16px;
  --fps-line-height:    1.7;

  /* Spacing */
  --fps-radius:         12px;
  --fps-radius-lg:      18px;
  --fps-radius-xl:      24px;
  --fps-section-pad:    5rem 2rem;
  --fps-max-width:      1100px;

  /* Shadows */
  --fps-shadow:         0 4px 24px rgba(10, 92, 54, 0.08);
  --fps-shadow-lg:      0 8px 40px rgba(10, 92, 54, 0.14);

  /* Focus ring — WCAG 2.1 AA */
  --fps-focus:          0 0 0 3px rgba(10, 92, 54, 0.40);

  /* Transitions */
  --fps-transition:     all 0.22s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: var(--fps-font-size-base); }
body {
  font-family: var(--fps-font-body);
  color: var(--fps-text);
  background: var(--fps-bg);
  line-height: var(--fps-line-height);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--fps-primary); transition: var(--fps-transition); }
a:hover { color: var(--fps-primary-mid); }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  background: var(--fps-primary); color: #fff;
  padding: 0.7rem 1.4rem; border-radius: 0 0 8px 8px;
  font-weight: 600; text-decoration: none; font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
*:focus-visible {
  outline: none;
  box-shadow: var(--fps-focus);
  border-radius: 4px;
}
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--fps-primary);
  outline-offset: 3px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fps-font-heading);
  color: var(--fps-text);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-family: var(--fps-font-body); font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4rem; }
blockquote {
  border-left: 4px solid var(--fps-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--fps-primary-light);
  border-radius: 0 var(--fps-radius) var(--fps-radius) 0;
  font-style: italic;
  color: var(--fps-text-muted);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.fps-container { max-width: var(--fps-max-width); margin: 0 auto; padding: 0 1.5rem; }
.fps-section { padding: var(--fps-section-pad); }
.fps-section--alt { background: var(--fps-white); }
.fps-section--dark {
  background: linear-gradient(135deg, var(--fps-primary-dark) 0%, var(--fps-primary) 100%);
  color: #fff;
}
.fps-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.fps-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.fps-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.fps-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.fps-center { text-align: center; }
.fps-center .fps-section-desc { margin: 0 auto; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.fps-section-header { margin-bottom: 3rem; }
.fps-section-label {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fps-primary);
  background: var(--fps-primary-light);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 0.8rem;
}
.fps-section-title { margin-bottom: 0.6rem; }
.fps-section-desc {
  color: var(--fps-text-muted); font-size: 1.05rem; max-width: 600px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.fps-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fps-border);
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}
.fps-nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.fps-nav__logo {
  width: 44px; height: 44px;
  background: var(--fps-primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fps-font-heading);
  color: #fff; font-size: 18px; font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.fps-nav__logo img { width: 100%; height: 100%; object-fit: cover; }
.fps-nav__name {
  font-family: var(--fps-font-heading);
  font-size: 17px; font-weight: 700;
  color: var(--fps-text); line-height: 1.2;
}
.fps-nav__name small {
  display: block;
  font-family: var(--fps-font-body);
  font-size: 11px; font-weight: 400;
  color: var(--fps-text-muted); letter-spacing: 0.05em;
}
.fps-nav__menu {
  display: flex; align-items: center;
  list-style: none; gap: 0;
  margin: 0; padding: 0;
}
.fps-nav__menu li a {
  display: block;
  text-decoration: none;
  color: var(--fps-text-muted);
  font-size: 14px; font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: var(--fps-transition);
}
.fps-nav__menu li a:hover,
.fps-nav__menu li.current-menu-item > a,
.fps-nav__menu li.current_page_item > a {
  color: var(--fps-primary);
  background: var(--fps-primary-light);
}
.fps-nav__cta {
  background: var(--fps-primary);
  color: #fff !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.fps-nav__cta:hover { background: var(--fps-primary-mid) !important; color: #fff !important; }
.fps-nav__hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: none; border: none;
  aria-label: "Toggle navigation menu";
}
.fps-nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--fps-text); border-radius: 2px;
  transition: var(--fps-transition);
}

/* ============================================================
   HERO
   ============================================================ */
.fps-hero {
  background: linear-gradient(135deg, var(--fps-primary-dark) 0%, var(--fps-primary) 60%, var(--fps-primary-mid) 100%);
  padding: 5rem 2rem 4rem;
  position: relative; overflow: hidden;
  margin-top: 70px;
}
.fps-hero::before {
  content: '';
  position: absolute; top: -30%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,151,43,0.18) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.fps-hero::after {
  content: '';
  position: absolute; bottom: -20%; left: -5%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.fps-hero__inner {
  max-width: var(--fps-max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.fps-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 12px; font-weight: 500;
  padding: 6px 14px; border-radius: 50px;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.fps-hero__badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--fps-accent); border-radius: 50%;
}
.fps-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff; margin-bottom: 1.2rem;
}
.fps-hero h1 em { font-style: italic; color: #f0c96b; }
.fps-hero__desc { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 2rem; }
.fps-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.fps-hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,0.12);
  border-radius: var(--fps-radius); margin-top: 2.5rem; overflow: hidden;
  gap: 1px;
}
.fps-hero__stat { background: rgba(255,255,255,0.06); padding: 1.2rem; text-align: center; }
.fps-hero__stat strong { display: block; font-size: 1.8rem; font-weight: 700; color: #f0c96b; }
.fps-hero__stat span { font-size: 12px; color: rgba(255,255,255,0.7); }
.fps-hero__cards { display: flex; flex-direction: column; gap: 14px; }
.fps-hero__card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 1.2rem 1.5rem;
  display: flex; align-items: center; gap: 14px; color: #fff;
}
.fps-hero__card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.fps-hero__card h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; color: #fff; }
.fps-hero__card p { font-size: 13px; color: rgba(255,255,255,0.68); line-height: 1.4; }

/* ============================================================
   BUTTONS
   ============================================================ */
.fps-btn, .fps-btn--outline {
  display: inline-block;
  font-family: var(--fps-font-body);
  font-size: 15px; font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: var(--fps-transition);
  line-height: 1;
}
.fps-btn {
  background: var(--fps-accent);
  color: #2a1a00;
}
.fps-btn:hover { background: #e0ab32; transform: translateY(-1px); color: #2a1a00; }
.fps-btn--primary { background: var(--fps-primary); color: #fff; }
.fps-btn--primary:hover { background: var(--fps-primary-mid); color: #fff; }
.fps-btn--outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.fps-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }
.fps-btn--sm { font-size: 13px; padding: 0.55rem 1.1rem; }

/* ============================================================
   STATS BAR
   ============================================================ */
.fps-stats-bar { background: var(--fps-primary); padding: 2rem; }
.fps-stats-bar__inner {
  max-width: var(--fps-max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.10);
  border-radius: 14px; overflow: hidden; gap: 1px;
}
.fps-stats-bar__item { background: transparent; padding: 1.8rem; text-align: center; }
.fps-stats-bar__item strong {
  display: block;
  font-family: var(--fps-font-heading);
  font-size: 2.2rem; font-weight: 700; color: #fff;
}
.fps-stats-bar__item span { font-size: 13px; color: rgba(255,255,255,0.72); }

/* ============================================================
   CARDS
   ============================================================ */
.fps-card {
  background: var(--fps-white);
  border: 1px solid var(--fps-border);
  border-radius: var(--fps-radius);
  padding: 1.8rem;
  box-shadow: var(--fps-shadow);
  transition: transform 0.22s, box-shadow 0.22s;
}
.fps-card:hover { transform: translateY(-3px); box-shadow: var(--fps-shadow-lg); }
.fps-card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--fps-primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 1.2rem;
}
.fps-card h3 { font-size: 18px; margin-bottom: 0.5rem; }
.fps-card p { color: var(--fps-text-muted); font-size: 15px; line-height: 1.65; }
.fps-card--accent-top { border-top: 4px solid var(--fps-primary); }
.fps-card--accent-gold { border-top: 4px solid var(--fps-accent); }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.fps-team-card {
  background: var(--fps-white);
  border: 1px solid var(--fps-border);
  border-radius: var(--fps-radius);
  padding: 1.8rem; text-align: center;
  box-shadow: var(--fps-shadow);
  transition: transform 0.22s;
}
.fps-team-card:hover { transform: translateY(-3px); }
.fps-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--fps-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fps-font-heading); font-size: 22px; font-weight: 700;
  color: #fff; margin: 0 auto 1rem;
  overflow: hidden;
}
.fps-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fps-team-card h3 { font-size: 16px; margin-bottom: 4px; }
.fps-team-card p { color: var(--fps-text-muted); font-size: 14px; margin: 0; }
.fps-tag {
  display: inline-block; margin-top: 8px; font-size: 12px;
  background: var(--fps-primary-light); color: var(--fps-primary);
  padding: 3px 10px; border-radius: 20px; font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.fps-testimonial {
  background: var(--fps-white);
  border: 1px solid var(--fps-border);
  border-radius: var(--fps-radius);
  padding: 1.8rem; box-shadow: var(--fps-shadow);
}
.fps-testimonial__stars { color: var(--fps-accent); font-size: 18px; margin-bottom: 1rem; letter-spacing: 2px; }
.fps-testimonial__quote { color: var(--fps-text-muted); font-size: 15px; line-height: 1.65; font-style: italic; margin-bottom: 1.2rem; }
.fps-testimonial__author { display: flex; align-items: center; gap: 10px; }
.fps-testimonial__author .fps-avatar { width: 38px; height: 38px; font-size: 14px; margin: 0; }
.fps-testimonial__author h5 { font-size: 14px; font-weight: 600; margin: 0; }
.fps-testimonial__author span { font-size: 12px; color: var(--fps-text-muted); }

/* ============================================================
   NOTICE BOARD
   ============================================================ */
.fps-notice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 1.2rem; border: 1px solid var(--fps-border);
  border-radius: 10px; background: var(--fps-white);
  margin-bottom: 0.75rem; box-shadow: var(--fps-shadow);
}
.fps-notice__date {
  flex-shrink: 0; width: 52px; text-align: center;
  background: var(--fps-primary-light); border-radius: 8px; padding: 0.5rem;
}
.fps-notice__date strong { display: block; font-size: 18px; font-weight: 700; color: var(--fps-primary); }
.fps-notice__date span { font-size: 11px; color: var(--fps-primary); }
.fps-notice h4 { font-size: 15px; margin-bottom: 4px; }
.fps-notice p { color: var(--fps-text-muted); font-size: 14px; margin: 0; }
.fps-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 20px; margin-top: 6px;
}
.fps-badge--urgent { background: #fde8e8; color: #c0392b; }
.fps-badge--info   { background: var(--fps-primary-light); color: var(--fps-primary); }
.fps-badge--event  { background: var(--fps-accent-light); color: var(--fps-accent-dark); }

/* ============================================================
   BLOG / POSTS
   ============================================================ */
.fps-post-card {
  background: var(--fps-white);
  border: 1px solid var(--fps-border);
  border-radius: var(--fps-radius);
  overflow: hidden; box-shadow: var(--fps-shadow);
  transition: transform 0.22s;
}
.fps-post-card:hover { transform: translateY(-3px); }
.fps-post-card__thumb {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--fps-primary-light), #c8e6d4);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.fps-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fps-post-card__body { padding: 1.4rem; }
.fps-post-card__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 0.7rem; }
.fps-post-card__cat {
  background: var(--fps-primary-light); color: var(--fps-primary);
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}
.fps-post-card__date { font-size: 12px; color: var(--fps-text-muted); }
.fps-post-card h3 { font-size: 17px; margin-bottom: 0.5rem; line-height: 1.35; }
.fps-post-card h3 a { text-decoration: none; color: var(--fps-text); }
.fps-post-card h3 a:hover { color: var(--fps-primary); }
.fps-post-card p { color: var(--fps-text-muted); font-size: 14px; }
.fps-read-more {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--fps-primary); font-size: 14px; font-weight: 600;
  text-decoration: none; margin-top: 0.8rem;
  transition: gap 0.2s;
}
.fps-read-more:hover { gap: 9px; }

/* ============================================================
   GALLERY
   ============================================================ */
.fps-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.fps-gallery-item {
  aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: var(--fps-primary-light);
  cursor: pointer; transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid var(--fps-border);
  position: relative;
}
.fps-gallery-item:hover { transform: scale(1.04); box-shadow: var(--fps-shadow-lg); }
.fps-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.fps-gallery-label {
  font-size: 12px; font-weight: 600; color: var(--fps-text-muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin: 2rem 0 0.8rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.fps-cta-banner {
  background: linear-gradient(135deg, var(--fps-primary) 0%, var(--fps-primary-dark) 100%);
  border-radius: 20px; padding: 3.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.fps-cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,151,43,0.22) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.fps-cta-banner h2 { color: #fff; margin-bottom: 0.8rem; position: relative; z-index: 1; }
.fps-cta-banner p { color: rgba(255,255,255,0.78); margin-bottom: 2rem; position: relative; z-index: 1; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.fps-page-hero {
  background: linear-gradient(135deg, var(--fps-primary-dark) 0%, var(--fps-primary) 100%);
  padding: 4rem 2rem 3rem;
  margin-top: 70px;
}
.fps-breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 1.2rem; flex-wrap: wrap; }
.fps-breadcrumb span { font-size: 13px; color: rgba(255,255,255,0.6); }
.fps-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; }
.fps-breadcrumb a:hover { color: #fff; }
.fps-page-hero h1 { color: #fff; margin-bottom: 0.8rem; }
.fps-page-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 620px; }

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.fps-accordion { margin-top: 1rem; }
.fps-acc-item {
  border: 1px solid var(--fps-border); border-radius: 10px;
  overflow: hidden; margin-bottom: 0.7rem; background: var(--fps-white);
}
.fps-acc-header {
  padding: 1.1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 500; font-size: 15px;
  background: var(--fps-white); transition: background 0.15s;
  border: none; width: 100%; text-align: left; color: var(--fps-text);
  font-family: var(--fps-font-body);
}
.fps-acc-header:hover { background: var(--fps-primary-light); }
.fps-acc-arrow { font-size: 18px; color: var(--fps-text-muted); transition: transform 0.22s; flex-shrink: 0; }
.fps-acc-item.open .fps-acc-arrow { transform: rotate(180deg); }
.fps-acc-body {
  display: none; padding: 0 1.5rem 1.2rem;
  color: var(--fps-text-muted); font-size: 15px;
}
.fps-acc-item.open .fps-acc-body { display: block; }

/* ============================================================
   TABS
   ============================================================ */
.fps-tabs { }
.fps-tab-nav {
  display: flex; gap: 6px; border-bottom: 2px solid var(--fps-border);
  padding-bottom: 0; flex-wrap: wrap;
}
.fps-tab-btn {
  padding: 0.7rem 1.4rem; font-size: 14px; font-weight: 500;
  cursor: pointer; border: none; background: none;
  color: var(--fps-text-muted); border-radius: 8px 8px 0 0;
  transition: var(--fps-transition);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  font-family: var(--fps-font-body);
}
.fps-tab-btn:hover { color: var(--fps-primary); }
.fps-tab-btn.active { color: var(--fps-primary); border-bottom-color: var(--fps-primary); font-weight: 600; }
.fps-tab-pane { display: none; padding-top: 2rem; }
.fps-tab-pane.active { display: block; }

/* ============================================================
   FORMS
   ============================================================ */
.fps-form-card {
  background: var(--fps-white); border: 1px solid var(--fps-border);
  border-radius: var(--fps-radius-lg); padding: 2.5rem;
  box-shadow: var(--fps-shadow);
}
.fps-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fps-form-group { margin-bottom: 1.2rem; }
.fps-form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.fps-form-group input,
.fps-form-group select,
.fps-form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--fps-border); border-radius: 8px;
  font-family: var(--fps-font-body); font-size: 15px; color: var(--fps-text);
  background: var(--fps-bg); transition: border-color 0.2s;
  outline: none;
}
.fps-form-group input:focus,
.fps-form-group select:focus,
.fps-form-group textarea:focus {
  border-color: var(--fps-primary);
  box-shadow: 0 0 0 3px rgba(10,92,54,0.12);
}
.fps-form-group textarea { height: 120px; resize: vertical; }
.fps-form-submit {
  width: 100%; background: var(--fps-primary); color: #fff;
  border: none; padding: 0.9rem; border-radius: 8px;
  font-family: var(--fps-font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: var(--fps-transition);
}
.fps-form-submit:hover { background: var(--fps-primary-mid); }
.fps-form-success {
  display: none; background: var(--fps-primary-light); color: var(--fps-primary);
  padding: 0.75rem 1rem; border-radius: 8px; font-size: 14px;
  margin-top: 1rem; text-align: center; font-weight: 500;
}
.fps-form-success.show { display: block; }

/* ============================================================
   CONTACT
   ============================================================ */
.fps-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.fps-contact-item { display: flex; gap: 14px; margin-bottom: 1.5rem; }
.fps-contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--fps-primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.fps-contact-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.fps-contact-item p { color: var(--fps-text-muted); font-size: 14px; margin: 0; }

/* ============================================================
   CHECKLIST
   ============================================================ */
.fps-checklist { list-style: none; padding: 0; margin-top: 1.2rem; }
.fps-checklist li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 0.45rem 0; color: var(--fps-text-muted); font-size: 15px;
}
.fps-checklist li::before {
  content: '✓'; color: var(--fps-primary); font-weight: 700; font-size: 16px;
  flex-shrink: 0; margin-top: 2px;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.fps-timeline { position: relative; padding-left: 2rem; }
.fps-timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--fps-primary-light);
}
.fps-tl-item { position: relative; margin-bottom: 2.5rem; }
.fps-tl-dot {
  position: absolute; left: -2.5rem; top: 4px;
  width: 14px; height: 14px; background: var(--fps-primary); border-radius: 50%;
  border: 3px solid var(--fps-bg); box-shadow: 0 0 0 2px var(--fps-primary-light);
}
.fps-tl-year { font-size: 12px; font-weight: 700; color: var(--fps-primary); letter-spacing: 0.05em; margin-bottom: 4px; }
.fps-tl-item h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.fps-tl-item p { color: var(--fps-text-muted); font-size: 14px; }

/* ============================================================
   STEPS (Admissions process)
   ============================================================ */
.fps-steps { display: flex; flex-direction: column; gap: 0; }
.fps-step { display: flex; gap: 20px; padding-bottom: 2.5rem; position: relative; }
.fps-step:last-child { padding-bottom: 0; }
.fps-step::before {
  content: ''; position: absolute; left: 19px; top: 40px; bottom: 0;
  width: 2px; background: var(--fps-primary-light);
}
.fps-step:last-child::before { display: none; }
.fps-step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--fps-primary); color: #fff;
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
}
.fps-step h4 { font-size: 16px; margin-bottom: 4px; padding-top: 8px; }
.fps-step p { color: var(--fps-text-muted); font-size: 14px; }

/* ============================================================
   FEE TABLE
   ============================================================ */
.fps-table-wrap { overflow-x: auto; border-radius: var(--fps-radius); }
.fps-table {
  width: 100%; border-collapse: collapse;
  border-radius: var(--fps-radius); overflow: hidden;
  min-width: 600px;
}
.fps-table th {
  background: var(--fps-primary); color: #fff;
  padding: 0.9rem 1.2rem; text-align: left; font-size: 14px; font-weight: 600;
}
.fps-table td {
  padding: 0.9rem 1.2rem; font-size: 14px;
  border-bottom: 1px solid var(--fps-border); background: var(--fps-white);
}
.fps-table tr:last-child td { border-bottom: none; }
.fps-table tr:hover td { background: var(--fps-primary-light); }

/* ============================================================
   INFO BOX
   ============================================================ */
.fps-info-box {
  background: var(--fps-primary-light);
  border: 1px solid rgba(10,92,54,0.15);
  border-left: 4px solid var(--fps-primary);
  border-radius: 0 var(--fps-radius) var(--fps-radius) 0;
  padding: 1.2rem 1.5rem; margin-bottom: 1.5rem;
}
.fps-info-box h4 { font-size: 15px; font-weight: 600; color: var(--fps-primary); margin-bottom: 4px; }
.fps-info-box p { font-size: 14px; color: var(--fps-text-muted); margin: 0; }

/* ============================================================
   POLICY / TERMS CONTENT
   ============================================================ */
.fps-policy { max-width: 800px; }
.fps-policy h2 {
  font-size: 1.35rem; margin: 2.5rem 0 0.8rem;
  padding-bottom: 0.4rem; border-bottom: 1px solid var(--fps-border);
}
.fps-policy h2:first-child { margin-top: 0; }
.fps-policy p, .fps-policy ul, .fps-policy ol {
  color: var(--fps-text-muted); font-size: 15px;
}
.fps-policy ul, .fps-policy ol { margin: 0.5rem 0 1rem; }
.fps-policy li { margin-bottom: 0.4rem; }
.fps-toc {
  background: var(--fps-white); border: 1px solid var(--fps-border);
  border-radius: var(--fps-radius); padding: 1.5rem; margin-bottom: 2.5rem;
}
.fps-toc h4 { font-size: 15px; margin-bottom: 0.8rem; }
.fps-toc ol { color: var(--fps-primary); font-size: 14px; }
.fps-toc a { color: var(--fps-primary); text-decoration: none; }
.fps-toc a:hover { text-decoration: underline; }

/* ============================================================
   CLASS CARDS
   ============================================================ */
.fps-class-card {
  background: var(--fps-white); border: 1px solid var(--fps-border);
  border-radius: var(--fps-radius); overflow: hidden;
  box-shadow: var(--fps-shadow); transition: transform 0.22s;
}
.fps-class-card:hover { transform: translateY(-3px); }
.fps-class-card__header { background: var(--fps-primary); padding: 1.2rem 1.5rem; }
.fps-class-card__header h3 { color: #fff; font-size: 18px; }
.fps-class-card__level { color: rgba(255,255,255,0.72); font-size: 13px; margin-top: 2px; }
.fps-class-card__body { padding: 1.5rem; }
.fps-class-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1rem; }
.fps-class-meta span { font-size: 13px; color: var(--fps-text-muted); }
.fps-class-fee { font-family: var(--fps-font-heading); font-size: 1.4rem; font-weight: 700; color: var(--fps-primary); }
.fps-class-fee small { font-family: var(--fps-font-body); font-size: 13px; color: var(--fps-text-muted); font-weight: 400; }

/* ============================================================
   SPLIT SECTION
   ============================================================ */
.fps-split-visual {
  border-radius: var(--fps-radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--fps-primary-light), #d4eddf);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  min-height: 280px;
}
.fps-split-visual img { width: 100%; height: 100%; object-fit: cover; }
.fps-split-visual__inner { text-align: center; padding: 2rem; }
.fps-split-visual__inner .fps-big-icon { font-size: 5rem; display: block; margin-bottom: 1rem; }
.fps-split-visual__inner p { color: var(--fps-primary); font-weight: 600; font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
.fps-footer {
  background: var(--fps-primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 2rem 2rem;
}
.fps-footer__grid {
  max-width: var(--fps-max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.fps-footer__brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 260px; }
.fps-footer__col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 1rem; font-family: var(--fps-font-body); }
.fps-footer__col ul { list-style: none; padding: 0; }
.fps-footer__col li { margin-bottom: 0.6rem; }
.fps-footer__col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.fps-footer__col a:hover { color: var(--fps-accent); }
.fps-footer__bottom {
  max-width: var(--fps-max-width); margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.10); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.fps-footer__bottom p { font-size: 13px; color: rgba(255,255,255,0.40); }
.fps-footer__bottom a { color: rgba(255,255,255,0.40); text-decoration: none; }
.fps-footer__bottom a:hover { color: var(--fps-accent); }
.fps-socials { display: flex; gap: 10px; }
.fps-social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
  border: none; cursor: pointer;
}
.fps-social-btn:hover { background: var(--fps-primary); color: #fff; }

/* ============================================================
   CUSTOMIZER CONTROLS — Colour Swatches (Admin-side only)
   ============================================================ */
.fps-customizer-swatch {
  display: inline-block; width: 24px; height: 24px;
  border-radius: 50%; border: 2px solid rgba(0,0,0,0.15); cursor: pointer;
}

/* ============================================================
   DARK MODE SUPPORT (prefers-color-scheme)
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --fps-text:    #f0f0ec;
    --fps-text-muted: #9aa0ab;
    --fps-bg:      #111816;
    --fps-white:   #1a2320;
    --fps-border:  rgba(255,255,255,0.10);
    --fps-shadow:  0 4px 24px rgba(0,0,0,0.30);
  }
  .fps-nav {
    background: rgba(17,24,22,0.96);
    border-color: rgba(255,255,255,0.08);
  }
  .fps-tl-dot { border-color: var(--fps-bg); }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .fps-nav, .fps-footer, .fps-cta-banner, .fps-hero__cards { display: none; }
  .fps-hero { background: none; color: var(--fps-text); padding: 1rem 0; }
  .fps-hero h1 { color: var(--fps-text); }
  body { font-size: 12pt; }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .fps-footer__grid { grid-template-columns: 1fr 1fr; }
  .fps-stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .fps-hero__inner { gap: 2.5rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --fps-section-pad: 3.5rem 1.2rem; }

  .fps-nav__menu {
    display: none; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--fps-white); padding: 1rem;
    border-bottom: 1px solid var(--fps-border);
    z-index: 999; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .fps-nav__menu.is-open { display: flex; }
  .fps-nav__menu a { padding: 0.7rem 1rem; }
  .fps-nav__hamburger { display: flex; }

  .fps-hero__inner { grid-template-columns: 1fr; }
  .fps-hero__cards { display: none; }
  .fps-hero__stats { grid-template-columns: repeat(3, 1fr); }

  .fps-split { grid-template-columns: 1fr; gap: 2rem; }
  .fps-grid-2 { grid-template-columns: 1fr; }

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

  .fps-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .fps-stats-bar__inner { grid-template-columns: repeat(2, 1fr); }

  .fps-tab-nav { gap: 4px; }
  .fps-tab-btn { padding: 0.5rem 0.8rem; font-size: 13px; }

  h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
}

@media (max-width: 480px) {
  .fps-hero__stats { grid-template-columns: 1fr; }
  .fps-footer__grid { grid-template-columns: 1fr; }
  .fps-footer__bottom { flex-direction: column; text-align: center; }
}
