/* ============================================
   THORISO INTELLECTS CENTRE — style.css
   Colors: Sky Blue #4FC3F7 | Red #FF3B3B | Yellow #FFD600
   Fonts: Baloo 2 (display) + Nunito (body)
============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --blue:       #4FC3F7;
  --blue-dark:  #0288D1;
  --blue-light: #B3E5FC;
  --red:        #FF3B3B;
  --red-dark:   #C62828;
  --red-light:  #FFCDD2;
  --yellow:     #FFD600;
  --yellow-dark:#F9A825;
  --yellow-light:#FFF9C4;
  --white:      #FFFFFF;
  --off-white:  #F8FBFF;
  --dark:       #1A1A2E;
  --text:       #333345;
  --text-soft:  #666680;
  --radius:     20px;
  --radius-lg:  32px;
  --shadow:     0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.14);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== FLOATING BACKGROUND SHAPES ===== */
.bg-shapes {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.06;
  animation: floatShape linear infinite;
}

.s1  { top:10%;  left:5%;   color:var(--blue);   font-size:2.5rem; animation-duration:18s; animation-delay:0s;  }
.s2  { top:20%;  left:90%;  color:var(--red);    font-size:3rem;   animation-duration:22s; animation-delay:2s;  }
.s3  { top:50%;  left:8%;   color:var(--yellow); font-size:2rem;   animation-duration:16s; animation-delay:4s;  }
.s4  { top:70%;  left:85%;  color:var(--red);    font-size:3rem;   animation-duration:20s; animation-delay:1s;  }
.s5  { top:80%;  left:20%;  color:var(--blue);   font-size:2rem;   animation-duration:24s; animation-delay:3s;  }
.s6  { top:35%;  left:50%;  color:var(--yellow); font-size:2.5rem; animation-duration:19s; animation-delay:5s;  }
.s7  { top:60%;  left:60%;  color:var(--blue);   font-size:1.8rem; animation-duration:21s; animation-delay:6s;  }
.s8  { top:5%;   left:40%;  color:var(--red);    font-size:2rem;   animation-duration:17s; animation-delay:2s;  }

@keyframes floatShape {
  0%   { transform: translateY(0)   rotate(0deg);   opacity:0.06; }
  50%  { transform: translateY(-60px) rotate(180deg); opacity:0.10; }
  100% { transform: translateY(0)   rotate(360deg); opacity:0.06; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 48px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(79,195,247,0.15);
  transition: box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* Logo in navbar */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
  animation: logoBounce 3s ease-in-out infinite;
}

@keyframes logoBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.logo-text { display: flex; flex-direction: column; }

.logo-main {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--red);
  line-height: 1.15;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--blue-dark);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links li a {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text);
  padding: 7px 14px;
  border-radius: 50px;
  transition: all 0.25s;
}

.nav-links li a:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 8px 22px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(255,59,59,0.35);
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(255,59,59,0.45) !important;
  background: var(--red-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: transform 0.22s, box-shadow 0.22s;
}

.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(255,59,59,0.45);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 10px 30px rgba(255,59,59,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2.5px solid rgba(255,255,255,0.65);
}

.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ===== SECTION HELPERS ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  border: 2px solid var(--yellow);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.text-blue  { color: var(--blue-dark); }
.text-red   { color: var(--red); }
.text-yellow{ color: var(--yellow-dark); }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, #26C6DA 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,214,0,0.20) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(255,59,59,0.18) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

/* Hero badges row */
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.38);
  color: var(--white);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 16px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.9s 0.1s ease both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.highlight-yellow { color: var(--yellow); }
.highlight-red    { color: #FF6B6B; }
.highlight-blue   { color: #B3E5FC; }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.90);
  margin-bottom: 20px;
  animation: fadeInUp 0.9s 0.2s ease both;
  max-width: 520px;
}

/* Motto */
.hero-motto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,214,0,0.22);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 50px;
  margin-bottom: 30px;
  animation: fadeInUp 0.9s 0.25s ease both;
  backdrop-filter: blur(8px);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  animation: fadeInUp 0.9s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.9s 0.4s ease both;
}

.stat strong {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}

.stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.80);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.30);
}

/* Hero Visual — logo in circle */
.hero-visual {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.main-circle {
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.12);
  border: 3px solid rgba(255,255,255,0.30);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  backdrop-filter: blur(10px);
  animation: pulse 4s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(255,214,0,0.3), inset 0 0 40px rgba(255,255,255,0.08);
}

