/* ==========================================================================
   SIMPLY KIDS CHILDCARE INC. - DESIGN SYSTEM
   Updated with Full-Cover Static Background & Interactive Hero Slider
   ========================================================================== */

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

:root {
  --clr-bg: #FFFDF8;
  --clr-surface: #FFFFFF;
  --clr-surface-translucent: rgba(255, 255, 255, 0.94);
  
  --clr-primary: #EE3E38;       /* Simply Red */
  --clr-primary-hover: #D32F2F;
  --clr-secondary: #00A896;     /* Simply Teal */
  --clr-accent: #F4A261;        /* Sunshine Orange */
  --clr-accent-light: #FEF3C7;
  --clr-purple: #7B2CBF;        /* Playful Purple */
  --clr-green: #2A9D8F;         /* Leaf Green */
  
  --clr-text-dark: #1E293B;
  --clr-text-muted: #475569;
  --clr-border: #E2E8F0;
  --clr-border-dark: #CBD5E1;

  --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 41, 59, 0.14);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  /* LARGE STATIC / FIXED COVER BACKGROUND AT TOP */
  background-color: var(--clr-bg);
  background-image: url('assets/page.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: cover;
  color: var(--clr-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-text-dark);
  font-weight: 700;
}

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

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

button {
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.badge-red { background: #FFEAE8; color: var(--clr-primary); }
.badge-teal { background: #E6F8F6; color: var(--clr-secondary); }
.badge-orange { background: var(--clr-accent-light); color: #D97706; }
.badge-purple { background: #F3E8FF; color: var(--clr-purple); }

/* Header & Top Bar */
.top-bar {
  background: linear-gradient(135deg, var(--clr-secondary), #007769);
  color: white;
  padding: 0.45rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  width: 100%;
}

.top-bar-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.top-bar-col-left {
  flex: 1;
  min-width: 80px;
}

.top-bar-col-center {
  flex: 2;
  text-align: center;
  white-space: nowrap;
}

.top-bar-col-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  min-width: 80px;
}

.top-bar-logout-btn {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.top-bar-logout-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  color: white;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-surface-translucent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  max-width: 1340px;
}

.brand-giraffe-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Circular Giraffe Mascot Logo in Navbar Header */
.header-giraffe-logo {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--clr-primary);
  background: white;
  box-shadow: 0 4px 12px rgba(238, 62, 56, 0.25);
  transition: var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}

.header-giraffe-logo:hover {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 16px rgba(238, 62, 56, 0.35);
}

/* Mobile Responsive Menu Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 1.35rem;
  color: var(--clr-primary);
  background: #FFEAE8;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background: var(--clr-primary);
  color: white;
}

/* Simply Kids Childcare Header Text - Clean Comic Sans MS, #93278F, Tight Shadow, No Outline */
.brand-text-name {
  font-family: 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #93278F;
  letter-spacing: 0.2px;
  white-space: nowrap;
  -webkit-text-stroke: 0;
  text-shadow: 1px 1.5px 3px rgba(0, 0, 0, 0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--clr-text-muted);
  font-size: 0.925rem;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--clr-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--clr-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(238, 62, 56, 0.3);
}

.btn-primary:hover {
  background: var(--clr-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(238, 62, 56, 0.4);
}

.btn-secondary {
  background: var(--clr-secondary);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.25);
}

.btn-secondary:hover {
  background: #008D7E;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--clr-border-dark);
  color: var(--clr-text-dark);
  background: white;
}

.btn-outline:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: #FFF8F8;
}

/* Hero Section with Main Logo & Sliding Gallery */
.hero {
  padding: 3rem 0 4.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-main-logo {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--clr-primary);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Sliding Image Gallery in Hero */
.hero-slider-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
  height: 440px;
  background: #0F172A;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

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

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0));
  color: white;
  padding: 1.5rem 1.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--clr-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.slider-btn:hover {
  background: white;
  color: var(--clr-primary);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

.slider-dots {
  position: absolute;
  bottom: 0.85rem;
  right: 1.5rem;
  display: flex;
  gap: 0.4rem;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--clr-primary);
  width: 24px;
  border-radius: var(--radius-pill);
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
}

.program-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.program-card-img {
  position: relative;
  height: 200px;
}

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

.program-card-age {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(30, 41, 59, 0.85);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.program-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.program-card-desc {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Campuses Directory */
.campuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.campus-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
}

.campus-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-secondary);
}

.campus-img-box {
  height: 220px;
  overflow: hidden;
}

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

.campus-body {
  padding: 1.75rem;
}

.campus-title {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.campus-address {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-link-btn {
  color: var(--clr-text-dark);
  text-decoration: underline;
  text-decoration-color: rgba(0, 168, 150, 0.4);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: var(--transition);
}

.map-link-btn:hover {
  color: var(--clr-primary);
  text-decoration-color: var(--clr-primary);
}

.room-tags-wrapper {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--clr-border);
}

.room-tags-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-text-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.room-tag {
  background: #F1F5F9;
  color: var(--clr-text-dark);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

/* "Watch Me Grow" Portal */
.watch-me-grow-section {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  color: white;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-lg);
}

.wmg-header {
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.wmg-header h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.wmg-header p {
  color: #94A3B8;
  font-size: 1.05rem;
}

.wmg-viewer-box {
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px solid #334155;
  overflow: hidden;
}

.wmg-topbar {
  background: #0F172A;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1E293B;
  flex-wrap: wrap;
  gap: 1rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(238, 62, 56, 0.2);
  color: #EE3E38;
  border: 1px solid rgba(238, 62, 56, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
}

.wmg-viewport {
  position: relative;
  width: 100%;
  height: 420px;
  background: #000;
}

.wmg-viewport canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Us Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E6F8F6;
  color: var(--clr-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--clr-border-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: white;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(238, 62, 56, 0.12);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--clr-primary);
  }

  .nav-menu.mobile-active {
    display: flex;
    animation: fadeInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-title { font-size: 2.2rem; }
  .brand-text-name { font-size: 1.2rem; }
  .hero-slider-wrapper { height: 320px; }
}

/* Program Statement Highlight Tiles */
.statement-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.statement-tile {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.statement-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

/* Sample Menu Table */
.sample-menu-table-wrapper {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  margin-bottom: 2rem;
}

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

.menu-table th {
  background: linear-gradient(135deg, var(--clr-secondary), #007769);
  color: white;
  padding: 1.1rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.menu-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--clr-border);
  vertical-align: top;
}

.menu-table tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.6);
}

.meal-type-cell {
  font-weight: 700;
  color: var(--clr-primary);
  background: #FFEAE8 !important;
  white-space: nowrap;
}

/* Event Gallery Cards & Filter Pills */
.gallery-filter-pill {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  background: white;
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-filter-pill:hover,
.gallery-filter-pill.active {
  background: var(--clr-purple);
  color: white;
  border-color: var(--clr-purple);
  box-shadow: 0 4px 14px rgba(123, 44, 191, 0.3);
}

.gallery-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-purple);
}

.gallery-card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #0F172A;
}

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

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

