:root {
  --primary: #0A192F;
  --primary-2: #1A365D;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --ink: #111827;
  --muted: #475569;
  --bg: #FDFBF7;
  --glass: rgba(10, 25, 47, 0.85);
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-line-1 {
  font-family: 'Playfair Display', serif;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Topbar */
.topbar {
  background: #111827;
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
}

.topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.topbar .apply {
  background: var(--gold);
  color: #111827;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

/* Header & Nav */
.site-header {
  position: relative;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  background: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--gold);
  background: white;
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-line-1 {
  font-weight: 800;
  font-size: 20px;
  color: white;
}

.brand-line-2 {
  font-weight: 700;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}

.nav a:hover {
  color: var(--gold);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.4));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-caption {
  max-width: 600px;
  text-align: left;
}

.hero-caption h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-caption p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 15px;
}

.btn-primary {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Sections */
.section {
  padding: 120px 0;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-sub {
  font-size: 1.1rem;
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 60px;
}

.on-gradient {
  background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.9)), url('pre-school.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}


/* Cards & Glassmorphism */
.card,
.feature,
.staff-card,
.event,
.curr-card,
.post {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(10, 25, 47, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

.card:hover,
.feature:hover,
.staff-card:hover,
.event:hover,
.post:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(10, 25, 47, 0.1);
  border-color: var(--gold);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 40px 30px;
}

.feature .ico {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.feature .ico svg {
  width: 32px;
  height: 32px;
}

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.program-card {
  padding: 15px;
}

.program-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 20px;
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.program-card .button {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

/* Staff */
.staff {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.staff-card {
  text-align: center;
}

.staff-card .avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat {
  background: var(--primary);
  color: white;
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
}

.stat .num {
  font-size: 3rem;
  display: block;
}

.post-content {
  padding: 25px;
}

.post-date {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

.post-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.post-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--gold);
}

.post-excerpt {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.newsletter {
  background: linear-gradient(135deg, var(--primary) 0%, #0a192f 100%);
  color: white;
  padding: 60px 30px;
  border-radius: 24px;
  text-align: center;
  margin-top: 60px;
}

.newsletter h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--gold);
}

.newsletter p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.newsletter form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter input[type="email"] {
  flex-grow: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  outline: none;
  transition: all 0.3s ease;
  min-width: 200px;
}

.newsletter input[type="email"]::placeholder {
  color: var(--muted);
}

.newsletter input[type="email"]:focus {
  box-shadow: 0 0 0 3px var(--gold);
}

.newsletter button {
  background: var(--gold);
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter button:hover {
  background: #d4b14d;
  transform: translateY(-2px);
}

/* Contact Section Redesign */
#contact {
  background: var(--primary);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--gold);
}

.contact-info p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-item .icon {
  color: var(--gold);
  font-size: 1.5rem;
}

.contact-item .label {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-item .value {
  opacity: 0.8;
}

.contact-map {
  position: relative;
}

.contact-map-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-map::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: white;
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
}

.foot-title {
  color: var(--gold);
  margin-bottom: 30px;
  font-size: 1.5rem;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
}

.sticky-cta a {
  background: var(--gold);
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
  text-decoration: none;
  display: block;
}

/* Parent Involvement */
.involve {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.i-card {
  background: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

.i-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

/* Modals (Premium Redesign) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.85);
  /* Deep navy backdrop */
  z-index: 2000;
  overflow-y: auto;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 40px 0;
}

.modal.show {
  display: block;
  animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-card {
  background: var(--bg);
  max-width: 900px;
  width: 92%;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(230, 196, 93, 0.3);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  background: var(--primary);
  color: white;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}

.modal-title {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.modal-head button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.modal-head button:hover {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
}

.modal-body {
  padding: 0;
  background: #fdfdfd;
}

.modal-actions {
  padding: 25px 30px;
  text-align: right;
  border-top: 1px solid rgba(10, 25, 47, 0.1);
  background: #fff;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.modal-actions a.button {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 24px;
}

.modal-actions a.button:hover {
  background: rgba(10, 25, 47, 0.05);
}

.modal-actions a.button.primary {
  background: var(--gold);
  color: var(--primary);
  border: none;
  font-weight: 600;
}

.modal-actions a.button.primary:hover {
  background: #d4b14d;
  color: var(--primary);
}

/* Modal Internal Sections */
.program-hero {
  color: white;
  text-align: center;
  padding: 80px 20px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}

.program-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.9));
  z-index: 1;
}

.program-hero .container {
  position: relative;
  z-index: 2;
}

.program-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--gold);
}

.program-detail {
  padding: 40px 30px;
  color: var(--text);
}

.program-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.06);
  border: 1px solid rgba(10, 25, 47, 0.04);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.feature-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card i {
  color: var(--gold);
  font-size: 1.3rem;
}

/* Admissions Process */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}

.step-card {
  display: flex;
  gap: 20px;
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--gold);
  align-items: flex-start;
  transition: box-shadow 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 15px 40px rgba(10, 25, 47, 0.1);
}

