/*==========================================================
  SEYLOM INTERNATIONAL SCHOOL — Design System v3
  Primary: #1935C8  |  Fully Offline  |  Poppins Font
  =========================================================*/

/* ── Local Poppins Font ──────────────────────────────── */
@font-face {
  font-family: 'Poppins';
  font-weight: 300;
  font-style: normal;
  src: url('../fonts/poppins/poppins-v5-latin-300.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v5-latin-300.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/poppins/poppins-v5-latin-regular.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v5-latin-regular.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-style: normal;
  src: url('../fonts/poppins/poppins-v5-latin-500.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v5-latin-500.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-style: normal;
  src: url('../fonts/poppins/poppins-v5-latin-600.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v5-latin-600.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  font-style: normal;
  src: url('../fonts/poppins/poppins-v5-latin-700.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v5-latin-700.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 800;
  font-style: normal;
  src: url('../fonts/poppins/poppins-v5-latin-800.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v5-latin-800.woff') format('woff');
}

/* ── CSS Variables ───────────────────────────────────── */
:root {
  --primary: #1935C8;
  --primary-light: #4F6EFF;
  --primary-dark: #0f2278;
  --bg-light: #f6f6f8;
  --bg-dark: #101522;
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --yellow-400: #facc15;
  --red-500: #ef4444;
  --green-500: #22c55e;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, .12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, .15);
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset & Base ────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-light);
  color: var(--slate-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

input,
textarea,
select {
  font-family: var(--font);
}

/* ── Utility Classes ─────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-primary {
  color: var(--primary);
}

.bg-primary {
  background-color: var(--primary);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: .5rem;
}

.gap-3 {
  gap: .75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-flex {
  display: inline-flex;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.rounded {
  border-radius: var(--radius);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.overflow-hidden {
  overflow: hidden;
}

.object-cover {
  object-fit: cover;
}

.text-center {
  text-align: center;
}

.text-xs {
  font-size: .75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: .875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1.1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1.1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1.1;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.15em;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.leading-relaxed {
  line-height: 1.75;
}

.leading-tight {
  line-height: 1.25;
}

.transition-all {
  transition: var(--transition);
}

.no-underline {
  text-decoration: none !important;
}

/* ── Spacing Utils ───────────────────────────────────── */
.mt-2 {
  margin-top: .5rem;
}

.mt-3 {
  margin-top: .75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mb-2 {
  margin-bottom: .5rem;
}

.mb-3 {
  margin-bottom: .75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.px-3 {
  padding-left: .75rem;
  padding-right: .75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.p-2 {
  padding: .5rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-10 {
  padding: 2.5rem;
}

.p-14 {
  padding: 3.5rem;
}

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(25, 53, 200, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  transition: var(--transition);
}

.site-header .header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.site-header .logo-icon {
  background: var(--white);
  padding: .5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header .logo-icon img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.site-header .logo-text {
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.site-header .logo-text span {
  font-weight: 300;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-header .nav-links a {
  color: rgba(255, 255, 255, .8);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
  color: white;
  font-weight: 600;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-white {
  background: white;
  color: var(--primary);
  height: 44px;
  padding: 0 1.5rem;
  font-size: .875rem;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--slate-100);
}

.btn-outline-white {
  background: transparent;
  color: white;
  height: 44px;
  padding: 0 1.5rem;
  font-size: .875rem;
  border: 1px solid rgba(255, 255, 255, .3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .1);
}

.btn-primary {
  background: var(--primary);
  color: white;
  height: 56px;
  padding: 0 2rem;
  font-size: 1.125rem;
  box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  height: 56px;
  padding: 0 2rem;
  font-size: 1.125rem;
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
}

.btn-primary-sm {
  background: var(--primary);
  color: white;
  height: 44px;
  padding: 0 1.5rem;
  font-size: .875rem;
}

.btn-primary-sm:hover {
  background: var(--primary-dark);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  color: rgba(255, 255, 255, .85);
  font-size: .875rem;
  font-weight: 500;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, .1);
  color: white;
}

/* ══════════════════════════════════════════════════════
   HERO CAROUSEL
   ══════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .6), rgba(0, 0, 0, .2), transparent);
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-card {
  max-width: 640px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 2.5rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: rgba(25, 53, 200, .4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .3);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.hero-card h1 {
  color: white;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}

.hero-card p {
  color: rgba(255, 255, 255, .9);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn-hero {
  min-width: 160px;
  height: 56px;
  border-radius: var(--radius-xl);
  font-size: 1.125rem;
  font-weight: 700;
}

.hero-actions .btn-hero-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-xl);
}

.hero-actions .btn-hero-primary:hover {
  transform: scale(1.05);
}

.hero-actions .btn-hero-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-actions .btn-hero-outline:hover {
  background: white;
  color: var(--primary);
}

/* Carousel controls */
.hero-controls {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-controls button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.5rem;
}

.hero-controls button:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-dots {
  display: flex;
  gap: .5rem;
}

.hero-dots .dot {
  width: 2rem;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .3);
  transition: var(--transition);
}

.hero-dots .dot.active {
  background: white;
}

/* ══════════════════════════════════════════════════════
   STATS BAR (overlapping cards)
   ══════════════════════════════════════════════════════ */
.stats-section {
  position: relative;
  z-index: 20;
  margin-top: -5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.stat-card:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.stat-card:hover .stat-icon {
  background: rgba(255, 255, 255, .2);
  color: white;
}

.stat-card:hover .stat-label {
  color: rgba(255, 255, 255, .8);
}

.stat-card:hover .stat-value {
  color: white;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(25, 53, 200, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.75rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.stat-label {
  color: var(--slate-500);
  font-size: .875rem;
  font-weight: 600;
  transition: var(--transition);
}

.stat-value {
  color: var(--slate-900);
  font-size: 1.875rem;
  font-weight: 900;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════ */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--primary);
  color: white;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .875rem;
  margin-bottom: 1rem;
}

.section-dark .section-label {
  color: rgba(255, 255, 255, .6);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
}

.section-dark .section-title {
  color: white;
}

.section-desc {
  color: var(--slate-500);
  max-width: 480px;
  line-height: 1.75;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, .7);
}

/* ══════════════════════════════════════════════════════
   CURRICULUM CARDS
   ══════════════════════════════════════════════════════ */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.curriculum-card {
  cursor: pointer;
}

.curriculum-card .card-media {
  position: relative;
  height: 24rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
}

.curriculum-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.curriculum-card:hover .card-media img {
  transform: scale(1.1);
}

.curriculum-card .card-media .card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 53, 200, .2);
  transition: var(--transition);
}

.curriculum-card:hover .card-media .card-overlay {
  background: transparent;
}

.curriculum-card .card-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transform: translateY(1rem);
  transition: transform .3s ease;
}

.curriculum-card:hover .card-info {
  transform: translateY(0);
}

.curriculum-card .card-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
}

.curriculum-card .card-info p {
  font-size: .875rem;
  color: var(--slate-600);
  margin-top: .25rem;
}

/* ══════════════════════════════════════════════════════
   ACTIVITY / BLOG CARDS
   ══════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card .card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.blog-card:hover .card-img img {
  transform: scale(1.05);
}

.blog-card .card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
}

.card-badge-sports {
  background: var(--green-500);
}

.card-badge-academic {
  background: var(--primary);
}

.card-badge-events {
  background: #f59e0b;
}

.card-badge-general {
  background: var(--slate-600);
}

.blog-card .card-body {
  padding: 1.5rem;
}

.blog-card .card-date {
  font-size: .75rem;
  color: var(--slate-400);
  font-weight: 500;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .375rem;
}

.blog-card .card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .5rem;
  line-height: 1.4;
}

.blog-card .card-excerpt {
  font-size: .875rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: .875rem;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  transition: var(--transition);
}

.read-more:hover {
  gap: .75rem;
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════ */
.testimonials-section {
  background: var(--primary);
  color: white;
  padding: 6rem 0;
  overflow: hidden;
  position: relative;
}

.testimonials-section .deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 100%;
  background: rgba(255, 255, 255, .05);
  transform: skewX(-12deg) translateX(50%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .2);
  position: relative;
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3.75rem;
  color: rgba(255, 255, 255, .15);
}

.testimonial-stars {
  display: flex;
  gap: .25rem;
  color: var(--yellow-400);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.testimonial-card .testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author h5 {
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author p {
  color: rgba(255, 255, 255, .6);
  font-size: .875rem;
}

/* ══════════════════════════════════════════════════════
   PAGE HERO / BREADCRUMBS (for inner pages)
   ══════════════════════════════════════════════════════ */
.page-hero {
  padding-top: 120px;
  padding-bottom: 3rem;
  background: var(--bg-light);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--slate-400);
  margin-bottom: 1rem;
}

.page-breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

.page-breadcrumb .sep {
  color: var(--slate-300);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: .5rem;
}

.page-hero h1 .accent {
  color: var(--primary);
  font-style: italic;
}

.page-hero .lead {
  font-size: 1.125rem;
  color: var(--slate-500);
  max-width: 600px;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery-item .gallery-img {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.gallery-item .gallery-img::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='180'%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-family='Poppins,sans-serif' font-size='18' font-weight='700' fill='rgba(255,255,255,0.18)' letter-spacing='2'%3ESEYLOM INTERNATIONAL SCHOOL%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  transform: rotate(-25deg);
  pointer-events: none;
  z-index: 2;
}

/* Watermark on glightbox fullscreen view */
.glightbox-container .gslide-image::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='200'%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-family='Poppins,sans-serif' font-size='22' font-weight='700' fill='rgba(255,255,255,0.15)' letter-spacing='3'%3ESEYLOM INTERNATIONAL SCHOOL%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  transform: rotate(-25deg);
  pointer-events: none;
  z-index: 9999;
}

.glightbox-container .gslide-image {
  position: relative !important;
}

.gallery-item .gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover .gallery-img img {
  transform: scale(1.08);
}

.gallery-item .gallery-info {
  padding: 1.25rem;
}

.gallery-item .gallery-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

.gallery-item .gallery-info .gallery-meta {
  font-size: .8rem;
  color: var(--slate-400);
  margin-top: .25rem;
}

/* ══════════════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════════════ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: .5rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  font-size: .875rem;
  transition: var(--transition);
  background: white;
  color: var(--slate-900);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 53, 200, .15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-100);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(25, 53, 200, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   ADMISSION FORM
   ══════════════════════════════════════════════════════ */
.admission-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
}

.admission-steps {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step-item {
  flex: 1;
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  background: var(--slate-50);
  border: 2px solid transparent;
  transition: var(--transition);
}

.step-item.active {
  background: rgba(25, 53, 200, .1);
  border-color: var(--primary);
}

.step-item .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--slate-600);
  font-weight: 700;
  font-size: .875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
}

.step-item.active .step-num {
  background: var(--primary);
  color: white;
}

.step-item .step-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--slate-500);
}

/* ══════════════════════════════════════════════════════
   CTA / NEWSLETTER
   ══════════════════════════════════════════════════════ */
.cta-section {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  color: white;
  margin: 3rem 0;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: .75rem;
}

.cta-section p {
  color: rgba(255, 255, 255, .8);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-xl);
  border: none;
  background: rgba(255, 255, 255, .15);
  color: white;
  font-size: .875rem;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, .6);
}

.cta-form button {
  padding: 0 1.5rem;
  background: white;
  color: var(--primary);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: .875rem;
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.footer-brand .footer-logo .logo-bg {
  background: var(--primary);
  padding: .5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .footer-logo .logo-bg img {
  height: 24px;
  width: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand .footer-logo h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-brand p {
  font-size: .875rem;
  color: var(--slate-400);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  transition: var(--transition);
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--primary);
  color: white;
}

.footer-col h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a {
  font-size: .875rem;
  color: var(--slate-400);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}

.footer-contact .icon {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: .125rem;
}

.footer-newsletter input {
  width: 100%;
  background: var(--slate-800);
  border: none;
  border-radius: var(--radius-xl);
  padding: .75rem 1rem;
  color: white;
  font-size: .875rem;
  margin-bottom: .75rem;
}

.footer-newsletter input::placeholder {
  color: var(--slate-500);
}

.footer-newsletter button {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  padding: .75rem;
  font-weight: 700;
  font-size: .875rem;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  background: var(--primary-light);
}

.footer-bottom {
  padding: 2.5rem 0;
  border-top: 1px solid var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  color: var(--slate-500);
}

/* ══════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content .about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.about-content .about-text p {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══════════════════════════════════════════════════════
   BLOG DETAIL
   ══════════════════════════════════════════════════════ */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.blog-detail-content .post-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
}

.blog-detail-content .post-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-detail-content .post-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  font-size: .875rem;
  color: var(--slate-400);
  margin-bottom: 2rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: .375rem;
}

.post-content {
  color: var(--slate-700);
  line-height: 1.9;
  font-size: 1rem;
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content h2,
.post-content h3 {
  color: var(--slate-900);
  margin: 1.5rem 0 .75rem;
}

.post-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* Sidebar */
.sidebar-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  margin-bottom: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--slate-100);
}

