* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f3f4f6;
  color: #333;
}

/* For WebKit (Chrome, Safari) */
body::-webkit-scrollbar {
  display: none;
}

/* Show scrollbars for dropdowns */
.dropdown-menu::-webkit-scrollbar {
  display: block;
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* For Firefox */
body {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

/* Header Section */

/* Navigation */

.header {
  background: #e6e2e2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  margin-left: 2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.nav-links a:hover {
  color: #022f56;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1e3a8a;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block;
  text-align: center;
}

.mobile-nav-links {
  list-style: none;
  padding: 1rem;
}

.mobile-nav-links li {
  margin-bottom: 8px;
}

.mobile-nav-links a {
  display: block;
  padding: 12px;
  text-decoration: none;
  color: #1e3a8a;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.mobile-nav-links a:hover {
  background-color: #f1f5f9;
}

.mobile-login {
  margin-top: 1rem;
}

.mobile-login .login-btn {
  width: 100%;
}

/* Reset default styles */
.nav-links,
.dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

/* Show menu when .open class is added */
.dropdown.open .dropdown-menu {
  display: block;
}


/* *** */

@media (max-width: 1024px) {
  .nav-links,
  .login-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .login-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* *** */

/* Footer Section */

/* Footer */
.footer {
  background: #021d3b;
  color: white;
  padding: 3rem 0 1rem;
}

#foot {
  padding-left: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgb(215, 145, 91);
}

.footer-section p,
.footer-section li {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  #foot {
    margin-right: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    font-size: 10px;
  }
}

  /* *** */


  /* Service Section */


  .hero-image img {
    width: 100%;
    height: 400px;
    display: block;
    margin-bottom: 2rem;
  }

  .services-content {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .services-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .services-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    justify-content: center;
  }

  .services-image {
    flex: 1 1 300px;
    max-width: 350px;

  }

  .services-image img {
    width: 100%;
    border-radius: 8px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); */
  }

  .services-text {
    flex: 2 1 300px;
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 1rem;
    text-align: justify;
    margin-bottom: 2rem;
  }

  .services-text p+p {
    margin-top: 1rem;
  }


  /* Hide dropdown by default */
  .dropdown-menu {
  max-height: 230px; /* adjust height as needed */
  overflow-y: auto;
  display: none; /* Hidden by default */
  position: absolute;
  background: white;
  z-index: 1000;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  /* Firefox scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}

  .dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
  }

  .dropdown-menu li a:hover {
    background-color: #f2f2f2;
  }

  .dropdown {
    position: relative;
  }

  /* Show menu on click via JS (or hover alternative available) */
  .dropdown.open .dropdown-menu {
    display: block;
  }


  /* Responsive for mobile */

  @media (max-width: 1100px) {
    .services-image img {
      margin-top: 4rem;
    }
  }

  @media (max-width: 900px) {
    .services-wrapper {
      flex-direction: column;
      align-items: center;
    }
  }




  @media (max-width: 768px) {

    .hero-image img {
      height: 300px;
    }

    .services-wrapper {
      flex-direction: column;
      align-items: center;
    }

    .services-content h2 {
      font-size: 1.5rem;
    }

    .services-text {
      font-size: 0.95rem;
      text-align: justify;
    }

    .services-image {
      max-width: 300px;
    }
  }

  @media (max-width: 480px) {

    .hero-image img {
      height: 300px;
    }

    .services-image {
      max-width: 250px;
    }
  }