/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Brand Colors */
  --color-primary: #F28C53;       /* Warm Orange */
  --color-primary-hover: #e07a3f;
  --color-secondary: #2B4E5B;     /* Deep Slate Blue/Teal */
  --color-secondary-hover: #1e3842;
  --color-text-dark: #2B4E5B;     /* Main text headers */
  --color-text-muted: #5B707A;    /* Body text */
  --color-bg-nav: #E1F1F6;        /* Light Pastel Blue */
  --color-bg-hero: #FFF9EE;       /* Warm Cream */
  --color-white: #FFFFFF;
  --color-accent-pink: #F08080;   /* Pastel Pink for Block C */
  --color-accent-yellow: #FBD1A2; /* Pastel Yellow for Block B */
  --color-accent-teal: #9AD1D4;   /* Pastel Teal */
  
  /* Fonts */
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Layout Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 12px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 140, 83, 0.3);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(43, 78, 91, 0.3);
}

.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 12px;
  transition: var(--transition-smooth);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
  background-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-bg-nav);
  transition: var(--transition-smooth);
}

/* Sticky Navbar Styles */
.header.sticky {
  position: fixed;
  background-color: rgba(225, 241, 246, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(43, 78, 91, 0.08);
  animation: slideDown 0.4s ease-in-out;
}

.header.sticky .header-container {
  padding: 12px 24px;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1100;
}

.logo-icon {
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.06));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.5px;
}

/* Nav Menu */
.nav-menu > ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu-item {
  position: relative;
}

.menu-item > a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-dark);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-item:hover > a {
  color: var(--color-primary);
}

.nav-menu a.active-nav-link {
  color: var(--color-primary) !important;
}

.dropdown-icon {
  font-size: 10px;
  transition: var(--transition-smooth);
}

.menu-item:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--color-white);
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(43, 78, 91, 0.12);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 100;
}

/* Dropdown arrow */
.dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent var(--color-white) transparent;
}

.menu-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
  background-color: rgba(225, 241, 246, 0.5);
  color: var(--color-primary);
  padding-left: 28px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1100;
}

.search-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(43, 78, 91, 0.15);
  background: transparent;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.search-toggle-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.05);
}

.btn-get-in-touch {
  padding: 12px 24px;
  font-size: 15px;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1200;
}

.mobile-nav-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--color-text-dark);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

/* Wavy Header Bottom */
.header-wave-container {
  width: 100%;
  position: absolute;
  bottom: -40px;
  left: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 5;
}

.header-wave {
  display: block;
  width: 100%;
  height: 45px;
  fill: var(--color-bg-nav);
}

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 78, 91, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 60px;
  color: var(--color-white);
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-close:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

.search-box {
  width: 90%;
  max-width: 600px;
}

.search-box form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 100%;
  padding: 16px 60px 16px 24px;
  font-size: 20px;
  font-family: var(--font-body);
  border: none;
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--color-white);
  outline: none;
  transition: var(--transition-smooth);
}

.search-box input:focus {
  border-bottom-color: var(--color-primary);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-box button {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-box button:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--color-bg-hero);
  min-height: 100vh;
  padding: 160px 0 100px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Reset opacity of text in non-active slides for smooth transition */
.hero-slide .hero-subtitle,
.hero-slide .hero-text,
.hero-slide .hero-buttons,
.hero-slide .hero-image-wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.hero-slide.active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.hero-slide.active .hero-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-slide.active .hero-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hero-slide.active .hero-image-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Hero Content (Left) */
.hero-content {
  flex: 1.2;
  position: relative;
  z-index: 10;
}

.hero-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.15;
  margin-bottom: 24px;
  visibility: hidden; /* Hide by default to prevent text flash before typing starts */
}

.hero-title.typed-ready {
  visibility: visible; /* Show when typewriter starts */
}

.hero-text {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

/* Hero Image Wrapper (Right) */
.hero-image-wrapper {
  flex: 0.8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.girl-photo-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 15px 30px rgba(43, 78, 91, 0.1));
  animation: floatGirl 5s ease-in-out infinite;
}

.girl-photo {
  width: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--color-white);
  border: 10px solid var(--color-white);
  overflow: hidden;
}

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

/* ==========================================================================
   DOODLES & GRAPHICS
   ========================================================================== */
.doodle-container {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.5s ease;
}

/* Wiggle Micro-animations */
.hover-wiggle {
  animation: idleWiggle 4s ease-in-out infinite;
}

@keyframes idleWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg) scale(1.02); }
  75% { transform: rotate(-3deg) scale(0.98); }
}

/* Individual Doodle Positioning */
.doodle-bee {
  top: 15%;
  left: 6%;
  animation: floatBee 8s ease-in-out infinite;
}

.doodle-rainbow {
  top: 12%;
  left: 45%;
  opacity: 0.7;
}

.doodle-pencil {
  top: 15%;
  right: 6%;
}

.doodle-car {
  bottom: 12%;
  left: 20%;
  opacity: 0.8;
  animation: floatCar 10s ease-in-out infinite;
}

.doodle-blocks {
  position: absolute;
  bottom: -20px;
  left: -90px;
  z-index: 1;
  animation: floatBlocks 6s ease-in-out infinite;
}

