body {
  margin: 0;
  padding: 0;
  background: #faf8fc;
  font-family: 'Baloo 2', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family:
    source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

.App {
  text-align: center;
}

/* Loading spinner styles for lazy loading */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #ffffff;
  color: #2e0f35;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  opacity: 0.9;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.twig-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.twig-loader-lg {
  min-height: 140px;
}

.twig-loader-sm {
  min-height: 0;
}

.twig-loader-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  animation: twigSpin 1.1s linear infinite;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.twig-loader-sm .twig-loader-img {
  width: 18px;
  height: 18px;
}

.twig-loader-text {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #5b3d60;
  opacity: 0.9;
}

@keyframes twigSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Baloo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
  overflow-x: hidden;
}

/* Landing Container */
.landing-container {
  overflow-x: hidden;
  width: 100%;
}

/* Top Bar */
.top-bar {
  height: 0;
  background: transparent;
  width: 100%;
}

/* Header */
.landing-container .header {
  background: rgba(201, 132, 199, 0.95) !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 0;
  margin-bottom: 20px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.landing-container .header.scrolled {
  background: rgba(201, 132, 199, 0.95) !important;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  border-radius: 0;
}

.logo {
  position: relative;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo:active {
  transform: scale(0.98);
}


.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
  z-index: 2;
  position: relative;
  transition: transform 0.2s ease;
}

.logo:hover .logo-image {
  transform: scale(1.02);
}

.logo-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo-accent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1;
}


.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  overflow: hidden;
}

.nav-text {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.nav-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover .nav-text {
  transform: translateY(-1px);
}

.nav-link:hover .nav-underline {
  width: 100%;
}

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

/* Get Started Button in Header */
.header-get-started-btn {
  background: #e2842d;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(226, 132, 45, 0.3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-10px);
  animation: slideInFromTop 0.5s ease-out forwards;
}

.header-get-started-btn:hover {
  background: #c97222;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 132, 45, 0.4);
}

.header-get-started-btn:active {
  transform: translateY(0);
}

/* Hamburger Menu */
.hamburger-menu-container {
  position: relative;
  display: flex;
  align-items: center;
}

.hamburger-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  transition: all 0.3s ease;
}

.hamburger-menu-btn span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Hamburger Dropdown */
.hamburger-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  z-index: 1000;
  min-width: 220px;
  animation: dropdownSlideIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hamburger-dropdown-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: transparent;
  border: none;
  text-align: left;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.hamburger-dropdown-btn:last-child {
  border-bottom: none;
}

.hamburger-dropdown-btn:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: #e2842d;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(226, 132, 45, 0.15);
}

.hamburger-dropdown-btn:active {
  transform: translateX(1px) scale(0.98);
}

.nav-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}

.login-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-text {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.login-btn:hover .btn-text {
  transform: translateX(2px);
}

.login-btn:hover .btn-shine {
  left: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
  background: #fff !important;
  border-radius: 0;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  padding: 150px 0 10px 0;
}



.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  transition: all 0.3s ease;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.hero-text {
  flex: 1 1;
}

.hero-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #2e0f35;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.headline-line {
  display: block;
  opacity: 1;
  transform: translateY(0);
}



.headline-line.highlight {
  background: linear-gradient(135deg, #e2842d, #c97222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.headline-line.small-highlight {
  font-size: 0.7em;
  line-height: 1.2;
}



.hero-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

.cta-primary {
  background: #e2842d;
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  box-sizing: border-box;
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.5);
  transform: translateY(-2px);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:hover {
  background: #c97222;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(226, 132, 45, 0.6);
}

.cta-secondary {
  background: #fff;
  color: #e2842d;
  padding: 16px 32px;
  border: 2px solid #e2842d;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
  flex-shrink: 0;
}

.cta-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #e2842d;
  transition: left 0.3s ease;
  z-index: -1;
}

.cta-secondary:hover::before {
  left: 0;
}

.cta-secondary:hover {
  color: #fff;
  transform: translateY(-2px);
}


/* Active and Inactive Button States */
.cta-primary.active {
  background: #e2842d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.cta-primary.inactive {
  background: #fff;
  color: #e2842d;
  border: 2px solid #e2842d;
  transform: translateY(-2px);
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.cta-primary.inactive:hover {
  background: #fff;
  color: #e2842d;
  border: 2px solid #e2842d;
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 4px 15px rgba(226, 132, 45, 0.3);
}

.cta-secondary.active {
  background: #e2842d;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(224, 124, 30, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.cta-secondary.inactive {
  background: #fff;
  color: #e2842d;
  border: 2px solid #e2842d;
  transform: translateY(-2px);
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Enhanced smooth transitions for state changes */
.cta-primary,
.cta-secondary {
  will-change: transform, background-color, color, border-color, opacity, box-shadow;
}

/* Smooth hover transitions that work with active states */
.cta-primary:not(.active):not(.inactive):hover {
  background: #c97222;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(226, 132, 45, 0.6);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.cta-secondary:not(.active):not(.inactive):hover,
.cta-secondary.inactive:hover {
  color: #fff;
  transform: translateY(-2px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.4);
}

/* Enhanced active state animations */
.cta-primary.active {
  background: #e2842d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.cta-secondary.active {
  background: #e2842d;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Enhanced inactive state animations */
.cta-primary.inactive {
  background: #fff;
  color: #e2842d;
  border: 2px solid #e2842d;
  transform: translateY(-2px);
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.cta-primary.inactive:hover {
  background: #fff;
  color: #e2842d;
  border: 2px solid #e2842d;
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 6px 20px rgba(226, 132, 45, 0.3);
  cursor: pointer;
}

.cta-secondary.inactive {
  background: #fff;
  color: #e2842d;
  border: 2px solid #e2842d;
  transform: scale(1);
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: auto;
  cursor: pointer;
}

.cta-secondary.inactive:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.4);
}

/* Cross-hover animation: Get started button changes to white when hovering "Already got twig" */
.cta-primary.cross-hover {
  background: #ffffff !important;
  color: #e2842d !important;
  border: 2px solid #e2842d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.4) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  cursor: pointer !important;
  z-index: 10 !important;
  position: relative !important;
}

/* Ensure cross-hover overrides all other states */
.cta-primary.cross-hover.active,
.cta-primary.cross-hover.inactive {
  background: #ffffff !important;
  color: #e2842d !important;
  border: 2px solid #e2842d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.4) !important;
}

/* Enhanced cursor hover effect for "Already got twig" button */
.cta-secondary:hover {
  color: #fff;
  transform: translateY(-2px);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.4);
}

/* Cursor pointer for all button states */
.cta-primary,
.cta-secondary {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Enhanced cursor hover effects */
.cta-primary:hover,
.cta-secondary:hover {
  cursor: pointer;
}

/* Pulse animation for active buttons */
@keyframes buttonPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(226, 132, 45, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(226, 132, 45, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(226, 132, 45, 0);
  }
}

/* Slide in animation for header CTA */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add pulse animation to active buttons */
.cta-primary.active,
.cta-secondary.active {
  animation: buttonPulse 2s infinite;
}

/* Enhanced shine effect for buttons */
.cta-primary::after,
.cta-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.cta-primary:hover::after,
.cta-secondary:hover::after {
  left: 100%;
}

/* Ensure text stays above shine effect */
.cta-primary,
.cta-secondary {
  position: relative;
  z-index: 2;
}

/* Enhanced hover animation for "Get started" button */
.cta-primary:hover:not(.cross-hover) {
  background: #c97222;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(226, 132, 45, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

/* Ensure smooth transition back to normal state */
.cta-primary:not(.cross-hover) {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced cursor effects for better UX */
.cta-primary:active,
.cta-secondary:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
  cursor: pointer;
}

/* Focus states for accessibility */
.cta-primary:focus,
.cta-secondary:focus {
  outline: 2px solid #e2842d;
  outline-offset: 2px;
  cursor: pointer;
}

/* Disabled state styling */
.cta-primary:disabled,
.cta-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* Loading state animation */
@keyframes buttonLoading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-primary.loading,
.cta-secondary.loading {
  position: relative;
  color: transparent;
  cursor: wait;
}

.cta-primary.loading::before,
.cta-secondary.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: buttonLoading 1s linear infinite;
}

/* Smooth transition for cross-hover effect */
.cta-primary.cross-hover::before {
  background: linear-gradient(90deg, transparent, rgba(226, 132, 45, 0.2), transparent) !important;
  transition: left 0.5s ease !important;
}

/* Hero Title with CTA beside it */
.hero-title-with-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 10px;
  text-align: center;
}

.hero-cta-beside-title {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
}

.hero-frames-container {
  position: relative;
  width: 100%;
  height: 300px;
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
}

.hero-frame-1 {
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 400px;
  object-fit: contain;
  z-index: 1;
  opacity: 0;
}

.hero-frame-1.animating {
  animation: walkingFromLeft 2.2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}

@keyframes frameCycle {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(1);
    filter: blur(0px);
  }
  20% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    filter: blur(0px);
  }
  80% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(1);
    filter: blur(0px);
  }
}

@keyframes frame1BottomToTop {
  0% {
    opacity: 0;
    transform: translateY(50%) scale(1);
    filter: blur(0px);
  }
  20% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    filter: blur(0px);
  }
  80% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(1);
    filter: blur(0px);
  }
}

