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

body {
  font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
}

.navbar {
  position: sticky;
  top: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.logo img {
  width: 220px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 150px;
  position: relative;
  flex-grow: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Rotate arrow on hover */
.dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* Container for the whole mega menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  /* width: 100vw; Full screen width */
  background-color: white;
  display: none;
  padding: 40px 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-top: 2px solid #007bff; /* optional underline */
  box-sizing: border-box;
}


.dropdown:hover .mega-menu {
  display: flex;
}

.nav-links .dropdown:hover .mega-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.mega-menu .column {
  flex: 1 1 220px;
  margin: 10px 20px;
  min-width: 200px;
  max-width: 280px;
}

/* Column headings */
.mega-menu .column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1a1a1a;
  position: relative;
}

/* Column links */
.mega-menu .column a {
  display: block;
  color: #555;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
}

.mega-menu .column a:hover {
  color: #007bff;
}


.mega-menu h3 {
  color: #003366;
  margin-bottom: 10px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
  font-weight: 600;
}

.mega-menu a {
  display: block;
  margin: 6px 0;
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.mega-menu a:hover {
  color: #007bff;
}

.cta-button a {
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  padding: 10px 20px;
  border-radius: 20px 0 20px 0;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

/* Modern Footer Styles */

.footer-modern {
  background: #0d1a2d;
  color: #f5f5f5;
  padding: 60px 20px 30px;
  font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.contact-box, .social-box {
  flex: 1 1 280px;
}

.contact-box h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 15px;
  color: #ffffff;
}

.contact-line {
  margin: 10px 0;
  font-size: 1rem;
}

.contact-line a {
  color: #66ccff;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-line a:hover {
  color: #ffffff;
}

/* Social Section */
.social-box h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
  filter: brightness(0.8) invert(1);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #1c2e45;
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #cccccc;
}


.about-section {
  padding: 80px 20px;
  background-color: #ffffff;
  font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
}

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

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #0d1a2d;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 30px;
}

.btn-readmore {
  background-color: #0d1a2d;
  color: #ffffff;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn-readmore:hover {
  background-color: #1b3354;
}

.about-image {
  flex: 1 1 500px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}
.services-section {
  padding: 80px 20px;
  background-color: #f8f9fc;
  text-align: center;
}

.services-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #0d1a2d;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}

.flip-card {
  background: transparent;
  width: 350px;
  height: 370px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  backface-visibility: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.flip-card-front {
  background-color: #ffffff;
  color: #0a192f;
  border: 1px solid #e0e4ef;
}

.flip-card-front img {
  height: 150px;
  margin-bottom: 20px;
}

.flip-card-front h3 {
  font-size: 1.5rem;
   color: #00bcd4;
}

.flip-card-back {
  background-color: #0a192f;
  color: #ffffff;
  transform: rotateY(180deg);
  font-size: 1.25rem;
  padding: 30px;
    box-shadow: 0 0 12px rgba(56, 249, 215, 0.3);
}

.hero-image {
  max-width: 100%;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0; /* remove extra spacing */
  padding: 0;
  box-sizing: border-box;
}

.hero-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0; /* remove extra spacing */
  padding: 0;
  box-sizing: border-box;
}

.hero-text-overlay {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background-color: rgba(10, 25, 47, 0.65); semi-transparent dark overlay */
  color: #ffffff;
  padding: 40px 30px;
  text-align: center;
  border-radius: 12px;
  max-width: 90%;
  width: 1000px;
}

.hero-text-overlay h1 {
  font-size: 2.5rem;
  color: #38f9d7;
  margin-bottom: 12px;
}

.hero-text-overlay h3 {
  font-size: 1.2rem;
  color: #cfeefc;
  margin-bottom: 12px;
}

.hero-text-overlay p {
  font-size: 1.3rem;
  color: #cfeefc;
}


/* Dropdown Wrapper */
.dropdown {
  position: relative;
  display: inline-block;
  font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
}

/* Toggle Link */
.dropdown-toggle {
  color: #0a192f;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.dropdown-toggle:hover {
  color: #0048ff;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-top: 3px solid #0048ff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  min-width: 260px;
  border-radius: 8px;
  padding: 10px 0;
  z-index: 1000;
}

