/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.brochure-tag {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #2e2a85, #f58220); /* Blue → Orange */
  color: white;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(46, 42, 133, 0.6); /* Blue shadow */
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  animation: vibrate 2s infinite;
}

/* Hover effect */
.brochure-tag:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(245, 130, 32, 0.8); /* Orange glow */
}

/* Vibrating animation */
@keyframes vibrate {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}
/* Main nav */
.nav-links,
.nav-links .dropdown-content {
  list-style: none; /* 🔥 Removes bullet points */
  margin: 0;
  padding: 0;
}

/* Layout */
.nav-links {
  display: flex;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  display: block;
  padding: 14px 20px;
  text-decoration: none;
  color: #000;
  background: #fff;
}

.nav-links a:hover {
  background-color: #eee;
}

/* Main dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Submenu style */
.dropdown-sub {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%; /* Appears to the right */
  background: white;
  min-width: 200px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
}

.dropdown-sub:hover .submenu {
  display: block;
}

/* Links style */
.dropdown-content li a,
.submenu li a {
  padding: 10px;
  display: block;
  color: #333;
  text-decoration: none;
}

.dropdown-content li a:hover,
.submenu li a:hover {
  background: #f0f0f0;
}

/* Dropdown styles */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
}

.dropdown-content li a {
  padding: 12px 16px;
  white-space: nowrap;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}


/* Top Info Bar */
.top-info-bar {
  background-color: #09023a;
  color: #f2f2f2;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 999;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-info-bar.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.top-info-left a {
  color: #f2f2f2;
  text-decoration: none;
  font-weight: 600;
}

.top-info-left a:hover {
  color: #f17b07;
  text-decoration: underline;
}

.top-info-right a {
  margin-left: 1rem;
  color: #f2f2f2;
  font-size: 1.1rem;
  text-decoration: none;
}

.top-info-right a:hover {
  color: #f17b07;
}

/* Header */
header {
  background-color: white;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 998;
  transition: all 0.3s ease;
}

header.shrink {
  padding: 0.5rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo img {
  height: 70px;
  vertical-align: middle;
  margin-left: 30px;
  transition: height 0.3s ease;
}

header.shrink .logo img {
  height: 50px;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #ffc107, #f17b07);
  box-shadow: 0 0 5px #ffc107, 0 0 10px #f17b07;
  transition: width 0.4s ease-in-out;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #f17b07;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 100vh; /* Full screen */
  overflow: hidden;
  position: relative;
}

.hero-swiper,
.swiper-wrapper,
.swiper-slide {
  width: 100%;
  height: 100%;
}

.swiper-slide img,
.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures media covers the area without distortion */
  display: block;
}


/* Main Content */
.main-content {
  padding: 3rem 1rem;
  text-align: center;
}

.main-content h2 {
  color: #002b5c;
  margin-bottom: 1rem;
}

.main-content p {
  max-width: 700px;
  margin: 0 auto 1rem auto;
}

/* Footer */
footer {
  background-color: #302488;
  color: white;
  padding: 2rem;
  margin-top: 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1 1 200px;
  margin: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin: 0.5rem 0;
}

.footer-section a {
  color: #ffc107;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #ccc;
}

.our-services {
  padding: 1rem 1rem;
  background: #fff;
  text-align: center;
}

.our-services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #002b5c;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  flex: 1 1 calc(33.333% - 2rem); /* 3 in a row with gap */
  max-width: 380px;
  min-width: 280px;
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin: 0 auto;
  transition: transform 0.3s ease;
}


.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 83, 132, 0.9), transparent 60%);
  transition: background 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.service-card:hover::after {
  background: rgba(10, 83, 132, 0.85); /* Full overlay */
}


.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem;
  z-index: 2;
  color: white;
  pointer-events: none;
}

.service-card span {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  transition: transform 0.3s ease;
  pointer-events: auto;
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
}

.service-card:hover span {
  transform: translateY(-100px);
}

.overlay p,
.overlay button {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.service-card:hover .overlay p,
.service-card:hover .overlay button {
  opacity: 1;
  transform: translateY(0);
}

.overlay p {
  font-size: 0.95rem;
  margin: 10px 0 5px;
  z-index: 3;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


.overlay button {
  background: #ffffff;
  color: #0a5384;
  border: none;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  z-index: 3;
}




.about-section {
  padding: 4rem 2rem;
  background-color: white;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 400px;
  min-width: 100px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 0px;
}

.about-content {
  flex: 1 1 500px;
  min-width: 300px;
}

.about-content h2 {
  font-size: 2rem;
  color: #002b5c;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

.learn-more-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #0A5384;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #06406a;
}

.more-services-btn-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center; /* vertically centers if height grows */
  margin-top: 2rem;
  text-align: center;
}

.more-services-btn {
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: #0A5384;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.more-services-btn:hover {
  background-color: #06406a;
}



.more-services-btn:hover {
  background-color: #06406a;
}


.more-services-btn:hover {
  background-color: #06406a;
}
.contact-map-container {
  display: flex;
  flex-wrap: wrap;  /* allow wrapping */
  gap: 20px;
  margin-top: 20px;
}

.contact-map-container .map {
  flex: 1 1 48%;   /* 2 maps side by side on desktop */
  min-width: 300px;
}

.contact-map-container h3 {
  margin-bottom: 10px;
  color: #002b5c;
  font-size: 1.1rem;
  font-weight: 600;
}

.category-tabs-box {
  background-color: #09023a;
  padding: 2rem;
  border-radius: 0px;
  max-width: 1100px;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.category-tabs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.tab-btn {
  flex: 1 1 22%;
  min-width: 200px;
  background-color: #1e1a48;
  color: #fff;
  /* border: 2px solid transparent; */
  border-radius: 0px;
  padding: 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background-color: #2a2560;
  transform: translateY(-3px);
}

.tab-btn.active {
  background-color: #fff;
  color: #09023a;
  border-color: #fff;
}

.ndt-analytics-section {
  background: white;
  padding: 30px 10px;
  font-family: 'Segoe UI', sans-serif;
}
.analytics-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.analytics-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #3c28a0;
}
.analytics-title span {
  color: #f37c00;
}
.analytics-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px;
  flex: 1 1 200px;
  max-width: 250px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
}

.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.4s; }
.card:nth-child(4) { animation-delay: 0.6s; }

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

.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #3c28a0;
}
.card p {
  color: #666;
}
.contact-section {
  padding: 40px;
  background-color: white;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  margin-top: 15px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #09023a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #2a1f7f;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 400px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


/* Report Verification Popup */
#popup {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  background: white;
  padding: 20px;
  border: 2px solid #333;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  z-index: 1000;
  width: 300px;
  border-radius: 8px;
}

#popup input {
  width: 100%;
  padding: 6px;
  margin-top: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
}

#popup button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}


/* #overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
} */
.animated-btn {
    overflow: hidden;
  }

  .animated-text {
    display: inline-block;
    animation: slide-left-right 1s ease-in-out infinite alternate;
  }

  .animated-btn:hover .animated-text {
    animation-play-state: running;
  }

  .animated-btn .animated-text {
    animation-play-state: paused;
  }

  @keyframes slide-left-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(10px); }
  }

  .transition-item {
      position: relative;
      overflow: hidden;
      z-index: 1;
      transition: color 0.3s ease;
    }

    .transition-item::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 0%;
      height: 100%;
      background-color: #2d4a8a;
      z-index: -1;
      transition: width 0.4s ease;
    }

    .transition-item:hover::before {
      width: 100%;
    }

    .transition-item:hover {
      color: #fff;
    }