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

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

:root {
  /* Warm Terracotta Theme - Light Mode Mandatory */
  --bg: #fdf0e0; /* Warm sand background */
  --text: #1a1a2e;
  --text-muted: #5d4037;
  --accent: #d35400; /* Clay/Ceramic red */
  --accent-light: #e67e22;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(211, 84, 0, 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(139, 69, 19, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --nav-height: 70px;
}

body {
  font-family: 'Open Sans', system-ui, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  padding-bottom: var(--nav-height); /* Space for bottom nav */
}

h1, h2, h3, h4, .bebas {
  font-family: 'Bebas Neue', cursive;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* === BACKGROUND ANIMATION === */
.mesh-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--bg);
  overflow: hidden;
}

.mesh-ball {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: meshMove 20s infinite alternate ease-in-out;
}

.ball-1 { width: 40vw; height: 40vw; background: #f39c12; top: -10%; left: -10%; }
.ball-2 { width: 50vw; height: 50vw; background: #e74c3c; bottom: -10%; right: -10%; animation-delay: -5s; }
.ball-3 { width: 30vw; height: 30vw; background: #d35400; top: 40%; left: 30%; animation-delay: -10s; }

@keyframes meshMove {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10% , 15%) scale(1.2); }
}

/* === STRUCTURAL BASELINES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

section {
  padding: 100px 0;
  position: relative;
  background: transparent;
}

/* Section Overlap Effect */
.section-overlap {
  margin-top: -50px;
  padding-top: 150px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -20px 40px rgba(0,0,0,0.03);
}

/* === BOTTOM NAVIGATION BAR === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  flex: 1;
}

.nav-item i {
  font-size: 24px;
  margin-bottom: 4px;
}

.nav-item.active {
  color: var(--accent);
}

/* Transparent Top Nav (for Hero) */
.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  transition: background 0.4s ease;
}

.top-nav.scrolled {
  position: fixed;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  color: var(--accent);
}

/* === HERO SECTION (Minimalist Hero + Number Focal Point) === */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-stat {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.8;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* === BUTTONS & CTAs === */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px -10px var(--accent);
  filter: brightness(1.1);
}

.cta-full {
  width: 100%;
  padding: 100px 0;
  background: var(--accent);
  color: var(--white);
  text-align: center;
}

.cta-full h2 { font-size: 3rem; margin-bottom: 20px; }
.cta-full p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

/* === ZIGZAG LAYOUT === */
.zigzag-section .container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.zigzag-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .zigzag-row {
    flex-direction: row;
    justify-content: space-between;
  }
  .zigzag-row:nth-child(even) {
    flex-direction: row-reverse;
  }
  .zigzag-content { width: 45%; }
  .zigzag-image { width: 55%; }
}

/* === CARDS & GRIDS === */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-glass);
  transition: transform 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-10px);
}

/* === MARQUEE === */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: inline-block;
  margin: 0 50px;
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: var(--text-muted);
  opacity: 0.6;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === AWARDS BAR === */
.awards-bar {
  padding: 60px 0;
  text-align: center;
  background: var(--white);
}

.awards-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-item i {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 10px;
}

/* === INTERACTIVE QUIZ === */
.quiz-section {
  background: var(--white);
}

#quiz-container {
  max-width: 600px;
  margin: 0 auto;
}

.quiz-progress {
  height: 8px;
  background: #eee;
  border-radius: 4px;
  margin-bottom: 30px;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.quiz-option {
  padding: 15px 20px;
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: rgba(211, 84, 0, 0.05);
}

.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

/* === VIDEO TESTIMONIALS === */
.video-card {
  position: relative;
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* === FOOTER (Stacked Bars) === */
.footer {
  width: 100%;
}

.footer-bar-1 { background: #fdf0e0; padding: 60px 0; border-top: 1px solid var(--glass-border); }
.footer-bar-2 { background: #fae8d2; padding: 60px 0; }
.footer-bar-3 { background: #f3e0c9; padding: 30px 0; }

.footer h4 { margin-bottom: 20px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--accent); }

.social-links {
  display: flex;
  gap: 15px;
  font-size: 20px;
}

/* === INNER PAGE RICHNESS === */
.expert-tip {
  border-left: 5px solid var(--accent);
  background: white;
  padding: 30px;
  margin: 40px 0;
  font-style: italic;
}

.breadcrumbs {
  padding: 20px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sticky Bottom Banner */
#sticky-banner {
  position: fixed;
  bottom: calc(var(--nav-height) + 20px);
  right: 20px;
  background: var(--accent);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 999;
  display: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .hero-stat { font-size: 6rem; }
  .cta-full h2 { font-size: 2rem; }
}