.circle-logo {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--red);
  border: 5px solid var(--red-dark);
  padding: 8px;
  animation: emojiBob 3.5s ease-in-out infinite;
}

@keyframes emojiBob {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-10px) scale(1.04); }
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 60px rgba(255,214,0,0.3); }
  50%      { box-shadow: 0 0 90px rgba(255,214,0,0.5); }
}

.orbit {
  position: absolute;
  font-size: 1.8rem;
  width: 52px; height: 52px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  animation: orbitBob ease-in-out infinite;
}

.orbit-1 { top:-26px;   left:50%; transform:translateX(-50%); animation-duration:3.0s; }
.orbit-2 { right:-26px; top:50%;  transform:translateY(-50%); animation-duration:3.8s; animation-delay:0.5s; }
.orbit-3 { bottom:-26px;left:50%; transform:translateX(-50%); animation-duration:3.3s; animation-delay:1s; }
.orbit-4 { left:-26px;  top:50%;  transform:translateY(-50%); animation-duration:3.6s; animation-delay:0.3s; }

@keyframes orbitBob {
  0%,100% { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
  50%      { box-shadow: 0 10px 28px rgba(0,0,0,0.20); transform: translateX(-50%) scale(1.15); }
}

.hero-wave {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0 80px;
  background: var(--white);
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.about-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.about-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.card-blue   { background: linear-gradient(135deg, #E1F5FE, #B3E5FC); border: 2px solid var(--blue); }
.card-red    { background: linear-gradient(135deg, #FFEBEE, #FFCDD2); border: 2px solid var(--red); }
.card-yellow { background: linear-gradient(135deg, #FFFDE7, #FFF9C4); border: 2px solid var(--yellow); }

/* Card icon using Font Awesome */
.card-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.card-blue   .card-icon { background: var(--blue);   color: var(--white); }
.card-red    .card-icon { background: var(--red);    color: var(--white); }
.card-yellow .card-icon { background: var(--yellow-dark); color: var(--white); }

.about-card h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--dark); }
.about-card p  { font-size: 0.95rem; color: var(--text); line-height: 1.7; }

/* ===== AGES SECTION ===== */
.ages {
  padding: 100px 0;
  background: var(--off-white);
  text-align: center;
  position: relative;
  z-index: 1;
}

.ages-timeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 52px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.age-card {
  flex: 1;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  text-align: left;
  border-top: 6px solid transparent;
  box-shadow: var(--shadow);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.age-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.age-card[data-age="dolphins"]  { border-color: var(--blue); }
.age-card[data-age="elephants"] { border-color: var(--red); }
.age-card[data-age="tigers"]    { border-color: var(--yellow-dark); }
.age-card[data-age="leopards"]  { border-color: var(--blue-dark); }
.age-card[data-age="lions"]     { border-color: var(--red-dark); }

.age-badge { font-size: 2.8rem; margin-bottom: 10px; display: block; }

.age-range {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.age-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--dark); }

.age-card p {
  font-size: 0.90rem;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.6;
}

.age-card ul li {
  font-size: 0.87rem;
  color: var(--text);
  margin-bottom: 7px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.age-card ul li i {
  color: var(--blue-dark);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.age-card[data-age="dolphins"]  ul li i { color: var(--blue); }
.age-card[data-age="elephants"] ul li i { color: var(--red); }
.age-card[data-age="tigers"]    ul li i { color: var(--yellow-dark); }
.age-card[data-age="leopards"]  ul li i { color: var(--blue-dark); }
.age-card[data-age="lions"]     ul li i { color: var(--red-dark); }

.age-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  padding: 0 10px;
  flex-shrink: 0;
  opacity: 0.4;
  font-size: 1.3rem;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 0;
  position: relative;
  z-index: 1;
}

.programs-wave-top, .programs-wave-bottom { line-height: 0; }
.programs-wave-top svg, .programs-wave-bottom svg { width: 100%; height: 60px; }

.programs .container {
  padding: 60px 24px;
  text-align: center;
}

.programs .section-tag {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.38);
  color: var(--white);
}

.programs .section-title { color: var(--white); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.program-item {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
  backdrop-filter: blur(8px);
  cursor: default;
}

.program-item:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255,255,255,0.22);
}

.prog-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--white);
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
}

.program-item h4 { font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.program-item p  { font-size: 0.87rem; color: rgba(255,255,255,0.80); line-height: 1.6; }

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 52px;
  text-align: left;
}

.why-item {
  position: relative;
  padding: 36px 28px 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.why-item:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.why-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--blue-light);
  line-height: 1;
  transition: color 0.3s;
}

.why-item:hover .why-num { color: rgba(79,195,247,0.35); }

.why-icon-wrap {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: var(--white);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(79,195,247,0.35);
  transition: transform 0.3s;
}

.why-item:hover .why-icon-wrap { transform: scale(1.12) rotate(-5deg); }

.why-item h3 { font-size: 1.08rem; color: var(--dark); margin-bottom: 10px; }
.why-item p  { font-size: 0.91rem; color: var(--text-soft); line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, #FFF9C4 0%, #FFFDE7 100%);
  text-align: center;
  position: relative;
  z-index: 1;
}

.testimonials-carousel {
  position: relative;
  max-width: 700px;
  margin: 48px auto 24px;
  min-height: 200px;
}

.testimonial { display: none; animation: fadeInTestimonial 0.5s ease both; }
.testimonial.active { display: block; }

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

.t-stars {
  font-size: 1.4rem;
  color: var(--yellow-dark);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.testimonial p {
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
  background: var(--white);
  padding: 32px 40px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--yellow);
  position: relative;
}

.testimonial p::before {
  content: '\201C';
  position: absolute;
  top: -18px; left: 28px;
  font-size: 5rem;
  color: var(--yellow);
  font-family: 'Baloo 2', sans-serif;
  line-height: 1;
  opacity: 0.4;
}

.t-author {
  margin-top: 18px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.t-author i { font-size: 1.3rem; color: var(--blue-dark); }

.carousel-dots { display: flex; justify-content: center; gap: 10px; }

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--yellow-dark);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

.dot.active { opacity: 1; transform: scale(1.3); }

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 100px 0;
  background: var(--off-white);
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  margin-top: 52px;
  text-align: left;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.info-card:hover { transform: translateX(5px); }

/* Coloured icon box */
.info-icon-box {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.info-icon-box.blue   { background: var(--blue-dark); }
.info-icon-box.red    { background: var(--red); }
.info-icon-box.yellow { background: var(--yellow-dark); }

.info-card strong {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.92rem;
  color: var(--dark);
  margin-bottom: 3px;
}

.info-card p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.5; }

.contact-link {
  color: var(--blue-dark);
  font-weight: 600;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--red); }

/* Social buttons */
.social-links { display: flex; gap: 12px; margin-top: 6px; }

.social-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  transition: transform 0.22s, box-shadow 0.22s;
  box-shadow: var(--shadow);
}

