html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

* {
  box-sizing: border-box;
}

img,
video,
iframe,
section,
.container,
.row {
  max-width: 100%;
}

img {
  height: auto;
}

.topbar {
  overflow: hidden;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar .contact-info,
.topbar .contact-info a,
.topbar span {
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.branding {
  width: 100%;
  overflow: visible;
}

.branding .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#logo,
#logo a {
  max-width: 75%;
  overflow: hidden;
}

#logo img,
.logo-mobile {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.navmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav-toggle {
  cursor: pointer;
  font-size: 34px;
  z-index: 10001;
}

@media (max-width: 1199px) {
  .navmenu ul {
    display: none !important;
  }

  .navmenu.mobile-active ul {
    display: block !important;
    position: fixed;
    top: 115px;
    right: 15px;
    left: 15px;
    max-height: calc(100vh - 135px);
    overflow-y: auto;
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
    z-index: 99999;
  }

  .navmenu.mobile-active ul li {
    display: block;
    width: 100%;
  }

  .navmenu.mobile-active ul li a {
    display: block;
    padding: 12px 10px;
    font-size: 22px;
    line-height: 1.2;
    color: #24445c;
  }

  .navmenu.mobile-active .dropdown ul {
    position: static !important;
    box-shadow: none !important;
    padding-left: 15px;
    background: #f5f5f5;
    margin-top: 5px;
    display: none !important;
  }

  .navmenu.mobile-active .dropdown.dropdown-active > ul {
    display: block !important;
  }

  .cta-btn {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .topbar {
    padding: 4px 8px;
  }

  .topbar .container {
    justify-content: center !important;
    text-align: center;
  }

  .topbar .contact-info {
    width: 100%;
    justify-content: center;
  }

  .topbar .contact-info a,
  .topbar span {
    font-size: 15px;
    line-height: 1.3;
  }

  .branding .container {
    min-height: 90px;
    padding-left: 15px;
    padding-right: 15px;
  }

  #logo {
    max-width: 72%;
  }

  #logo img,
  .logo-mobile {
    max-height: 60px;
  }

  .navmenu.mobile-active ul {
    top: 135px;
  }

  .hero,
  .hero img,
  .hero video,
  .carousel,
  .carousel-inner,
  .carousel-item {
    max-width: 100%;
    overflow: hidden;
  }

  .card,
  .service-card,
  .team-card {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 28px !important;
  }

  h3 {
    font-size: 24px !important;
  }
} 
