/**
 * Play Studio by Party Mantra - Kid-Friendly Theme
 * Brand Colors: Yellow #F5B21A | Blue #2C6BAA | Orange #F39C12
 */

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Import Playful Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
  --default-font: "Nunito", "Fredoka", system-ui, sans-serif;
  --heading-font: "Fredoka", "Nunito", sans-serif;
  --nav-font: "Nunito", sans-serif;
}

/* Brand Colors */
:root {
  --yellow: #F5B21A;
  --blue: #2C6BAA;
  --orange: #F39C12;
  --yellow-light: #FEF3C7;
  --blue-light: #DBEAFE;
  --orange-light: #FED7AA;
  --white: #FFFFFF;
  --dark: #1a2332;
  --gray-text: #4B5563;
}

/* Global Colors */
:root {
  --background-color: #FFFBF0;
  --default-color: #1a2332;
  --heading-color: #2C6BAA;
  --accent-color: #F39C12;
  --surface-color: #FFFFFF;
  --contrast-color: #FFFFFF;
}

/* Nav Menu Colors */
:root {
  --nav-color: #2C6BAA;
  --nav-hover-color: #F39C12;
  --nav-mobile-background-color: #FFFFFF;
  --nav-dropdown-background-color: #FFFFFF;
  --nav-dropdown-color: #1a2332;
  --nav-dropdown-hover-color: #F39C12;
}

/* Light Background Sections */
.light-background {
  --background-color: #EFF6FF;
  --surface-color: #FFFFFF;
}

/* Dark Background Sections */
.dark-background {
  --background-color: #1e3a5e;
  --default-color: #FFFFFF;
  --heading-color: #F5B21A;
  --surface-color: #2C6BAA;
  --contrast-color: #FFFFFF;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Global Keyframe Animations
--------------------------------------------------------------*/
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes floatUp {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(-110vh); opacity: 0; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 178, 26, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(245, 178, 26, 0); }
}

@keyframes starSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes morphShape {
  0%   { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25%  { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50%  { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75%  { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes wobble {
  0%, 100% { transform: translateX(0); }
  15%  { transform: translateX(-8px) rotate(-3deg); }
  30%  { transform: translateX(6px) rotate(3deg); }
  45%  { transform: translateX(-4px) rotate(-2deg); }
  60%  { transform: translateX(3px) rotate(1deg); }
  75%  { transform: translateX(-2px); }
}

@keyframes rainbowShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatBubble {
  0%   { transform: translateY(0) scale(1); opacity: 0.8; }
  50%  { transform: translateY(-20px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.8; }
}

@keyframes php-email-form-loading {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  background-image:
    radial-gradient(circle at 10% 15%, rgba(245,178,26,0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 85%, rgba(44,107,170,0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(243,156,18,0.04) 0%, transparent 60%);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--blue);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  letter-spacing: 0.02em;
}

/* PHP Email Form Messages */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 10px;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 10px;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  border-radius: 10px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: transparent;
  padding: 16px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .header-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 60px;
  padding: 8px 30px;
  box-shadow: 0 4px 24px rgba(44, 107, 170, 0.473),
              0 0 0 3px rgba(26, 121, 245, 0.2);
  border: 2px solid #2c6baa;
}

.header .logo {
  line-height: 1;
  text-decoration: none;
}

.header .logo img {
  max-height: 56px;
  margin-right: 10px;
  transition: transform 0.4s ease;
}

.logo-mobile {
  display: none;
}

@media (max-width: 1199px) {
  .logo-desktop {
    display: none;
  }
  .logo-mobile {
    display: block;
    max-height: 45px !important;
  }
}

.header .logo img:hover {
  transform: rotate(-5deg) scale(1.1);
  animation: wiggle 0.5s ease;
}

.header .logo h1 {
  font-family: var(--heading-font);
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
}

.header .header-social-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 8px;
}

.header .header-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 107, 170, 0.1);
  color: var(--blue);
  font-size: 16px;
  transition: all 0.3s;
}

.header .header-social-links a:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-3px);
}

.header .header-social-links a i {
  line-height: 0;
}

@media (max-width: 1200px) {
  .header {
    padding-top: 10px;
  }

  .header .header-container {
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 15px;
    border-radius: 20px;
  }

  .header .logo { order: 1; }
  .header .header-social-links { order: 2; }
  .header .navmenu { order: 3; }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--blue);
    padding: 8px 16px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 30px;
    letter-spacing: 0.3px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 15px;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--dark);
    background: var(--yellow);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 16px;
    z-index: 99;
    box-shadow: 0 8px 30px rgba(44,107,170,0.15);
    border: 2px solid rgba(245,178,26,0.2);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
    border-radius: 0;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
    background: rgba(245,178,26,0.1);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--blue);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 9999;
    position: relative;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 20px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0 8px 30px rgba(44,107,170,0.2);
    border: 2px solid rgba(245,178,26,0.3);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--blue);
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: rgba(245,178,26,0.15);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--yellow);
    color: var(--dark);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--orange);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--yellow);
    color: var(--dark);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: rgba(245,178,26,0.05);
    border: 1px solid rgba(245,178,26,0.2);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
    border-radius: 12px;
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(245,178,26,0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(44, 107, 170, 0.85);
    backdrop-filter: blur(4px);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block !important;
  }

  /* Fix for fixed positioning being trapped by backdrop-filter containing block */
  body.mobile-nav-active .header-container {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--white);
  background: linear-gradient(135deg, #1e3a5e 0%, #2C6BAA 100%);
  font-size: 15px;
  padding: 50px 0 30px;
  position: relative;
  overflow: hidden;
  font-family: 'Nunito', sans-serif;
}

.footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--blue), var(--yellow));
  background-size: 300% 300%;
  animation: rainbowShift 4s ease infinite;
}

.footer .copyright p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

.footer .social-links {
  margin-top: 20px;
  gap: 12px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(245,178,26,0.5);
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin: 0 5px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--dark);
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-4px) scale(1.1);
}

.footer .credits {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

.footer .credits a {
  color: rgba(245,178,26,0.8);
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: -15px;
  z-index: 99999;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.4s;
  box-shadow: 0 4px 15px rgba(245,178,26,0.4);
  border: 3px solid rgba(255,255,255,0.5);
}

.scroll-top i {
  font-size: 26px;
  color: var(--dark);
  line-height: 0;
}

.scroll-top:hover {
  background: linear-gradient(135deg, var(--blue), #1e5a96);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(44,107,170,0.4);
}

.scroll-top:hover i {
  color: white;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 20px;
  animation: bounce 2s ease infinite;
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  /* background-color: var(--background-color); */
  padding: 70px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section, .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-family: var(--heading-font);
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--blue);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 5px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  border-radius: 10px;
  margin: 8px auto 0;
}

.section-title .title-shape {
  width: 220px;
  height: 24px;
  margin: 5px auto 0;
  color: var(--yellow);
  opacity: 0.7;
}

.section-title .title-shape svg {
  width: 100%;
  height: 100%;
}

.section-title p {
  margin: 18px auto 0;
  font-size: 17px;
  max-width: 700px;
  color: var(--gray-text);
  line-height: 1.7;
  font-weight: 500;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 32px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 45px 0 70px;
  position: relative;
  overflow: hidden;
  /* background: linear-gradient(135deg, #FFFBF0 0%, #EFF6FF 50%, #FEF9EC 100%); */
  background: transparent;
}

/* Floating background bubbles */
.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,178,26,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
  animation: floatBubble 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,107,170,0.1) 0%, transparent 70%);
  bottom: -50px;
  left: -80px;
  z-index: 0;
  animation: floatBubble 8s ease-in-out infinite reverse;
}

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