.social-btn:hover { transform: translateY(-4px) scale(1.1); }
.social-btn.sm { width: 38px; height: 38px; font-size: 0.95rem; }

.fb { background: #1877F2; }
.wa { background: #25D366; }
.ig { background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888); }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--yellow);
}

.contact-form h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form h3 i { color: var(--blue-dark); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* Input with icon */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.full-wrap {
  display: block;
  margin-bottom: 14px;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--blue-dark);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}

.full-wrap .input-icon {
  top: 50%;
  transform: translateY(-50%);
}

.form-input {
  width: 100%;
  padding: 13px 18px 13px 42px;
  border: 2px solid #E0E7EF;
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  background: var(--off-white);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(79,195,247,0.15);
  background: var(--white);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
  padding-left: 18px;
  margin-bottom: 14px;
}

.full-btn {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 15px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--dark);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(255,214,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.full-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,214,0,0.5);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: #E8F5E9;
  border: 2px solid #4CAF50;
  border-radius: 12px;
  color: #2E7D32;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  text-align: center;
  display: none;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 56px 48px 28px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding-bottom: 36px;
  margin-bottom: 24px;
}

/* Footer logo block */
.footer-logo-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--dark);
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-brand strong {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.1rem;
  color: var(--yellow);
}

.footer-brand small {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.5;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: rgba(255,255,255,0.45) !important;
}

.footer-address i { margin-top: 2px; flex-shrink: 0; }

/* Footer nav */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.9rem;
  color: var(--yellow);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-nav a {
  color: rgba(255,255,255,0.60);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-nav a:hover { color: var(--white); padding-left: 4px; }
.footer-nav a i { color: var(--blue); font-size: 0.7rem; }

/* Footer contact col */
.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-col h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.9rem;
  color: var(--yellow);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-contact-item {
  color: rgba(255,255,255,0.60);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
  word-break: break-all;
}

.footer-contact-item:hover { color: var(--white); }
.footer-contact-item i { color: var(--blue); flex-shrink: 0; }

.footer-socials { display: flex; gap: 10px; margin-top: 4px; }

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.38);
  font-size: 0.82rem;
}

