/* ---------- HEADER ---------- */

header {
  width: 100%;
  display: flex;
  justify-content: center;
  background: transparent;
  position: fixed;
  top: 0;
  padding-bottom: 12px;
  padding-top: 15px;
  left: 0;
  z-index: 100;
  transition: all 0.4s ease-in-out;
}

/* header when scrolling */

header.scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

header.scrolled nav a {
  color: #000;
}

header.scrolled nav a:hover {
  color: #7690C9;
}

header.scrolled .hamburger {
  color: #000;
}

nav {
  padding: 10px 25px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  transition: all 0.3s ease;
}

nav a.highlight {
  color: white;
}

nav a:hover,
nav a.highlight:hover {
  color: #7690C9;
}

.menu-wrapper > a::after {
  content: "▾";
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.menu-wrapper > a:hover::after {
  transform: translateY(3px) rotate(20deg);
  color: #7690C9;
}

/* ---------- MEGA MENU ---------- */

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-15px) scale(0.98);
  width: 110vw;
  background: #B5C5CB;
  border-top: 1px solid #ffffff;
  display: flex;
  justify-content: center;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  filter: blur(4px);
  transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease,
    filter 0.4s ease;
}

.mega-menu.show {
  max-height: 800px;
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  filter: blur(0);
}

.mega-inner {
  width: 100%;
  max-width: 1200px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 0 auto;
}

.mega-inner > div {
  flex: 1;
  padding: 10px;
}

.mega-inner h2 {
  color: #284D79;
  margin-bottom: 20px;
  font-weight: bold;
}

.mega-inner a {
  color: #000000;
  text-decoration: none;
  display: block;
  margin: 6px 0;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* ---------- SOCIAL ROW ---------- */

.social-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  background: #B5C5CB;
    padding: 15px 0;
  border-top: 2px solid #284D79;
  margin-top: 20px;
}

.social-row a {
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20.2rem;
  transition: all 0.3s ease;
}

.social-row .fa-whatsapp { color: #25d366; }
.social-row .fa-instagram { color: #e4405f; }
.social-row .fa-linkedin { color: #0077b5; }
.social-row .fa-facebook { color: #1877f2; }

/* ---------- BUTTONS ---------- */

.btnn,
.btn {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border: 1.5px solid #7690C9;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover,
.btnn:hover,
.mega-inner a:hover,
.mobile-nav a:hover,
.mobile-nav a.btn:hover,
.social-row a:hover {
  background: #7690C9;
  color: rgb(255, 255, 255) !important;
 
}

/* ---------- MOBILE MENU ---------- */

.hamburger {
  display: none;
  font-size: 35px;
  cursor: pointer;
  color: #7690C9;
  padding: 10px;
  z-index: 1001;
}

.hamburger .fa-xmark {
  display: none;
}

.hamburger.active .fa-bars {
  display: none;
}

.hamburger.active .fa-xmark {
  display: inline-block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  background: #111;
  position: fixed;
  top: 0;
  right: 100%;
  width: 300px;
  height: 100vh;
  overflow-y: auto;
  padding: 20px;
  z-index: 999;
  transition: right 0.4s ease;
}

.mobile-nav.show {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 2px solid #222;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav a.btn {
  display: inline-block;
  color: #fff;
  padding: 8px 16px;
  border: 2px solid white;
  margin-top: 10px;
  width: fit-content;
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  filter: blur(3px);
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease,
    filter 0.3s ease;
  background: #222;
  margin-bottom: 8px;
  padding: 0 10px;
}

.mobile-submenu.show {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  overflow-y: auto;
}

.mobile-submenu::-webkit-scrollbar {
  width: 6px;
}

.mobile-submenu::-webkit-scrollbar-track {
  background: #111;
}

.mobile-submenu::-webkit-scrollbar-thumb {
  background-color: #7690C9;
}

@media (max-width: 992px) {

  nav {
    display: none;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 10px;
    right: 50px;
  }

  header {
    justify-content: space-between;
    padding: 10px 20px;
  }

}
/* ---------- ACTIVE MENU ---------- */

nav a.active{
color:#7690C9 !important;
font-weight:600;
}

/* when header becomes white */

header.scrolled nav a.active{
color:#7690C9 !important;
}
.desktop-logo {
  display: none;
  height: 60px;
}

.mobile-logo {
  height: 50px;
}

@media (min-width: 1024px) {
  .desktop-logo {
    display: block;
  }

  .mobile-logo {
    display: none;
  }
}

/* space below fixed header */
body {
  padding-top: 90px;
}