/* --- Variables & Setup --- */
:root {
  --navy-blue: #1d3557;
  --logo-grey: #457b9d;
  --pop-yellow: #ffb703;
  --pop-red: #e63946;
  --soft-bg: #f1faee;
  --font-heading: "Fredoka", sans-serif;
  --font-body: "Quicksand", sans-serif;
}

body {
  font-family: var(--font-body);
  color: #333;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.nav-logo {
  height: 50px;
  border-radius: 10px;
  /* border: 2px solid var(--navy-blue); */
  padding: 2px;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy-blue);
  font-weight: 700;
}

.nav-link {
  font-family: var(--font-heading);
  color: var(--navy-blue) !important;
  font-size: 1.1rem;
  margin: 0 8px;
  transition: transform 0.2s;
}

.nav-link:hover {
  transform: translateY(-3px);
  color: var(--pop-red) !important;
}

.btn-cartoon {
  background-color: var(--navy-blue);
  color: white !important;
  border-radius: 50px;
  padding: 8px 25px !important;
  box-shadow: 0 4px 0px #0a1f38;
  transition: all 0.1s;
}

.btn-cartoon:hover {
  transform: translateY(4px);
  box-shadow: 0 0 0px #0a1f38;
}

/* --- Hero Section --- */
header {
  position: relative;
  overflow: hidden;
}

.hero-img {
  height: 90vh;
  object-fit: cover;
  filter: brightness(0.9);
}

.carousel-caption {
  bottom: 25%;
  z-index: 10;
  top: 80px;
}

.caption-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  top: 80px;
  border-radius: 30px;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  border: 3px solid var(--navy-blue);
}

.badge-pill {
  background: var(--pop-yellow);
  color: var(--navy-blue);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--navy-blue);
  margin: 15px 0;
  line-height: 1.1;
}

.btn-bouncy {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: bold;
  font-family: var(--font-heading);
  border: 2px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: wiggle 3s infinite;
}

.control-bubble {
  background: white;
  color: var(--navy-blue);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--navy-blue);
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.control-bubble:hover {
  transform: scale(1.2);
  background: var(--pop-yellow);
}

.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
  height: 100px;
  overflow: hidden;
}

/* --- About & General --- */
.section-padding {
  padding: 80px 0;
  background-color: white;
}

.section-badge {
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cartoon-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.highlight {
  color: var(--pop-red);
  text-decoration: underline wavy var(--pop-yellow);
}

.cartoon-img {
  border: 5px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  transform: rotate(2deg);
  transition: transform 0.3s;
}

.cartoon-img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Background Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.6;
}
.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--soft-bg);
  top: -20px;
  right: 20px;
}
.blob-2 {
  width: 150px;
  height: 150px;
  background: #e0f4ff;
  bottom: -10px;
  left: 40px;
}

/* Clouds */
.cloud {
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  font-size: 3rem;
  z-index: 5;
  animation: floatCloud 20s infinite linear;
}
.cloud-1 {
  top: 10%;
  left: -10%;
}
.cloud-2 {
  top: 20%;
  left: -20%;
  animation-delay: 10s;
  font-size: 5rem;
}

/* --- What We Do (Corrected Curve Dividers) --- */

/* The middle section holds the color and pattern */
.pattern-middle-section {
  background-color: var(--soft-bg);
  background-image: radial-gradient(#d1e9ff 2px, transparent 2px);
  background-size: 30px 30px;
  position: relative;
}

/* Common styles for the colored curves */
.curve-colored-top,
.curve-colored-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.curve-colored-top svg,
.curve-colored-bottom svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 80px; /* Increased height for better visibility */
}

/* Fill must match the middle section color */
.shape-fill {
  fill: var(--soft-bg);
}

/* Top curve setup */
.curve-colored-top {
  top: -79px; /* Move it up by its height to sit on top */
}

/* Bottom curve setup */
.curve-colored-bottom {
  bottom: -79px; /* Move it down by its height */
  transform: rotate(180deg); /* Flip it to point down */
}

/* Ensure the section above and below don't overlap awkwardly */
#about,
#ebooks {
  position: relative;
  z-index: 2;
  background: white;
}

/* Comic Cards */
.comic-card {
  background: white;
  border: 3px solid var(--navy-blue);
  border-radius: 20px;
  box-shadow: 8px 8px 0px rgba(29, 53, 87, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.comic-card:hover {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

.comic-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.card-blue {
  border-color: var(--navy-blue);
}
.card-yellow {
  border-color: var(--pop-yellow);
}
.card-red {
  border-color: var(--pop-red);
}

.icon-circle {
  width: 50px;
  height: 50px;
  background: var(--soft-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-blue);
  font-size: 1.5rem;
}
.floating-icon {
  font-size: 2.5rem;
  color: var(--navy-blue);
  animation: floatIcon 3s ease-in-out infinite;
}

.comic-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
}

/* --- 3D Ebooks Carousel --- */
.carousel-stage {
  perspective: 1000px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-top: 80px;
}

.carousel-slider {
  position: relative;
  width: 180px;
  height: 260px;
  transform-style: preserve-3d;
  animation: autoRotator 20s infinite linear;
}

.carousel-slider:hover {
  animation-play-state: paused;
}

.book-card {
  position: absolute;
  inset: 0;
  transform: rotateY(calc((var(--i) - 1) * 60deg)) translateZ(350px);
  border-radius: 10px;
  border: 3px solid white;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  background: white;
}
.book-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-view-all {
  background-color: #457b9d;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 40px;
  border-radius: 50px;
  border: 3px solid #457b9d;
  transition: all 0.3s ease;
}
.btn-view-all:hover {
  background-color: white;
  color: #457b9d;
  transform: translateY(-3px);
}

/* --- Explore More Section --- */
.explore-more-section {
  position: relative;
  padding: 100px 0;
  background: #ffffff;
  background-image: radial-gradient(#f1faee 2px, transparent 2px);
  background-size: 32px 32px;
  overflow: hidden;
}

.explore-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--navy-blue);
}
.explore-underline {
  width: 70px;
  height: 5px;
  background: var(--pop-red);
  margin: 12px auto 40px;
  border-radius: 10px;
}

.mascot {
  font-size: 64px;
  cursor: pointer;
  animation: blink 6s infinite;
  transition: transform 0.25s ease;
}
.mascot.wave {
  animation: wave 0.8s ease;
}

.explore-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.explore-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.25s ease;
}