.hero .content h2 {
  font-family: var(--heading-font);
  font-size: 5rem;
  font-weight:bolder;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  color: var(--blue);
  text-shadow: 4px 4px 0 #ffffff, 7px 7px 0 rgba(0, 0, 0, .06);
}

.hero .content h2 span {
  color: var(--orange);
  display: inline-block;
  position: relative;
}

@media (max-width: 991px) {
  .hero .content h2 {
    font-size: 3.4rem;
  }
}

.hero .content .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray-text);
  font-weight: 500;
  line-height: 1.7;
}

.hero .cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hero .cta-buttons {
    flex-direction: column;
  }
}

.hero .cta-buttons .btn {
  padding: 0.85rem 2.2rem;
  font-size: 1.05rem;
  font-weight: bolder;
  font-family: 'Fredoka One', cursive;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.hero .cta-buttons .btn.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  border: none;
  color: white;
  box-shadow: 0 5px 0 #c8660a, 0 8px 20px rgba(247, 147, 30, .35);
}

.hero .cta-buttons .btn.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 5px 0 #c8660a, 0 8px 20px rgba(247, 147, 30, .35);
}

.hero .cta-buttons .btn.btn-outline {
  border: 3px solid var(--blue);
  color: var(--blue);
  background: transparent;
  font-weight: 700;
  box-shadow: 0 5px 0 var(--blue), 0 8px 20px rgba(247, 147, 30, .35);

}

.hero .cta-buttons .btn.btn-outline:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 5px 0 var(--blue), 0 8px 20px rgba(247, 147, 30, .35);
}

.hero .hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hero .hero-stats {
    flex-direction: column;
    gap: 1.2rem;
  }
}

.hero .hero-stats .stat-item {
  text-align: center;
  background: white;
  padding: 16px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(44,107,170,0.12);
  border: 2px solid rgba(245,178,26,0.2);
  transition: transform 0.3s;
}

.hero .hero-stats .stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--yellow);
}

.hero .hero-stats .stat-item .stat-number {
  display: block;
  font-family: var(--heading-font);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.hero .hero-stats .stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--blue);
  margin-top: 0.4rem;
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero .hero-image {
  position: relative;
  padding: 2rem;
  z-index: 2;
  text-align: center;
}

.hero .hero-image img {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 15px 40px rgba(44,107,170,0.25));
  animation: floatBubble 4s ease-in-out infinite;
  max-width: 80%;
  margin: 0 auto;
}

.hero .hero-image .shape-1,
.hero .hero-image .shape-2 {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
}

.hero .hero-image .shape-1 {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(245,178,26,0.25), rgba(243,156,18,0.15));
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  animation: morphShape 12s linear infinite;
}

.hero .hero-image .shape-2 {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, rgba(44,107,170,0.2), rgba(44,107,170,0.1));
  bottom: 10%;
  left: 15%;
  animation: morphShape 18s linear infinite reverse;
}

@media (max-width: 991px) {
  .hero {
    text-align: center;
    padding: 0 0 50px;
  }

  .hero .cta-buttons {
    justify-content: center;
  }

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

  .hero .hero-image {
    margin-top: 2rem;
  }

  .hero .hero-image img {
    max-width: 65%;
  }

  .hero .hero-image .shape-1 {
    width: 220px;
    height: 220px;
  }

  .hero .hero-image .shape-2 {
    width: 140px;
    height: 140px;
  }
}

/* Floating emoji decorations in hero */
.hero-emoji-decor {
  position: absolute;
  font-size: 2.5rem;
  z-index: 1;
  pointer-events: none;
  animation: floatBubble 3s ease-in-out infinite;
  user-select: none;
}

.hero-emoji-decor.e1 { top: 10%; left: 5%; animation-delay: 0s; font-size: 2rem; }
.hero-emoji-decor.e2 { top: 60%; left: 2%; animation-delay: 1s; font-size: 1.8rem; }
.hero-emoji-decor.e3 { top: 20%; right: 3%; animation-delay: 0.5s; font-size: 2.2rem; }
.hero-emoji-decor.e4 { top: 70%; right: 5%; animation-delay: 1.5s; font-size: 1.6rem; }
.hero-emoji-decor.e5 { bottom: 15%; left: 15%; animation-delay: 2s; font-size: 2rem; }

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFBF0 100%);
}