.sidebar-card .search-form {
  display: flex;
  gap: .5rem;
}

.sidebar-card .search-form input {
  flex: 1;
  padding: .5rem .75rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  font-size: .875rem;
}

.sidebar-card .search-form button {
  padding: .5rem .75rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
}

.sidebar-card .category-list li {
  margin-bottom: .75rem;
}

.sidebar-card .category-list li a {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  color: var(--slate-600);
  padding: .5rem 0;
  border-bottom: 1px solid var(--slate-50);
  transition: var(--transition);
}

.sidebar-card .category-list li a:hover {
  color: var(--primary);
}

.sidebar-card .category-list li a span {
  color: var(--slate-400);
}

.recent-post-item {
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
}

.recent-post-item img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}

.recent-post-item h4 {
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.4;
}

.recent-post-item h4 a:hover {
  color: var(--primary);
}

.recent-post-item time {
  font-size: .75rem;
  color: var(--slate-400);
}

/* Comments */
.comment-section h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1.5rem;
}

.comment {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-body h5 {
  font-weight: 600;
  font-size: .875rem;
  color: var(--slate-900);
}

.comment-body time {
  font-size: .75rem;
  color: var(--slate-400);
}

.comment-body p {
  font-size: .875rem;
  color: var(--slate-600);
  margin-top: .5rem;
  line-height: 1.6;
}

.comment-reply {
  margin-left: 3.5rem;
}

/* ══════════════════════════════════════════════════════
   FILTER TABS
   ══════════════════════════════════════════════════════ */
.filter-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-tab {
  padding: .5rem 1.25rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid var(--slate-200);
  background: white;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════ */
.fade-in {
  animation: fadeIn .6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .site-header .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 1024px) {
  .site-header {
    height: auto;
  }

  .site-header .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .logo {
    flex: 1 1 auto;
  }

  .header-actions {
    flex: 0 0 auto;
  }

  .site-header .nav-links {
    display: flex;
    width: 100%;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header .nav-links::-webkit-scrollbar {
    display: none;
  }

  .site-header .nav-links a {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.25rem 0;
  }

  .mobile-toggle {
    display: none !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-card h1 {
    font-size: 2.5rem;
  }

  .hero-card {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-card h1 {
    font-size: 2rem;
  }

  .hero-controls {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
  }

  .cta-form {
    flex-direction: column;
  }
}

/* ══════════════════════════════════════════════════════
   ABOUT US PAGE — Rich Content Area
   Styles any HTML from CKEditor (admin-managed content)
   ══════════════════════════════════════════════════════ */

.about-content-area {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--slate-600);
}

.about-content-area h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.about-content-area h2:first-child {
  margin-top: 0;
}

.about-content-area h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}

.about-content-area h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-top: 2rem;
  margin-bottom: .5rem;
}

.about-content-area p {
  margin-bottom: 1.25rem;
  color: var(--slate-600);
  line-height: 1.9;
}

.about-content-area strong {
  color: var(--slate-800);
  font-weight: 700;
}

.about-content-area a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.about-content-area a:hover {
  color: var(--primary-dark);
}

.about-content-area ul,
.about-content-area ol {
  margin: 1rem 0 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.about-content-area ul li,
.about-content-area ol li {
  position: relative;
  padding: .65rem 0 .65rem 2rem;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-600);
  line-height: 1.7;
}

.about-content-area ul li:last-child,
.about-content-area ol li:last-child {
  border-bottom: none;
}

.about-content-area ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.about-content-area ul li strong {
  color: var(--slate-900);
}

.about-content-area img {
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
}

.about-content-area em {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}

.about-content-area blockquote {
  border-left: 4px solid var(--primary);
  background: var(--slate-50);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--slate-700);
  font-style: italic;
}

.about-content-area table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-content-area table th,
.about-content-area table td {
  padding: .75rem 1rem;
  border: 1px solid var(--slate-200);
  text-align: left;
}

.about-content-area table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.about-content-area table tr:nth-child(even) {
  background: var(--slate-50);
}

/* -- CTA Section -- */
.about-cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #4361ee 100%);
  text-align: center;
  color: white;
}