.explore-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.15);
}
.explore-circle i {
  font-size: 40px;
  margin-bottom: 12px;
}
.explore-circle span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.explore-circle.yt:hover {
  background: #e63946;
  color: #fff;
}
.explore-circle.manual:hover {
  background: #3f83f8;
  color: #fff;
}
.explore-circle.test:hover {
  background: #8b5cf6;
  color: #fff;
}

/* --- TESTIMONIALS SECTION --- */
.st-testimonials {
  position: relative;
  background: radial-gradient(circle at top, #1a1f3c, #0b0f1f);
  padding: 100px 20px;
  color: #fff;
  margin-top: 50px;
}

.st-header {
  text-align: center;
  margin-bottom: 60px;
}
.st-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #fff;
}

.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.st-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.st-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(127, 91, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.st-stars {
  color: gold;
  margin-bottom: 15px;
}
.st-text {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 20px;
  font-style: italic;
}

.st-user {
  display: flex;
  align-items: center;
  gap: 15px;
}
.st-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #7f5bff;
}

/* Floating Testimonial Mascot */
.testimonial-mascot-wrap {
  position: absolute;
  right: 5%;
  top: -60px;
  width: 100px;
  z-index: 10;
  animation: floatIcon 4s ease-in-out infinite;
}
.floating-robo-img {
  width: 100%;
}
.robo-bubble {
  position: absolute;
  right: 110%;
  top: 20px;
  background: white;
  color: #333;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.testimonial-mascot-wrap:hover .robo-bubble {
  opacity: 1;
}

/* Footer */
.cartoon-footer {
  background-color: var(--navy-blue);
  color: white;
  padding: 50px 0;
  border-top: 5px solid var(--pop-yellow);
}
.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: var(--pop-yellow);
}