.about .about-image {
  position: relative;
}

.about .about-image img {
  box-shadow: 0 12px 40px rgba(44,107,170,0.2);
  border: 5px solid rgba(245,178,26,0.3);
  border-radius: 24px;
}

.about .about-content {
  padding-left: 2rem;
}

@media (max-width: 991.98px) {
  .about .about-content {
    padding-left: 0;
    margin-top: 3rem;
  }
}

.about .about-content .subtitle {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(243,156,18,0.1);
  padding: 5px 14px;
  border-radius: 20px;
}

.about .about-content h2 {
  font-family: var(--heading-font);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--blue);
}

.about .about-content .lead {
  font-size: 1.05rem;
  color: var(--gray-text);
  font-weight: 500;
  line-height: 1.75;
}

.about .personal-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(44,107,170,0.1);
  border: 2px solid rgba(245,178,26,0.2);
}

.about .personal-info .info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.2s;
}

.about .personal-info .info-item:hover {
  background: rgba(245,178,26,0.08);
}

.about .personal-info .info-item .label {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about .personal-info .info-item .value {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
  word-break: break-all;
  overflow-wrap: break-word;
}

.about .signature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about .signature .signature-image {
  max-width: 150px;
}

.about .signature .signature-info h4 {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: var(--blue);
}

.about .signature .signature-info p {
  font-size: 0.875rem;
  color: var(--gray-text);
  margin: 0;
}

/*--------------------------------------------------------------
# Services Section  (used for the portfolio/services cards)
--------------------------------------------------------------*/
.services {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFFBF0, #EFF6FF);
}

.services .servies-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--blue);
}

.services .btn-outline-primary {
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.services .btn-outline-primary:hover {
  background-color: var(--blue);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44,107,170,0.3);
}

.services .service-item {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(44,107,170,0.1);
  height: 100%;
  transition: all 0.35s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.services .service-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  border-radius: 20px 20px 0 0;
}

.services .service-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 16px 40px rgba(44,107,170,0.2);
  border-color: rgba(245,178,26,0.4);
}

.services .service-item i {
  font-size: 2.8rem;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.services .service-item:hover i {
  transform: scale(1.2) rotate(-5deg);
}

.services .service-item h3 {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--blue);
}

.services .service-item h3 a { color: var(--blue); }
.services .service-item h3 a:hover { color: var(--orange); }

.services .service-item p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.65;
}

@media (max-width: 991px) {
  .services h2 { font-size: 2rem; }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters-container {
  margin-bottom: 40px;
}

.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.portfolio .portfolio-filters li {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--heading-font);
  padding: 8px 22px;
  cursor: pointer;
  border-radius: 30px;
  background: white;
  color: var(--blue);
  border: 2px solid rgba(44,107,170,0.2);
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover {
  background: rgba(245,178,26,0.15);
  color: var(--orange);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.portfolio .portfolio-filters li.filter-active {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--dark);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(245,178,26,0.4);
}

.portfolio .portfolio-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(44,107,170,0.1);
  transition: all 0.35s ease-in-out;
  border: 2px solid transparent;
}

.portfolio .portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 45px rgba(44,107,170,0.2);
  border-color: rgba(245,178,26,0.4);
}

.portfolio .portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card:hover .portfolio-overlay .portfolio-actions {
  transform: translateY(0);
}

.portfolio .portfolio-card .portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.portfolio .portfolio-card .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}

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

