/* ==========================================================================
   TWINKLE STARS (A. M. I.) MONTESSORI PANADURA
   DESIGN SYSTEM - YELLOW + WHITE + BLACK THEME WITH SEAMLESS BLENDED HEADERS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Yellow + White + Black Core Palette */
  --primary: #EAB308;
  /* Vibrant Golden Yellow */
  --primary-hover: #CA8A04;
  /* Deep Gold */
  --primary-light: #FEF9C3;
  /* Soft Light Yellow */
  --primary-subtle: #FEFCE8;
  /* Ultra Gentle Yellow Tint */

  --dark-bg: #0A0A0A;
  /* Rich Pure Black */
  --dark-surface: #171717;
  /* Sleek Charcoal Black */
  --dark-heading: #000000;
  /* Jet Black for Headlines */
  --dark-body: #1F2937;
  /* High Contrast Charcoal Body Text */
  --dark-muted: #4B5563;
  /* Muted Gray Text */

  --bg-light: #FAFAFA;
  /* Off White Background */
  --bg-surface: #FFFFFF;
  /* Pure White Card Surface */
  --border-color: #E5E7EB;
  /* Clean Light Border */
  --border-yellow: #FDE047;
  /* Yellow Accent Border */

  /* Red Accent */
  --accent-red: #DC2626;
  --accent-red-light: #FEE2E2;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.18);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark-body);
  background-color: var(--bg-light);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--dark-heading);
  line-height: 1.2;
  font-weight: 800;
}

a {
  color: var(--dark-heading);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Chrome Mobile Flexbox & Viewport Alignment Fixes */
.container,
.navbar,
.top-bar .container,
.top-info,
.hero-grid,
.hero-content,
.hero-stats,
.stat-item,
.card,
.programme-card,
.slideshow-container,
.slideshow-track,
.slideshow-slide,
.grid-2>*,
.grid-3>*,
.grid-4>* {
  min-width: 0;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION SYSTEM
   ========================================================================== */

.top-bar {
  background: var(--dark-bg);
  color: #FFFFFF;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(234, 179, 8, 0.2);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #E2E8F0;
  font-weight: 500;
}

.top-info i {
  color: var(--primary);
  font-size: 0.85rem;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-social a {
  color: #94A3B8;
  font-size: 0.9rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.top-social a:hover {
  color: #000000;
  background: var(--primary);
  transform: translateY(-2px);
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234, 179, 8, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

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

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--dark-heading);
  letter-spacing: 0.5px;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Nav Menu Items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 0.8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--dark-heading);
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #CA8A04;
  background: var(--primary-light);
  transform: translateY(-1px);
}

.nav-link.active {
  background: var(--primary);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.35);
}

.nav-cta {
  margin-left: 0.4rem;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
  border-radius: var(--radius-full);
}

/* Mobile Navigation Drawer */
.mobile-toggle {
  display: none;
  background: var(--primary-light);
  color: var(--dark-heading);
  border: 1px solid var(--border-yellow);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--primary);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 1100;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.drawer-close {
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--dark-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close:hover {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links .nav-link {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   SEAMLESS HERO & PAGE HEADERS WITH GOLDEN STAR PARTICLES
   ========================================================================== */

#hero-star-canvas,
.star-canvas-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Smooth Gradient Hero without Separating Line */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  background: linear-gradient(180deg, #FEFCE8 0%, #FEF08A 55%, #FAFAFA 100%);
  border-bottom: none;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  color: #000000;
  line-height: 1.12;
  animation: heroTitlePop 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--dark-body);
  margin-bottom: 1.5rem;
  max-width: 650px;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(0, 0, 0, 0.12);
}

.stat-item h4 {
  font-size: 2.2rem;
  color: #000000;
  font-weight: 900;
}

.stat-item p {
  font-size: 0.875rem;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--dark-muted);
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}

.hero-badge-img {
  max-width: 330px;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.22));
  animation: float 4s ease-in-out infinite;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  border: 6px solid #000000;
  margin-top: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  transform-style: preserve-3d;
}

