:root {
  --blue-deep: #1a3a8f;
  --blue-mid: #1e5dcc;
  --blue-bright: #2979ff;
  --teal: #00c9b1;
  --orange: #ff6b1a;
  --yellow: #ffd600;
  --purple: #8c2be3;
  --pink: #ffcb3d;
  --white: #ffffff;
  --black: black;
  --off-white: #f5f8ff;
  --dark: #0d1b4b;
  --shadow: 0 8px 32px rgba(26,58,143,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans Malayalam", sans-serif;
  background: var(--off-white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ===== FLOATING SOCIAL ICONS - LEFT CENTER ===== */
.floating-social-icons {
  position: fixed;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 1000;
}

.floating-social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(7, 59, 156, 0.692);
  backdrop-filter: blur(8px);
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.floating-social-icon:hover {
  background: var(--teal);
  color: var(--dark);
  transform: translateX(5px);
}

/* Hide floating social icons on mobile */
@media (max-width: 768px) {
  .floating-social-icons {
    display: none;
  }
}

/* Adjust position for larger screens */
@media (min-width: 1400px) {
  .floating-social-icons {
    left: 30px;
    gap: 1.2rem;
  }
  .floating-social-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* For tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .floating-social-icons {
    left: 15px;
    gap: 0.8rem;
  }
  .floating-social-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(13,27,75,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* Custom Logo Image */
.nav-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

/* CTA Button */
.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: var(--black);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255,107,26,0.3);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
  .nav-logo-img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0.8rem 1.2rem;
  }
  .nav-logo-img {
    width: 50px;
    height: 50px;
  }
  .nav-cta {
    padding: 0.45rem 1.1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.6rem 0.8rem;
  }
  .nav-logo-img {
    width: 40px;
    height: 40px;
  }
  .nav-cta {
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
  }
}

/* ===== FIXED BOTTOM BAR FOR MOBILE ===== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13,27,75,0.98);
  backdrop-filter: blur(12px);
  padding: 0.8rem 1rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.8rem;
}

.mobile-social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.2rem;
}

.mobile-social-icon:hover,
.mobile-social-icon:active {
  background: var(--teal);
  color: var(--dark);
  transform: translateY(-3px);
}

.mobile-join-btn {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mobile-join-btn:active {
  transform: scale(0.98);
}

/* Show bottom bar only on mobile devices */
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 110px;
  }
}

@media (max-width: 480px) {
  .mobile-bottom-bar {
    padding: 0.6rem 0.8rem;
  }
  .mobile-social-icons {
    gap: 1rem;
    margin-bottom: 0.6rem;
  }
  .mobile-social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .mobile-join-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  body {
    padding-bottom: 100px;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1b4b 0%, #1a3a8f 40%, #1e5dcc 70%, #00c9b1 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem 4rem;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,201,177,0.25) 0%, transparent 70%);
  top: -120px; right: -120px;
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(140,43,227,0.2) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.shape {
  position: absolute;
  border-radius: 4px;
  opacity: 0.55;
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
}

.shape-1 { width: 22px; height: 22px; background: var(--teal); top: 12%; left: 8%; animation-delay: 0s; transform: rotate(45deg); }
.shape-2 { width: 14px; height: 14px; background: var(--orange); top: 20%; right: 10%; animation-delay: 1s; border-radius: 50%; }
.shape-3 { width: 18px; height: 18px; background: var(--yellow); top: 60%; left: 5%; animation-delay: 2s; border-radius: 50%; }
.shape-4 { width: 12px; height: 12px; background: var(--pink); bottom: 20%; right: 8%; animation-delay: 0.5s; transform: rotate(30deg); }
.shape-5 { width: 26px; height: 26px; background: var(--purple); bottom: 30%; left: 12%; animation-delay: 1.5s; transform: rotate(20deg); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 45deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 45deg)); }
}

