/* TailwindCSS already linked, this is extra custom styling */

body {
  font-family: 'Poppins', sans-serif;
}
html {
  scroll-behavior: smooth;
}
.navbar {
  background-color: #111827;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.navbar img {
  padding: 2px;
}

.nav-link {
  color: #d1d5db;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #10b981;
}
.live-indicator {
  color: #10b981; /* Bright green color */
  font-weight: bold;
  animation: blink 1.5s infinite;
  font-size: 1.2rem;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}


.header {
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  text-align: center;
  padding: 100px 20px;
}

.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #10b981;
}


.section-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: #9ca3af;
}

.card {
  background: #1f2937;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #d1d5db;
}

.data-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #10b981;
}

.badge {
  padding: 8px 16px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 9999px;
  color: white;
  background: #4b5563;
  display: inline-block;
  margin-top: 10px;
}

.chart {
  background: #1f2937;
  border-radius: 12px;
  padding: 20px;
  margin: 30px auto;
  width: 100%;
  max-width: 1000px;
  height: 450px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .chart {
    height: 300px;
    max-width: 95%;
  }
}



.btn-primary {
  background: #10b981;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #059669;
}

.tab-button {
  background: #10b981;
  color: white;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.tab-button:hover {
  background: #059669;
}

.hidden {
  display: none;
}

footer {
  margin-top: 50px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.popup {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ef4444;
  color: white;
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.7);
  animation: popupFade 0.5s ease;
}

@keyframes popupFade {
  0% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hidden {
  display: none;
}
.info-card {
  background-color: #1f2937; /* Dark box */
  padding: 30px;
  border-radius: 15px;
  margin-top: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.container {
padding-left: 15px;
padding-right: 15px;
}

@media (max-width: 768px) {
.section-title {
  font-size: 1.8rem;
}

.info-card {
  padding: 20px;
  margin: 10px;
}
}
.header {
  position: relative;
  height: 100vh;
  color: white;
}

.header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 1;
}

.header .content {
  position: relative;
  z-index: 2;
}
