/* === Global Styles === */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f0f2f5;
  color: #333;
}

/* === Hero Section === */
.hero-gateway {
  background: linear-gradient(135deg, #004080, #007bff);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1.5s ease;
}

.hero-gateway h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.hero-tagline {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 2s ease;
}

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-gateway h1 {
    font-size: 32px;
  }

  .hero-tagline {
    font-size: 18px;
  }
}

/* === Filter Section === */
.mda-filters {
  background: #f8f9fa;
  padding: 40px 20px 20px;
  text-align: center;
}

.filters-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.filters-container input,
.filters-container select {
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  width: 250px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filters-container input:focus,
.filters-container select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
}

/* === MDA Grid Section === */
.mda-grid-section {
  padding: 50px 20px;
  background: #fff;
}

.mda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.mda-card {
  background: #f9f9f9;
  border-radius: 16px;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mda-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.mda-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.mda-card h3 {
  margin: 10px 0 5px;
  font-size: 20px;
  color: #004080;
}

.mda-card p {
  font-size: 14px;
  color: #555;
  word-break: break-word;
}

/* === Call to Action === */
.report-cta {
  text-align: center;
  margin: 40px 0;
  font-size: 16px;
}

.report-cta a {
  background: #004080;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.report-cta a:hover {
  background: #002f60;
}

/* === Modal Styles === */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 70px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: fadeIn 0.5s ease-in-out;
}

.modal-content h2 {
  margin-top: 0;
  color: #004080;
}

.modal-content label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.modal-content button {
  margin-top: 20px;
  background: #004080;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.modal-content button:hover {
  background: #002f60;
}

.close,
.closeBtn {
  color: #aaa;
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* === Scrollable Modal === */
.scrollable-modal {
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
}

form input,
form textarea,
form select,
form button {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  font-size: 16px;
}

form button {
  background-color: #0077cc;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

form button:hover {
  background-color: #005fa3;
}

/* === Social Bar === */
.social-bar {
  position: fixed;
  top: 40%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 9999;
}

.social-icon {
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 12px 14px;
  margin: 5px 0;
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  color: #fff;
}

.facebook:hover {
  background-color: #3b5998;
}

.twitter:hover {
  background-color: #1da1f2;
}

.whatsapp:hover {
  background-color: #25d366;
}

.linkedin:hover {
  background-color: #0077b5;
}

.voice {
  background-color: #f44336;
  color: white;
}

.voice:hover {
  background-color: #c62828;
}

.scroll-buttons {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scroll-buttons button {
  background: #222;
  color: #fff;
  border: none;
  outline: none;
  padding: 12px 14px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-buttons button:hover {
  background: #00bcd4;
  transform: scale(1.1);
}

.scroll-buttons button.show {
  opacity: 1;
  visibility: visible;
}

/* Light Mode (default) */
body {
  background-color: #ffffff;
  color: #222;
  transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode */
body.dark-mode * {
  background-color: inherit;
  color: inherit;
}

#darkModeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #444;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s;
}

body.dark-mode #darkModeToggle {
  color: #fff;
}

/* Loader Container */
#loader {
  position: fixed;
  z-index: 9999;
  background: #fff;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Spinner Animation */
.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #0d6efd;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Spin Keyframes */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-logo {
  position: absolute;
  width: 80px;
  height: auto;
  top: calc(50% - 100px);
}

/* === Responsive Footer CTA === */
.report-cta {
  text-align: center;
  padding: 20px 10px;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.report-cta .cta-link {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  color: #004080;
  text-decoration: none;
  gap: 6px;
  transition: all 0.3s ease;
}

.report-cta .cta-link i {
  font-size: 18px;
}

.report-cta .cta-link:hover {
  color: #0077cc;
}

@media (max-width: 768px) {
  .report-cta .cta-text {
    display: none; /* hide text on small screens */
  }

  .report-cta .cta-link i {
    font-size: 20px;
  }
}