.hero-title {
  font-size: clamp(1.6rem, 6vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1rem;
  animation: fadeDown 0.7s 0.1s ease both;
  position: relative;
  z-index: 15;
  margin-top: 0;
}

.hero-title span { color: var(--teal); }

.hero-subtitle {
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  max-width: 90%;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  padding: 0 0.5rem;
  animation: fadeDown 0.7s 0.2s ease both;
  position: relative;
  z-index: 15;
}

.hero-illustration {
  width: 40vw !important;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  position: relative;
  z-index: 2;
  margin: 1rem auto 2rem;
  animation: fadeUp 0.8s 0.3s ease both;
  background-image: url('img/hero-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  pointer-events: none;
}

.hero-svg-wrap {
  position: relative;
}

.hero-svg-wrap svg { 
  width: 100%; 
  height: auto;
  pointer-events: none;
}

.icon-float {
  position: absolute;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  animation: float 3.5s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  pointer-events: none;
}

.icon-float.f1 { top: 0%; left: -8%; animation-delay: 0s; }
.icon-float.f2 { top: 10%; right: -6%; animation-delay: 0.8s; }
.icon-float.f3 { bottom: 25%; left: -10%; animation-delay: 1.4s; }
.icon-float.f4 { bottom: 15%; right: -8%; animation-delay: 0.4s; }

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.4s ease both;
  position: relative;
  z-index: 20;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: var(--black);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255,107,26,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 30;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover { 
  transform: translateY(-3px) scale(1.04); 
  box-shadow: 0 10px 32px rgba(255,107,26,0.55); 
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 30;
  -webkit-tap-highlight-color: transparent;
}

.btn-secondary:hover { 
  background: rgba(255,255,255,0.22); 
  transform: translateY(-2px); 
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero {
    padding-top: 4rem;
    min-height: auto;
    padding-bottom: 3rem;
  }
  .hero-title {
    margin-top: 2rem;
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.35;
  }
  .hero-illustration {
    width: 60vw !important;
    max-width: 280px;
    margin: 0.5rem auto 1.5rem;
  }
  .icon-float {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .hero-cta-group {
    gap: 0.8rem;
    width: 100%;
    padding: 0 0.5rem;
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }
  .hero-title {
    margin-top: 1.5rem;
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  .hero-subtitle {
    font-size: 0.85rem;
    max-width: 95%;
    margin-bottom: 1.2rem;
  }
  .hero-illustration {
    width: 70vw !important;
    max-width: 240px;
    margin: 0 auto 1.2rem;
  }
  .icon-float {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
  .icon-float.f1 { top: -5%; left: -5%; }
  .icon-float.f2 { top: 5%; right: -8%; }
  .icon-float.f3 { bottom: 20%; left: -8%; }
  .icon-float.f4 { bottom: 10%; right: -8%; }
  .btn-primary,
  .btn-secondary {
    max-width: 260px;
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    min-height: 48px;
  }
}

/* ===== WHAT IS MI SECTION ===== */
.section { padding: 4.5rem 1.5rem; }

.section-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.6rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.7rem;
  line-height: 1.25;
}

.section-title span { color: var(--blue-bright); }

.section-desc {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Content with image layout */
.content-with-image {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 1rem;
  background: transparent;
  border-radius: 24px;
}

.content-with-image .content-image {
  flex: 0 0 200px;
  text-align: center;
}

.content-with-image .content-image img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(26,58,143,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-with-image .content-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(26,58,143,0.2);
}

.content-with-image .content-text {
  flex: 1;
}

.content-with-image .content-text .section-desc {
  margin: 0;
  text-align: left;
  max-width: 100%;
  padding: 0;
}

/* MI Grid */
.mi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}

@media (min-width: 768px) {
  .mi-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
  }
}

@media (max-width: 767px) and (min-width: 480px) {
  .mi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MI Cards */
.mi-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26,58,143,0.08);
  border: 2px solid transparent;
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.mi-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-gradient, linear-gradient(135deg, #e8f0ff, #fff));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.mi-card:hover::before { opacity: 1; }
.mi-card:hover { 
  transform: translateY(-6px); 
  border-color: var(--card-color, var(--blue-bright)); 
  box-shadow: 0 12px 32px rgba(26,58,143,0.16); 
}

.mi-card > * { position: relative; z-index: 1; }
.mi-icon { font-size: 2.2rem; margin-bottom: 0.7rem; display: block; }
.mi-name { font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.mi-name-ml { font-size: 0.82rem; color: #6b7280; margin-top: 0.2rem; }

/* MI Section Responsive */
@media (max-width: 768px) {
  .section { padding: 3rem 1rem; }
  .content-with-image {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 0.5rem;
    margin-bottom: 2rem;
  }
  .content-with-image .content-text .section-desc { text-align: center; }
  .content-with-image .content-image img { max-width: 150px; }
}

@media (max-width: 480px) {
  .content-with-image .content-image img { max-width: 120px; }
  .mi-card { padding: 1rem 0.75rem; }
  .mi-icon { font-size: 1.8rem; }
  .mi-name { font-size: 0.8rem; }
  .mi-name-ml { font-size: 0.7rem; }
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: linear-gradient(135deg, #0d1b4b 0%, #1a3a8f 60%, #1e5dcc 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,201,177,0.12) 0%, transparent 70%);
  top: -200px; right: -200px;
  border-radius: 50%;
  pointer-events: none;
}

.features-section .section-title { color: var(--white); }
.features-section .section-desc { color: rgba(255,255,255,0.72); }
.features-section .section-label { color: var(--teal); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  color: var(--white);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-5px);
  border-color: rgba(0,201,177,0.5);
}

.feature-icon-wrap {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--blue-bright));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 20px rgba(0,201,177,0.35);
}

.feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.65; }

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 5rem 1.5rem;
  background: var(--off-white);
}

.price-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(26,58,143,0.14);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--blue-bright);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple));
}