.about-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.about-cta-inner h2 {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-white {
  display: inline-block;
  padding: .875rem 2rem;
  background: white;
  color: var(--primary);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
}

.btn-cta-white:hover {
  background: var(--slate-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-cta-ghost {
  display: inline-block;
  padding: .875rem 2rem;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
}

.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* -- About Page Responsive -- */
@media (max-width: 768px) {
  .about-content-area {
    font-size: .95rem;
  }

  .about-content-area h2 {
    font-size: 1.4rem;
  }

  .about-content-area h3 {
    font-size: 1.15rem;
  }

  .about-cta-inner h2 {
    font-size: 1.5rem;
  }

  /* Sidebar Statistics */
  .sidebar-stats {
    display: flex;
    flex-direction: column;
    gap: .75rem;
  }

  .sidebar-stat-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .9rem;
    color: var(--slate-600);
  }

  .sidebar-stat-item i {
    width: 32px;
    height: 32px;
    background: var(--slate-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: .95rem;
  }

  .sidebar-stat-item strong {
    margin-left: auto;
    color: var(--slate-900);
    font-weight: 700;
  }

  .about-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ══════════════════════════════════════════════════════
   BLOG DETAIL PAGE
   ══════════════════════════════════════════════════════ */

.blog-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

/* ── Article ── */
.blog-detail-article {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}

.blog-detail-hero {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.blog-detail-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--slate-100);
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--slate-500);
}

.blog-meta-item i {
  font-size: .95rem;
  color: var(--primary);
}

/* ── Content Body ── */
.blog-detail-body {
  padding: 2rem 2rem 2.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--slate-600);
}

.blog-detail-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 2rem 0 .75rem;
}

