* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Professional base font */
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: #2c3e50;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(12, 42, 97, 0.78) 0%, rgba(37, 99, 235, 0.62) 45%, rgba(129, 140, 248, 0.4) 100%),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 30%);
  pointer-events: none;
}

.particle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  will-change: transform, opacity;
  pointer-events: none;
}

/* Kid-friendly display font for prominent headings and buttons */
.kids-font {
  font-family: "Baloo 2", "Segoe UI", cursive;
}

.big-tab .icon,
.big-tab lottie-player {
  pointer-events: none;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

/* ============================
   HEADER - Premium Gradient Design
   ============================ */
header {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.18);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  z-index: 1;
}

/* Animated gradient overlay */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent 40%, rgba(255,255,255,0.12));
  pointer-events: none;
  animation: headerGlow 8s ease-in-out infinite alternate;
}

@keyframes headerGlow {
  0% { transform: translateX(-4%); }
  100% { transform: translateX(4%); }
}

/* Decorative floating circles */
header::after {
  content: '';
  position: absolute;
  top: -80px;
  right: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Header actions (used by chapters page for a top-right back button) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .small-link.back {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}
.header-actions .small-link.back:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

.logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.logo h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-tag {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 2px;
}

/* ============================
   MAIN - Beautiful Card Design
   ============================ */
main {
  flex: 1;
  padding: 3rem 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.subjects-container {
  width: 100%;
  max-width: 1200px;
}

/* Single-subject card */
.single-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.88));
  border-radius: 30px;
  padding: 3.2rem 3rem;
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.15);
  text-align: center;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.single-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 60%);
  pointer-events: none;
}

.single-card::after {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
  pointer-events: none;
}

/* Chapters page tweaks (global so chapters.html can be simpler) */
.chapters-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.chapter-link {
  display: block;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-left: 8px solid #2563eb;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
  color: #0b2545;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.125rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.chapter-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.12);
  background: linear-gradient(180deg, #e6f0ff 0%, #ffffff 100%);
}

@media (max-width: 768px) {
  .header-actions {
    position: absolute;
    right: 1rem;
  }
  .chapters-list {
    padding: 0 1rem;
  }
}

/* ============================
   TITLE SECTION - Premium Design
   ============================ */
.title-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  z-index: 1;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards, levitate 4s ease-in-out 0.9s infinite;
}

/* Floating badge above the title */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1b1b1b;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  animation: badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 2.5s ease-in-out infinite;
  transform: rotate(25deg);
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

@keyframes badgePop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.single-title {
  font-size: clamp(2.4rem, 4.5vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 0;
  font-weight: 800;
  font-family: "Baloo 2", cursive;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #1a3a7a 0%, #4f46e5 50%, #7c3aed 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out 0.15s forwards;
}

/* Animated gradient underline for the title */
.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  border-radius: 4px;
  margin-top: 0.2rem;
  animation: underlineGrow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

@keyframes underlineGrow {
  0% { width: 0; opacity: 0; }
  100% { width: 80px; opacity: 1; }
}

/* Floating levitation for the entire title section */
@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================
   DESCRIPTION BOX - Enhanced Design
   ============================ */
.desc-box {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-left: 4px solid #3b82f6;
  border-radius: 14px;
  padding: 1rem 1.5rem;
  max-width: 720px;
  margin: 0 auto 1.4rem;
  position: relative;
  z-index: 1;
  animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

.desc-icon {
  font-size: 1.5rem;
  line-height: 1.4;
  flex-shrink: 0;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-5deg); }
}

.single-desc {
  color: #475569;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: left;
}

/* Section divider with decorative star */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.25rem auto 1.75rem;
  max-width: 600px;
  position: relative;
  z-index: 1;
  animation: fadeSlideUp 0.8s ease-out 0.45s both;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.25), transparent);
}

.section-divider span {
  font-size: 0.85rem;
  color: #8b5cf6;
  animation: spinStar 4s linear infinite;
  display: inline-block;
}

@keyframes spinStar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================
   BUTTONS - Beautiful Grid with Gradients
   ============================ */
.single-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.25rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.big-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: 1.4rem 1rem;
  border-radius: 18px;
  border: none;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  flex-direction: column;
  text-align: center;
  min-height: 170px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
}

.big-tab::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, transparent 55%);
  pointer-events: none;
  border-radius: 18px;
}

.big-tab:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.big-tab:active {
  transform: translateY(-2px) scale(0.98);
}

.big-tab .tab-label {
  position: relative;
  z-index: 1;
}

.big-tab lottie-player {
  position: relative;
  z-index: 1;
}

/* ============================
   BUTTON COLOR VARIANTS
   ============================ */