/* Animations */
@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}
@keyframes floatCloud {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(110vw);
  }
}
@keyframes popUp {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.pop-in {
  animation: popUp 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes autoRotator {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
@keyframes blink {
  0%,
  96%,
  100% {
    transform: scaleY(1);
  }
  97% {
    transform: scaleY(0.1);
  }
}
@keyframes wave {
  0% {
    transform: rotate(0deg) scale(1.2);
  }
  25% {
    transform: rotate(15deg) scale(1.2);
  }
  50% {
    transform: rotate(-15deg) scale(1.2);
  }
  75% {
    transform: rotate(10deg) scale(1.2);
  }
  100% {
    transform: rotate(0deg) scale(1.2);
  }
}
@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Cursor */
.cursor-dot {
  position: fixed;
  width: 15px;
  height: 15px;
  background: var(--pop-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: none; /* Hidden on mobile */
}
@media (min-width: 992px) {
  .cursor-dot {
    display: block;
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .hero-img {
    height: 75vh;
  }
  .caption-content {
    padding: 20px;
    width: 90%;
  }
  .carousel-stage {
    transform: scale(0.7);
    perspective: 800px;
  }
  .book-card {
    transform: rotateY(calc((var(--i) - 1) * 60deg)) translateZ(250px);
  }
  .testimonial-mascot-wrap {
    display: none;
  }
}

/* ================= Fun Stats Section ================= */
.fun-stats-section {
  position: relative;
  padding: 80px 0 100px; /* Extra padding bottom for the caterpillar */
  background: #ffffff;
  overflow: hidden;
  border-top: 6px solid var(--pop-yellow); /* Separate from dark testimonials */
}

/* Stat Box Styling */
.stat-box {
  text-align: center;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 2px dashed #e0e0e0;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--pop-yellow);
  box-shadow: 0 15px 40px rgba(255, 183, 3, 0.2);
}

/* Icons */
.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: bounceIcon 2s infinite;
}

.icon-blue {
  background: var(--navy-blue);
}
.icon-yellow {
  background: var(--pop-yellow);
  animation-delay: 0.5s;
}
.icon-red {
  background: var(--pop-red);
  animation-delay: 1s;
}
.icon-green {
  background: #2a9d8f;
  animation-delay: 1.5s;
}

/* Numbers */
.counter {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 5px;
}

.stat-box p {
  font-family: var(--font-heading);
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating Shapes Background */
.shape {
  position: absolute;
  opacity: 0.2;
  z-index: 1;
  animation: floatRotate 20s infinite linear;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid var(--pop-red);
  top: 10%;
  left: 5%;
}

.shape-circle {
  width: 60px;
  height: 60px;
  background: var(--pop-yellow);
  border-radius: 50%;
  top: 60%;
  right: 10%;
  animation-duration: 25s;
}

.shape-star {
  font-size: 50px;
  color: var(--navy-blue);
  top: 20%;
  right: 20%;
  animation-duration: 15s;
  animation-direction: reverse;
}

.shape-cross {
  font-size: 60px;
  color: #2a9d8f;
  bottom: 20%;
  left: 15%;
  font-weight: bold;
  animation-duration: 18s;
}

/* Sliding Caterpillar */
.sliding-character-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  overflow: hidden;
}

.caterpillar {
  font-size: 40px;
  position: absolute;
  bottom: 5px;
  left: -50px; /* Start off screen */
  animation: slideCharacter 15s linear infinite;
}

/* Animations */
@keyframes bounceIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatRotate {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes slideCharacter {
  0% {
    left: -50px;
    transform: scaleX(1);
  }
  45% {
    left: 100%;
    transform: scaleX(1);
  } /* Walk right */
  50% {
    left: 100%;
    transform: scaleX(-1);
  } /* Turn around */
  95% {
    left: -50px;
    transform: scaleX(-1);
  } /* Walk left */
  100% {
    left: -50px;
    transform: scaleX(1);
  }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .counter {
    font-size: 2.2rem;
  }
  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ================= MYSTERY FAQ SECTION ================= */

.mystery-section {
  /* Dark mysterious background */
  background: radial-gradient(circle at center, #1a1f3c 0%, #0b0f1f 100%);
  padding: 120px 0 100px;
  overflow: hidden;
  position: relative;
}

/* Top Wave to transition from white */
.mystery-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}
.mystery-wave-top svg {
  width: 100%;
  height: 60px;
  fill: #ffffff; /* Matches previous section background */
}

/* --- Cartoon String Lights (Stranger Things Vibe) --- */
.string-lights {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  z-index: 2;
  pointer-events: none;
}
/* The wire */
.string-lights::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -5%;
  width: 110%;
  height: 30px;
  border-bottom: 3px solid #333;
  border-radius: 50%;
}

.light {
  width: 20px;
  height: 30px;
  border-radius: 50% 50% 10px 10px;
  background: #555;
  position: relative;
  animation: lightFlash 3s infinite alternate;
}
/* Different light colors */
.light.red {
  background: #ff4444;
  animation-delay: 0.2s;
  box-shadow: 0 5px 15px rgba(255, 68, 68, 0.5);
}
.light.yellow {
  background: #ffbb33;
  animation-delay: 0.7s;
  box-shadow: 0 5px 15px rgba(255, 187, 51, 0.5);
}
.light.blue {
  background: #33b5e5;
  animation-delay: 1.2s;
  box-shadow: 0 5px 15px rgba(51, 181, 229, 0.5);
}

@keyframes lightFlash {
  0%,
  100% {
    opacity: 0.4;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.5);
  }
}

/* --- Floating Background Particles ("Spores") --- */
.particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: floatParticle linear infinite;
}
.p1 {
  top: 20%;
  left: 10%;
  animation-duration: 12s;
}
.p2 {
  top: 60%;
  left: 80%;
  animation-duration: 18s;
  width: 4px;
  height: 4px;
}
.p3 {
  top: 80%;
  left: 30%;
  animation-duration: 25s;
}
.p4 {
  top: 10%;
  left: 90%;
  animation-duration: 15s;
  width: 8px;
  height: 8px;
  background: rgba(255, 71, 71, 0.3);
}
.p5 {
  top: 50%;
  left: 50%;
  animation-duration: 20s;
  background: rgba(255, 221, 68, 0.3);
}

@keyframes floatParticle {
  from {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  to {
    transform: translateY(-200px) translateX(100px);
    opacity: 0;
  }
}

/* --- The 3D Mystery Boxes --- */
.mystery-box-wrap {
  perspective: 1000px;
  cursor: pointer;
  height: 280px; /* Fixed height for the container */
}

/* Floating animation for the whole container */
.float-delay-1 {
  animation: floatIcon 4s ease-in-out infinite;
}
.float-delay-2 {
  animation: floatIcon 4s ease-in-out infinite 0.5s;
}
.float-delay-3 {
  animation: floatIcon 4s ease-in-out infinite 1s;
}
.float-delay-4 {
  animation: floatIcon 4s ease-in-out infinite 1.5s;
}

.mystery-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy flip */
}

/* The Reveal Action */
.mystery-box-wrap.revealed .mystery-card {
  transform: rotateY(180deg);
}

/* Common Front/Back styles */
.mystery-front,
.mystery-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 4px solid;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* --- Front Face (Closed Chest) --- */
.mystery-front {
  background: linear-gradient(145deg, #2a2f4c, #1a1f3c);
  border-color: #3f466e;
}

.chest-img {
  width: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
  transition: transform 0.3s;
}

.mystery-front h3 {
  font-family: var(--font-heading);
  color: var(--pop-yellow);
  margin: 0;
}
.mystery-box-wrap:hover .chest-img {
  transform: scale(1.1) rotate(-5deg);
}

/* --- Back Face (Revealed Answer) --- */
.mystery-back {
  transform: rotateY(180deg); /* Start flipped */
  color: var(--navy-blue);
}
.mystery-back h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 10px;
}
.mystery-back p {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Color variants for answers */
.back-red {
  background: #fff0f0;
  border-color: var(--pop-red);
  color: var(--pop-red);
}
.back-yellow {
  background: #fffae6;
  border-color: var(--pop-yellow);
  color: #b38f00;
}
.back-blue {
  background: #e6f0ff;
  border-color: #3f83f8;
  color: #3f83f8;
}
.back-green {
  background: #e6fffa;
  border-color: #2a9d8f;
  color: #2a9d8f;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .string-lights {
    transform: scale(0.7);
    top: 20px;
  }
  .mystery-box-wrap {
    height: 240px;
  }
  .chest-img {
    width: 80px;
  }
}

/* Add to the end of style.css */
@keyframes shakeBox {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-10px) rotate(-5deg);
  }
  40% {
    transform: translateX(10px) rotate(5deg);
  }
  60% {
    transform: translateX(-10px) rotate(-5deg);
  }
  80% {
    transform: translateX(10px) rotate(5deg);
  }
}

/* ================= NEWSLETTER SECTION ================= */
.newsletter-section {
  background-color: var(--soft-bg); /* Light Mint/Blue */
  padding: 100px 0 80px;
  overflow: hidden;
  transition: background-color 0.5s ease; /* For the flash effect */
}

/* Flash Effect Class (Added by JS) */
.newsletter-section.night-mode {
  background-color: #2b2d42; /* Dark flash */
}

/* Curve Divider */
.curve-newsletter-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}
.curve-newsletter-top svg {
  width: 100%;
  height: 80px;
}

/* Cartoon Form Styling */
.cartoon-input-group {
  background: white;
  padding: 8px;
  border-radius: 50px;
  border: 3px solid var(--navy-blue);
  box-shadow: 0 8px 0 rgba(29, 53, 87, 0.2);
  transition: transform 0.2s;
}

.cartoon-input-group:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 0 rgba(29, 53, 87, 0.2);
  border-color: var(--pop-red);
}

.cartoon-input-group input {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  padding-left: 20px;
  font-family: var(--font-heading);
  color: var(--navy-blue);
}
.cartoon-input-group input:focus {
  box-shadow: none;
}