.portfolio .portfolio-card .portfolio-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(44,107,170,0.85), rgba(44,107,170,0.2));
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions {
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
  display: flex;
  gap: 12px;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a {
  width: 46px; height: 46px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: scale(1.15);
}

.portfolio .portfolio-card .portfolio-content {
  padding: 22px;
}

.portfolio .portfolio-card .portfolio-content .category {
  font-size: 13px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
  background: rgba(243,156,18,0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

.portfolio .portfolio-card .portfolio-content h3 {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--blue);
  transition: color 0.3s ease;
}

.portfolio .portfolio-card .portfolio-content h3:hover {
  color: var(--orange);
}

.portfolio .portfolio-card .portfolio-content p {
  font-size: 14px;
  color: var(--gray-text);
  margin: 0;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/
.blogs {
  position: relative;
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFBF0 100%);
  overflow: visible;
}

/* Floating kids emoji layer */
.kids-floats {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.float-item {
  position: absolute;
  font-size: 1.6rem;
  animation: floatBubble 4s ease-in-out infinite;
  opacity: 0.6;
  user-select: none;
}

.float-item.f1  { top: 8%;  left: 4%;  animation-delay: 0s;    font-size: 2rem; }
.float-item.f2  { top: 15%; right: 6%; animation-delay: 0.7s;  font-size: 1.8rem; }
.float-item.f3  { top: 55%; left: 3%;  animation-delay: 1.4s;  font-size: 1.5rem; }

/* Responsive Adjustments for About Section Image Positioning */
@media (min-width: 992px) {
  .about-image-col {
    bottom: 100px;
  }
}
@media (max-width: 991px) {
  .about-image img {
    max-width: 100% !important;
    height: auto;
  }
}
.float-item.f4  { top: 70%; right: 4%; animation-delay: 2.1s;  font-size: 1.9rem; }
.float-item.f5  { top: 30%; left: 8%;  animation-delay: 0.3s;  font-size: 1.4rem; }
.float-item.f6  { top: 40%; right: 7%; animation-delay: 1.0s;  font-size: 2.2rem; }
.float-item.f7  { top: 80%; left: 12%; animation-delay: 1.8s;  font-size: 1.6rem; }
.float-item.f8  { top: 5%;  left: 50%; animation-delay: 2.5s;  font-size: 1.3rem; }

.blogs .container {
  position: relative;
  z-index: 1;
}

.blogs .section-title {
  position: relative;
  z-index: 1;
}

.blog-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(44,107,170,0.1);
  transition: all 0.35s ease;
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(44,107,170,0.2);
  border-color: rgba(245,178,26,0.45);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

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

.blog-category {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--dark);
  font-size: 12px;
  font-weight: 800;
  font-family: var(--heading-font);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(245,178,26,0.4);
}

.blog-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--blue);
  flex-wrap: wrap;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.blog-meta i { color: var(--orange); }

.blog-title {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-desc {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
  padding: 6px 14px;
  background: rgba(243,156,18,0.1);
  border-radius: 20px;
  width: fit-content;
}

.blog-read-more:hover {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--dark);
  transform: translateX(4px);
}

.blog-read-more i {
  transition: transform 0.3s;
}

.blog-read-more:hover i {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq {
  background: linear-gradient(135deg, #FFFBF0, #EFF6FF);
}

.faq .faq-container .faq-item {
  background: white;
  position: relative;
  padding: 20px 24px;
  margin-bottom: 14px;
  border: 2px solid rgba(44,107,170,0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  margin: 0 35px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--dark);
}

.faq .faq-container .faq-item h3 .num {
  color: var(--orange);
  padding-right: 8px;
  font-size: 1.2rem;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--blue);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.75;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 18px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
  color: var(--blue);
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--orange);
}

.faq .faq-container .faq-active {
  background: linear-gradient(135deg, rgba(245,178,26,0.06), rgba(44,107,170,0.06));
  border-color: rgba(245,178,26,0.4);
  box-shadow: 0 4px 20px rgba(245,178,26,0.12);
}

.faq .faq-container .faq-active h3 {
  color: var(--blue);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 12px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--orange);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFBF0 100%);
}