.blog-detail-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 2rem 0 .75rem;
  padding-left: .75rem;
  border-left: 4px solid var(--primary);
}

.blog-detail-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-700);
  margin: 1.5rem 0 .5rem;
}

.blog-detail-body p {
  margin-bottom: 1.25rem;
}

.blog-detail-body strong {
  color: var(--slate-800);
}

.blog-detail-body em {
  color: var(--primary);
  font-style: italic;
}

.blog-detail-body ul,
.blog-detail-body ol {
  margin: 1rem 0 1.5rem;
  padding-left: 0;
  list-style: none;
}

.blog-detail-body ul li,
.blog-detail-body ol li {
  position: relative;
  padding: .55rem 0 .55rem 1.75rem;
  border-bottom: 1px solid var(--slate-100);
  line-height: 1.7;
}

.blog-detail-body ul li:last-child,
.blog-detail-body ol li:last-child {
  border-bottom: none;
}

.blog-detail-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.blog-detail-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.blog-detail-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--slate-50);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--slate-700);
}

/* ── Share Bar ── */
.blog-detail-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

.share-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--slate-500);
}

.share-btns {
  display: flex;
  gap: .5rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.share-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ── Comments ── */
.blog-detail-comments {
  padding: 2rem;
}

.comments-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.comments-heading i {
  color: var(--primary);
}

.comment-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.comment-card:last-of-type {
  border-bottom: none;
}

.comment-reply {
  padding-left: 3.5rem;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.reply-avatar {
  background: var(--slate-700);
  font-size: .9rem;
}

.comment-body {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .35rem;
}

.comment-header h5 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

.comment-header time {
  font-size: .8rem;
  color: var(--slate-400);
}

.admin-badge {
  font-size: .65rem;
  background: var(--primary);
  color: white;
  padding: .15rem .5rem;
  border-radius: 50px;
  font-weight: 600;
  vertical-align: middle;
}

.comment-body p {
  color: var(--slate-600);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Comment Form ── */
.comment-form-wrap {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-100);
}

.comment-form-wrap h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .25rem;
}

.form-note {
  font-size: .8rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: .35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--slate-700);
  transition: var(--transition);
  background: var(--slate-50);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 53, 200, 0.1);
  background: white;
}

