body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
}

a {
  text-decoration: none;
}

/* Navbar */
nav {
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 100px;
  position: relative;
  z-index: 100;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: #001542;
  letter-spacing: 1px;
}

.menu-icon {
  font-size: 28px;
  cursor: pointer;
  display: none;
  color: #001542;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  transition: all 0.3s ease;
}

li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.CTA-btn {
  background-color: #001542;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

/* Extra Small Devices (≤576px) */
@media (max-width: 576px) {
  nav {
    padding: 10px 20px;
  }
  .menu-icon {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 38px;
    left: 0;
    width: 60%;
    height: 100vh;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  ul.active {
    display: flex;
    padding: 30px;
  }

  li {
    margin-bottom: 10px;
  }

  .CTA-btn {
    width: 90%;
    text-align: center;
  }
}

/* Small Devices (≤768px) */
@media (max-width: 768px) {
  nav {
    padding: 10px 20px;
  }
  .logo {
    font-size: 20px;
  }

  .menu-icon {
    font-size: 24px;
  }
}

/* Medium Devices (≤992px) */
@media (max-width: 992px) {
  nav {
    padding: 10px 20px;
  }
  .logo {
    font-size: 21px;
  }

  .menu-icon {
    font-size: 26px;
  }
}

/* Large Devices (≤1200px) */
@media (max-width: 1200px) {
  .logo {
    font-size: 22px;
  }

  .menu-icon {
    font-size: 28px;
  }
}

/* Extra Large Devices (≤1400px) */
@media (max-width: 1400px) {
  .logo {
    font-size: 22px;
  }
}
/* Hero Section */

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #001542;
  height: 60vh;
  padding: 20px;
}

.hero-section h1 {
  color: #fff;
  font-size: 36px;
  text-align: center;
}

.hero-section p {
  color: #fff;
  margin-top: -10px;
  margin-bottom: 30px;
}

.filter-section {
  margin-right: 100px;
  margin-left: 100px;
  background-color: #fff;
  padding: 50px;
  border-radius: 8px;
}

/* Select element */
select {
  outline: none;
  font-family: DM sans;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  font-size: 16px;
  cursor: pointer;
}

/* Responsive Media Queries */

/* Extra Small (xs) - up to 575px */
@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 22px;
    margin-top: 20px;
  }

  .hero-section p {
    text-align: center;
  }

  .filter-section {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 10px;
    padding: 20px;
  }
}

/* Small (sm) - 576px to 767px */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 26px;
  }

  .filter-section {
    margin: 0 20px;
    padding: 30px;
  }
}

/* Medium (md) - 768px to 991px */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 30px;
  }

  .filter-section {
    width: 350px;
    margin: 0 50px;
    padding: 40px;
  }
}

/* Large (lg) - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .filter-section {
    margin: 0 80px;
  }
}

/* Extra Large (xl) - 1200px to 1399px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .filter-section {
    margin: 0 90px;
  }
}

/* Extra Extra Large (xxl) - 1400px and above */
@media (min-width: 1400px) {
  .filter-section {
    margin: 0 100px;
  }
}

/* Category Section */