.contact .section-category {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  display: inline-block;
  background: rgba(243,156,18,0.1);
  padding: 5px 14px;
  border-radius: 20px;
}

.contact .content h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
  font-size: 2.2rem;
}

.contact .content .lead {
  color: var(--gray-text);
  font-size: 1.05rem;
  font-weight: 500;
}

.contact .contact-info .info-item {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
  align-items: flex-start;
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  border: 1.5px solid rgba(44,107,170,0.12);
  transition: border-color 0.3s;
}

.contact .contact-info .info-item:hover {
  border-color: rgba(245,178,26,0.5);
}

.contact .contact-info .info-item i {
  color: var(--orange);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact .contact-info .map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), #1e5a96);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(44,107,170,0.3);
}

.contact .contact-info .map-link:hover {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243,156,18,0.35);
}

.contact .contact-info .map-link i {
  transition: transform 0.3s ease;
  color: inherit;
  font-size: inherit;
}

.contact .contact-info .map-link:hover i {
  transform: translateX(5px);
}

.contact .contact-form {
  background: white;
  border: 2px solid rgba(245,178,26,0.25);
  box-shadow: 0 8px 35px rgba(44,107,170,0.12);
  border-radius: 24px;
  overflow: hidden;
}

.contact .contact-form .card-body {
  padding: 2rem;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.8rem 1.25rem;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--default-font);
  background: #FAFAFA;
  transition: all 0.3s;
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,178,26,0.15);
  background: white;
}

.contact .contact-form .form-control::placeholder,
.contact .contact-form .form-select::placeholder {
  color: #aaa;
  font-size: 0.95rem;
}

.contact .contact-form .btn-submit {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: white;
  padding: 0.85rem 2rem;
  font-weight: 800;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  border-radius: 12px;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 0 #c8660a, 0 12px 24px rgba(42, 127, 202, .14); 
}

.contact .contact-form .btn-submit:hover {
  background: linear-gradient(135deg, var(--blue), #1e5a96);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44,107,170,0.35);
}

/*--------------------------------------------------------------
# Page Title & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  text-align: center;
  padding: 20px 0;
}

.page-title .title-wrapper h1 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--blue);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: var(--gray-text);
  margin: 0;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Testimonials / Swiper Section
--------------------------------------------------------------*/
.testimonials .testimonials-slider {
  width: 100%;
  position: relative;
  padding-bottom: 60px;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .testimonial-item {
  background: white;
  padding: 35px;
  border-radius: 24px;
  border: 2px solid rgba(245,178,26,0.2);
  box-shadow: 0 6px 24px rgba(44,107,170,0.1);
}

@media (max-width: 575px) {
  .testimonials .testimonial-item {
    padding: 20px;
  }
}

.testimonials .testimonial-item h2 {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--blue);
}

.testimonials .testimonial-item p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
  color: var(--gray-text);
}

.testimonials .testimonial-item .profile {
  gap: 15px;
}

.testimonials .testimonial-item .profile .profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--yellow);
}

.testimonials .testimonial-item .profile .profile-info h3 {
  font-family: var(--heading-font);
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: var(--blue);
}

.testimonials .testimonial-item .profile .profile-info span {
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
}

.testimonials .swiper-navigation {
  position: absolute;
  bottom: 0;
  gap: 10px;
}

.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
  position: relative;
  left: auto; right: auto; top: auto;
  margin: 0;
  width: 44px; height: 44px;
  background: white;
  border-radius: 50%;
  border: 2px solid rgba(245,178,26,0.3);
  transition: 0.3s;
}

.testimonials .swiper-button-prev::after,
.testimonials .swiper-button-next::after {
  font-size: 18px;
  color: var(--blue);
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.testimonials .swiper-button-prev:hover::after,
.testimonials .swiper-button-next:hover::after {
  color: var(--dark);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-info h3 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--blue);
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  border-radius: 10px;
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
  font-size: 13px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--dark);
  border-radius: 50px;
  font-weight: 700;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: linear-gradient(135deg, var(--blue), #1e5a96);
  color: white;
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-details-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  z-index: 1;
}

