* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f7fb;
  padding-top: 50px;
}


.top-bar {
  background: #003A6C;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  font-size: 12px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  height: 35px;
}

.top-bar .contact-info span {
  margin-right: 25px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-bar .top-socials a {
  color: white;
  margin-left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  transition: 0.3s;
  text-decoration: none !important;
  border-bottom: none !important;
}

.top-socials a:nth-child(1) {
  color: #1877F2;
  list-style: none;
}

.top-socials a {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
  color: white;
  list-style: none;

}

.top-socials a:nth-child(2) {
  color: #E1306C;
}

.top-socials a:nth-child(3) {
  color: #000000;
}

.top-socials a:nth-child(4) {
  color: #25D366;
}

.top-socials a:hover {
  background: white;
}

@media (max-width: 1024px) {

  .top-bar {
    padding: 8px 25px;
    font-size: 13px;
  }

  .top-socials a {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

}

@media (max-width: 768px) {

  .top-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    height: auto;
    padding: 8px 15px;
  }

  .top-bar .contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .top-bar .contact-info span {
    margin: 0;
    justify-content: center;
    font-size: 13px;
  }

  .top-bar .top-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .top-socials a {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

}

@media (max-width: 480px) {

  .top-bar {
    padding: 8px 10px;
  }

  .top-bar .contact-info span {
    font-size: 12px;
    gap: 6px;
  }

  .top-socials a {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

}

.navbar {
  position: fixed;
  top: 35px;
  width: 100%;
  height: 15%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: #ffffff;   
  backdrop-filter: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 100px;
}

.nav-menu {
  display: flex;
  gap: 50px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: black;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 8px 12px;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #003A6C;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  text-decoration: underline;
  background: #003A6C;
  transition: 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.cta-btn {
  background: #003A6C;
  color: #fff;
  padding: 10px 40px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: transform 0.2s, background 0.3s;

}

.cta-btn:hover {
  background: #003A6C;
  ;
  transform: scale(1.05);
  color: white;
}

.cta-btn.mobile {
  display: none;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 35px;
  color: black;
  cursor: pointer;

  width: 40px;
  height: 30px;

  align-items: center;
  justify-content: center;

  outline: none;
  border: none;
  background: transparent;

  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus,
.menu-toggle:active {
  outline: none;
  box-shadow: none;
}

.dropdown-menu,
.submenu-menu {
  display: none;
  position: absolute;
  background: #fff;
  border-radius: 10px;
  list-style: none;
  min-width: 150px;
}

.dropdown.open>.dropdown-menu,
.submenu.open>.submenu-menu {
  display: block;
}

.dropdown-menu a,
.submenu-menu a {
  color: #333;
  padding: 12px 18px;
  display: block;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: black;
  }

  body {
    padding-top: 100px;
  }

  .navbar {
    top: 90px;
  }

  .nav-menu {
    display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  max-height: 75vh;
  overflow-y: auto;
  background: white;
  flex-direction: column;
  padding: 20px;
  gap: 40px;
  }

  .nav-menu.show {
    display: flex;
  }
.nav-menu a {
  display: inline-block;  
   width: auto;            
    padding: 10px 0; 
  
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: #003A6C;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}
  .dropdown-menu,
  .submenu-menu {
    position: static;
    display: none;
    background: #f8f9fb;
    border-radius: 8px;
    margin-top: 8px;
    padding: 8px 0;
    box-shadow: none;
  }

 
  .dropdown.open > .dropdown-menu,
  .submenu.open > .submenu-menu {
    display: block;
  }

  
  .dropdown-menu li,
  .submenu-menu li {
    width: 50%;
  }


  .dropdown-menu a,
  .submenu-menu a {
    padding: 12px 20px;
    font-size: 14px;
  }


  .submenu-menu {
    margin-left: 15px;
    background: #eef2f7;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  
  .dropdown-toggle,
  .submenu-toggle {
    display: block;
    width: 100%;
  }


  .features,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .cta-btn.desktop {
    display: none;
    color: white;
  }

  .cta-btn.mobile {
    display: block;
    color: white;
  }

  .cta-btn.mobile:hover {
    color: white;
  }

  .cta-btn.mobile::after {
    display: none;
  }
}