@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
}


.header-container {
  width: 100%;
  height: 100px;
  position: relative;
  box-shadow: 0px 4px 11.3px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* Logo Styles */
.logo-container {
  display: flex;
  align-items: center;
  z-index: 1002;
}

.logo-container a {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
}

/* =================================================================== */
/* NAVIGATION STYLES
/* =================================================================== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-pill-container {
  box-shadow: 2px 2px 7.5px rgba(0, 0, 0, 0.04);
  border-radius: 58px;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  height: 55px;
  display: flex;
  align-items: center;
  padding: 5px;
  gap: 0;
}

.nav-item {
  position: relative;
  border-radius: 48px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.nav-item a {
  position: relative;
  line-height: 128.37%;
  font-weight: 500;
  font-size: 18px;
  color: #0c4a59;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item:hover {
  background-color: rgba(12, 158, 157, 0.08);
}

/* Dropdown Arrow */
.dropdown-arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.get-started-btn:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  min-width: 200px;
  z-index: 1000;
  padding: 8px 0;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

.nav-item:hover .dropdown-menu,
.get-started-btn:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #0c4a59;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  text-align: center;
}

.dropdown-menu a:hover {
  background-color: rgba(12, 158, 157, 0.1);
}

/* Get Started Button */
.get-started-btn {
  box-shadow: 2px 2px 7.5px rgba(0, 0, 0, 0);
  border-radius: 58px;
  background-color: #ddf1f1;
  border: 1px solid #0c9e9d;
  height: 55px;
  min-width: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.get-started-btn:hover {
  background-color: #c5e8e8;
}

.get-started-btn > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.get-started-btn span {
  font-size: 16px;
  line-height: 128.37%;
  font-weight: 500;
  color: #0c9e9d;
}

.get-started-btn .dropdown-arrow {
  filter: invert(54%) sepia(76%) saturate(458%) hue-rotate(127deg) brightness(94%) contrast(96%);
}

/* Reduce width of Get Started dropdown */
.get-started-btn .dropdown-menu {
  min-width: 160px;
}

.get-started-btn .dropdown-menu a {
  padding: 10px 16px;
  font-size: 15px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: #0c4a59;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-footer {
  display: none;
}

/* =================================================================== */
/* RESPONSIVE BREAKPOINTS
/* =================================================================== */
@media (max-width: 1280px) {
  .nav-item a {
    font-size: 16px;
  }
  .nav-item {
    padding: 10px 15px;
  }
}

@media (max-width: 1024px) {
  .nav-item a {
    font-size: 15px;
  }
  .nav-item {
    padding: 10px 12px;
  }
  
  .header-logo {
    height: 45px;
  }
}

/* =================================================================== */
/* MOBILE STYLES (980px and below)
/* =================================================================== */
@media (max-width: 980px) {
  .header-container {
    height: 80px;
  }

  .header-logo {
    height: 40px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    align-items: flex-end;
    padding: 1.5rem 7% 1.5rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
    z-index: 1000;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-pill-container {
    flex-direction: column;
    width: 85%;
    height: auto;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    height: auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 0;
    padding: 0.6rem 0;
    justify-content: flex-end;
  }

  .nav-item a {
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
    justify-content: flex-end;
  }

  .nav-item:hover {
    background-color: transparent;
  }

  .nav-item.active {
    background-color: transparent;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    display: none;
    width: 100%;
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-item.mobile-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    font-size: 1.1rem;
    text-align: right;
    padding: 0.4rem 0;
  }

  .dropdown-menu a:hover {
    background-color: transparent;
    color: #059b9a;
  }

  .dropdown-arrow {
    position: absolute;
    right: 0;
    width: 1rem;
    height: 1rem;
  }

  .nav-item:hover .dropdown-arrow {
    transform: none;
  }

  .get-started-btn {
    width: 85%;
    margin-top: 0.5rem;
    height: auto;
    min-height: 55px;
    flex-direction: column;
    gap: 0;
    background: transparent;
    border: none;
    position: relative;
  }

  .get-started-btn:hover {
    background-color: transparent;
  }

  .get-started-btn > div:first-child {
    width: 100%;
    justify-content: flex-end;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  }

  .get-started-btn span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0c4a59;
  }

  .get-started-btn .dropdown-arrow {
    filter: none;
  }

  .get-started-btn:hover .dropdown-arrow {
    transform: none;
  }

  .get-started-btn.mobile-open .dropdown-menu {
    display: block;
  }

  .get-started-btn .dropdown-menu {
    background: transparent;
  }

  /* Mobile Footer */
  .mobile-footer {
    display: block;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 85%;
  }

  .mobile-footer .get-in-touch {
    font-size: 1.6rem;
    color: #0a4958;
    font-weight: 600;
    text-align: right;
    margin-bottom: 0.8rem;
  }

  .mobile-footer .contact-info {
    padding: 0.3rem 0;
    font-size: 1.1rem;
    text-align: right;
    color: #0c4a59;
  }

  .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .social-icons a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
  }

  .social-icons a:hover {
    opacity: 0.7;
  }

  .social-icons svg {
    width: 100%;
    height: 100%;
    fill: #0c4a59;
  }
}

@media (max-width: 450px) {
  .social-icons {
    gap: 1.3rem;
  }
  
  .header-logo {
    height: 35px;
  }
}

@media (max-width: 380px) {
  .nav-item a {
    font-size: 1.2rem !important;
  }
  
  .get-started-btn span {
    font-size: 1.2rem !important;
  }
  
  .dropdown-menu a {
    font-size: 1rem !important;
  }
  
  .header-logo {
    height: 32px;
  }
}

@media (max-width: 361px) {
  .social-icons {
    gap: 0.9rem;
  }
}

/* Scrollbar Styles for mobile nav */
.main-nav::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 8px;
}

.main-nav::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.5);
}