.step-badge {
  background: var(--primary);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-desc {
  color: var(--text);
  line-height: 1.6;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-q {
  padding: 20px 25px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: rgba(10, 25, 47, 0.02);
}

.faq-q:hover {
  color: var(--gold);
}

.faq-a {
  padding: 0 25px;
  max-height: 0;
  transition: all 0.3s ease;
  opacity: 0;
  color: var(--text);
  line-height: 1.6;
}

.faq-item.open .faq-a {
  padding: 0 25px 20px;
  max-height: 200px;
  opacity: 1;
}

.faq-item.open .faq-q {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
}

.chev {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--gold);
}

.faq-item.open .chev {
  transform: rotate(180deg);
}

/* Staff Section */
.staff {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.staff-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
}

.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 25, 47, 0.12);
  border-bottom-color: var(--gold);
}

.staff-card .avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid rgba(230, 196, 93, 0.3);
  padding: 4px;
}

.staff-card h3 {
  color: var(--primary);
  margin: 0 0 5px 0;
  font-size: 1.3rem;
}

.staff-card .role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer Styling Upgrade */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand strong {
  font-size: 1.5rem;
  color: white;
  letter-spacing: 0.5px;
}

.foot-title {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer a {
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--gold) !important;
}

.brand-logo {
  width: 60px;
  height: 60px;
  background: url('abike-montessori-logo.jpg') no-resize center/contain;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

/* Gallery Styling Overhaul */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.gallery img:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.15);
  border: 2px solid var(--gold);
}


/* Split Sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
}

.split-content {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-image {
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.split-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(10, 25, 47, 0.05), transparent);
}

.split-section.reverse .split-content {
  order: 2;
}

.split-section.reverse .split-image {
  order: 1;
}

.split-section.reverse .split-image::after {
  background: linear-gradient(to left, rgba(10, 25, 47, 0.05), transparent);
}

/* Decorative Backgrounds */
.bg-character {
  position: relative;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(10, 25, 47, 0.03) 0%, transparent 40%);
}

.bg-dots {
  background-image: radial-gradient(var(--gold) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.05;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
}


/* Global Background Accents */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.02) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(10, 25, 47, 0.02) 0%, transparent 30%);
  z-index: -1;
  pointer-events: none;
}

/* Playful Montessori Aesthetics */
.playful-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  opacity: 0.15;
  animation: float 15s infinite ease-in-out alternate;
}

.shape-1 {
  top: 10%;
  left: 5%;
  width: 80px;
  fill: var(--gold);
}

.shape-2 {
  top: 60%;
  right: 10%;
  width: 60px;
  fill: #E68A8A;
  animation-delay: -5s;
}

/* Soft coral */
.shape-3 {
  bottom: 15%;
  left: 15%;
  width: 100px;
  fill: #8DB596;
  animation-delay: -10s;
}

/* Soft sage */
.shape-4 {
  top: 30%;
  right: 20%;
  width: 70px;
  fill: #8DA2B5;
  animation-delay: -2s;
}

/* Soft blue */

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(20px, -20px) rotate(10deg);
  }

  100% {
    transform: translate(-10px, 20px) rotate(-5deg);
  }
}