.dimpho-credit {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.45) !important;
}

.dimpho-link {
  color: var(--yellow) !important;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s, text-shadow 0.2s;
}

.dimpho-link:hover {
  color: var(--white) !important;
  text-shadow: 0 0 12px rgba(255,214,0,0.6);
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-logo-block { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero-visual { right: 30px; }
  .main-circle { width: 270px; height: 270px; }
  .circle-logo { width: 190px; height: 190px; }
}

@media (max-width: 900px) {
  .navbar { padding: 10px 24px; }
  .hero { padding: 120px 24px 100px; flex-direction: column; }
  .hero-visual { position: relative; right: auto; top: auto; transform: none; margin-top: 40px; display: flex; justify-content: center; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 74px; left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-bottom: 3px solid var(--yellow);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1.05rem; padding: 10px 16px; }
  .hamburger { display: flex; }
  .hero-title { font-size: 2.4rem; }
  .ages-timeline { flex-direction: column; }
  .age-connector { transform: rotate(90deg); font-size: 1.2rem; padding: 4px 0; }
  .footer { padding: 40px 24px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-badges { flex-direction: column; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .stat-divider { width: 60px; height: 1px; }
  .contact-form { padding: 24px 18px; }
  .hero-motto { font-size: 0.88rem; text-align: center; }
}

/* ===== EXTENDED CARE SECTION ===== */
.extended-care {
  padding: 100px 0;
  background: var(--off-white);
  text-align: center;
  position: relative;
  z-index: 1;
}

.text-yellow-dark { color: var(--yellow-dark); }

.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 52px;
  text-align: left;
}

.care-card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.care-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.care-blue   { background: linear-gradient(145deg, #E1F5FE, #B3E5FC); border: 2px solid var(--blue); }
.care-red    { background: linear-gradient(145deg, #FFEBEE, #FFCDD2); border: 2px solid var(--red); }
.care-yellow { background: linear-gradient(145deg, #FFFDE7, #FFF9C4); border: 2px solid var(--yellow); }

/* Icon circle */
.care-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.care-card:hover .care-icon-wrap { transform: rotate(-8deg) scale(1.1); }

.care-blue   .care-icon-wrap { background: var(--blue-dark); }
.care-red    .care-icon-wrap { background: var(--red); }
.care-yellow .care-icon-wrap { background: var(--yellow-dark); }

/* Time badge */
.care-badge {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.care-blue   .care-badge { background: var(--blue-dark); color: var(--white); }
.care-red    .care-badge { background: var(--red); color: var(--white); }
.care-yellow .care-badge { background: var(--yellow-dark); color: var(--white); }

.care-card h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.care-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 18px;
}

.care-card ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.care-card ul li {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}

.care-blue   ul li i { color: var(--blue-dark); }
.care-red    ul li i { color: var(--red); }
.care-yellow ul li i { color: var(--yellow-dark); }

/* Weekend note box */
.care-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(249,168,37,0.15);
  border: 1.5px solid var(--yellow-dark);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
  margin-top: 4px;
}

.care-note i { color: var(--yellow-dark); margin-top: 2px; flex-shrink: 0; }

/* Hours banner */
.care-hours-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
  margin-top: 52px;
  box-shadow: var(--shadow-lg);
}

.hours-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  flex: 1;
  min-width: 160px;
}

.hours-item i {
  font-size: 1.6rem;
  color: var(--yellow);
  flex-shrink: 0;
}

.hours-item div {
  display: flex;
  flex-direction: column;
}

.hours-item strong {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}

.hours-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.60);
}

.hours-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .care-hours-banner { flex-direction: column; padding: 24px; gap: 16px; }
  .hours-item { padding: 0 12px; min-width: unset; }
  .hours-divider { width: 60%; height: 1px; }
}

/* ===== PRESCHOOL HOURS BAR ===== */
.preschool-hours-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  margin: 36px 0 48px;
  box-shadow: 0 8px 30px rgba(2,136,209,0.30);
  flex-wrap: wrap;
}

.phours-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.18);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.phours-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.phours-text strong {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.2;
}

.phours-text span {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.80);
  margin-top: 3px;
}

.phours-badge {
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Red care note variant */
.care-note-red {
  background: rgba(255,59,59,0.10) !important;
  border-color: var(--red) !important;
}

.care-note-red i { color: var(--red) !important; }

@media (max-width: 600px) {
  .preschool-hours-bar { padding: 20px 22px; }
  .phours-badge { width: 100%; text-align: center; }
}