@keyframes walkingFromLeft {
  0% {
    opacity: 0.1;
    transform: translateX(-80px) translateY(-50%) scale(0.8);
    filter: blur(6px);
  }
  20% {
    opacity: 0.4;
    transform: translateX(-40px) translateY(-50%) scale(0.9);
    filter: blur(3px);
  }
  40% {
    opacity: 1;
    transform: translateX(0) translateY(-55%) scale(1);
    filter: blur(0px);
  }
  60% {
    opacity: 1;
    transform: translateX(0) translateY(-50%) scale(1);
    filter: blur(0px);
  }
  80% {
    opacity: 0.4;
    transform: translateX(40px) translateY(-50%) scale(0.9);
    filter: blur(3px);
  }
  100% {
    opacity: 0.1;
    transform: translateX(80px) translateY(-50%) scale(0.8);
    filter: blur(6px);
  }
}

@keyframes emergeFromBottom {
  0% {
    opacity: 0;
    transform: translateY(60%) translateY(-50%) scale(0.85);
    filter: blur(8px);
  }
  8% {
    opacity: 0.2;
    transform: translateY(20%) translateY(-50%) scale(0.92);
    filter: blur(6px);
  }
  20% {
    opacity: 0.8;
    transform: translateY(-10%) translateY(-50%) scale(0.98);
    filter: blur(3px);
  }
  35% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    filter: blur(0px);
  }
  60% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    filter: blur(0px);
  }
  80% {
    opacity: 0.6;
    transform: translateY(-50%) scale(0.99);
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.97);
    filter: blur(6px);
  }
}

.hero-frame-2 {
  position: absolute;
  left: 15%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 400px;
  object-fit: contain;
  z-index: 2;
  opacity: 0;
}

.hero-frame-2.animating {
  animation: walkingFromLeft 2.2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}

.hero-frame-3 {
  position: absolute;
  left: 30%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 400px;
  object-fit: contain;
  z-index: 3;
  opacity: 0;
}

.hero-frame-3.animating {
  animation: walkingFromLeft 2.2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}

.hero-frame-4 {
  position: absolute;
  left: 45%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 400px;
  object-fit: contain;
  z-index: 4;
  opacity: 0;
}

.hero-frame-4.animating {
  animation: walkingFromLeft 2.2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}

.hero-frame-5 {
  position: absolute;
  left: 60%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 400px;
  object-fit: contain;
  z-index: 5;
  opacity: 0;
}

.hero-frame-5.animating {
  animation: walkingFromLeft 2.2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}

.hero-frame-6 {
  position: absolute;
  left: 75%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 400px;
  object-fit: contain;
  z-index: 6;
  opacity: 0;
}

.hero-frame-6.animating {
  animation: walkingFromLeft 2.2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}

.hero-frame-7 {
  position: absolute;
  left: 92%;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 460px;
  object-fit: contain;
  z-index: 1;
  opacity: 0;
}

.hero-frame-7.animating {
  animation: frameCycle 0.6s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes emergeFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60%) translateY(-50%) scale(0.85);
    filter: blur(8px);
  }
  8% {
    opacity: 0.2;
    transform: translateX(-20%) translateY(-50%) scale(0.92);
    filter: blur(6px);
  }
  20% {
    opacity: 0.8;
    transform: translateX(5%) translateY(-50%) scale(0.98);
    filter: blur(3px);
  }
  35% {
    opacity: 1;
    transform: translateX(0) translateY(-50%) scale(1);
    filter: blur(0px);
  }
  60% {
    opacity: 1;
    transform: translateX(0) translateY(-50%) scale(1);
    filter: blur(0px);
  }
  80% {
    opacity: 0.6;
    transform: translateX(0) translateY(-50%) scale(0.99);
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: translateX(0) translateY(-50%) scale(0.97);
    filter: blur(6px);
  }
}


/* Service Panels Section */
.service-panels-section {
  /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
  background: radial-gradient(1200px 600px at 10% 10%, rgba(201,132,199,0.25), transparent 60%),
              radial-gradient(1000px 600px at 90% 20%, rgba(226,132,45,0.22), transparent 60%),
              radial-gradient(800px 500px at 30% 90%, rgba(201,132,199,0.18), transparent 60%);
  border-radius: 0;
  margin-bottom: 10px;
  padding: 10px 0 80px 0;
}


.service-panels-container {
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.service-panels-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}


/* .service-panels {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.service-panel {
  flex: 0 0 calc(50% - 10px);
  min-width: 320px;
  max-width: 400px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 20px 15px;
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
  transform-style: preserve-3d;
  perspective: 1000px;
  height: 420px;
  min-height: 420px;
}

/* Very large screens: 4 boxes in one row (only for very wide screens) */
@media (min-width: 1400px) {
  .service-panels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .service-panel {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(25% - 15px);
    min-width: 300px;
    max-width: 350px;
  }
}

/* Default 2x2 grid for most screen sizes */
@media (max-width: 1399px) {
  .service-panels {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  .service-panel {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(50% - 10px);
    min-width: 320px;
    max-width: 400px;
    width: calc(50% - 10px) !important;
  }
}

/* Large desktop screens: 4 boxes in one row (but with smaller max-width) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .service-panel {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(25% - 15px);
    min-width: 250px;
    max-width: 280px;
  }
}

/* Force 2x2 grid when screen width is between 1000px and 1199px (laptop minimized) */
@media (max-width: 1199px) and (min-width: 1000px) {
  .service-panels {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  .service-panel {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(50% - 10px);
    min-width: 320px;
    max-width: 400px;
    width: calc(50% - 10px) !important;
  }
}

/* Laptop screens: 2 rows of 2 boxes each (default behavior) */
@media (max-width: 1199px) and (min-width: 768px) {
  .service-panels {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  .service-panel {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(50% - 10px);
    min-width: 320px;
    max-width: 400px;
    width: calc(50% - 10px) !important;
  }
}

/* Medium screens: 2 rows of 2 boxes each (maintain 2x2 as long as possible) */
@media (max-width: 767px) and (min-width: 601px) {
  .service-panels {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  .service-panel {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(50% - 10px);
    min-width: 280px;
    max-width: 350px;
    width: calc(50% - 10px) !important;
  }
}

/* Small tablets: Force 2x2 grid */
@media (max-width: 800px) and (min-width: 601px) {
  .service-panels {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  .service-panel {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(50% - 10px);
    min-width: 270px;
    max-width: 320px;
    width: calc(50% - 10px) !important;
  }
}

/* Small screens: 4 rows of 1 box each (only when absolutely necessary) */
@media (max-width: 600px) {
  .service-panels {
    gap: 15px;
  }
  
  .service-panel {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(100% - 20px);
    min-width: 320px;
    max-width: 100%;
  }
}

/* Extra small screens: ensure single column layout */
@media (max-width: 480px) {
  .service-panels {
    gap: 12px;
  }
  
  .service-panel {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(100% - 15px);
    min-width: 300px;
    max-width: 100%;
  }
}


.service-panel:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-panel:hover .card-inner {
  transform: rotateY(180deg);
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 10px 30px 10px;
  box-sizing: border-box;
  overflow: visible;
}

.card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #e2842d 0%, #c984c7 100%);
  border-radius: 24px;
  color: white;
  justify-content: center;
}

.back-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 15px 0;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
  width: 100%;
}

.back-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: white;
  margin: 0 0 12px 0;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.back-text:last-child {
  margin-bottom: 0;
}

.service-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c984c7, #e2842d);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-panel:hover::before {
  transform: scaleX(1);
}


.panel-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  margin-top: 0;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 100%;
  flex-shrink: 0;
}

.panel-icon-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.service-panel:hover .panel-icon {
  transform: scale(1.1);
}

.service-panel:hover .panel-icon-image {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.panel-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.36rem;
  margin-bottom: 15px;
  margin-top: 0;
  color: #2e0f35;
  transition: color 0.3s ease;
  text-align: center;
  line-height: 1.3;
  word-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
  text-transform: uppercase;
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.service-panel:hover .panel-title {
  color: #e2842d;
}

.panel-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
  text-align: justify;
  text-justify: inter-word;
  white-space: normal;
  display: block;
}

.panel-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: auto;
  margin-bottom: 10px;
  flex-grow: 1;
  justify-content: flex-start;
  padding: 0 5px 10px 5px;
  text-align: center;
  width: 100%;
}

.stat {
  font-size: 1.5rem;
  font-weight: 800;
  color: #e2842d;
  transition: transform 0.3s ease;
  text-align: center;
}

.service-panel:hover .stat {
  transform: scale(1.1);
}

.stat-label {
  font-size: 0.9rem;
  color: #2e0f35;
  font-weight: 600;
  transition: color 0.3s ease;
  text-align: center;
  line-height: 1.4;
  word-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}

.service-panel:hover .stat-label {
  color: #e2842d;
} */


/* Why TWIG Section Title */
.why-twigs-title-section {
  background: #ffffff;
  padding: 20px 0 10px 0;
  text-align: center;
}

.why-twigs-title-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.why-twigs-title-container .section-heading {
  color: #222;
  font-size: 2.6rem; /* Match FAQ title size */
  font-weight: 600; /* Match FAQ title weight */
  font-family: 'Poppins', sans-serif; /* Match FAQ title font */
}