.hero-img-card:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(-4deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero-img-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes heroTitlePop {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

/* ==========================================================================
   SEAMLESS EXTENDED PAGE HEADERS (ALL INNER PAGES)
   ========================================================================== */

.page-header {
  position: relative;
  margin-top: -95px;
  padding: 10.5rem 0 6.5rem;
  background: linear-gradient(180deg, #FEFCE8 0%, #FEF08A 65%, #FAFAFA 100%);
  color: #000000;
  text-align: center;
  border-bottom: none;
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-header h1 {
  color: #000000;
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--dark-body);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(234, 179, 8, 0.35);
  font-size: 0.925rem;
  color: var(--dark-muted);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.breadcrumb a {
  color: #000000;
}

.breadcrumb a:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   BUTTONS & CARDS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  transition: all 0.6s ease;
}

.btn:hover::after {
  left: 130%;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark-heading);
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.4);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(202, 138, 4, 0.6);
}

.btn-secondary {
  background: var(--dark-bg);
  color: #ffffff;
  border-color: var(--dark-bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
  background: #262626;
  color: var(--primary);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--dark-heading);
  color: var(--dark-heading);
}

.btn-outline:hover {
  background: var(--dark-heading);
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.15rem 2.35rem;
  font-size: 1.1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.badge-primary {
  background: var(--primary-light);
  color: #854D0E;
  border: 1px solid var(--border-yellow);
}

.badge-secondary {
  background: var(--dark-bg);
  color: var(--primary);
}

.badge-red {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

/* ==========================================================================
   SEAMLESS TOP BAR & HEADER NAVBAR
   ========================================================================== */

.top-bar {
  background: #000000;
  color: #E5E7EB;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: none;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-social {
  display: flex;
  gap: 0.75rem;
}

.top-social a {
  color: #9CA3AF;
  font-size: 0.95rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.top-social a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Notice Banner */
.notice-banner {
  background: linear-gradient(90deg, #000000 0%, #1F2937 50%, #000000 100%);
  color: var(--primary);
  border-bottom: none;
  padding: 0.65rem 0;
  font-weight: 700;
  font-size: 0.925rem;
  display: none;
  position: relative;
  z-index: 101;
}

/* Header Navbar - Sticky with frosted glass backdrop blur on scroll */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(234, 179, 8, 0.3);
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 6px 25px -3px rgba(15, 23, 42, 0.15);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.1rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  background: transparent !important;
  transform: scale(1.02);
  box-shadow: none !important;
}

.brand-text-wrapper,
.brand-logo>div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1;
}

.brand-logo-img {
  height: 58px;
  max-height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.brand-sub {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #000000 !important;
  text-transform: uppercase;
  margin-top: 3px;
  display: block;
  text-align: center;
  white-space: nowrap;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  font-size: 0.925rem;
  color: #000000;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: #000000;
  background: var(--primary-light);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #000000;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #000000;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-y: auto;
}

.mobile-nav-links .nav-link {
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Section Commons */
.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--primary-subtle);
  border-top: 1px solid var(--border-yellow);
  border-bottom: 1px solid var(--border-yellow);
}

.section-dark {
  background-color: #000000;
  color: #ffffff;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-title h2 {
  font-size: 2.35rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--dark-muted);
  font-size: 1.05rem;
}

/* Cards & Hover Shine Effect */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-9px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
  transition: transform 0.4s ease;
}

.card:hover .icon-box {
  transform: scale(1.15) rotate(5deg);
}

.icon-yellow {
  background: var(--primary-light);
  color: #854D0E;
}

.icon-black {
  background: #000000;
  color: var(--primary);
}

.icon-red {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

/* Programme Cards */
.programme-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.programme-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.programme-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.programme-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.programme-age {
  font-size: 0.85rem;
  font-weight: 800;
  color: #854D0E;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.programme-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.programme-body p {
  color: var(--dark-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.programme-features {
  margin-bottom: 1.5rem;
}

.programme-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark-body);
  margin-bottom: 0.4rem;
}

.programme-features li i {
  color: #CA8A04;
}

/* News & Gallery */
.news-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-img {
  height: 200px;
  overflow: hidden;
}

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

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

.news-body {
  padding: 1.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--dark-muted);
  margin-bottom: 0.5rem;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--dark-heading);
  background: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-heading);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--dark-heading);
  color: var(--primary);
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  contain: content;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.45) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #fff;
  opacity: 1;
  /* Always visible - no hover hide */
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px -4px rgba(234, 179, 8, 0.45);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.55) 65%, rgba(234, 179, 8, 0.15) 100%);
}

.gallery-overlay h4 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.25rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  position: relative;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--primary);
}

.lightbox-caption {
  color: var(--primary);
  margin-top: 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #0F172A;
  font-size: 2rem;
  font-weight: 800;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2050;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: #ffffff;
  color: var(--dark-heading);
  transform: scale(1.15) rotate(90deg);
}

/* Event Gallery Clean Hover */
.event-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.35s ease;
  cursor: pointer;
}

.event-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px -4px rgba(234, 179, 8, 0.45);
  border-color: var(--primary);
}

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

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

.event-photo-hover {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--primary);
  font-size: 2.25rem;
}