.service-details .service-details-slider .swiper-wrapper {
  height: auto !important;
}

.service-details .content h3 {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--blue);
}

.service-details .content p {
  color: var(--gray-text);
  margin-bottom: 15px;
  line-height: 1.7;
}

.service-details .content .features .feature-box {
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(44,107,170,0.08);
  height: 100%;
  transition: 0.3s;
  border: 2px solid transparent;
}

.service-details .content .features .feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(245,178,26,0.3);
}

.service-details .content .features .feature-box i {
  font-size: 24px;
  color: var(--orange);
  margin-right: 15px;
}

.service-details .content .features .feature-box h4 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--blue);
}

.service-details .service-info {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(44,107,170,0.1);
  border: 2px solid rgba(245,178,26,0.2);
}

.service-details .service-info h4 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  color: var(--blue);
  border-bottom: 3px solid rgba(245,178,26,0.3);
}

.service-details .related-services {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(44,107,170,0.1);
  border: 2px solid rgba(245,178,26,0.2);
}

.service-details .related-services h4 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  color: var(--blue);
  border-bottom: 3px solid rgba(245,178,26,0.3);
}

.service-details .related-services .service-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(44,107,170,0.1);
}

.service-details .related-services .service-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-details .related-services .service-item i {
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 10px;
}

.service-details .related-services .service-item h5 {
  font-family: var(--heading-font);
  font-size: 18px;
  margin-bottom: 10px;
}

.service-details .related-services .service-item h5 a {
  color: var(--blue);
  transition: 0.3s;
}

.service-details .related-services .service-item h5 a:hover {
  color: var(--orange);
}

.service-details .related-services .service-item p {
  color: var(--gray-text);
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .service-details .service-info,
  .service-details .related-services {
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Starter Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Fun Kid-Friendly Extras
--------------------------------------------------------------*/

/* Wavy section dividers */
.section-wave {
  position: relative;
}

.section-wave::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0,20 C300,40 600,0 900,20 C1050,30 1150,10 1200,20 L1200,40 L0,40 Z' fill='%23EFF6FF'/%3E%3C/svg%3E") center/cover no-repeat;
}

/* Playful pill badges */
.fun-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--dark);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