@keyframes floatBee {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -15px) rotate(5deg); }
}

@keyframes floatCar {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, 8px); }
}

@keyframes floatBlocks {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* Vertical Slider Pagination Dots */
.slider-dots {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dots .dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

.slider-dots .dot:hover {
  transform: scale(1.3);
}

/* Scallop Wavy Bottom Divider */
.hero-wave-container {
  width: 100%;
  position: absolute;
  bottom: -1px;
  left: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 15;
}

.hero-wave {
  display: block;
  width: 100%;
  height: 45px;
  fill: var(--color-white);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Desktop - adjust layout margins */
@media (min-width: 1400px) {
  .hero-section {
    padding-top: 180px;
  }
}

/* Tablet / Medium Screens */
@media (max-width: 1024px) {
  .header-container {
    padding: 16px 24px;
  }

  /* Hamburger Menu Show */
  .mobile-nav-toggle {
    display: flex;
  }

  /* Mobile Nav Menu drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -5px 0 30px rgba(43, 78, 91, 0.15);
    z-index: 1150;
    padding: 90px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
  }

  .menu-item {
    width: 100%;
    border-bottom: 1px solid rgba(43, 78, 91, 0.08);
    padding-bottom: 8px;
  }

  .menu-item > a {
    justify-content: space-between;
    width: 100%;
    padding: 8px 0;
  }

  /* Mobile Dropdown */
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background-color: rgba(225, 241, 246, 0.3);
    border-radius: 8px;
    margin-top: 8px;
    display: none;
    width: 100%;
    padding: 8px 0;
  }

  .dropdown-menu::before {
    display: none;
  }

  .menu-item.active .dropdown-menu {
    display: block;
  }

  .menu-item.active > a > i {
    transform: rotate(180deg);
  }

  /* Animated Hamburger Icon */
  .mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Hide Desktop specific styling */
  .menu-item:hover .dropdown-menu {
    transform: none;
  }

  /* Hero Adjustments */
  .hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image-wrapper {
    width: 100%;
    max-width: 480px;
  }

  /* Adjust doodles for better mobile view */
  .doodle-bee {
    left: 4%;
    top: 8%;
  }
  .doodle-rainbow {
    left: 80%;
    top: 5%;
  }
  .doodle-pencil {
    display: none;
  }
  .doodle-car {
    display: none;
  }
  .doodle-blocks {
    left: -40px;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  .hero-buttons {
    justify-content: center;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .btn-get-in-touch {
    display: none; /* Hide topbar CTA on small screens, users use mobile drawer */
  }

  .doodle-blocks {
    width: 130px;
    height: 130px;
    left: -20px;
  }

  .slider-dots {
    display: none; /* Hide dots on small screens */
  }
}

/* ==========================================================================
   PRELOADER & TYPING ANIMATION
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-hero);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-logo {
  animation: bounceLogo 2s ease-in-out infinite;
  filter: drop-shadow(0 10px 15px rgba(242, 140, 83, 0.25));
}

@keyframes bounceLogo {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

.typing-text {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-text-dark);
  border-right: 3px solid var(--color-primary);
  white-space: nowrap;
  overflow: hidden;
  min-height: 50px;
  display: flex;
  align-items: center;
  animation: blink 0.75s step-end infinite;
}

.hero-title.typing::after {
  content: '|';
  color: var(--color-primary);
  animation: blink 0.75s step-end infinite;
  margin-left: 4px;
  font-weight: 300;
}

@keyframes blink {
  from, to { border-color: transparent; color: transparent; }
  50% { border-color: var(--color-primary); color: var(--color-primary); }
}

/* =========================================
   BLOG SECTION
   ========================================= */
.blog-section {
  padding: 100px 0;
  background-color: #F8F9FA;
  position: relative;
  z-index: 5;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.blog-card {
  background: #FFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.blog-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-primary);
  color: #FFF;
  padding: 10px 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(242, 140, 83, 0.4);
}

.date-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 5px;
}

.blog-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: var(--color-primary);
}

.blog-excerpt {
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.btn-read-more:hover {
  gap: 12px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   2026 UI/UX GLOBAL ANIMATION SYSTEM
   ========================================= */

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
  pointer-events: none;
}

/* Base Reveal Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Children */
.stagger-item {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide Left / Right Variations */
.reveal-slide-left {
  transform: translateX(-50px);
}
.reveal-slide-right {
  transform: translateX(50px);
}
.reveal-scale-up {
  transform: scale(0.95) translateY(30px);
}
.reveal-on-scroll.reveal-slide-left.is-visible,
.reveal-on-scroll.reveal-slide-right.is-visible,
.reveal-on-scroll.reveal-scale-up.is-visible {
  transform: translate(0) scale(1);
}

/* Micro-interactions: Buttons */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.5s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

/* Micro-interactions: Links */
.footer-links a {
  position: relative;
  display: inline-block;
}
.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
.footer-links a:hover::after {
  width: 100%;
}

/* =========================================
   GLOBAL FOOTER STYLES
   ========================================= */
.cls-footer {
  background: var(--color-secondary);
  padding: 50px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-tagline { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-primary); }
.footer-copy { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 8px; }