.btn-post-comment {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-post-comment:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Sidebar ── */
.blog-detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}

.sidebar-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* Sidebar Search */
.sidebar-search {
  display: flex;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.sidebar-search input {
  flex: 1;
  padding: .65rem 1rem;
  border: none;
  font-family: var(--font);
  font-size: .85rem;
  outline: none;
  background: var(--slate-50);
}

.sidebar-search button {
  padding: .65rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-search button:hover {
  background: var(--primary-dark);
}

/* Sidebar Categories */
.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-categories li {
  border-bottom: 1px solid var(--slate-100);
}

.sidebar-categories li:last-child {
  border-bottom: none;
}

.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  color: var(--slate-600);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.sidebar-categories a:hover {
  color: var(--primary);
  padding-left: .5rem;
}

.cat-count {
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: .75rem;
  font-weight: 600;
  padding: .15rem .6rem;
  border-radius: 50px;
}

/* Sidebar Recent Posts */
.sidebar-recent-posts {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.sidebar-recent-item {
  display: flex;
  gap: .75rem;
  align-items: center;
  text-decoration: none;
  padding: .5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.sidebar-recent-item:hover {
  background: var(--slate-50);
}

.sidebar-recent-item img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.sidebar-recent-item h4 {
  font-size: .82rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.4;
  margin: 0 0 .25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-recent-item time {
  font-size: .72rem;
  color: var(--slate-400);
}

/* ── Blog Detail Responsive ── */
@media (max-width: 992px) {
  .blog-detail-grid {
    grid-template-columns: 1fr;
  }

  .blog-detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .blog-detail-hero img {
    height: 260px;
  }

  .blog-detail-body {
    padding: 1.5rem;
  }

  .blog-detail-meta {
    padding: 1rem 1.5rem;
  }

  .blog-detail-share {
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-detail-comments {
    padding: 1.5rem;
  }

  .comment-reply {
    padding-left: 1.5rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}