* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Kalimati, Mukta, Arial, sans-serif;
  background: linear-gradient(to bottom, #3b82f6, #1e3a8a);
  color: #111827;
}

.hidden {
  display: none;
}

/* Loader */
.loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #fff;
}

.loader {
  width: 60px;
  height: 60px;
  border: 6px solid #d1d5db;
  border-top: 6px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo,
.flag {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 700;
}

.brand-text p {
  font-size: 14px;
  color: #4b5563;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 18px;
  align-items: center;
}

.nav-links a,
.lang-btn {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links a:hover,
.lang-btn:hover {
  color: #2563eb;
}

.login-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.login-btn:hover {
  background: #1d4ed8;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
  animation: fadeZoom 0.8s ease;
}

.slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.overlay h2 {
  color: #fff;
  font-size: 42px;
  max-width: 900px;
  line-height: 1.4;
  font-weight: 800;
}

.overlay p {
  margin-top: 16px;
  color: #e5e7eb;
  font-size: 20px;
  max-width: 850px;
}

@keyframes fadeZoom {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Stats */
.stats-section {
  padding: 50px 20px;
}

.stats-container {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 24px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.stat-card h3 {
  font-size: 36px;
  margin-bottom: 8px;
}

.stat-card p {
  color: #4b5563;
}

.blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.blue h3 {
  color: #1d4ed8;
}

.green {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.green h3 {
  color: #047857;
}

.purple {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}

.purple h3 {
  color: #7c3aed;
}

.chart-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
}

.chart-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .overlay h2 {
    font-size: 30px;
  }

  .overlay p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    right: 20px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: none;
    width: 240px;
  }

  .nav-links.show {
    display: flex;
  }

  .brand-text h1 {
    font-size: 16px;
  }

  .brand-text p {
    font-size: 12px;
  }

  .flag {
    display: none;
  }

  .slide img {
    height: 420px;
  }

  .overlay h2 {
    font-size: 24px;
  }
}