.event-photo-card:hover .event-photo-hover {
  opacity: 1;
}

/* Forms & Careers */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--dark-heading);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  background: #FFFFFF;
  color: var(--dark-heading);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.35);
  transform: translateY(-1px);
}

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

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

.career-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 2px solid var(--border-color);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.career-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Admin Styles */
.admin-header {
  background: #000000;
  color: #fff;
  padding: 1.25rem 0;
  border-bottom: 4px solid var(--primary);
}

.admin-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-layout {
  padding: 2.5rem 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.admin-stat-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.admin-stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.admin-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.admin-tab {
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  color: var(--dark-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap;
  transition: var(--transition);
}

.admin-tab:hover,
.admin-tab.active {
  color: #000000;
  border-bottom-color: var(--primary);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.data-table th {
  background: #000000;
  color: var(--primary);
  padding: 0.85rem 1rem;
  font-weight: 800;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.table-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--primary);
  color: #000000;
}

.action-btn.delete:hover {
  background: #DC2626;
  color: #ffffff;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 650px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-height: none;
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.modal.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: #000000;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #ffffff;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: #000000;
  color: #ffffff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  pointer-events: auto;
  border-left: 5px solid var(--primary);
}

.site-footer {
  background: #000000;
  color: #9CA3AF;
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 35px;
  height: 3px;
  background: var(--primary);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #E5E7EB;
  font-size: 0.925rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.925rem;
  color: #E5E7EB;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: #9CA3AF;
}

.footer-bottom a:hover {
  color: var(--primary);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns,
  .hero-stats {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .career-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   ADMIN GALLERY LOCAL FILE UPLOAD & MULTI-PHOTO STYLES
   ========================================================================== */
.file-dropzone {
  border: 2px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  background-color: rgba(234, 179, 8, 0.05);
  cursor: pointer;
  transition: var(--transition);
}

.file-dropzone:hover {
  background-color: rgba(234, 179, 8, 0.12);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
  max-height: 220px;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
}

.admin-photo-card {
  position: relative;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}

.admin-photo-card.is-cover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.4);
}

.admin-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-photo-card .cover-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #0F172A;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 2px 4px;
}

.admin-photo-card .photo-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.admin-photo-card .photo-remove-btn:hover {
  background: #DC2626;
  transform: scale(1.15);
}

/* LIGHTBOX NAVIGATION BUTTONS */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--primary);
  color: #0F172A;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

@media (max-width: 640px) {
  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}

/* ==========================================================================
   CLEAN PAGE BACKGROUND & ALWAYS-VISIBLE GALLERY CARD TITLES
   ========================================================================== */
.yellow-page-bg {
  position: relative;
  background: var(--bg-light);
}

.section .container,
.page-header .container,
.yellow-page-bg .container {
  position: relative;
  z-index: 2;
  /* Content stays strictly above star canvas (z-index: 1) */
}

/* ==========================================================================
   DYNAMIC SLIDESHOW COMPONENT STYLES
   ========================================================================== */
.slideshow-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--primary);
  background: #0F172A;
  user-select: none;
  touch-action: pan-y;
}

.slideshow-height-hero {
  height: 440px;
}

.slideshow-height-page {
  height: 480px;
}

.slideshow-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slideshow-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.slideshow-slide.active img {
  transform: scale(1.06);
}

.slideshow-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  color: #FFFFFF;
}

.slideshow-caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 0.6rem;
}