/* Match "What You Learn" section heading with FAQ title */
.service-panels-section .section-heading {
  font-size: 2.6rem; /* Match FAQ title size */
  font-weight: 600; /* Match FAQ title weight */
  font-family: 'Poppins', sans-serif; /* Match FAQ title font */
}

/* Safe Exploration Section */
.safe-exploration-section {
  background: #ffffff;
  border-radius: 0;
  margin-bottom: 10px;
  padding: 20px 0 80px 0;
}

.safe-exploration-content {
  display: flex;
  align-items: center;
  gap: 60px;
  transition: all 0.3s ease;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.safe-exploration-text {
  flex: 1 1;
}

.section-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 2.6rem;
  margin-bottom: 15px;
  color: #222;
  transition: all 0.3s ease;
}

.subsection-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #222;
  transition: all 0.3s ease;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.section-description {
  font-size: 1.3rem;
  color: #333;
  line-height: 1.6;
  transition: all 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
  text-align: justify;
  text-justify: inter-word;
}

.safe-illustration-img {
  width: 480px;
  max-width: 100%;
  height: 360px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  object-fit: cover;
  object-position: center;
}

.safe-illustration-img:hover {
  transform: scale(1.02);
}

.safe-exploration-illustration {
  position: relative;
  width: 0.05px;
  height: 0.03px;
}

.calendar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #87ceeb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.calendar-day {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.character-group {
  position: absolute;
  top: 120px;
  left: 50px;
  display: flex;
  gap: 20px;
}

.character {
  width: 80px;
  height: 80px;
  background: #ff9500;
  border-radius: 12px;
  position: relative;
}

.character-1::before {
  content: "😊";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.character-2::before {
  content: "😊";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.tree-piggy {
  position: absolute;
  top: 120px;
  right: 50px;
}

.tree {
  width: 60px;
  height: 80px;
  background: #90ee90;
  border-radius: 8px;
  margin-bottom: 10px;
}

.piggy-bank {
  width: 40px;
  height: 40px;
  background: #ffb6c1;
  border-radius: 50%;
  position: relative;
}

.piggy-bank::before {
  content: "🐷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

.calendar-piggy {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
}

/* Modules That Grow With You Section */
.modules-grow-section {
  background: #ffffff;
  border-radius: 0;
  margin-bottom: 10px;
  padding: 80px 0;
}

.modules-grow-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  transition: all 0.3s ease;
}

.modules-grow-text {
  flex: 1 1;
  text-align: left;
}

.modules-grow-illustration {
  position: relative;
  width: 480px;
  height: 400px;
  transition: all 0.3s ease;
}

.modules-grow-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.modules-grow-illustration:hover img {
  transform: scale(1.02);
}

/* For Builders & Teachers Section */
.builders-teachers-section {
  background: #f8f9fa;
  border-radius: 0;
  margin-bottom: 10px;
  padding: 80px 0;
}

.builders-teachers-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  transition: all 0.3s ease;
}

.builders-teachers-text {
  flex: 1 1;
  text-align: left;
}

.builders-teachers-illustration {
  position: relative;
  width: 480px;
  height: 360px;
  transition: all 0.3s ease;
}

.builders-teachers-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.builders-teachers-illustration:hover img {
  transform: scale(1.02);
}

/* Build Money Skills Section */
.build-skills-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 0;
  margin-bottom: 10px;
  padding: 80px 0;
}

.build-skills-content {
  display: flex;
  align-items: center;
  gap: 60px;
  transition: all 0.3s ease;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.build-skills-text {
  flex: 1 1;
}

.build-skills-illustration {
  position: relative;
  width: 480px;
  height: 360px;
  transition: all 0.3s ease;
}

.build-skills-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.build-skills-illustration:hover img {
  transform: scale(1.02);
}

/* Earn As You Learn Section */
.earn-learn-section {
  background: #ffffff;
  border-radius: 0;
  margin-bottom: 10px;
  padding: 80px 0;
}

.earn-learn-content {
  display: flex;
  align-items: center;
  gap: 60px;
  transition: all 0.3s ease;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.earn-learn-illustration {
  position: relative;
  width: 480px;
  height: 360px;
  transition: all 0.3s ease;
}

.earn-learn-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.earn-learn-illustration:hover img {
  transform: scale(1.02);
}

.earn-learn-text {
  flex: 1 1;
}

/*   Section */
.faq-section {
  background: #ffffff;
  padding: 80px 0;
}

.faq-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.faq-content {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.faq-left {
  flex: 1 1;
  text-align: left;
}

.faq-right {
  flex: 1 1;
  text-align: left;
}

.faq-section-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.faq-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 2.6rem;
  color: #222;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: left;
}

.faq-intro {
  font-size: 1.3rem;
  color: #666;
  line-height: 1.6;
  text-align: left;
}

.faq-contact-link {
  color: #e2842d;
  text-decoration: none;
  font-weight: 1500;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
  display: inline;
}

.faq-contact-link:hover {
  text-decoration: underline;
}

.faq-category-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 20px;
  text-align: left;
}

.faq-list {
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 20px 0;
}

.faq-question:hover {
  background-color: rgba(201, 132, 199, 0.1);
  border-radius: 8px;
  padding: 20px 15px;
}

.faq-question h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
  margin: 0;
}

.faq-icon {
  font-size: 1rem;
  color: #666;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-icon.open {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 15px 0;
  color: #666;
  line-height: 1.6;
  animation: fadeIn 0.3s ease-in-out;
}

.faq-answer p {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
  text-align: justify;
  text-justify: inter-word;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-cta {
  text-align: center;
  margin-top: 60px;
}

.faq-cta-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 15px;
}

.faq-cta-text {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.faq-cta-button {
  background: #e2842d;
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-cta-button:hover {
  background: #c97222;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 132, 45, 0.3);
}

/* Landing Page Footer */
.landing-container .footer {
  background: #ffffff;
  padding: 40px 0 20px 0;
  margin-top: 20px;
  border-top: 1px solid #e5e7eb;
  width: 100%;
}

/* Footer Top Section */
.landing-container .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 60px;
  width: 100%;
  box-sizing: border-box;
}

.landing-container .footer-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.landing-container .footer-logo {
  display: flex;
  align-items: center;
}

/* Footer Mascot Animation */
.landing-container .footer-mascot {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.landing-container .footer-mascot-image {
  height: 60px;
  width: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: mascotBounce 2s ease-in-out infinite, mascotFloat 3s ease-in-out infinite, mascotJump 4s ease-in-out infinite;
}

.landing-container .footer-mascot-image:hover {
  animation: mascotDance 0.6s ease-in-out infinite, mascotSpin 1s linear infinite;
  transform: scale(1.2);
}

.landing-container .footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 1;
}

.social-link:hover {
  color: #e2842d;
  opacity: 1;
  transform: scale(1.1);
}

.nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #3b82f6;
}

.landing-container .footer-contact {
  display: flex;
  align-items: center;
}

.landing-container .contact-btn {
  background: #ff9500;
  color: #fff;
  border: none;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.landing-container .contact-btn:hover {
  background: #e6850e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
}

.landing-container .contact-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 149, 0, 0.3);
}

/* Footer Bottom Section */
.landing-container .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px 0 60px;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid #e5e7eb;
}

.landing-container .footer-legal {
  display: flex;
  gap: 20px;
  align-items: center;
}

.legal-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #374151;
}

/* FAQ Link in Footer */
.landing-container .footer-nav a.nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.landing-container .footer-nav a.nav-link:hover {
  color: #3b82f6;
}