.success-message {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  animation: popUp 0.5s ease;
}

/* --- ROCKET ANIMATIONS --- */

.rocket-area {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rocket-wrapper {
  position: relative;
  z-index: 10;
  animation: hoverRocket 3s ease-in-out infinite;
}

.rocket-img {
  width: 220px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

/* Flame (Hidden until launch) */
.rocket-flame {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 0;
  background: linear-gradient(to bottom, yellow, red);
  border-radius: 50%;
  transition: height 0.3s;
  opacity: 0;
}

/* LAUNCH CLASSES (Triggered by JS) */
.rocket-wrapper.launching {
  animation: shakeRocket 0.5s linear infinite; /* Rumble before launch */
}
.rocket-wrapper.launching .rocket-flame {
  height: 60px;
  opacity: 1;
}

.rocket-wrapper.blasted {
  animation: flyAway 1.5s ease-in forwards;
}

/* Clouds */
.mini-cloud {
  position: absolute;
  color: #fff;
  font-size: 4rem;
  opacity: 0.8;
  z-index: 1;
}
.c1 {
  top: 20px;
  left: 10%;
  animation: floatCloud 15s infinite;
}
.c2 {
  bottom: 40px;
  right: 10%;
  animation: floatCloud 20s infinite reverse;
}

/* Smoke Particles */
.smoke-particle {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #ccc;
  border-radius: 50%;
  opacity: 0;
  bottom: 50px;
  left: 50%;
  animation: smokePuff 1s ease-out forwards;
}

/* Keyframes */
@keyframes hoverRocket {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes shakeRocket {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  25% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  50% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  75% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -1px) rotate(-1deg);
  }
}

@keyframes flyAway {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-1000px) scale(0.5);
  }
}

@keyframes smokePuff {
  0% {
    transform: translate(-50%, 0) scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, 100px) scale(3);
    opacity: 0;
  }
} /* ================= NEWSLETTER SECTION (Super Squad) ================= */

/* 1. Base Styling (Light Mode) */
.newsletter-section {
  /* Premium Light Gradient: White to very soft blue */
  background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
  padding: 80px 0 80px;
  overflow: hidden;
  /* Smooth transition for background and text colors */
  transition: all 0.5s ease;
  border-bottom: 5px solid var(--pop-yellow);
}

/* 2. NIGHT MODE (Triggered on Launch) */
.newsletter-section.night-mode {
  background: #2b2d42 !important; /* Deep Blue Dark Background */
}

/* Force Headlines to be White & Glowing in Night Mode */
.newsletter-section.night-mode h2,
.newsletter-section.night-mode .cartoon-title,
.newsletter-section.night-mode .text-dark {
  color: #ffffff !important;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6); /* Bright Glow */
  transition: color 0.2s;
}

/* Force Paragraphs to be Light Grey in Night Mode */
.newsletter-section.night-mode p,
.newsletter-section.night-mode .text-muted,
.newsletter-section.night-mode .lead {
  color: #e0e0e0 !important;
  transition: color 0.2s;
}

/* Make the Red Highlight Neon in Night Mode */
.newsletter-section.night-mode .highlight-red {
  color: #ff6b6b; /* Lighter neon red */
  text-shadow: 0 0 10px #ff0000;
  text-decoration-color: #fff;
}

/* Make Clouds Glow in Night Mode */
.newsletter-section.night-mode .mini-cloud {
  opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

/* 3. General Typography & Elements */

/* Highlight Text (Wavy Underline) */
.highlight-red {
  color: var(--pop-red);
  text-decoration: underline wavy var(--pop-yellow);
  text-decoration-thickness: 3px;
  transition: all 0.3s;
}

/* Cartoon Form Styling */
.cartoon-input-group {
  background: white;
  padding: 6px;
  border-radius: 50px;
  border: 3px solid #e0e0e0; /* Subtle grey border initially */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.cartoon-input-group:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(230, 57, 70, 0.15); /* Red Glow */
  border-color: var(--pop-red);
}

.cartoon-input-group input {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  padding-left: 20px;
  font-family: var(--font-heading);
  color: #333;
}
.cartoon-input-group input::placeholder {
  color: #aaa;
}
.cartoon-input-group input:focus {
  box-shadow: none;
}

/* Amazing Red Button */
.btn-red {
  background-color: var(--pop-red);
  color: white !important;
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: bold;
  font-family: var(--font-heading);
  box-shadow: 0 4px 0 #b91c1c; /* Darker red shadow */
  transition: all 0.1s;
}

.btn-red:hover {
  background-color: #ff4444;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #b91c1c;
}

.btn-red:active {
  transform: translateY(4px);
  box-shadow: none;
}

.success-message {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  animation: popUp 0.5s ease;
}

/* 4. ROCKET ANIMATIONS */

.rocket-area {
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.rocket-wrapper {
  position: relative;
  z-index: 10;
  animation: hoverRocket 3s ease-in-out infinite;
}

.rocket-img {
  width: 200px;
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.15));
}

/* Flame (Hidden until launch) */
.rocket-flame {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 0;
  background: linear-gradient(to bottom, #ffcc00, #ff4400);
  border-radius: 50%;
  transition: height 0.3s;
  opacity: 0;
  box-shadow: 0 0 20px #ff4400;
}

/* Launch Classes */
.rocket-wrapper.launching {
  animation: shakeRocket 0.5s linear infinite;
}
.rocket-wrapper.launching .rocket-flame {
  height: 70px;
  opacity: 1;
}
.rocket-wrapper.blasted {
  animation: flyAway 1.5s ease-in forwards;
}

/* Clouds */
.mini-cloud {
  position: absolute;
  font-size: 3rem;
  opacity: 0.6;
  z-index: 1;
}
.c1 {
  top: 20px;
  left: 10%;
  animation: floatCloud 15s infinite;
  color: #a8dadc;
}
.c2 {
  bottom: 40px;
  right: 10%;
  animation: floatCloud 20s infinite reverse;
  color: #ffca3a;
}

/* Smoke Particles */
.smoke-particle {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #e0e0e0;
  border-radius: 50%;
  opacity: 0;
  bottom: 50px;
  left: 50%;
  animation: smokePuff 1s ease-out forwards;
}

/* Keyframes */
@keyframes hoverRocket {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes shakeRocket {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  25% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  50% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  75% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -1px) rotate(-1deg);
  }
}