/* Menu Items */
.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #0a192f;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
  background-color: #f0f4ff;
  color: #0048ff;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
  display: block;
}



/* Footer Wave Divider */
.footer-wave svg {
  display: block;
  width: 100%;
  height: 50px;
  margin-bottom: -5px;
}

/* Footer Base */
.site-footer {
  background-color: #0d1a2d;
  color: #ffffff;
  padding: 40px 20px 20px;
  text-align: center;
  font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
}

.site-footer h2 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 20px;
}

.site-footer p {
  font-size: 16px;
  color: #cfd9e4;
  line-height: 1.6;
  margin: 0 auto 30px;
  max-width: 700px;
}

/* Action Buttons */
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

/* 
.footer-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background-color: #1e2d45;
  color: #cfd9e4;
  text-decoration: none;
  border-radius: 6px;
  margin-right: 10px;
  transition: background-color 0.3s ease;
} */

.footer-actions img {
  width: 20px;         /* Adjust the size of the icon */
  height: 20px;
  margin-right: 8px;   /* Space between image and text */
  vertical-align: middle;
  object-fit: contain; /* Keeps aspect ratio */
}


.footer-btn:hover {
  background-color: #42a5f5;
  transform: translateY(-2px);
}

/* Copyright */
.footer-copy {
  font-size: 13px;
  color: #788ca1;
  margin-top: 10px;
}


.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-tagline {
  font-size: 1rem;
  color: #cfd9e4;
  line-height: 1.6;
  margin: 0 auto 30px;
  max-width: 700px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #1f88e0;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
}

/* 
.footer-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1f88e0;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
} */

.footer-btn:hover {
  background-color: #42a5f5;
  transform: translateY(-2px);
}

.footer-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfd9e4;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-link img {
  width: 18px;
  height: 18px;
}

.footer-copy {
  font-size: 13px;
  color: #788ca1;
  margin-top: 10px;
}

.footer-contact-heading {
  font-size: 16px;
  color: #cfd9e4;
  font-weight: 500;
}

/* ========== Mobile Responsive Styles ========== */
@media (max-width: 1024px) {

  /* Navbar */
  .navbar {
    flex-wrap: wrap;
    padding: 10px 20px;
    justify-content: center; /* centers the logo */
  position: relative; /* so burger can be absolutely positioned */
  z-index: 1000; /* stays on top */
  }

  .logo {
    padding: 0px 39px
  }

  .flip-card-back{
    font-size: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    display: none; /* hide by default */
    width: 100%;
    text-align: center;
    background: white;
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex; /* show when toggled */
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #003366;
  }

  /* Hide nav links in row layout for mobile */
  .nav-links a {
    font-size: 1rem;
    padding: 8px 0;
  }

  /* Headings resize */
  /* h1, h2, h3 {
    font-size: 90%;
  } */

  .hero-text-overlay {
   max-width: 100%;
 }

  .hero-text-overlay h1 {
    font-size: 1.5rem;
  }

  .hero-text-overlay p {
    font-size: 1rem;
  }

  /* About section */
  .about-section {
  padding: 20px 20px;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
  }
  .about-text p {
    font-size: 1rem;
  }

.services-section {
  padding: 20px 20px;
}

.services-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #0d1a2d;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(1,1fr);
  gap: 30px;
  justify-items: center;
}

.flip-card-front img {
  height: 75px;
  margin-bottom: 20px;
}

.flip-card-front h3 {
  font-size: 1rem;
   color: #00bcd4;
}
.flip-card {
  background: transparent;
  width: 320px;
  height: 150px;
  perspective: 1000px;
}

  /* Footer */
  .site-footer h2 {
    font-size: 1.5rem;
  }
  .footer-btn {
    font-size: 1rem;
    padding: 10px 18px;
    min-width: 250px;
  }
  .footer-link {
    font-size: 1rem;
  }
  .footer-copy {
    font-size: 1rem;
  }

  .footer-contact-heading {
  font-size: 1.1rem;
}
}

@media (min-width: 1025px) {
  .nav-toggle {
    display: none !important;
  }
}

@media (min-width: 767px) and (max-width: 1024px) {
.card-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 30px;
  justify-items: center;
}

.logo {
    padding: 0px 210px
  }
}