.build-with-us {
  flex: 1 1;
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.footer-description {
  font-size: 1rem;
  color: #495057;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.landing-container .contact-btn {
  background: #ff9500;
  color: #fff;
  border: none;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
}

.landing-container .contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.landing-container .contact-btn:hover::before {
  left: 100%;
}

.landing-container .contact-btn:hover {
  background: #e68500;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
}

.landing-container .contact-btn:active {
  transform: translateY(0);
}

/* Footer Copyright */
.landing-container .footer-copyright {
  text-align: left;
}

.landing-container .footer-copyright p {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
}

/* Footer Mascot Animation */
.landing-container .footer-mascot {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.landing-container .footer-mascot-image {
  height: 60px;
  width: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: mascotBounce 2s ease-in-out infinite, mascotFloat 3s ease-in-out infinite, mascotJump 4s ease-in-out infinite;
}

.landing-container .footer-mascot-image:hover {
  animation: mascotDance 0.6s ease-in-out infinite, mascotSpin 1s linear infinite;
  transform: scale(1.2);
}

/* Bouncy Animation */
@keyframes mascotBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Floating Animation */
@keyframes mascotFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

/* Dance Animation on Hover */
@keyframes mascotDance {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(-5px) rotate(-5deg);
  }
  75% {
    transform: translateX(5px) rotate(5deg);
  }
}

/* Spin Animation on Hover */
@keyframes mascotSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Subtle Left-to-Right Jump Animation */
@keyframes mascotJump {
  0%, 100% {
    transform: translateX(0px);
  }
  25% {
    transform: translateX(8px);
  }
  50% {
    transform: translateX(0px);
  }
  75% {
    transform: translateX(-8px);
  }
}

.landing-container .footer-copyright p {
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 400;
  margin: 0;
  transition: color 0.3s ease;
}

.landing-container .footer-copyright p:hover {
  color: rgba(255, 255, 255, 1);
}

/* Enhanced Responsive Design */
@media (max-width: 1400px) {
  .header,
  .hero-section,
  .service-panels-section,
  .safe-exploration-section,
  .build-skills-section,
  .earn-learn-section,
  .modules-grow-section,
  .builders-teachers-section,
  .faq-section {
    padding-left: 40px;
    padding-right: 40px;
  }
  
  .hero-content,
  .safe-exploration-content,
  .build-skills-content,
  .earn-learn-content {
    gap: 20px;
  }
  
  
  .service-panels {
    gap: 30px;
  }
  
  .portfolio-grid {
    gap: 30px;
  }
  
  .prev-btn {
    left: -60px;
  }
  
  .next-btn {
    right: -60px;
  }
}

@media (max-width: 1200px) {
  .hero-content,
  .safe-exploration-content,
  .build-skills-content,
  .earn-learn-content,
  .modules-grow-content,
  .builders-teachers-content {
    gap: 40px;
  }
  
  .service-panels {
    gap: 20px;
  }
  
  
  
  
  .hero-headline {
    font-size: 3rem;
  }
  
  .section-heading {
    font-size: 2.2rem;
  }
  
  .subsection-heading {
    font-size: 1.6rem;
  }
  
  .hero-title-with-cta {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .hero-cta-beside-title {
    flex-direction: row;
    gap: 20px;
  }
  
  .hero-frames-container {
    padding: 0 3%;
  }
  
  .hero-frame-1 {
    width: 180px;
    height: 360px;
  }
  
  .hero-frame-2 {
    width: 180px;
    height: 360px;
  }
  
  .hero-frame-3 {
    width: 180px;
    height: 360px;
  }
  
  .hero-frame-4 {
    width: 180px;
    height: 360px;
  }
  
  .hero-frame-5 {
    width: 180px;
    height: 360px;
  }
  
  .hero-frame-6 {
    width: 180px;
    height: 360px;
  }
  
  .hero-frame-7 {
    width: 180px;
    height: 360px;
  }
  
  .section-heading {
    font-size: 1.4rem;
  }
  
  .subsection-heading {
    font-size: 1.1rem;
  }
}

@media (max-width: 900px) {
  .header {
    padding: 20px 0;
  }
  
  .header-content {
    padding: 0 30px;
  }
  
  .hero-content,
  .service-panels-container,
  .safe-exploration-content,
  .build-skills-content,
  .earn-learn-content {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .hero-content,
  .safe-exploration-content,
  .build-skills-content,
  .earn-learn-content,
  .modules-grow-content,
  .builders-teachers-content {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }
  
  .service-panels {
    gap: 15px;
  }
  
  
  
  
  .prev-btn,
  .next-btn {
    display: none;
  }
  
  .hero-headline {
    font-size: 2.6rem;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .subsection-heading {
    font-size: 1.4rem;
  }
  
  .hero-title-with-cta {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  
  .hero-cta-beside-title {
    flex-direction: row;
    gap: 15px;
  }
  
  .hero-frames-container {
    padding: 0 2%;
  }
  
  .hero-frame-1 {
    width: 130px;
    height: 240px;
    animation: emergeFromBottom 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    filter: blur(8px);
  }
  
  .hero-frame-2 {
    width: 130px;
    height: 260px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 1.8s forwards;
    filter: blur(8px);
  }
  
  .hero-frame-3 {
    width: 130px;
    height: 280px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 2.8s forwards;
    filter: blur(8px);
  }
  
  .hero-frame-4 {
    width: 130px;
    height: 300px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 3.8s forwards;
    filter: blur(8px);
  }
  
  .hero-frame-5 {
    width: 130px;
    height: 320px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 4.8s forwards;
    filter: blur(8px);
  }
  
  .hero-frame-6 {
    width: 130px;
    height: 340px;
  }
  
  .hero-frame-7 {
    width: 130px;
    height: 360px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 6.8s forwards;
    filter: blur(8px);
  }
  
  .section-heading {
    font-size: 1.4rem;
  }
  
  .subsection-heading {
    font-size: 1.1rem;
  }
  
  
  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 0 40px;
  }
  
  .footer-left {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .landing-container .footer-nav {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .social-links {
    gap: 20px;
  }
  
  .social-link {
    width: 22px;
    height: 22px;
  }
  
  .landing-container .footer-contact {
    justify-content: center;
  }
  
  .landing-container .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px 40px 0 40px;
  }
  
  .landing-container .footer-legal {
    gap: 15px;
  }
  
  
  .safe-illustration-img {
    width: 400px;
  }
  
  .hero-buttons {
    align-items: center;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  
  .header-content,
  .header-actions {
    padding: 0 20px;
  }
  
  .logo-image {
    height: 40px;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-section {
    padding: 100px 0 30px 0;
  }
  
  .hero-content,
  .service-panels-container,
  .safe-exploration-content,
  .build-skills-content,
  .earn-learn-content {
    padding: 0 20px;
  }
  
  .hero-headline {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .hero-buttons {
    gap: 12px;
  }
  
  .service-panels-section {
    padding: 20px 0 60px 0;
  }
  
  .section-heading {
    font-size: 1.4rem;
  }
  
  .subsection-heading {
    font-size: 1.1rem;
  }
  
  .hero-title-with-cta {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .hero-cta-beside-title {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-frames-container {
    padding: 0 1%;
    height: 180px;
    margin-top: 5px;
  }
  
  .hero-frame-1 {
    width: 100px;
    height: 180px;
    animation: emergeFromBottom 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    filter: blur(8px);
  }
  
  .hero-frame-2 {
    width: 100px;
    height: 180px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 1.8s forwards;
    filter: blur(8px);
  }
  
  .hero-frame-3 {
    width: 100px;
    height: 180px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 2.8s forwards;
    filter: blur(8px);
  }
  
  .hero-frame-4 {
    width: 100px;
    height: 180px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 3.8s forwards;
    filter: blur(8px);
  }
  
  .hero-frame-5 {
    width: 100px;
    height: 180px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 4.8s forwards;
    filter: blur(8px);
  }
  
  .hero-frame-6 {
    width: 100px;
    height: 180px;
  }
  
  .hero-frame-7 {
    width: 100px;
    height: 180px;
    animation: emergeFromLeft 2s cubic-bezier(0.23, 1, 0.32, 1) 6.8s forwards;
    filter: blur(8px);
  }
  
  .section-heading {
    font-size: 1.4rem;
  }
  
  .subsection-heading {
    font-size: 1.1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-description {
    font-size: 1.1rem;
    text-align: left;
    text-justify: none;
  }
  
  .service-panel {
    padding: 40px 30px;
    height: 420px;
    min-height: 420px;
  }
  
  
  
  .panel-features {
    gap: 8px;
  }
  
  .feature {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 12px 0;
  }
  
  .header-content {
    flex-direction: row;
    gap: 0;
    padding: 0 20px;
  }
  
  .hero-section {
    padding: 90px 0 25px 0;
  }
  
  .hero-content,
  .service-panels-container,
  .safe-exploration-content,
  .build-skills-content,
  .earn-learn-content {
    padding: 0 20px;
  }
  
  .hero-headline {
    font-size: 1.9rem;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .hero-buttons {
    gap: 10px;
  }
  
  .service-panels-section {
    padding: 15px 0 50px 0;
  }
  
  .section-heading {
    font-size: 1.4rem;
  }
  
  .subsection-heading {
    font-size: 1.1rem;
  }
  
  .section-heading {
    font-size: 1.4rem;
  }
  
  .subsection-heading {
    font-size: 1.1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .service-panel {
    padding: 30px 20px;
    height: 380px;
    min-height: 380px;
  }
  
  .panel-icon {
    font-size: 2.5rem;
  }
  
  .panel-icon-image {
    width: 60px;
    height: 60px;
  }
  
  .panel-title {
    font-size: 1.4rem;
  }
  
  .panel-description {
    font-size: 1rem;
    text-align: left;
    text-justify: none;
  }
  
  .stat {
    font-size: 1.1rem;
  }
  
  
  
  
  .panel-number {
    font-size: 2.5rem;
  }
  
  
  .safe-illustration-img {
    width: 280px;
  }
  
  
  .footer {
    padding: 30px 0 15px 0;
  }
  
  .footer-top {
    padding: 0 20px;
  }
  
  .landing-container .footer-bottom {
    padding: 20px 20px 0 20px;
  }
  
  .landing-container .footer-nav {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  
  .footer-heading {
    font-size: 1.6rem;
  }
  
  .footer-description {
    font-size: 1.1rem;
  }
  
  .landing-container .contact-btn {
    padding: 15px 30px;
    font-size: 1rem;
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .header {
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
  }
  
  .hero-section {
    padding: 80px 15px 20px 15px;
    border-radius: 0;
  }
  
  .hero-headline {
    font-size: 1.6rem;
    margin-bottom: 10px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 18px;
    line-height: 1.4;
  }
  
  .hero-buttons {
    gap: 8px;
  }
  
  .hero-title-with-cta {
    gap: 15px;
  }
  
  .hero-cta-beside-title {
    gap: 8px;
  }
  
  .cta-primary,
  .cta-secondary {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
  }
  
  .hero-frames-container {
    height: 200px;
    margin-top: 10px;
  }
  
  .safe-exploration-section,
  .build-skills-section,
  .earn-learn-section,
  .modules-grow-section,
  .builders-teachers-section,
  .faq-section {
    padding: 60px 15px;
    border-radius: 0;
  }
  
  .faq-container {
    padding: 0 20px;
  }
  
  .faq-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .faq-title {
    font-size: 1.6rem;
  }
  
  /* Match "What You Learn" and "Why Twig" with FAQ title at mobile */
  .service-panels-section .section-heading,
  .why-twigs-title-container .section-heading {
    font-size: 1.6rem; /* Match FAQ title mobile size */
  }
  
  .faq-category-title {
    font-size: 1.3rem;
  }
  
  .service-panels-section {
    padding: 15px 15px 60px 15px;
    border-radius: 0;
  }
  
  .section-heading {
    font-size: 1.4rem;
  }
  
  .subsection-heading {
    font-size: 1.1rem;
  }
  
  .section-heading {
    font-size: 1.4rem;
  }
  
  .subsection-heading {
    font-size: 1.1rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .section-subtitle {
    font-size: 0.8rem;
  }
  
  .section-description {
    font-size: 0.9rem;
  }
  
  .service-panel {
    padding: 25px 15px;
    height: 360px;
    min-height: 360px;
  }
  
  .panel-icon {
    font-size: 2rem;
  }
  
  .panel-icon-image {
    width: 50px;
    height: 50px;
  }
  
  .panel-title {
    font-size: 1.3rem;
  }
  
  .panel-description {
    font-size: 0.9rem;
    text-align: left;
    text-justify: none;
  }
  
  .faq-question {
    padding: 15px 0;
  }
  
  .faq-question:hover {
    padding: 15px 10px;
  }
  
  .faq-answer {
    padding: 10px 0;
  }
  
  .faq-answer p {
    text-align: left;
    text-justify: none;
  }
  
  .stat {
    font-size: 1.1rem;
  }
  
  
  
  
  .panel-number {
    font-size: 2rem;
  }
  
  
  .safe-illustration-img {
    width: 250px;
  }
  
  
  .footer {
    padding: 15px 15px 8px 15px;
    border-radius: 8px 8px 0 0;
  }
  
  .footer-heading {
    font-size: 1.4rem;
  }
  
  .footer-description {
    font-size: 1rem;
  }
  
  .landing-container .contact-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
    max-width: 200px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-panel:hover {
    transform: none;
  }
  
  .cta-primary:hover,
  .cta-secondary:hover,
  .landing-container .contact-btn:hover {
    transform: none;
  }
  
  
  .indicator:hover {
    transform: none;
  }
  
  .feature:hover {
    transform: none;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.cta-primary:focus,
.cta-secondary:focus,
.landing-container .contact-btn:focus,
.indicator:focus {
  outline: 2px solid #e2842d;
  outline-offset: 2px;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Mobile Menu Styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.mobile-menu-content {
  background: #ffffff;
  width: 90%;
  max-width: 400px;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  animation: slideUp 0.3s ease;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.mobile-menu-header .logo {
  color: #2e0f35;
  font-size: 1.8rem;
}

.close-menu-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-menu-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.mobile-nav-link {
  color: #333;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: #e2842d;
  padding-left: 10px;
}

.mobile-menu-cta {
  text-align: center;
}

.mobile-cta-primary {
  background: #e2842d;
  color: #fff;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-cta-primary:hover {
  background: #c97222;
  transform: translateY(-2px);
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .nav.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    animation: fadeIn 0.3s ease;
  }
  
  .nav.mobile-open .nav-link {
    font-size: 1.5rem;
    margin: 20px 0;
    opacity: 0;
    animation: slideIn 0.3s ease forwards;
  }
  
  .nav.mobile-open .nav-link:nth-child(1) { animation-delay: 0.1s; }
  .nav.mobile-open .nav-link:nth-child(2) { animation-delay: 0.2s; }
  .nav.mobile-open .nav-link:nth-child(3) { animation-delay: 0.3s; }
}

/* Touch-friendly button sizes */
  
  .indicator {
    width: 16px;
    height: 16px;
  }
  
  .feature {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
/* Improved mobile spacing */
@media (max-width: 600px) {
  .service-panels {
    gap: 15px;
  }
  
  
  
  
  
  .panel-features {
    gap: 10px;
  }
}

/* Mobile-first animations */
@media (max-width: 768px) {
  .service-panel {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .service-panel:active {
    transform: scale(0.98);
  }
  
  .cta-primary:active,
  .cta-secondary:active,
  .landing-container .contact-btn:active {
    transform: scale(0.95);
  }
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
  .service-panel::before,
  .cta-primary::before,
  .cta-secondary::before,
  .landing-container .contact-btn::before {
    display: none;
  }
  
  .service-panel:hover {
    transform: none;
    box-shadow: none;
  }
  
  .cta-primary:hover,
  .cta-secondary:hover,
  .landing-container .contact-btn:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Mobile accessibility improvements */
@media (max-width: 768px) {
  .indicator[aria-label] {
    position: relative;
  }
  
  .indicator[aria-label]::after {
    content: attr(aria-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .indicator[aria-label]:focus::after {
    opacity: 1;
  }
}

/* Additional mobile animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile scroll improvements */
@media (max-width: 768px) {
  .landing-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  .service-panels-section,
  .safe-exploration-section,
  .build-skills-section,
  .earn-learn-section,
  .modules-grow-section,
  .builders-teachers-section {
    scroll-margin-top: 80px;
  }
}

/* Mobile image optimizations */
@media (max-width: 768px) {
  .safe-illustration-img {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

/* Mobile button feedback */
@media (max-width: 768px) {
  .service-panel:active {
    background: #f8f9fa;
  }
  
  
  .indicator:active {
    background: #e2842d;
    transform: scale(1.3);
  }
}

/* Mobile menu button animations */
.mobile-menu-btn span {
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile menu overlay animations */
.mobile-menu-overlay {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-menu-content {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Mobile touch targets */
@media (max-width: 768px) {
  .nav-link,
  .mobile-nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .indicator {
    min-width: 44px;
    min-height: 44px;
  }
  
  .feature {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile loading states */
@media (max-width: 768px) {
  .loading .service-panel {
    opacity: 0.6;
    pointer-events: none;
  }
}

/* Mobile scroll snap */


/* Mobile performance */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  .service-panel {
    will-change: transform;
  }
  
}

/* Mobile accessibility */
@media (max-width: 768px) {
  .indicator[aria-label] {
    position: relative;
  }
  
  .indicator[aria-label]::after {
    content: attr(aria-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .indicator[aria-label]:focus::after {
    opacity: 1;
  }
}

/* Add at top: global will-change for smoother animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle stagger for children */
.reveal-on-scroll.in-view .service-panel {
  animation: fadeUp 600ms ease both;
}

.reveal-on-scroll.in-view .service-panel:nth-child(1) { animation-delay: 60ms; }
.reveal-on-scroll.in-view .service-panel:nth-child(2) { animation-delay: 120ms; }
.reveal-on-scroll.in-view .service-panel:nth-child(3) { animation-delay: 180ms; }
.reveal-on-scroll.in-view .service-panel:nth-child(4) { animation-delay: 240ms; }

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

/* Animated hero background */
.hero-section {
  position: relative;
  overflow: hidden;
  background: #fff !important;
}

.hero-animated-bg {
  position: absolute;
  inset: 0;
  /* background: radial-gradient(1200px 600px at 10% 10%, rgba(201,132,199,0.25), transparent 60%),
              radial-gradient(1000px 600px at 90% 20%, rgba(226,132,45,0.22), transparent 60%),
              radial-gradient(800px 500px at 30% 90%, rgba(201,132,199,0.18), transparent 60%); */
  filter: blur(0px);
  margin-bottom: 100px;
  padding: 300px 0;
  pointer-events: none;
  animation: bgFloat 24s ease-in-out infinite alternate;
}

.hero-gradient-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 132, 45, 0.3), rgba(201, 132, 199, 0.2), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  top: 20%;
  left: 60%;
  transform: translate(calc(50% - 50%), calc(50% - 50%));
  transform: translate(calc(var(--mouse-x, 50%) - 50%), calc(var(--mouse-y, 50%) - 50%));
  transition: transform 0.1s ease-out;
  animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(calc(50% - 50%), calc(50% - 50%)) scale(1);
    transform: translate(calc(var(--mouse-x, 50%) - 50%), calc(var(--mouse-y, 50%) - 50%)) scale(1);
  }
  50% {
    transform: translate(calc(50% - 50%), calc(50% - 50%)) scale(1.1);
    transform: translate(calc(var(--mouse-x, 50%) - 50%), calc(var(--mouse-y, 50%) - 50%)) scale(1.1);
  }
}

@keyframes bgFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-10px) scale(1.02); }
}

/* Floating particles */
.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
  animation: bubble 10s linear infinite;
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate(calc(50% - 50%), calc(50% - 50%));
  transform: translate(calc(var(--mouse-x, 50%) - 50%), calc(var(--mouse-y, 50%) - 50%));
  transition: transform 0.1s ease-out;
}

.particle.animate {
  opacity: 1;
  animation: bubble 10s linear infinite, particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(calc(50% - 50%), calc(50% - 50%)) scale(1);
    transform: translate(calc(var(--mouse-x, 50%) - 50%), calc(var(--mouse-y, 50%) - 50%)) scale(1);
  }
  50% {
    transform: translate(calc(50% - 50%), calc(50% - 50%)) scale(1.2);
    transform: translate(calc(var(--mouse-x, 50%) - 50%), calc(var(--mouse-y, 50%) - 50%)) scale(1.2);
  }
}

@keyframes bubble {
  0% { transform: translateY(20px) scale(0.9); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-120vh) scale(1.1); opacity: 0; }
}

/* Particle positions and timings */
.p-1  { left: 5%;  bottom: -20px; animation-duration: 14s; animation-delay: 0s; }
.p-2  { left: 12%; bottom: -20px; animation-duration: 12s; animation-delay: 2s; }
.p-3  { left: 20%; bottom: -20px; animation-duration: 16s; animation-delay: 1s; }
.p-4  { left: 28%; bottom: -20px; animation-duration: 13s; animation-delay: 3s; }
.p-5  { left: 36%; bottom: -20px; animation-duration: 15s; animation-delay: 1.5s; }
.p-6  { left: 44%; bottom: -20px; animation-duration: 18s; animation-delay: 2.5s; }
.p-7  { left: 52%; bottom: -20px; animation-duration: 12s; animation-delay: 4s; }
.p-8  { left: 60%; bottom: -20px; animation-duration: 17s; animation-delay: 0.5s; }
.p-9  { left: 68%; bottom: -20px; animation-duration: 11s; animation-delay: 2.2s; }
.p-10 { left: 76%; bottom: -20px; animation-duration: 14s; animation-delay: 1.2s; }
.p-11 { left: 84%; bottom: -20px; animation-duration: 16s; animation-delay: 3.2s; }
.p-12 { left: 90%; bottom: -20px; animation-duration: 13s; animation-delay: 2.8s; }
.p-13 { left: 30%; bottom: -20px; animation-duration: 19s; animation-delay: 1.8s; }
.p-14 { left: 70%; bottom: -20px; animation-duration: 20s; animation-delay: 2.4s; }

/* Hero content layering */
.hero-content { position: relative; z-index: 1; }

/* Enhanced responsive styles for new elements */
@media (max-width: 768px) {
  .headline-line {
    font-size: 2.5rem;
  }
  
  .hero-gradient-orb {
    width: 200px;
    height: 200px;
  }
  
  .particle {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .headline-line {
    font-size: 2rem;
  }
}



.card img 
{
    height: 80px;
    width: auto;
}

.title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.36rem;
    margin-bottom: 15px;
    margin-top: 0;
    color: #2e0f35;
    transition: color 0.3s ease;
    text-align: center;
    line-height: 1.3;
    word-wrap: break-word;
    -webkit-hyphens: auto;
            hyphens: auto;
    text-transform: uppercase;
    min-height: 2.6em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}                             

.stat {
    font-size: 24px;
    padding: 10px
}

.card span {
    font-size: 0.9rem;
    color: #2e0f35;
    font-weight: 600;
    transition: color 0.3s ease;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    -webkit-hyphens: auto;
            hyphens: auto;
}

.card
{
    font-family: 'Baloo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* border: 1px solid blue; */
    height: 400px;
    width: 300px;
    display: flex;
    flex: 0 0 300px;
    border-radius: 26px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    /* box-shadow: 5px 5px 15px 1px lightgray; */
    /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
    background: linear-gradient(334deg,rgba(201, 132, 199, 0.7) 0%, rgba(255, 255, 255, 0.86) 52%, rgba(226, 132, 45, 0.67) 100%);
}

.front
{
    font-family: 'Baloo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 93%;
    height: 95%;
    border-radius: 26px;
    display: flex;
    flex: 0 0 93%;
    align-items: center;
    flex-direction: column;
    transition: 500ms;
    z-index: 1;
}

.content 
{
    width: 80%;
}

.back
{
    font-family: 'Baloo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: absolute;
    display: none;
    width: 93%;
    height: 95%;
    border-radius: 26px;
    flex-direction: column;
    z-index: 1;
}



.front.icon {
    margin: 0px 0px 15px;
}

.front img {
    margin: 0px 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: auto;
    flex-shrink: 0;
}

.card .front
{
    z-index: 1;
}

.card::before 
{
    position: absolute;
    height: 150%;
    width: 50%;
    display: block;
    opacity: 0;
    content: " ";
    background: linear-gradient(90deg, #c984c7, #e2842d);
    animation: rotation_anim 8000ms infinite linear;
    transition: opacity 300ms;
    overflow: hidden;
    animation-play-state: paused;
}

.card:hover::before 
{
  opacity: 1;
  animation-play-state: running;
}

.card::after {
    position: absolute;
    content: " ";
    display: block;
    width: 290px;
    height: 390px;
    border-radius: 26px;
    background: linear-gradient(135deg, #f8f9fa 50%, #ffffff 100%);
    overflow: hidden;
    transition: 500ms;
}

.card:hover::after {
    position: absolute;
    display: block;
    width: 290px;
    height: 390px;
    border-radius: 26px;
    background: linear-gradient(135deg, #f8f9fa 50%, #ffffff 100%);
    overflow: hidden;
}

.card:hover {
    /* scale: 1.03; */
    transform: translateX(180deg);
}

@keyframes rotation_anim 
{
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card:hover .front
{
    display: none;
    background: linear-gradient(334deg,rgba(201, 132, 199, 0.7) 0%, rgba(255, 255, 255, 0.86) 52%, rgba(226, 132, 45, 0.67) 100%);
}

.card:hover .back
{
    display: flex;
    justify-content: center;
    align-items: center;
    animation: flip 650ms ease-in-out forwards;
}

@keyframes flip 
{
    0%
    {
        background-color: lightgray;
        transform: rotateY(180deg);
    }


    100%
    {
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(334deg,rgba(203, 98, 199, 0.713) 0%, rgba(219, 113, 180, 0.86) 52%, rgba(181, 96, 18, 0.67) 100%);
        transform: rotateY(0deg);
    }
}

.back-title
{
    color: white;
    width: 80%;
    animation: reveal 1.5s forwards;
}

.back-content 
{
    font-family: 'Baloo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 80%;
    animation: reveal 1.5s forwards;
}


@keyframes reveal 
{
    0% 
    {
        opacity: 0;
    }

    15% 
    {
        opacity: 0;
    }
    
    100% 
    {
        opacity: 1;
    }
}
/* Carousel.css */

.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  background: white;
  border: none;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-nav-btn-left {
  left: 0;
  transform: translate(-50%, -50%);
}

.carousel-nav-btn-right {
  right: 0;
  transform: translate(50%, -50%);
}

.carousel-nav-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.carousel-nav-btn-right:hover {
  transform: translate(50%, -50%) scale(1.1);
}

.carousel-nav-btn.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.carousel-container {
  overflow: hidden;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: -webkit-fit-content;
  width: fit-content;
  -webkit-user-select: none;
          user-select: none;
}

.carousel-track.mobile {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track.mobile::-webkit-scrollbar {
  display: none;
}

.carousel-track.mobile.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.carousel-item {
  flex-shrink: 0;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-indicator {
  height: 8px;
  width: 8px;
  border-radius: 4px;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.carousel-indicator.active {
  width: 32px;
  background: #333;
}

.carousel-indicator:hover {
  opacity: 0.8;
}
.question-container 
{
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    width: 100%;
    background-color: white;
    margin-top: 20px;
}

.question 
{
    font-weight: 600;
    font-size: 17px;
    display: flex;
    align-self: center;
    margin: 0px 20px 0px 20px;
    word-break: break-word;
}

.question-choices 
{
    word-wrap: break-word;
    text-align: left;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.question-option 
{
    box-sizing: border-box;
    display: flex;
    /* align-items: center; */
    gap: 5px;
    padding: 8px;;
}

.question-option input
{
    margin-top: 4px;
    flex: 0 0 20px;
    -webkit-text-decoration: black;
            text-decoration: black;
    accent-color: white;
    width: 20px;
    height: 20px;
}

.question-option:hover:not(.disable),
.question-option input:hover:not(.disable) {
    background-color: #e2842d52;
    cursor: pointer;
    border: 1px solid #e2842d;
    border-radius: 20px;
}

.question-option.selected
{
    background-color: #e2842d52;
    border: 1px solid #e2842d;
    border-radius: 20px;
}

.question-option.selected.correct
{
    background-color: #c3e6cb;
    border: 1px solid #155724;
    border-radius: 20px;
    padding-left: 4px;
    padding-right: 10px;
}

.question-option.selected.incorrect, .question-option.selected.incorrect input 
{
    accent-color: red;
    border: 1px solid rgba(255, 0, 0, 0.762);
    background-color: rgb(255, 238, 238);
    border-radius: 20px;
    padding-left: 4px;
    padding-right: 10px;
}

.question-incorrect
{
    text-align: left;
    display: none;
}

.question-incorrect.show
{
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-left: 20px;
}

.question-incorrect span
{
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 12px;
    border: 1px solid #155724;
    color: #155724;
    background-color: #c3e6cb;
}

.question-incorrect p
{
    margin-top: 20px;
    padding: 5px;
    width: 80%;
    padding-left: 10px;
    border-radius: 12px;
    border: 3px solid #155724;
    background-color: rgb(248, 249, 250);
}
.result-container 
{
    background-color: white;
    border: 1px solid black;
    border-radius: 12px;
    width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-close
{
    margin: 20px;
    width: 32px;
    height: 32px;
    border: 0px;
    font-size: 28px;
    background-color: transparent;
    border-radius: 100%;
    align-self: flex-end;
}

.result-close:hover
{
    cursor: pointer;
    background-color: rgb(245, 245, 245);
}

.result-image
{
    width: 98px;
    height: 98px;
    
}

.results
{
    font-size: 16px;
    width: 80%;
    padding: 20px;
    background-color: rgb(248, 249, 250);
    border: 1px solid lightgray;
    border-radius: 12px;
}

.results p 
{
    font-weight: 400;
    color: #666;
}

.results.perfect 
{
    border: 2px solid #155724;
    background-color: #c3e6cb;
}

.result-message 
{
    width: 80%;
}

.result-check mark 
{
    background-color: transparent;
    color: white;
    font-size: 18px;
}

.result-check {
  -webkit-appearance: button;
          appearance: button;
  background-color: gray;
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: din-round,sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .8px;
  line-height: 20px;
  margin: 0;
  outline: none;
  overflow: visible;
  padding: 13px 16px;
  text-align: center;
  text-transform: uppercase;
  touch-action: manipulation;
  transform: translateZ(0);
  transition: filter .2s;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}

.result-check:after {
  background-clip: padding-box;
  background-color: #13aa52;
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  bottom: -4px;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.result-check,
.result-check:focus {
  -webkit-user-select: auto;
          user-select: auto;
}

.result-check:disabled {
  cursor: auto;
}

.result-check:active {
  border-width: 4px 0 0;
  background: none;
}
.quiz-container 
{
    border-radius: 12px;
    padding: 20px;
    /* border: 1px solid black; */
    display: flex;
    flex: 0 1 600px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

.quiz-error.hide
{
    display: none;
}

.quiz-error
{
    display: flex;
    gap: 10px;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    padding: 5px 0px 5px 0px;
    border: 1px solid;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 0, 0.762);
    border-radius: 20px;
    background-color: rgb(255, 238, 238);
    color: red;
}

.quiz-error img 
{
    width: 24px;
    height: 24px;
}

.quiz-close
{
    width: 32px;
    height: 32px;
    border: 0px;
    font-size: 28px;
    background-color: transparent;
    border-radius: 100%;
    align-self: flex-end;
}

.quiz-close:hover
{
    cursor: pointer;
    background-color: rgb(245, 245, 245);
}

.quiz-title 
{
    display: flex;
    flex-direction: column;
    align-items: start;
}

.quiz-subtitle
{
    text-align: left;
}

.quiz-btn 
{
    display: flex;
    align-self: flex-end;
    gap: 20px;
}

.quiz-btn.hide
{
    display: none;
}

.quiz-submit-btn 
{
    font-size: 16px;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    background-color: #E2842D;
}

.quiz-cancel-btn 
{
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid black;
    background-color: white;
}

.quiz-cancel-btn.hide, .quiz-submit-btn.hide
{
    display: none;
}

.quiz-cancel-btn:hover
{
    cursor: pointer;
    background-color: rgb(245, 245, 245);
}

.quiz-submit-btn:hover 
{
    cursor: pointer;
    background-color: rgb(201, 114, 32);
}
.game-page-container {
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  max-height: 100vh;
  max-height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  box-sizing: border-box;
}

.game-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(201, 132, 199, 0.1), rgba(226, 132, 45, 0.1));
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 10%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.game-header {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 132, 199, 0.15);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  min-height: 32px;
  height: 32px;
  max-height: 32px;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.game-header.animating {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.2);
}

.game-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.back-button {
  background: rgba(201, 132, 199, 0.1);
  border: 1px solid rgba(201, 132, 199, 0.3);
  color: #2e0f35;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 32px;
  height: 32px;
  flex-shrink: 0;
}

.back-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.back-button:hover::before {
  left: 100%;
}

.back-button:hover {
  background: rgba(201, 132, 199, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 132, 199, 0.4);
}

.back-arrow {
  font-size: 14px;
  font-weight: bold;
}

.game-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1;
  min-width: 0;
  overflow: hidden;
}

.game-icon {
  font-size: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.game-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: #2e0f35;
  font-size: 1.2rem;
  margin: 0;
  background: linear-gradient(45deg, #2e0f35, #e2842d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Screen Controls */
.screen-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 101;
  flex-shrink: 0;
}

.screen-control-btn {
  background: rgba(201, 132, 199, 0.1);
  border: 1px solid rgba(201, 132, 199, 0.3);
  color: #2e0f35;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-width: 32px;
  height: 32px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.screen-control-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.screen-control-btn:hover::before {
  left: 100%;
}

.screen-control-btn:hover {
  background: rgba(201, 132, 199, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 132, 199, 0.4);
}

.screen-control-btn.animating {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.screen-control-btn.active {
  background: linear-gradient(135deg, #e2842d, #c984c7);
  color: #fff;
  border-color: #e2842d;
  box-shadow: 0 4px 15px rgba(226, 132, 45, 0.3);
}

.screen-control-btn.active:hover {
  background: linear-gradient(135deg, #c984c7, #e2842d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 132, 199, 0.4);
}

.control-icon {
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.game-content {
  flex: 1 1;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  max-height: 100vh;
  max-height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.game-iframe-container {
  position: relative;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.game-iframe-container.animating {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.2);
}


.game-iframe {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transform: none;
  transform-origin: center center;
}

.game-iframe::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 90%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Fullscreen Mode */
.game-page-container.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  z-index: 9999;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  overflow: hidden;
}

.game-page-container.fullscreen .game-header {
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(201, 132, 199, 0.1);
  min-height: 28px;
  height: 28px;
  max-height: 28px;
}

.game-page-container.fullscreen .game-content {
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  max-height: 100vh;
  max-height: 100dvh; /* Dynamic viewport height for better mobile/tablet support */
  overflow: hidden;
}

.game-iframe.fullscreen {
  width: 100vw;
  height: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

/* Smallscreen Mode */
.game-iframe.smallscreen {
  width: 1200px;
  height: 750px;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.game-page-container.smallscreen .game-content {
  padding: 20px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .game-header {
    padding: 12px 15px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: auto;
  }
  
  .back-button {
    padding: 10px 14px;
    font-size: 0.875rem;
    border-radius: 10px;
    order: 1;
    flex: 0 0 auto;
    min-height: 44px; /* Touch-friendly minimum */
  }
  
  .back-arrow {
    font-size: 16px;
  }
  
  .game-title-container {
    flex: 1 1 100%;
    order: 3;
    width: 100%;
    margin-top: 8px;
    justify-content: center;
  }
  
  .screen-controls {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 6px;
    z-index: 10;
    position: relative;
  }
  
  .game-title {
    font-size: 1.2rem;
    text-align: center;
  }
  
  .game-icon {
    font-size: 1.5rem;
  }
  
  .screen-controls {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 6px;
    z-index: 10;
    position: relative;
  }
  
  .screen-control-btn {
    min-width: 44px; /* Touch-friendly minimum */
    height: 44px;
    padding: 10px;
    border-radius: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(201, 132, 199, 0.3);
  }
  
  .control-icon {
    font-size: 16px;
  }
  
  .game-content {
    padding: 0;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
  }
  
  .game-iframe {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  
  .game-iframe.smallscreen {
    width: 100%;
    max-width: 100%;
    height: 100%;
  }
  
  .game-page-container.smallscreen .game-content {
    padding: 8px;
  }
  
  .shape {
    display: none;
  }
  
  /* Center loading state on mobile */
  .game-page-container > .unity-loading-state {
    padding: 24px;
    min-width: 240px;
    max-width: 85vw;
    gap: 16px;
  }
  
  .game-iframe-container .unity-loading-state,
  .unity-error-state {
    padding: 16px;
    gap: 12px;
  }
  
  .unity-spinner {
    width: 32px;
    height: 32px;
    border-width: 3px;
  }
  
  .unity-progress-bar-empty {
    width: 90%;
    max-width: 300px;
    height: 20px;
  }
  
  /* Ensure buttons are always clickable on mobile */
  .screen-control-btn,
  .back-button {
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
  }
}

@media (max-width: 480px) {
  .game-header {
    padding: 10px 12px;
    gap: 8px;
  }
  
  .back-button {
    padding: 8px 12px;
    font-size: 0.8rem;
    gap: 6px;
    min-height: 44px;
  }
  
  .back-arrow {
    font-size: 14px;
  }
  
  .game-title {
    font-size: 1rem;
  }
  
  .game-icon {
    font-size: 1.25rem;
  }
  
  .screen-controls {
    gap: 6px;
  }
  
  .screen-control-btn {
    min-width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 8px;
  }
  
  .control-icon {
    font-size: 14px;
  }
  
  .game-content {
    padding: 0;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
  }
  
  .game-iframe {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  
  .game-iframe.smallscreen {
    max-width: 100%;
    height: 100%;
  }
  
  /* Enhanced mobile loading state */
  .game-page-container > .unity-loading-state {
    padding: 20px;
    min-width: 200px;
    max-width: 80vw;
    gap: 14px;
    font-size: 0.9rem;
  }
  
  .game-iframe-container .unity-loading-state,
  .unity-error-state {
    padding: 12px;
    gap: 10px;
    font-size: 0.85rem;
  }
  
  .unity-spinner {
    width: 28px;
    height: 28px;
    border-width: 3px;
  }
  
  .unity-progress-bar-empty {
    width: 95%;
    max-width: 250px;
    height: 18px;
  }
  
  .unity-loading-state p,
  .unity-error-state p {
    font-size: 0.85rem;
    margin: 0;
  }
  
  .unity-error-state small {
    font-size: 0.75rem;
  }
}

/* Very small screens (320px and below) */
@media (max-width: 320px) {
  .game-header {
    padding: 8px 10px;
    gap: 6px;
  }
  
  .back-button {
    padding: 6px 10px;
    font-size: 0.75rem;
    min-height: 40px;
  }
  
  .game-title {
    font-size: 0.9rem;
  }
  
  .screen-control-btn {
    min-width: 40px;
    height: 40px;
    padding: 6px;
  }
  
  .control-icon {
    font-size: 12px;
  }
  
  .game-content {
    padding: 0;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
  }
  
  .game-iframe {
    width: 100%;
    height: 100%;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .game-page-container {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    max-height: 100vh;
    max-height: -webkit-fill-available;
    height: 100vh;
    height: -webkit-fill-available;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  .game-header {
    padding: 1px 3px;
    min-height: 20px;
    max-height: 20px;
    height: 20px;
    flex-wrap: nowrap;
    gap: 2px;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
    box-sizing: border-box;
    border-bottom-width: 1px;
    width: 100%;
    max-width: 100vw;
  }
  
  /* Hide back button in mobile landscape */
  .back-button {
    display: none !important;
  }
  
  .game-title-container {
    flex: 1 1;
    order: 1;
    margin-top: 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
  }
  
  .game-icon {
    font-size: 0.65rem;
    flex-shrink: 0;
  }
  
  .game-title {
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    line-height: 1.1;
  }
  
  .screen-controls {
    order: 2;
    flex: 0 0 auto;
    gap: 2px;
    margin-left: auto;
    z-index: 10;
    position: relative;
  }
  
  .screen-control-btn {
    min-width: 20px;
    height: 20px;
    max-height: 20px;
    padding: 2px;
    border-radius: 3px;
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(201, 132, 199, 0.3);
    box-sizing: border-box;
  }
  
  .control-icon {
    font-size: 9px;
  }
  
  .game-content {
    padding: 0;
    min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: calc(100vh - 20px);
    min-height: -webkit-fill-available;
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100vh - 20px);
    max-height: -webkit-fill-available;
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100vh - 20px);
    height: -webkit-fill-available;
    height: calc(100dvh - 20px);
    overflow: hidden;
    flex: 1 1;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }
  
  .game-iframe-container {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    display: flex;
    box-sizing: border-box;
    max-width: 100vw;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  .game-iframe {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    border-radius: 0;
    box-sizing: border-box;
    max-width: 100vw;
    object-fit: contain;
    transform-origin: center center;
    transform: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  
  .game-iframe.fullscreen {
    height: 100%;
    max-height: 100%;
    width: 100%;
    max-width: 100vw;
  }
  
  .game-page-container.fullscreen {
    height: 100vh;
    height: -webkit-fill-available;
    height: 100dvh;
    max-height: 100vh;
    max-height: -webkit-fill-available;
    max-height: 100dvh;
    width: 100vw;
    max-width: 100vw;
  }
  
  .game-page-container.fullscreen .game-header {
    min-height: 20px;
    max-height: 20px;
    height: 20px;
    padding: 1px 4px;
  }
  
  .game-page-container.fullscreen .game-content {
    min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: calc(100vh - 20px);
    min-height: -webkit-fill-available;
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100vh - 20px);
    max-height: -webkit-fill-available;
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100vh - 20px);
    height: -webkit-fill-available;
    height: calc(100dvh - 20px);
    padding: 0;
  }
  
  .game-page-container.fullscreen .game-iframe {
    height: 100%;
    max-height: 100%;
    width: 100%;
    max-width: 100vw;
  }
  
  .game-iframe.smallscreen {
    height: 100%;
    max-height: 100%;
    width: 100%;
    max-width: 100vw;
  }
  
  /* Ensure buttons are always clickable */
  .screen-control-btn {
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Prevent header from being cut off */
  .game-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    flex-shrink: 0;
  }
  
  /* Remove any padding that causes overflow */
  .game-page-container.smallscreen .game-content {
    padding: 0;
  }
  
  /* Ensure no horizontal scroll */
  body {
    overflow-x: hidden;
    max-width: 100vw;
    position: fixed;
    width: 100%;
    height: 100%;
  }
  
  html {
    overflow-x: hidden;
    max-width: 100vw;
    height: 100%;
    height: -webkit-fill-available;
    height: 100dvh;
  }
}

/* Extra small mobile landscape (very small height screens) */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .game-header {
    padding: 1px 2px;
    min-height: 18px;
    max-height: 18px;
    height: 18px;
    gap: 2px;
  }
  
  /* Back button already hidden in landscape */
  .back-button {
    display: none !important;
  }
  
  .game-icon {
    font-size: 0.6rem;
  }
  
  .game-title {
    font-size: 0.6rem;
  }
  
  .screen-control-btn {
    min-width: 18px;
    height: 18px;
    max-height: 18px;
    padding: 1px;
  }
  
  .control-icon {
    font-size: 8px;
  }
  
  .game-content {
    min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: calc(100vh - 18px);
    min-height: -webkit-fill-available;
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100vh - 18px);
    max-height: -webkit-fill-available;
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100vh - 18px);
    height: -webkit-fill-available;
    height: calc(100dvh - 18px);
  }
  
  .game-iframe {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    transform: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  .game-page-container.fullscreen .game-content {
    min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: calc(100vh - 18px);
    min-height: -webkit-fill-available;
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100vh - 18px);
    max-height: -webkit-fill-available;
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100vh - 18px);
    height: -webkit-fill-available;
    height: calc(100dvh - 18px);
  }
}

/* Additional responsive improvements for tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .game-header {
    padding: 12px 18px;
  }
  
  .game-title {
    font-size: 1.3rem;
  }
  
  .back-button {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .game-page-container {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
  }
  
  .game-content {
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow: hidden;
  }
}

/* Tablet and iPad specific fixes (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .game-page-container {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
    position: relative;
  }
  
  .game-content {
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow: hidden;
    padding: 0;
    margin: 0;
  }
  
  .game-iframe-container {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  
  .game-iframe {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  
  /* Ensure fullscreen mode works correctly on tablets */
  .game-page-container.fullscreen {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
  }
  
  .game-page-container.fullscreen .game-content {
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
}

/* iPad landscape orientation */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .game-page-container {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
  }
  
  .game-content {
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow: hidden;
  }
  
  .game-iframe {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }
}

/* Larger screens (desktop) - above 1024px */
@media (min-width: 1025px) {
  .game-header {
    padding: 12px 20px;
    min-height: 72px;
    height: 72px;
    max-height: 72px;
  }
  
  .back-button {
    padding: 10px 18px;
    min-height: 48px;
    height: 48px;
  }
  
  .game-title {
    font-size: 1.8rem;
  }
  
  .game-icon {
    font-size: 2rem;
  }
  
  .screen-control-btn {
    min-width: 48px;
    height: 48px;
    padding: 10px 14px;
  }
  
  .control-icon {
    font-size: 18px;
  }
  
  .game-content {
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .game-iframe-container {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
  }
  
  .game-iframe {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    transform: none;
  }
}

/* Center loading state when checking auth or loading URLs */
.game-page-container > .unity-loading-state {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 16px;
  text-align: center;
  padding: 32px;
  gap: 20px;
  color: #2e0f35;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 280px;
  max-width: 90vw;
}

/* Loading state inside game canvas container */
.game-iframe-container .unity-loading-state,
.unity-error-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  text-align: center;
  padding: 24px;
  gap: 16px;
  color: #2e0f35;
  font-weight: 600;
}

.unity-loading-state p,
.unity-error-state p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.unity-error-state small {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 4px;
}

.unity-loading-state,
.unity-error-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  text-align: center;
  padding: 24px;
  gap: 16px;
  color: #2e0f35;
  font-weight: 600;
}

.unity-spinner {
  width: 36px;
  height: 36px;
  border: 4px solid rgba(201, 132, 199, 0.3);
  border-top-color: #e2842d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.unity-progress-bar-empty {
  width: 80%;
  max-width: 400px;
  height: 24px;
  border: 2px solid rgba(201, 132, 199, 0.3);
  border-radius: 12px;
  padding: 2px;
  background: rgba(201, 132, 199, 0.1);
  overflow: hidden;
}

.unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #e2842d, #c984c7);
  border-radius: 10px;
  transition: width 0.3s ease;
  box-shadow: 0 2px 8px rgba(226, 132, 45, 0.3);
}


/*# sourceMappingURL=main.e380fe5e.css.map*/