@keyframes flyAway {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-1200px) scale(0.6);
  }
}

@keyframes smokePuff {
  0% {
    transform: translate(-50%, 0) scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, 120px) scale(3);
    opacity: 0;
  }
}

/* ================= KIDDISH FOOTER STYLING ================= */

.kiddish-footer {
  /* Light background matching the theme's soft-bg */
  background-color: #fdfdfd;
  padding-top: 60px;
  text-align: center;
  border-top: 5px solid var(--pop-yellow); /* Wavy yellow border on top */
  font-family: var(--font-heading);
}

/* 1. Logo & Brand */
.footer-brand-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  height: 70px;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}
.footer-brand-text {
  font-size: 2rem;
  color: var(--navy-blue);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}

/* 2. Navigation Links */
.footer-nav {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-nav li a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s;
}
/* Fun underline effect on hover */
.footer-nav li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 50%;
  background-color: var(--pop-red);
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
}
.footer-nav li a:hover {
  color: var(--pop-red);
}
.footer-nav li a:hover::after {
  width: 100%;
  left: 0;
}

/* 3. Social Media Circles & Animation */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-circle {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--navy-blue);
  border: 2px solid #e0e0e0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
}

/* Hover Effects - Pop up and change color */
.social-circle:hover {
  transform: translateY(-5px) scale(1.1); /* Pop up */
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  animation: wiggle 0.5s ease-in-out; /* Add a little wiggle */
}
/* Individual brand colors on hover */
.social-circle.fb:hover {
  background-color: #1877f2;
}
.social-circle.insta:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
.social-circle.yt:hover {
  background-color: #ff0000;
}
.social-circle.tw:hover {
  background-color: #1da1f2;
}

/* 4. Copyright Area */
.copyright-area {
  background-color: #1a1f3c; /* Slightly darker shade */
  padding: 20px 0;
  font-size: 0.95rem;
  color: #777;
  border-top: 1px solid #e0e0e0;
}

/* Developer Credit Highlight */
.ace-credit {
  color: #ff8c00; /* Orange color from the example image */
  font-weight: 700;
}

/* Animation Keyframes (if not already present) */
@keyframes wiggle {
  0%,
  100% {
    transform: translateY(-5px) scale(1.1) rotate(0deg);
  }
  25% {
    transform: translateY(-5px) scale(1.1) rotate(-5deg);
  }
  50% {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
  }
  75% {
    transform: translateY(-5px) scale(1.1) rotate(-3deg);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
  .footer-brand-text {
    font-size: 1.8rem;
  }
}

/* --- Variables & Setup --- */
:root {
  --navy-blue: #1d3557;
  --logo-grey: #457b9d;
  --pop-yellow: #ffb703;
  --pop-red: #e63946;
  --soft-bg: #f1faee;
  --font-heading: "Fredoka", sans-serif;
  --font-body: "Quicksand", sans-serif;
}

body {
  font-family: var(--font-body);
  color: #333;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-logo {
  height: 60px;
  width: 170px;
  border-radius: 10px;
  border: 2px solid var(--navy-blue); 
  padding: 2px;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy-blue);
  font-weight: 700;
}

.nav-link {
  font-family: var(--font-heading);
  color: var(--navy-blue) !important;
  font-size: 1.1rem;
  margin: 0 8px;
  transition: transform 0.2s;
}

.nav-link:hover,
.nav-link.active {
  transform: translateY(-3px);
  color: var(--pop-red) !important;
}

.btn-cartoon {
  background-color: var(--navy-blue);
  color: white !important;
  border-radius: 50px;
  padding: 8px 25px !important;
  box-shadow: 0 4px 0px #0a1f38;
  transition: all 0.1s;
}

.btn-cartoon:hover {
  transform: translateY(4px);
  box-shadow: 0 0 0px #0a1f38;
}

/* --- Hero Section --- */
header {
  position: relative;
  overflow: hidden;
}

.hero-img {
  height: 90vh;
  object-fit: cover;
  filter: brightness(0.9);
}

.carousel-caption {
  bottom: 25%;
  z-index: 10;
}

.caption-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 30px;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  border: 3px solid var(--navy-blue);
}

.badge-pill {
  background: var(--pop-yellow);
  color: var(--navy-blue);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--navy-blue);
  margin: 15px 0;
  line-height: 1.1;
}

.btn-bouncy {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: bold;
  font-family: var(--font-heading);
  border: 2px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: wiggle 3s infinite;
}

.control-bubble {
  background: white;
  color: var(--navy-blue);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--navy-blue);
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.control-bubble:hover {
  transform: scale(1.2);
  background: var(--pop-yellow);
}

.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
  height: 100px;
  overflow: hidden;
}

/* --- About & General --- */
.section-padding {
  padding: 80px 0;
  background-color: white;
}

.section-badge {
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--navy-blue);
  display: inline-block;
  margin-bottom: 10px;
}

.cartoon-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.highlight {
  color: var(--pop-red);
  text-decoration: underline wavy var(--pop-yellow);
}

.cartoon-img {
  border: 5px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  transform: rotate(2deg);
  transition: transform 0.3s;
}

.cartoon-img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Background Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.6;
}
.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--soft-bg);
  top: -20px;
  right: 20px;
}
.blob-2 {
  width: 150px;
  height: 150px;
  background: #e0f4ff;
  bottom: -10px;
  left: 40px;
}

/* Clouds */
.cloud {
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  font-size: 3rem;
  z-index: 5;
  animation: floatCloud 20s infinite linear;
}
.cloud-1 {
  top: 10%;
  left: -10%;
}
.cloud-2 {
  top: 20%;
  left: -20%;
  animation-delay: 10s;
  font-size: 5rem;
}