.price-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.price-old { font-size: 1.4rem; color: #a0aec0; text-decoration: line-through; margin-bottom: 0.3rem; }
.price-new { font-size: clamp(3rem, 10vw, 5rem); font-weight: 800; color: var(--blue-deep); line-height: 1; margin-bottom: 0.3rem; }
.price-new sup { font-size: 0.4em; vertical-align: top; margin-top: 0.5em; }
.price-note { font-size: 1rem; color: #6b7280; margin-bottom: 2rem; }

.price-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.price-features li { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0; border-bottom: 1px solid #f0f4ff; font-size: 1rem; font-weight: 500; }
.price-features li:last-child { border-bottom: none; }
.price-features .check { width: 24px; height: 24px; min-width: 24px; background: linear-gradient(135deg, var(--teal), var(--blue-bright)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.75rem; font-weight: 800; }

.book-btn { width: 100%; text-align: center; display: block; font-size: 1.15rem; padding: 1.1rem; text-decoration: none; }
.contact-numbers { margin-top: 1rem; font-size: 0.85rem; color: #6b7280; }

/* Download CTA Section */
.download-cta-section { max-width: 1100px; margin: 4rem auto 0; padding: 0 1rem; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.download-card { background: var(--white); border-radius: 24px; padding: 2rem 1.5rem; text-align: center; box-shadow: 0 10px 30px rgba(26,58,143,0.08); transition: all 0.3s ease; border: 1px solid rgba(0,201,177,0.1); }
.download-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(26,58,143,0.15); border-color: var(--teal); }
.download-icon { font-size: 3rem; margin-bottom: 1rem; }
.download-title { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; }
.download-desc { font-size: 0.9rem; color: #6b7280; line-height: 1.5; margin-bottom: 1.5rem; }
.download-btn { background: linear-gradient(135deg, var(--blue-mid), var(--blue-bright)); color: var(--white); border: none; padding: 0.9rem 1.8rem; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; transition: all 0.3s ease; width: 100%; max-width: 200px; margin: 0 auto; font-family: inherit; }
.download-btn:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(30,93,204,0.3); }
.download-btn:active { transform: scale(0.98); }
.download-btn.loading { opacity: 0.7; cursor: wait; transform: none; }

/* Pricing Responsive */
@media (max-width: 768px) {
  .pricing-section { padding: 3rem 1rem; }
  .download-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .price-card { padding: 2rem 1.5rem; }
  .download-card { padding: 1.5rem; }
  .download-title { font-size: 1.1rem; }
  .download-btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .download-icon { font-size: 2.5rem; }
  .download-btn { max-width: 100%; }
  .price-features li { font-size: 0.9rem; }
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 50%, var(--purple) 100%);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem; max-width: 800px; margin: 0 auto; text-align: center; }
.stat-item { color: var(--white); }
.stat-number { font-size: clamp(2rem, 6vw, 3rem); font-weight: 600; line-height: 1; margin-bottom: 0.4rem; color: var(--dark); }
.stat-label { font-size: 0.95rem; opacity: 0.88; color: var(--dark); }

/* ===== CONTACT BAR ===== */
.contact-bar { background: var(--dark); padding: 2rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 0.7rem; color: var(--white); font-size: 1rem; font-weight: 600; text-decoration: none; transition: color 0.2s; position: relative; z-index: 30; -webkit-tap-highlight-color: transparent; }
.contact-item:hover { color: var(--teal); }
.contact-item .icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
@media (max-width: 768px) { .contact-bar { flex-direction: column; padding: 1.5rem; gap: 1rem; } }

/* ===== FOOTER ===== */
.footer-cta { background: linear-gradient(135deg, #0d1b4b, #1a3a8f); padding: 4rem 1.5rem; text-align: center; }
.footer-cta h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 600; color: var(--white); margin-bottom: 0.8rem; }
.footer-cta h2 span { color: var(--teal); }
.footer-cta p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.05rem; }
.footer-bottom { background: #060e24; padding: 1.5rem; text-align: center; color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom strong { color: var(--teal); }
.socials { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1.5rem; }
.social-btn { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; text-decoration: none; transition: all 0.2s; }
.social-btn:hover { background: var(--teal); border-color: var(--teal); transform: scale(1.1); }

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== ADDITIONAL RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-cta { padding: 3rem 1rem; }
  .footer-cta p { font-size: 0.9rem; padding: 0 0.5rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2rem; }
  .footer-cta h2 { font-size: 1.3rem; }
  .social-btn { width: 38px; height: 38px; font-size: 0.9rem; }
}





/* Container for the YouTube video - responsive and centered */
.video-container {
    max-width: 960px;      /* Limits maximum width on large screens */
    width: 100%;            /* 80% of parent container width */
    margin: 2rem auto;     /* Center horizontally */
    padding: 0;            /* Remove padding to maintain exact 80% */
    box-sizing: border-box;
}

/* Wrapper that creates the 16:9 aspect ratio */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

/* The iframe itself fills the wrapper */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    text-align: center;
    font-family: 'Noto Sans Malayalam', sans-serif;
    font-size: 0.9rem;
    color: #4a5568;
    margin-top: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .video-container {
        width: 95%;        /* Wider on mobile for better viewing */
        margin: 1rem auto;
    }
    .video-wrapper {
        border-radius: 12px;
    }
    .video-caption {
        font-size: 0.8rem;
    }
}