/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9fbfe;
  color: #1c1c1c;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease-in-out;
}

a:hover {
  color: #f39c12;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(135deg, #001f3f, #003366);
  color: #ffffff;
  padding: 90px 20px;
  text-align: center;
  animation: fadeInDown 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: slideIn 1s ease-out;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

/* ========== STATS SECTION ========== */
.stats-section {
  background: #f1f4f9;
  padding: 60px 20px;
  animation: fadeInUp 1s ease-in-out;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
  text-align: center;
}

.stat-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 40px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.stat-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.stat-box i {
  font-size: 3rem;
  margin-bottom: 12px;
}

.green { color: #2ecc71; }
.blue { color: #3498db; }
.purple { color: #9b59b6; }

/* ========== FOOTER ========== */
.footer {
  background: #0a1a3a;
  color: white;
  padding: 60px 20px;
  animation: fadeInUp 1s ease-in-out;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.footer h4 {
  margin-bottom: 18px;
  font-size: 1.3rem;
  border-bottom: 2px solid #f1c40f;
  padding-bottom: 6px;
  color: #f1c40f;
}

.footer ul li {
  margin-bottom: 10px;
  color: #ccc;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer ul li:hover {
  color: #f1c40f;
  transform: translateX(4px);
}

.footer a {
  color: #f1c40f;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 14px;
  font-size: 0.9rem;
  color: #ccc;
}

/* ========== WHATSAPP ICON ========== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 55px;
  height: 55px;
  animation: pulse 2s infinite;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-100%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-box i {
    font-size: 2rem;
  }
}

/* ========== TAB SWITCHING FIX ========== */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-button.active {
  background-color: #4338ca;
  color: white;
}