/* Playful Borders for Cards */
.feature,
.program-card,
.testi,
.stat {
  border-radius: 30px 10px 30px 10px !important;
  transition: all 0.4s ease;
}

.feature:hover,
.program-card:hover,
.testi:hover,
.stat:hover {
  border-radius: 10px 30px 10px 30px !important;
  transform: translateY(-5px);
}

.footer-logo-img {
  max-width: 120px;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 980px) {
  .topbar .inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .site-header {
    width: 100%;
    top: 0;
    border-radius: 0;
    position: relative;
  }

  .header-inner {
    height: 70px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--gold);
    border-radius: 3px;
    transition: all 0.3s linear;
  }

  .hero {
    min-height: 60vh;
    text-align: center;
  }

  .hero-caption p {
    margin: 0 auto 30px;
  }
}

/* Huge Montessori Shapes */
.huge-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
  filter: blur(5px);
  animation: float-huge 30s infinite ease-in-out;
}

.shape-huge-1 {
  top: 5%;
  right: -10%;
  width: 500px;
  height: 500px;
}

.shape-huge-2 {
  top: 30%;
  left: -15%;
  width: 600px;
  height: 600px;
}

.shape-huge-3 {
  top: 60%;
  right: -5%;
  width: 550px;
  height: 550px;
}

.shape-huge-4 {
  bottom: 5%;
  left: -5%;
  width: 700px;
  height: 700px;
}

@keyframes float-huge {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -50px) rotate(5deg);
  }

  66% {
    transform: translate(-20px, 30px) rotate(-3deg);
  }
}

/* Curriculum Accordion */
.curr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  position: relative;
}

.curr-card {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 280px;
  /* Increased to show content preview */
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: white;
  border: 1px solid rgba(10, 25, 47, 0.05);
}

.curr-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.1);
}

.curr-card.active {
  max-height: 4000px;
  grid-column: 1 / -1;
  box-shadow: 0 40px 80px rgba(10, 25, 47, 0.2) !important;
  border: 1px solid var(--accent);
  cursor: default;
}

/* Montessori Color Themes & Utilities */
.mont-green {
  background: #E8F5E9 !important;
  border-top: 5px solid #4CAF50 !important;
}

.mont-purple {
  background: #F3E5F5 !important;
  border-top: 5px solid #9C27B0 !important;
}

.mont-pink {
  background: #FCE4EC !important;
  border-top: 5px solid #F06292 !important;
}

.mont-yellow {
  background: #FFF9C4 !important;
  border-top: 5px solid #FBC02D !important;
}

.mont-blue {
  background: #E3F2FD !important;
  border-top: 5px solid #2196F3 !important;
}

.mont-teal {
  background: #E0F2F1 !important;
  border-top: 5px solid #009688 !important;
}

/* Reusable Card/Item Aesthetics */
.feature,
.faq-item,
.event {
  border-radius: 30px 10px !important;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.05) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(10, 25, 47, 0.05) !important;
}

.feature:hover,
.faq-item:hover,
.event:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(10, 25, 47, 0.1) !important;
}

.card-practical {
  background: #E8F5E9 !important;
  border-top: 5px solid #4CAF50;
}

.card-grace {
  background: #F3E5F5 !important;
  border-top: 5px solid #9C27B0;
}

.card-sensorial {
  background: #FCE4EC !important;
  border-top: 5px solid #F06292;
}

.card-language {
  background: #FFF9C4 !important;
  border-top: 5px solid #FBC02D;
}

.card-math {
  background: #E3F2FD !important;
  border-top: 5px solid #2196F3;
}

.card-culture {
  background: #E0F2F1 !important;
  border-top: 5px solid #009688;
}


.curr-content-expanded {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.6s ease;
  padding: 0 1.5rem;
}

.curr-card.active .curr-content-expanded {
  max-height: 2500px;
  opacity: 1;
  padding: 2rem 1.5rem;
}

.close-curr {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.curr-card.active .close-curr {
  opacity: 1;
  pointer-events: auto;
}

.curr-card .curr-icon {
  transition: transform 0.6s;
}

.curr-card.active .curr-icon {
  transform: scale(0.7) rotate(360deg);
}