/* --- What We Do (Corrected Curve Dividers) --- */
.pattern-middle-section {
  background-color: var(--soft-bg);
  background-image: radial-gradient(#d1e9ff 2px, transparent 2px);
  background-size: 30px 30px;
  position: relative;
}

.curve-colored-top,
.curve-colored-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.curve-colored-top svg,
.curve-colored-bottom svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.shape-fill {
  fill: var(--soft-bg);
}

.curve-colored-top {
  top: -79px;
}

.curve-colored-bottom {
  bottom: -79px;
  transform: rotate(180deg);
}

#about,
#ebooks {
  position: relative;
  z-index: 2;
  background: white;
}

/* Comic Cards */
.comic-card {
  background: white;
  border: 3px solid var(--navy-blue);
  border-radius: 20px;
  box-shadow: 8px 8px 0px rgba(29, 53, 87, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.comic-card:hover {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

.comic-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.card-blue {
  border-color: var(--navy-blue);
}
.card-yellow {
  border-color: var(--pop-yellow);
}
.card-red {
  border-color: var(--pop-red);
}

.icon-circle {
  width: 50px;
  height: 50px;
  background: var(--soft-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-blue);
  font-size: 1.5rem;
}
.floating-icon {
  font-size: 2.5rem;
  color: var(--navy-blue);
  animation: floatIcon 3s ease-in-out infinite;
}

.comic-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
}

/* --- 3D Ebooks Carousel --- */
.carousel-stage {
  perspective: 1000px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-top: 80px;
}

.carousel-slider {
  position: relative;
  width: 180px;
  height: 260px;
  transform-style: preserve-3d;
  animation: autoRotator 20s infinite linear;
}

.carousel-slider:hover {
  animation-play-state: paused;
}

.book-card {
  position: absolute;
  inset: 0;
  transform: rotateY(calc((var(--i) - 1) * 60deg)) translateZ(350px);
  border-radius: 10px;
  border: 3px solid white;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  background: white;
}
.book-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-view-all {
  background-color: #457b9d;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 40px;
  border-radius: 50px;
  border: 3px solid #457b9d;
  transition: all 0.3s ease;
}
.btn-view-all:hover {
  background-color: white;
  color: #457b9d;
  transform: translateY(-3px);
}

/* --- Explore More Section --- */
.explore-more-section {
  position: relative;
  padding: 100px 0;
  background: #ffffff;
  background-image: radial-gradient(#f1faee 2px, transparent 2px);
  background-size: 32px 32px;
  overflow: hidden;
}

.explore-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--navy-blue);
}
.explore-underline {
  width: 70px;
  height: 5px;
  background: var(--pop-red);
  margin: 12px auto 40px;
  border-radius: 10px;
}

.mascot {
  font-size: 64px;
  cursor: pointer;
  animation: blink 6s infinite;
  transition: transform 0.25s ease;
}
.mascot.wave {
  animation: wave 0.8s ease;
}

.explore-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.explore-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.25s ease;
}

.explore-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.15);
}
.explore-circle i {
  font-size: 40px;
  margin-bottom: 12px;
}
.explore-circle span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.explore-circle.yt:hover {
  background: #e63946;
  color: #fff;
}
.explore-circle.manual:hover {
  background: #3f83f8;
  color: #fff;
}
.explore-circle.test:hover {
  background: #8b5cf6;
  color: #fff;
}

/* --- TESTIMONIALS SECTION --- */
.st-testimonials {
  position: relative;
  background: radial-gradient(circle at top, #1a1f3c, #0b0f1f);
  padding: 100px 20px;
  color: #fff;
  margin-top: 50px;
}

.st-header {
  text-align: center;
  margin-bottom: 60px;
}
.st-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #fff;
}

.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.st-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.st-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(127, 91, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.st-stars {
  color: gold;
  margin-bottom: 15px;
}
.st-text {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 20px;
  font-style: italic;
}

.st-user {
  display: flex;
  align-items: center;
  gap: 15px;
}
.st-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #7f5bff;
}

/* Floating Testimonial Mascot */
.testimonial-mascot-wrap {
  position: absolute;
  right: 5%;
  top: -60px;
  width: 100px;
  z-index: 10;
  animation: floatIcon 4s ease-in-out infinite;
}
.floating-robo-img {
  width: 100%;
}
.robo-bubble {
  position: absolute;
  right: 110%;
  top: 20px;
  background: white;
  color: #333;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.testimonial-mascot-wrap:hover .robo-bubble {
  opacity: 1;
}

/* Footer */
.kiddish-footer {
  background-color: #fdfdfd;
  padding-top: 60px;
  text-align: center;
  border-top: 5px solid var(--pop-yellow);
  font-family: var(--font-heading);
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  height: 70px;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}
.footer-brand-text {
  font-size: 2rem;
  color: var(--navy-blue);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}

.footer-nav {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-nav li a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s;
}
.footer-nav li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 50%;
  background-color: var(--pop-red);
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
}
.footer-nav li a:hover {
  color: var(--pop-red);
}
.footer-nav li a:hover::after {
  width: 100%;
  left: 0;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-circle {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--navy-blue);
  border: 2px solid #e0e0e0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-circle:hover {
  transform: translateY(-5px) scale(1.1);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  animation: wiggle 0.5s ease-in-out;
}
.social-circle.fb:hover {
  background-color: #1877f2;
}
.social-circle.insta:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
.social-circle.yt:hover {
  background-color: #ff0000;
}
.social-circle.tw:hover {
  background-color: #1da1f2;
}

.copyright-area {
  background-color: #1a1f3c;
  padding: 20px 0;
  font-size: 0.95rem;
  color: #777;
  border-top: 1px solid #e0e0e0;
}
.ace-credit {
  color: #ff8c00;
  font-weight: 700;
}