.category-containeR {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 30px;
  background-color: #fff;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
  margin: 100px;
  border-radius: 8px;
  gap: 20px;
  margin-top: -20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.category-containeR button {
  color: #000;
  background-color: #fff;
  padding: 10px;
  border-radius: 4px;
  /* box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5); */
  border: 1px solid #ccc;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  cursor: pointer;
}

/* Extra Small (XS) - up to 575px */
@media (max-width: 575.98px) {
  .category-containeR {
    margin: 30px 10px;
    padding: 20px 10px;
    gap: 10px;
  }

  .category-containeR button {
    font-size: 12px;
    padding: 8px;
  }
}

/* Small (SM) - 576px to 767px */
@media (min-width: 576px) and (max-width: 767.98px) {
  .category-containeR {
    margin: 40px 15px;
    padding: 25px 15px;
    gap: 12px;
  }

  .category-containeR button {
    font-size: 13px;
    padding: 8px 10px;
  }
}

/* Medium (MD) - 768px to 991px */
@media (min-width: 768px) and (max-width: 991.98px) {
  .category-containeR {
    margin: 60px 40px;
    padding: 40px 20px;
    gap: 15px;
  }

  .category-containeR button {
    font-size: 13.5px;
  }
}

/* Large (LG) - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .category-containeR {
    margin: 80px 60px;
  }
}

/* Extra Large (XL) - 1200px to 1399px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .category-containeR {
    margin: 90px 80px;
  }
}

/* Extra Extra Large (XXL) - 1400px and above */
@media (min-width: 1400px) {
  .category-containeR {
    margin: 100px;
  }
}
/* Services Section */
.service-container {
  padding: 60px 20px;
  text-align: center;
  /* margin-top: -50px; */
}

.item-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.item {
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item img {
  width: 100%;
  height: 150px;
  /* object-fit: cover; */
}

.item-content {
  padding: 20px;
}

.item-content h3 {
  font-size: 18px;
  color: #000;
  font-weight: 700;
  margin-bottom: 10px;
}

.item-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

.item-content a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #001542;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.item-content a:hover {
  background-color: #003080;
}

/* Responsive */
@media (max-width: 1400px) {
  .service-container {
    padding: 60px 80px;
  }
}

@media (max-width: 1200px) {
  .service-container {
    padding: 50px 60px;
  }
}

@media (max-width: 992px) {
  .service-container {
    padding: 40px 40px;
  }
}

@media (max-width: 768px) {
  .service-container {
    padding: 30px 20px;
  }

  .item img {
    height: 130px;
  }
}

@media (max-width: 576px) {
  .service-container {
    padding: 20px 10px;
  }

  .item img {
    height: 120px;
  }

  .item-content h3 {
    font-size: 16px;
  }

  .item-content p {
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .item-content h3 {
    font-size: 15px;
  }

  .item-content p {
    font-size: 12px;
  }

  .item-content a {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* Base: Custom Service */
.custom-service {
  background-color: #001542;
  margin: 60px 100px;
  padding: 50px;
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.custom-service i {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 40px;
  margin-bottom: 20px;
}

.custom-service i:hover {
  background-color: #003080;
  color: #fff;
  transition: all 0.3s ease;
}

.custom-service button {
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  margin-top: 20px;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Popup Box */
.popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.popup-box h2 {
  text-align: center;
}

/* Close Button */
#closePopup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Form Styling */
.popup-box form input,
.popup-box form textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  outline: none;
  resize: none;
}

.popup-box form button {
  width: 100%;
  padding: 10px;
  background: #001542;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.popup-box form button:hover {
  background: #003080;
  transition: all 0.3s ease;
}

/* Responsive Breakpoints */

/* Extra Extra Large Screens (xxl) */
@media (max-width: 1400px) {
  .custom-service {
    margin: 60px 80px;
    padding: 40px;
  }
}

/* Extra Large Screens (xl) */
@media (max-width: 1200px) {
  .custom-service {
    margin: 60px 60px;
    padding: 35px;
  }
}

/* Large Screens (lg) */
@media (max-width: 992px) {
  .custom-service {
    margin: 50px 40px;
    padding: 30px;
  }

  .custom-service i {
    font-size: 36px;
    width: 55px;
    height: 55px;
  }
}

/* Medium Screens (md) */
@media (max-width: 768px) {
  .custom-service {
    margin: 40px 20px;
    padding: 25px;
  }

  .custom-service button {
    padding: 8px 16px;
    font-size: 15px;
  }
}

/* Small Screens (sm) */
@media (max-width: 576px) {
  .custom-service {
    margin: 30px 10px;
    padding: 20px;
  }

  .custom-service i {
    font-size: 32px;
    width: 50px;
    height: 50px;
  }

  .popup-box {
    padding: 20px;
    margin: 20px;
  }
}

/* Extra Small Screens (xs) */
@media (max-width: 400px) {
  .custom-service {
    margin: 20px 5px;
    padding: 15px;
  }

  .custom-service h3 {
    font-size: 16px;
  }

  .custom-service p {
    font-size: 14px;
  }

  .custom-service button {
    font-size: 14px;
  }
}

/* footer section */
.footer-section {
  background-color: #001542;
  color: #eee;
  padding: 20px 15px;
  font-family: "inter", sans-serif;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo h2 {
  margin: 0 0 5px;
  font-size: 1.6rem;
  color: #ffb30d;
}

.footer-logo p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-links h3,
.footer-social h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #ffb30d;
}

.footer-links .ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links .ul li {
  margin-bottom: 8px;
}

.footer-links .ul li a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links .ul li a:hover {
  color: #ffb30d;
}

.footer-social .social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

.footer-social .social-icons a {
  color: #eee;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #ffb30d;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #fff;
}

/* Small devices (SM) 576px and up */
@media (min-width: 576px) {
  .footer-section {
    padding: 30px 20px;
    font-size: 15px;
  }

  .footer-logo h2 {
    font-size: 24px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 24px;
  }

  .footer-social .social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

/* Medium devices (MD) 768px and up */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;

    justify-content: space-between;
    gap: 40px;
  }

  .footer-logo,
  .footer-links,
  .footer-social {
    flex: 1;
  }

  .footer-social .social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-logo h2 {
    font-size: 24px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 20px;
  }

  .footer-bottom {
    font-size: 0.9rem;
  }
}

/* Large devices (LG) 992px and up */
@media (min-width: 992px) {
  .footer-section {
    padding: 40px 50px;
    font-size: 16px;
  }

  .footer-logo h2 {
    font-size: 20px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 24px;
  }

  .footer-social .social-icons a {
    font-size: 1.6rem;
  }
}

/* Extra Large devices (XL) 1200px and up */
@media (min-width: 1200px) {
  .footer-section {
    padding: 50px 80px;
  }

  .footer-logo h2 {
    font-size: 24px;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 22px;
  }
}

/* XXL devices 1400px and up */
@media (min-width: 1400px) {
  .footer-section {
    padding: 60px 120px;
  }

  .footer-logo h2 {
    font-size: 2.6rem;
  }

  .footer-links h3,
  .footer-social h3 {
    font-size: 1.8rem;
  }
}