/* Decorative dots pattern */
.dots-pattern {
  background-image: radial-gradient(circle, rgba(44,107,170,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Bounce animation helper class */
.anim-bounce { animation: bounce 2s ease infinite; }
.anim-wiggle { animation: wiggle 1.5s ease infinite; }
.anim-float  { animation: floatBubble 4s ease-in-out infinite; }

/*--------------------------------------------------------------
# Falling Circles Background Animation
--------------------------------------------------------------*/

/* Fixed full-screen container — always behind everything */
#circles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;       /* Never blocks clicks / taps      */
  z-index: 0;                 /* Sits behind all page content    */
  /* Fade-to-transparent at the bottom so circles vanish softly */
  -webkit-mask-image: linear-gradient(to bottom,
      black 60%,              /* fully visible for top 60 %      */
      transparent 100%);      /* fades out toward footer          */
          mask-image: linear-gradient(to bottom,
      black 60%,
      transparent 100%);
}

/* Individual falling circle */
.fall-circle {
  position: absolute;
  top: -120px;                /* start just above the viewport   */
  border-radius: 50%;
  opacity: 0;
  /* Glow makes them look soft and kid-friendly */
  filter: blur(1.5px) brightness(1.15);
  /* The animation name is set inline by JS (fallCircle-N) */
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

/* ---- Vertical fall + horizontal drift keyframes ---- */

/* The JS generates a unique keyframe per circle (different drift)
   but we also define a set of named ones for CSS-only fallback.
   Each moves 110 vh downward with a gentle sine-wave sway.      */

@keyframes fallCircle-straight {
  0%   { transform: translateY(0)      translateX(0)     rotate(0deg);   opacity: 0;   }
  5%   {                                                                  opacity: 0.8; }
  90%  {                                                                  opacity: 0.7; }
  100% { transform: translateY(110vh)  translateX(0)     rotate(360deg); opacity: 0;   }
}

@keyframes fallCircle-left {
  0%   { transform: translateY(0)      translateX(0)     rotate(0deg);   opacity: 0;   }
  5%   {                                                                  opacity: 0.8; }
  25%  { transform: translateY(27vh)   translateX(-18px);                              }
  50%  { transform: translateY(55vh)   translateX(12px);                               }
  75%  { transform: translateY(82vh)   translateX(-22px);                              }
  100% { transform: translateY(110vh)  translateX(8px)   rotate(360deg); opacity: 0;   }
}

@keyframes fallCircle-right {
  0%   { transform: translateY(0)      translateX(0)     rotate(0deg);   opacity: 0;   }
  5%   {                                                                  opacity: 0.8; }
  25%  { transform: translateY(27vh)   translateX(20px);                               }
  50%  { transform: translateY(55vh)   translateX(-10px);                              }
  75%  { transform: translateY(82vh)   translateX(25px);                               }
  100% { transform: translateY(110vh)  translateX(-6px)  rotate(360deg); opacity: 0;   }
}

@keyframes fallCircle-zigzag {
  0%   { transform: translateY(0)      translateX(0)     scale(1);       opacity: 0;   }
  5%   {                                                                  opacity: 0.8; }
  20%  { transform: translateY(22vh)   translateX(30px)  scale(1.05);                  }
  40%  { transform: translateY(44vh)   translateX(-25px) scale(0.95);                  }
  60%  { transform: translateY(66vh)   translateX(28px)  scale(1.05);                  }
  80%  { transform: translateY(88vh)   translateX(-20px) scale(0.97);                  }
  100% { transform: translateY(110vh)  translateX(10px)  scale(1);       opacity: 0;   }
}

/* Pause on devices that prefer reduced motion (accessibility) */
@media (prefers-reduced-motion: reduce) {
  .fall-circle {
    animation-play-state: paused !important;
  }
}

.fun-icon {
    width: 48px;
    height: 48px;
}

/*--------------------------------------------------------------
# Photo Gallery Preview Section (Homepage)
--------------------------------------------------------------*/
.gallery-preview-section {
  background: transparent;
}

/* Facebook-style 1+3 grid */
.gallery-fb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(44,107,170,0.18);
  max-height: 520px;
}

.gallery-fb-main {
  height: 520px;
}

.gallery-fb-main .gallery-fb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-fb-main:hover .gallery-fb-img {
  transform: scale(1.04);
}

/* Right column: 3 stacked thumbs */
.gallery-fb-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 520px;
}

.gallery-fb-thumb {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.gallery-fb-thumb .gallery-fb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-fb-thumb:hover .gallery-fb-img {
  transform: scale(1.06);
}

/* Blurred 4th image */
.gallery-fb-blurred {
  filter: blur(4px) brightness(0.65);
}

/* Overlay on the 4th image */
.gallery-fb-more-wrap {
  position: relative;
  cursor: pointer;
}

.gallery-fb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  background: rgba(26,35,50,0.25);
  transition: background 0.3s ease;
}

.gallery-fb-overlay:hover {
  background: rgba(26,35,50,0.4);
}

.gallery-fb-overlay-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(245,178,26,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2332;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.3);
}

.gallery-fb-overlay:hover .gallery-fb-overlay-icon {
  transform: scale(1.15);
}

.gallery-fb-overlay-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: letter-spacing 0.3s ease;
}

.gallery-fb-overlay:hover .gallery-fb-overlay-text {
  letter-spacing: 0.8px;
}

@media (max-width: 768px) {
  .gallery-fb-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .gallery-fb-main {
    height: 260px;
  }
  .gallery-fb-stack {
    flex-direction: row;
    height: 160px;
  }
}