/* Animations */
@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}
@keyframes floatCloud {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(110vw);
  }
}
@keyframes popUp {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.pop-in {
  animation: popUp 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes autoRotator {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
@keyframes blink {
  0%,
  96%,
  100% {
    transform: scaleY(1);
  }
  97% {
    transform: scaleY(0.1);
  }
}
@keyframes wave {
  0% {
    transform: rotate(0deg) scale(1.2);
  }
  25% {
    transform: rotate(15deg) scale(1.2);
  }
  50% {
    transform: rotate(-15deg) scale(1.2);
  }
  75% {
    transform: rotate(10deg) scale(1.2);
  }
  100% {
    transform: rotate(0deg) scale(1.2);
  }
}
@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Cursor */
.cursor-dot {
  position: fixed;
  width: 15px;
  height: 15px;
  background: var(--pop-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: none;
}
@media (min-width: 992px) {
  .cursor-dot {
    display: block;
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .hero-img {
    height: 75vh;
  }
  .caption-content {
    padding: 20px;
    width: 90%;
  }
  .carousel-stage {
    transform: scale(0.7);
    perspective: 800px;
  }
  .book-card {
    transform: rotateY(calc((var(--i) - 1) * 60deg)) translateZ(250px);
  }
  .testimonial-mascot-wrap {
    display: none;
  }
}

/* =========================================
   NEW STYLES FOR ABOUT US PAGE (Image Hero + Agour)
   ========================================= */

/* 1. Hero with Image Background */
.about-hero-image-section {
  position: relative;
  /* Use a nice cartoonish/office background image */
  background: url("https://img.freepik.com/free-photo/kids-drawing-with-crayons_23-2148113429.jpg?w=1380")
    no-repeat center center/cover;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(29, 53, 87, 0.75); /* Navy Blue Overlay */
  z-index: 1;
}
.floating-shape {
  position: absolute;
  font-size: 3rem;
  animation: floatIcon 4s ease-in-out infinite;
  z-index: 2;
}
.shape-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}
.shape-2 {
  bottom: 30%;
  right: 15%;
  animation-delay: 1.5s;
  font-size: 4rem;
}

.title-underline {
  width: 80px;
  height: 6px;
  background: var(--pop-yellow);
  margin: 15px auto;
  border-radius: 10px;
}
.ls-2 {
  letter-spacing: 2px;
}

/* 2. Story Section Enhancements (Now Dark Blue) */
.about-story-dark {
  background-color: var(--navy-blue);
  color: white;
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-story-dark p strong {
  color: var(--pop-yellow);
}

.story-img-wrapper {
  position: relative;
  padding: 10px;
}
.border-cartoon {
  border: 5px solid white;
  box-shadow: 10px 10px 0 var(--pop-yellow);
}
/* Changed dots to white for contrast */
.dots-deco.white-dots {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.3) 2px,
    transparent 2px
  );
  background-size: 15px 15px;
  z-index: -1;
}

/* Responsive Mascot */
.about-mascot-container {
  position: absolute;
  right: 10px;
  bottom: -60px;
  z-index: 10;
  animation: floatIcon 3s ease-in-out infinite;
}
.about-robot-img {
  width: 120px;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}
.robot-speech {
  position: absolute;
  top: -40px;
  right: 80px;
  background: white;
  color: black;
  padding: 5px 15px;
  border-radius: 20px 20px 0 20px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.about-mascot-container:hover .robot-speech {
  opacity: 1;
}

/* Red Overlay Badge (Agour Style) */
.overlay-badge-red {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--pop-red);
  color: white;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.4);
  text-align: center;
  border: 3px solid white;
}
.overlay-badge-red h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.overlay-badge-red span {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
}

.text-navy {
  color: var(--navy-blue);
}

/* Yellow cartoon button for dark backgrounds */
.btn-cartoon-yellow {
  background-color: var(--pop-yellow);
  color: var(--navy-blue) !important;
  border-radius: 50px;
  padding: 8px 25px !important;
  box-shadow: 0 4px 0px #c79100;
  transition: all 0.1s;
  font-family: var(--font-heading);
  font-weight: bold;
  border: none;
}

.btn-cartoon-yellow:hover {
  transform: translateY(4px);
  box-shadow: 0 0 0px #c79100;
  background-color: #ffc107;
}

/* 3. Vertical Timeline (Agour Style) */
.timeline-section-agour {
  padding: 80px 0;
  background: #fdfdfd;
}

.timeline-central-line {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}
/* The Grey Line in Middle */
.timeline-central-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #e0e0e0;
  transform: translateX(-50%);
}

.timeline-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}

.timeline-content {
  width: 45%;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--navy-blue);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
/* NEW HOVER ANIMATION */
.timeline-content.hover-zoom:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 5;
  border-color: var(--pop-yellow);
}

.timeline-content h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-blue);
}
.year-header {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--font-heading);
  margin-bottom: 5px;
}

/* Central Dot */
.timeline-dot {
  width: 20px;
  height: 20px;
  background: white;
  border: 4px solid var(--pop-yellow);
  border-radius: 50%;
  z-index: 2;
  margin: 0 20px;
}
.timeline-empty {
  width: 45%;
}

/* 4. Team Section */
.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.team-card:hover {
  transform: translateY(-10px);
}
.team-img-box {
  height: 250px;
  overflow: hidden;
}
.team-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.team-card:hover .team-img-box img {
  transform: scale(1.1);
}
.team-info {
  padding: 20px;
}
.team-info h4 {
  font-family: var(--font-heading);
  color: var(--navy-blue);
  margin-bottom: 5px;
}
.team-info .role {
  color: var(--pop-red);
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}
.team-social a {
  color: #999;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.team-social a:hover {
  color: var(--navy-blue);
}

/* 5. Choose Us Section */
.choose-card {
  padding: 30px;
  border-radius: 20px;
  background: #f8f9fa;
  text-align: center;
  border: 2px dashed transparent;
  transition: all 0.3s;
}
.choose-card:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.choose-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}
.c-blue .choose-icon {
  background: var(--navy-blue);
}
.c-blue:hover {
  border-color: var(--navy-blue);
}

.c-red .choose-icon {
  background: var(--pop-red);
}
.c-red:hover {
  border-color: var(--pop-red);
}

.c-yellow .choose-icon {
  background: var(--pop-yellow);
}
.c-yellow:hover {
  border-color: var(--pop-yellow);
}

/* Same Rocket/Newsletter Styles from Home */
/* (Already included above in styles) */