.slideshow-caption h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.slideshow-caption p {
  font-size: 0.975rem;
  color: #E2E8F0;
  line-height: 1.5;
  max-width: 750px;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Slideshow Controls */
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  color: var(--primary);
  border: 1px solid rgba(234, 179, 8, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.slideshow-arrow:hover {
  background: var(--primary);
  color: #000000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.5);
}

.slideshow-arrow.prev {
  left: 1rem;
}

.slideshow-arrow.next {
  right: 1rem;
}

.slideshow-dots {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
  align-items: center;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-dot:hover,
.slideshow-dot.active {
  width: 26px;
  border-radius: 12px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.6);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE & ALIGNMENT STYLES
   ========================================================================== */

/* Tablet & Mobile Navigation & Top Bar */
@media (max-width: 768px) {
  .top-bar {
    padding: 0.6rem 0;
  }

  .top-bar .container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }

  .top-info {
    justify-content: center;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    text-align: center;
  }

  .top-info span {
    justify-content: center;
    text-align: center;
  }

  .top-social {
    justify-content: center;
  }

  .slideshow-height-hero {
    height: 340px;
  }

  .slideshow-height-page {
    height: 310px;
  }

  .slideshow-caption {
    padding: 1.25rem;
  }

  .slideshow-caption h3 {
    font-size: 1.25rem;
  }

  .slideshow-caption p {
    font-size: 0.85rem;
  }

  .slideshow-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .slideshow-arrow.prev {
    left: 0.5rem;
  }

  .slideshow-arrow.next {
    right: 0.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 0.85rem;
  }

  .navbar {
    padding: 0.5rem 0;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
  }

  /* Header Navbar Logo on Mobile for Chrome */
  .brand-logo {
    min-width: 0;
    max-width: calc(100% - 50px);
  }

  .brand-logo-img {
    height: 38px;
    max-height: 40px;
    width: auto;
  }

  .brand-sub {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    line-height: 1.15;
  }

  /* Hero Section on Mobile */
  .hero {
    padding: 2.75rem 0 3.25rem;
    overflow: hidden;
  }

  .hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .hero-badge-img {
    max-width: 200px;
  }

  .hero-img-card img {
    height: 220px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    text-align: center;
    padding-top: 1.25rem;
    width: 100%;
  }

  .stat-item h4 {
    font-size: 1.5rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  /* Inner Page Headers on Mobile */
  .page-header {
    padding: 6rem 0 2.75rem;
    margin-top: -65px;
    overflow: hidden;
  }

  .page-header h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .page-header p {
    font-size: 0.925rem;
  }

  .breadcrumb {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Grid Layouts on Mobile */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
  }

  .section {
    padding: 2.75rem 0;
    overflow: hidden;
  }

  .section-title {
    margin-bottom: 1.75rem;
  }

  .section-title h2 {
    font-size: 1.65rem;
  }

  .card {
    padding: 1.25rem;
    width: 100%;
  }
}

/* Extra Small Phones (< 480px) */
@media (max-width: 480px) {
  .top-info {
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
  }

  .top-info span {
    font-size: 0.75rem;
    word-break: break-word;
  }

  .brand-logo-img {
    height: 32px;
    max-height: 34px;
  }

  .brand-sub {
    font-size: 0.52rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  /* Slideshow on Extra Small Phones */
  .slideshow-height-hero {
    height: 250px;
  }

  .slideshow-height-page {
    height: 230px;
  }

  .slideshow-caption {
    padding: 0.75rem;
  }

  .slideshow-caption h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .slideshow-caption p {
    font-size: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slideshow-caption-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.25rem;
  }

  .slideshow-dots {
    bottom: 0.5rem;
    right: 0.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ==========================================================================
   FEATURED UPCOMING EVENT CARD (RESPONSIVE STYLES)
   ========================================================================== */
.event-featured-card {
  padding: 2.25rem 2.5rem;
  border: 2px solid var(--border-yellow);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  background: #ffffff;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  box-sizing: border-box;
}

.event-featured-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.event-poster-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.event-poster-link {
  display: block;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-yellow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-poster-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.event-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  min-width: 0;
  width: 100%;
}

.event-title-main {
  font-size: 2.15rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.event-subtitle-main {
  font-size: 1.05rem;
  font-weight: 700;
  color: #CA8A04;
}

.event-info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
}

.event-info-box {
  background: #FEFCE8;
  border: 1.5px solid #FDE047;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.event-info-icon-gold {
  background: #EAB308;
  color: #000000;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.35);
}

.event-info-icon-dark {
  background: #000000;
  color: #EAB308;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.event-quote-box {
  background: #FFFBEB;
  border-left: 4px solid var(--primary);
  padding: 1.15rem 1.35rem;
  border-radius: 0 12px 12px 0;
  width: 100%;
  box-sizing: border-box;
}

.event-actions-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 0.35rem;
  width: 100%;
}

/* Tablet Media Query (<= 992px) */
@media (max-width: 992px) {
  .event-featured-card {
    padding: 1.75rem;
  }

  .event-featured-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .event-poster-link {
    max-width: 380px;
  }

  .event-title-main {
    font-size: 1.95rem;
  }
}

/* Mobile Media Query (<= 640px) */
@media (max-width: 640px) {
  .event-featured-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .event-featured-grid {
    gap: 1.5rem;
  }

  .event-poster-link {
    max-width: 320px;
  }

  .event-title-main {
    font-size: 1.55rem;
  }

  .event-subtitle-main {
    font-size: 0.95rem;
  }

  .event-info-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .event-info-box {
    padding: 0.85rem 1rem;
  }

  .event-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .event-actions-row .btn {
    width: 100%;
    justify-content: center;
  }

  .event-quote-box {
    padding: 1rem;
  }

  .event-quote-box p {
    font-size: 0.925rem !important;
    line-height: 1.55 !important;
  }
}