/* 🎬 Watch on YouTube - Red */
.youtube-tab {
  background: linear-gradient(180deg, #ff6b4a 0%, #e84118 100%);
  box-shadow: 0 8px 25px rgba(232, 65, 24, 0.25);
  border: 1px solid rgba(255, 107, 74, 0.3);
}
.youtube-tab:hover {
  background: linear-gradient(180deg, #ff7a5c 0%, #ff5338 100%);
  box-shadow: 0 12px 35px rgba(232, 65, 24, 0.35);
}

/* 📖 Flip Book - Blue */
.ai-tab {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.ai-tab:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  box-shadow: 0 12px 35px rgba(29, 78, 216, 0.35);
}

/* 📝 Test Paper - Green */
.flipbook-tab {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.flipbook-tab:hover {
  background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%);
  box-shadow: 0 12px 35px rgba(5, 150, 105, 0.35);
}

/* 🔑 Answer Key - Gold/Yellow */
.answer-key-tab {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  color: #1b1b1b;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.answer-key-tab:hover {
  background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
  box-shadow: 0 12px 35px rgba(217, 119, 6, 0.35);
}

/* 🤖 AI – Purple/Blue */
.ai-new-tab {
  background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 8px 25px rgba(109, 40, 217, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.ai-new-tab:hover {
  background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
  box-shadow: 0 12px 35px rgba(109, 40, 217, 0.35);
}

/* 🏆 Olympiad – Gold/Orange */
.olympiad-tab {
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
  box-shadow: 0 8px 25px rgba(180, 83, 9, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.olympiad-tab:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 12px 35px rgba(180, 83, 9, 0.35);
}

/* 🌐 Language Lab – Teal/Cyan */
.language-lab-tab {
  background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.25);
  border: 1px solid rgba(45, 212, 191, 0.3);
}
.language-lab-tab:hover {
  background: linear-gradient(180deg, #5eead4 0%, #14b8a6 100%);
  box-shadow: 0 12px 35px rgba(13, 148, 136, 0.35);
}

/* 🔄 Translation – Green/Emerald */
.translation-tab {
  background: linear-gradient(180deg, #10b981 0%, #047857 100%);
  box-shadow: 0 8px 25px rgba(4, 120, 87, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.translation-tab:hover {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
  box-shadow: 0 12px 35px rgba(4, 120, 87, 0.35);
}

/* 🎮 Interactivity – Pink/Magenta */
.interactivity-tab {
  background: linear-gradient(180deg, #f472b6 0%, #db2777 100%);
  box-shadow: 0 8px 25px rgba(219, 39, 119, 0.25);
  border: 1px solid rgba(244, 114, 182, 0.3);
}
.interactivity-tab:hover {
  background: linear-gradient(180deg, #f9a8d4 0%, #ec4899 100%);
  box-shadow: 0 12px 35px rgba(219, 39, 119, 0.35);
}

/* 📘 Teacher Manual – Indigo/Navy */
.teacher-manual-tab {
  background: linear-gradient(180deg, #6366f1 0%, #4338ca 100%);
  box-shadow: 0 8px 25px rgba(67, 56, 202, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.teacher-manual-tab:hover {
  background: linear-gradient(180deg, #818cf8 0%, #4f46e5 100%);
  box-shadow: 0 12px 35px rgba(67, 56, 202, 0.35);
}

/* ============================
   FOOTER - Elegant Dark Design
   ============================ */
footer {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  padding: 1rem 2rem 1.5rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

/* Animated wave decoration at top of footer */
.footer-waves {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  animation: waveMotion 8s linear infinite;
}

.wave-1 {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%231e293b' fill-opacity='0.4' d='M0,30 C360,55 720,5 1080,30 C1260,42.5 1350,37.5 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") repeat-x;
  animation-duration: 7s;
  opacity: 0.5;
}

.wave-2 {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%231e293b' fill-opacity='0.6' d='M0,40 C360,15 720,50 1080,25 C1260,12.5 1350,20 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") repeat-x;
  animation-duration: 11s;
  animation-direction: reverse;
  opacity: 0.6;
}

.wave-3 {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%230f172a' d='M0,20 C240,50 480,0 720,30 C960,55 1200,10 1440,25 L1440,60 L0,60 Z'/%3E%3C/svg%3E") repeat-x;
  animation-duration: 15s;
  opacity: 0.8;
}

@keyframes waveMotion {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
  z-index: 2;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #334155;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #3b82f6;
}

.logo-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.logo-section img {
  width: 200px;
  height: auto;
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-section img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.footer-brand-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

/* Social media icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon:hover {
  background: #3b82f6;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
}

.footer-content > .footer-col:nth-of-type(2) {
  justify-self: end;
  text-align: right;
  max-width: 640px;
}

/* Contact items with icons */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-align: left;
  justify-content: flex-end;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span,
.footer-contact-item a {
  color: #94a3b8;
  line-height: 1.5;
  font-size: 0.9rem;
  font-style: normal;
}

.footer-contact-item a {
  color: #60a5fa;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #93c5fd;
}

.footer-divider {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #334155, transparent);
}

.footer-bottom {
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* ============================
   RESPONSIVE - Mobile (≤768px)
   ============================ */
@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
  }

  header::before {
    opacity: 0.5;
  }

  .logo h1 {
    font-size: 1.3rem;
  }

  .site-tag {
    font-size: 0.7rem;
  }

  .logo img {
    width: 48px;
    height: 48px;
    padding: 5px;
  }

  main {
    padding: 1.5rem 1rem;
  }

  .single-card {
    padding: 2rem 1.15rem;
    min-height: auto;
    border-radius: 22px;
  }

  .single-title {
    font-size: 1.8rem;
  }

  .single-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .single-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow-x: visible;
  }

  .big-tab {
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
    min-height: 120px;
    gap: 0.5rem;
    border-radius: 14px;
  }

  .big-tab .icon,
  .big-tab lottie-player {
    width: 48px;
    height: 48px;
  }

  .big-tab:hover {
    transform: translateY(-3px) scale(1.01);
  }

  .footer-waves {
    height: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .logo-section {
    align-items: center;
  }

  .logo-section img {
    width: 140px;
    padding: 10px;
  }

  .footer-brand-desc {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-content > .footer-col:nth-of-type(2) {
    justify-self: center;
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center;
    text-align: left;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  footer {
    padding: 2.5rem 1.5rem 1.25rem;
  }
}