/* Mobile Timeline Adjustments */
@media (max-width: 768px) {
  .timeline-central-line::before {
    left: 20px;
  }
  .timeline-row {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
  }
  .timeline-content {
    width: 100%;
    margin-bottom: 20px;
  }
  .timeline-dot {
    position: absolute;
    left: 6px;
    top: 25px;
    margin: 0;
  }
  .timeline-empty {
    display: none;
  }
  .about-mascot-container {
    display: none;
  } /* Hide mascot on mobile */
}
/* ================= AWARDS SECTION ================= */

.awards-section {
  background-color: var(--navy-blue); /* Uses your existing blue theme */
  padding: 80px 0;
  border-top: 5px solid var(--pop-yellow); /* Nice yellow separator line */
  position: relative;
  overflow: hidden;
}

.award-card {
  background: rgba(255, 255, 255, 0.1); /* See-through glass effect */
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  color: white;
  backdrop-filter: blur(5px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.award-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(255, 183, 3, 0.3); /* Gold glow on hover */
  border-color: var(--pop-yellow);
}

.award-icon-box {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--pop-yellow); /* Gold Icon */
  font-size: 2.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.award-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.award-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  font-family: var(--font-body);
}

/* Staggered bouncing delays */
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

/* .bounce-hover {
  animation: floatIcon 4s ease-in-out infinite;
} */

/* ================= EBOOKS PAGE STYLES ================= */

/* Simple Header */
.ebooks-header {
  background-color: var(--soft-bg); /* Use theme variable */
  padding-top: 120px;
  padding-bottom: 40px;
}

.text-navy {
  color: var(--navy-blue);
  font-weight: 700;
}

/* Rectangular Ebook Card */
.ebook-card-rect {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  height: 100%; /* Uniform height */
  display: flex;
  flex-direction: column;
}

.ebook-card-rect:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(29, 53, 87, 0.15);
  border-color: var(--pop-yellow); /* Highlight on hover */
}

/* Image Container */
.ebook-img-box {
  width: 100%;
  height: 250px; /* Fixed height for image area */
  overflow: hidden;
  position: relative;
  background-color: #f8f9fa;
}

.ebook-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers area without stretch */
  transition: transform 0.5s ease;
}

.ebook-card-rect:hover .ebook-img-box img {
  transform: scale(1.05); /* Slight zoom on hover */
}

/* "New" Badge */
.badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--pop-red);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Details Section */
.ebook-details {
  padding: 20px;
  text-align: center;
  flex-grow: 1; /* Pushes content to fill height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-title {
  font-family: var(--font-heading);
  color: var(--navy-blue);
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Flipbook Button */
.btn-flipbook {
  background-color: var(--navy-blue);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.2s;
  width: 100%;
}

.btn-flipbook:hover {
  background-color: var(--pop-yellow);
  color: var(--navy-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Ensure navbar links on Ebooks page are consistent */
.nav-link.active {
  color: var(--pop-red) !important;
  font-weight: 700;
}

/* ================= CONTACT PAGE STYLES ================= */

/* 1. Header */
.contact-header {
  background: radial-gradient(circle at center, #1d3557, #457b9d);
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

/* 2. Flip Cards Section */
.contact-flip-wrap {
  background-color: transparent;
  width: 100%;
  height: 250px;
  perspective: 1000px;
  cursor: pointer;
}

.contact-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.contact-flip-wrap:hover .contact-flip-inner {
  transform: rotateY(180deg);
}

.contact-front,
.contact-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
}

.contact-front {
  color: white;
}
.contact-front.bg-blue {
  background-color: var(--navy-blue);
}
.contact-front.bg-red {
  background-color: var(--pop-red);
}
.contact-front.bg-yellow {
  background-color: var(--pop-yellow);
  color: var(--navy-blue);
}

.flip-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.1));
}

.contact-front h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 0;
}

.contact-back {
  background-color: white;
  color: var(--navy-blue);
  transform: rotateY(180deg);
  border-color: var(--navy-blue);
}

.contact-back h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--pop-red);
  text-transform: uppercase;
}

.contact-back p {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

/* 3. Contact Form Container (Updated to Blue) */
.contact-container {
  background-color: var(--navy-blue); /* Solid Blue Background */
  border-radius: 30px;
  overflow: hidden;
  border: 5px solid var(--navy-blue);
}

.contact-img-side {
  background-color: var(--navy-blue); /* Ensure Image side is also blue */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

/* Make sure input fields are white with dark text so they are usable */
.cartoon-input-group {
  background: white;
  border-radius: 15px; /* Softer radius for form fields */
  padding: 10px;
}

.cartoon-input-group input,
.cartoon-input-group textarea,
.cartoon-input-group select {
  color: #333 !important; /* Dark text inside inputs */
  background: transparent;
  border: none;
  width: 100%;
}

.cartoon-input-group input::placeholder,
.cartoon-input-group textarea::placeholder {
  color: #888;
}

/* Yellow Button Style */
.btn-cartoon-yellow {
  background-color: var(--pop-yellow);
  color: var(--navy-blue);
  font-weight: bold;
  border-radius: 50px;
  border: none;
  box-shadow: 0 5px 0 #c79100;
  transition: all 0.2s;
}
.btn-cartoon-yellow:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c79100;
  background-color: #ffc107;
}
/* ================= SPLIT MAP SECTION ================= */

.map-split-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 5px solid var(--pop-yellow); /* Separator line */
}

/* Map Wrapper Styling */
.map-frame-wrapper {
  border: 5px solid var(--navy-blue);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 10px 10px 0px rgba(29, 53, 87, 0.1); /* Cartoon shadow */
  background: white;
  height: 400px; /* Fixed height for consistency */
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* Text Side Icons */
.icon-box-small {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Background colors for icons */
.bg-blue {
  background-color: var(--navy-blue);
}
.bg-red {
  background-color: var(--pop-red);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .map-frame-wrapper {
    height: 300px;
    margin-top: 30px;
  }
}
/* --- Mobile Tweak: Hide Logo Text --- */
@media (max-width: 768px) {
    .brand-text {
        display: none;
    }
}