.gallery-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--clr-text-dark);
}

.gallery-card-date {
  font-size: 0.825rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gallery-card-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* Watch Me Grow Scrolling Gallery Styles */
.wmg-slider-viewport {
  position: relative;
  overflow: hidden;
  height: 440px;
  background: #0F172A;
  border-radius: var(--radius-sm);
}

.wmg-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wmg-slide-item {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.wmg-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wmg-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.wmg-slider-btn:hover {
  background: var(--clr-primary);
  color: white;
  border-color: var(--clr-primary);
}

.wmg-prev { left: 1rem; }
.wmg-next { right: 1rem; }

.wmg-caption-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: white;
  backdrop-filter: blur(8px);
}

.wmg-dots-container {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  gap: 0.4rem;
}

.wmg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.wmg-dot.active {
  background: var(--clr-primary);
  width: 22px;
  border-radius: var(--radius-pill);
}

/* Parent Account Dropdown Styles */
.parent-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.parent-dropdown-btn {
  background: white;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.parent-dropdown-btn:hover,
.parent-dropdown-wrapper.active .parent-dropdown-btn {
  background: var(--clr-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(238, 62, 56, 0.25);
}

.parent-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: 240px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 0.5rem 0;
  z-index: 200;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.parent-dropdown-wrapper.active .parent-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.parent-dropdown-header {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.parent-dropdown-header strong {
  display: block;
  font-size: 0.9rem;
  color: var(--clr-text-dark);
}

.parent-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--clr-text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.parent-dropdown-item:hover {
  background: #F8FAFC;
  color: var(--clr-primary);
}

.parent-dropdown-divider {
  height: 1px;
  background: var(--clr-border);
  margin: 0.35rem 0;
}

/* Staff Leadership Cards Styles */
.staff-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-secondary);
}

.staff-card-img-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.25rem;
  background: #F1F5F9;
}

.staff-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   Admin Console Tabbed Dashboard Styles
   ========================================== */
.admin-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  position: sticky;
  top: 72px;
  z-index: 90;
  backdrop-filter: blur(12px);
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  background: #F1F5F9;
  color: var(--clr-primary);
}

.admin-tab-btn.active {
  background: var(--clr-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(238, 62, 56, 0.25);
}

.tab-panel {
  display: none;
  animation: fadeInTab 0.25s ease-in-out;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gallery 2-Column Split Directory & Drag-Drop */
.gallery-split-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .gallery-split-container {
    grid-template-columns: 1fr;
  }
}

.directory-sidebar {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.category-tree-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.category-tree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--clr-text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.35rem;
}

.category-tree-item:hover, .category-tree-item.active {
  background: #F3E8FF;
  color: var(--clr-purple);
}

.drag-drop-zone {
  border: 2.5px dashed #CBD5E1;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 1.5rem;
}

.drag-drop-zone.dragover {
  border-color: var(--clr-secondary);
  background: #E6F8F6;
  transform: scale(1.01);
}

.drag-drop-icon {
  font-size: 2.75rem;
  color: var(--clr-secondary);
  margin-bottom: 0.75rem;
}

/* Tree View Hierarchy Component (Watch Me Grow Tab) */
.tree-container {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.tree-root-node {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: #F8FAFC;
  overflow: hidden;
}

.tree-root-header {
  background: #EDF2F7;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clr-text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tree-children-list {
  padding: 0.75rem 1.25rem;
  background: white;
}

.tree-child-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px dashed var(--clr-border);
  font-size: 0.9rem;
}

.tree-child-item:last-child {
  border-bottom: none;
}


.staff-card-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-text-dark);
  margin-bottom: 0.2rem;
}

.staff-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--clr-secondary);
  margin-bottom: 0.85rem;
}

.staff-card-bio {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}
