 /* Reset and base */
  * {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  body {
    background: linear-gradient(135deg, #ffffff, #fdfdfd, #f4f4f4);
    color: #333;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  ul {
    list-style: none;
  }

  /* Header */
  header {
    background-color: #003366;
    color: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
  }
  .logo {
    font-size: 1.8rem;
    font-weight: 700;
    cursor: default;
  }
  nav {
    flex-grow: 1;
    margin-left: 40px;
  }
  nav ul {
    display: flex;
    gap: 25px;
  }
  nav ul li {
    position: relative;
  }
  nav ul li a {
    padding: 10px 12px;
    display: block;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
 nav ul li ul li a:hover,
nav ul li ul li a:focus {
  background-color: #f0f4ff;
  color: #00509e;
}

nav ul li ul li a {
  color: #003366;
  padding: 2px 10px !important;  /* reduce top/bottom padding significantly */
  font-weight: 500;
  font-size: 0.85rem;  /* slightly smaller text */
  line-height: 1.2;
  white-space: nowrap; /* prevents text wrap */
}
nav ul li ul li {
  margin: 0 !important;
}
nav ul li ul {
  padding: 0 !important;          /* remove extra padding on the dropdown container */
  margin: 0 !important;           /* remove any default margins */
}
nav ul li ul li {
  margin: 0 !important;           /* remove spacing between items */
  padding: 0 !important;
  line-height: 1 !important;      /* tightens up the line spacing */
}

nav ul li ul li a {
  padding: 4px 10px !important;   /* small but comfortable padding */
  font-size: 0.85rem;
  line-height: 1.1 !important;
  display: block;
}

  nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 6px;
    display: none;
    flex-direction: column;
    z-index: 100;
  }
  nav ul li:hover > ul,
  nav ul li:focus-within > ul {
    display: flex;
  }
  nav ul li ul li a {
    color: #003366;
    padding: 05px 15px;
    font-weight: 500;
  }
  nav ul li ul li a:hover,
  nav ul li ul li a:focus {
    background-color: #eef5ff;
    color: #00509e;
  }
  nav ul li ul li ul {
    top: 0;
    left: 100%;
  }

  /* Nav right (search + buttons) */
  .nav-right {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .nav-right input {
    padding: 6px 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    font-size: 0.9rem;
    width: 160px;
    transition: box-shadow 0.3s ease;
  }
  .nav-right input:focus {
    box-shadow: 0 0 5px #00509e;
  }
  .nav-right button {
    padding: 7px 16px;
    border: none;
    border-radius: 5px;
    background-color: #ff6600;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .nav-right button:hover {
    background-color: #e65c00;
  }

  /* Hamburger for mobile */
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  .hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
  }

  /* Hero section */
  .hero {
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    color: white;
    padding: 110px 30px 100px;
    text-align: center;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.35);
  }
  .hero h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  }
  .hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.4);
    display: inline-block;
    padding: 12px 25px;
    border-radius: 12px;
    text-shadow: none;
  }

  /* Sections container */
  .sections {
    padding: 60px 30px;
  }
  .section-title {
    text-align: center;
    margin-bottom: 45px;
    font-size: 2.6rem;
    color: #003366;
    font-weight: 700;
  }

  /* Card grid */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
  }
  .card {
    background: white;
    border-radius: 14px;
    padding: 30px 25px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  }
  .card i {
    font-size: 2.8rem;
    color: #00509e;
    margin-bottom: 18px;
  }
  .card h3 {
    font-weight: 700;
    color: #003366;
    margin-bottom: 14px;
    font-size: 1.3rem;
  }
  .card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
  }

  /* Testimonial slider */
  .testimonial-section {
    background: #eef5ff;
    padding: 60px 20px;
    max-width: 900px;
    margin: 60px auto;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  }
  .testimonial-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.4rem;
    color: #003366;
    font-weight: 700;
  }
  .testimonial-slider {
    position: relative;
    overflow: hidden;
  }
  .testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
  }
  .testimonial-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    padding: 30px 25px;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
  }
  .testimonial-card h4 {
    color: #003366;
    font-weight: 700;
    font-size: 1.1rem;
  }
  .testimonial-controls {
    margin-top: 20px;
    text-align: center;
  }
  .testimonial-btn {
    background: #00509e;
    color: white;
    border: none;
    margin: 0 5px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  .testimonial-btn:hover {
    background-color: #003366;
  }

  /* News/blog section */
  .news-section {
    padding: 60px 30px;
    max-width: 1000px;
    margin: 0 auto 80px;
  }
  .news-section h2 {
    text-align: center;
    margin-bottom: 45px;
    font-size: 2.6rem;
    color: #003366;
    font-weight: 700;
  }
  .news-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  }
  .news-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
  }
  .news-card:hover {
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  }
  .news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  .news-content {
    padding: 20px;
    flex-grow: 1;
  }
  .news-content h3 {
    font-size: 1.3rem;
    color: #00509e;
    margin-bottom: 12px;
  }
  .news-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
  }
  .news-content a {
    margin-top: 15px;
    display: inline-block;
    color: #ff6600;
    font-weight: 600;
  }
  .news-content a:hover {
    text-decoration: underline;
  }

  /* Footer */
  footer {
    background-color: #003366;
    color: #eee;
    padding: 40px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }
  .footer-about,
  .footer-contact,
  .footer-social {
    flex: 1 1 250px;
  }
  .footer-about h3,
  .footer-contact h3,
  .footer-social h3 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.3rem;
    color: #ff6600;
  }
  .footer-about p,
  .footer-contact p {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.5;
  }
  .footer-contact p {
    margin-bottom: 8px;
  }
  .social-icons {
    display: flex;
    gap: 15px;
  }
  .social-icons a {
    font-size: 1.6rem;
    color: #eee;
    transition: color 0.3s ease;
  }
  .social-icons a:hover {
    color: #ff6600;
  }
  .footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #bbb;
  }

  /* Contact form section */
  .contact-section {
    background: #f7faff;
    padding: 60px 30px;
    max-width: 900px;
    margin: 0 auto 60px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  }
  .contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.4rem;
    color: #003366;
    font-weight: 700;
  }
  form {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  label {
    font-weight: 600;
    color: #003366;
  }
  input, textarea {
    padding: 12px 14px;
    border: 1.8px solid #c5d0e8;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    resize: vertical;
    transition: border-color 0.3s ease;
  }
  input:focus, textarea:focus {
    border-color: #00509e;
  }
  textarea {
    min-height: 120px;
  }
  button.submit-btn {
    max-width: 160px;
    background-color: #ff6600;
    border: none;
    padding: 14px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
  }
  button.submit-btn:hover {
    background-color: #e65c00;
  }

  /* Google map */
  .map-container {
    margin-top: 30px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  }
  iframe {
    width: 100%;
    height: 280px;
    border: none;
  }

  /* Responsive */
  @media (max-width: 900px) {
    nav ul {
      flex-direction: column;
      background-color: #003366;
      position: fixed;
      top: 60px;
      right: -100%;
      width: 220px;
      height: calc(100% - 60px);
      padding-top: 30px;
      transition: right 0.3s ease;
      border-radius: 0 0 0 14px;
      z-index: 20;
    }
    nav ul.show {
      right: 0;
    }
    nav ul li ul {
      position: static;
      box-shadow: none;
      background: #00509e;
      border-radius: 0;
      display: none !important;
      padding-left: 20px;
    }
    nav ul li:hover > ul,
    nav ul li:focus-within > ul {
      display: block !important;
    }
    nav ul li ul li a {
      color: white;
    }
    .nav-right {
      display: none;
    }
    .hamburger {
      display: flex;
    }
  }
  .contact-section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2rem;
  color: #333;
}

.contact-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

#contact-form {
  flex: 1 1 350px;
  max-width: 450px;
  background: #f9f9f9;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

#contact-form label {
  margin-top: 15px;
  font-weight: 600;
  color: #555;
}

#contact-form input,
#contact-form textarea {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  resize: vertical;
  transition: border-color 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #007BFF;
  background-color: #fff;
}

#contact-form textarea {
  min-height: 100px;
}

.submit-btn {
  margin-top: 20px;
  padding: 12px 18px;
  background-color: #007BFF;
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.map-container {
  flex: 1 1 350px;
  max-width: 550px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  #contact-form,
  .map-container {
    max-width: 100%;
  }

  .map-container iframe {
    height: 300px;
  }
}
.features-carousel-container {
  overflow: hidden;
  max-width: 100%;
  position: relative;
}

.card-grid {
  display: flex;
  transition: transform 0.8s ease-in-out; /* Smooth slow transition */
  will-change: transform;
}


.card {
  flex: 0 0 25%; /* 4 cards at a time */
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.card i {
  font-size: 40px;
  margin-bottom: 10px;
}
/* ya nav bar k lia */
/* Header */
