@charset "utf-8";
:root {
  --primary-color: #33B3B9;
  --primary-color-hover: #005e5e;
  --text-color: #fff;
}

/* === Custom Header Styles === */
.chm-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 44px;
    row-gap: 3px;
}

/* === Logo === */
.chm-logo img {
    max-height: 125px;
    height: auto;
    width: auto;
    max-width: 100%;
}

.chm-site-title {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

/* === Navigation === */
.chm-menu {
  list-style: none !important;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0 !important;
}

.chm-menu li {
    position: relative;
}

.chm-menu li a {
    padding: 2px;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    border-bottom: 3px solid transparent;
    color: #fff;
    font-weight: 500;
    font-size: 17px;
    transition: all 0.3s ease;
}

.chm-menu > li > a:hover {
    text-shadow: 0 0 2px #000;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, var(--primary-color), transparent);
    border-image-slice: 1;
}

.menu-item-has-children .dropdown-icon {
    height: 22px;
    width: auto;
    padding: 6px;
    vertical-align: middle;
    transition: transform 0.4s ease;
}

/* Rotate when submenu is open */
.menu-item-has-children.submenu-open .dropdown-icon {
  transform: rotate(180deg);
}

/* === Dropdown Support === */
.chm-menu li ul.chm-submenu {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    display: none;
    margin: 0 0 0 -50%;
    padding: 0;
    width: 488px;
    max-width: 100vw;
    z-index: 99;
    background-color: rgba(23,23,23,0.99);
    box-shadow: 0 1px 6px #000;
    border-radius: 0 0 22px 22px;
    list-style: none;
}

.chm-menu li ul li.chm-submenu-item {
    position: relative;
    display: flex;
    gap: 11px;
    padding: 0;
}

.chm-submenu-item a.chm-submenu-link {
  display: flex;
  gap: 11px;
  padding: 20px;
    width: 100%;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.chm-submenu-item:last-of-type a.chm-submenu-link {
    border-radius: 0 0 22px 22px;
}

.chm-submenu-item a.chm-submenu-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 2px #000;
  cursor: pointer;
}

.chm-submenu-img {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    max-width: 134px;
    height: 100px;
    max-height: 100%;
    background-position: center center;
    border-radius: 0 11px 11px;
}

.chm-submenu-caption {
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    margin-top: 4px;
    padding: 4px 11px;
    background-color: rgba(0,0,0,0.8);
    border-radius: 11px 11px 0 0;
    color: #fff;
}

.chm-submenu-item a.chm-submenu-link:hover .chm-submenu-caption { color: var(--primary-color); }

.chm-submenu-content-container { display: flex; }

.chm-submenu-icon-wrap { padding: 3px; }

.chm-submenu-title {
    display: flex;
    padding: 3px;
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid transparent;
    color: #fff;
    text-decoration: none;
    gap: 11px;
    transition: all 0.2s ease;
}

.chm-submenu-item a.chm-submenu-link:hover .chm-submenu-title {
    border-image: linear-gradient(to right, #fff, rgba(255,255,255,0.5));
    border-image-slice: 1;
    color: #fff;
}

.chm-submenu-icon {
    height: 12px;
    display: inline-block;
}

.chm-submenu-desc {
    display: block;
    padding: 3px;
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    color: #ddd;
}

.chm-submenu-parent-link {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chm-submenu-parent-link .chm-submenu-link {
  justify-content: center;
  font-style: italic;
    background-color: rgba(44, 51, 51, 0.8);
  color: #ddd !important;
    transition: all 0.2s ease;
}

.chm-submenu-parent-link .chm-submenu-link:hover {
  color: var(--primary-color) !important;
}

/* === CTA Section === */
.chm-cta {
  display: flex;
  gap: 22px;
  align-items: center;
}

.chm-phone {
    padding: 2px;
    font-size: 18px;
    font-weight: 500;
  color: #fff;
  text-decoration: none;
    text-shadow: 0 0 2px #000;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.chm-phone:hover {
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to left, var(--primary-color), transparent);
    border-image-slice: 1;
}

.chm-icon {
    display: inline-block;
    vertical-align: middle;
    height: 18px;
    width: auto;
    margin-right: 8px;
}

.chm-phone-icon { filter: brightness(0) invert(1); /* makes white icon from black */ }

.chm-button .chm-icon { margin-right: 8px; }

.chm-button {
  background-color: #fff;
    box-shadow: 0 0 2px #000;
  color: #000;
  padding: 10px 13px;
    font-size: 17px;
  font-weight: 600;
  border-radius: 26px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.chm-button:hover { background-color: var(--primary-color); }

.chm-burger {
    position: fixed;
    top: 53px;
    right: 7px;
    z-index: 2;
  display: none;
  flex-direction: column;
  gap: 4px;
    padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.chm-burger span {
  width: 24px;
  height: 3px;
  background-color: #fff;
  display: block;
    border-radius: 2px;
    box-shadow: 0 0 2px #000;
  transition: all 0.3s ease;
}

.chm-burger.active span {
    box-shadow: none;
}

/* Animate to X when .active */
.chm-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.chm-burger.active span:nth-child(2) {
  opacity: 0;
}

.chm-burger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 769px) {
    
    .chm-menu li:hover > ul.chm-submenu { display: block; }
    
    .chm-menu li.menu-item-has-children:hover .dropdown-icon {
        transform: rotate(180deg);
    }
}

/* === Responsive (Mobile) === */
@media (max-width: 768px) {
    .chm-burger { display: flex;  }
    
    .chm-navigation {
        display: none;
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100vh;
        padding: 52px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
      background-color: rgba(1,1,1,0.99);
    }
    .chm-navigation.open { display: block; }
    
  .chm-container {
    align-items: flex-start;
      flex-wrap: nowrap;
      justify-content: space-between;
    gap: 11px;
  }

    .chm-logo img { max-height: 115px; }
    
    .chm-menu {
        flex-direction: column;
        gap: 0;
        background-color: rgba(46,58,59,0.98);
    }
    
    .chm-menu li a {
        display: flex;
        padding: 12px;
        font-size: 17px;
        text-shadow: 0 0 2px #000;
        border-bottom: 2px solid transparent;
        border-image: linear-gradient(to right, #fff, transparent);
        border-image-slice: 1;
        box-shadow: 0 -1px 6px #000;
    }
    
    .chm-submenu-item:last-of-type a.chm-submenu-link { border-radius: 0; }
    
    .chm-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        justify-content: center;
        text-align: center;
        background-color: rgba(23,23,23,0.9);
        box-shadow: 0px 4px 5px #111;
    }
  
    .chm-menu li ul.chm-submenu {
        display: none;
        margin: 0;
        background-color: rgba(23,23,23,0.98);
        border-radius: 0px;
    }
    .chm-menu li ul.chm-submenu.open { display: block; }
    
    .chm-submenu-item a.chm-submenu-link {
        padding: 11px;
    }
    
    .chm-submenu-img {
        display: none;
    }
    
    .chm-submenu-title { font-size: 17px; }
    
    .chm-submenu-desc { display: none; }
    .chm-submenu-parent-link .chm-submenu-link {
        justify-content: flex-start;
        padding: 14px;
        background-image: linear-gradient(to right, rgba(44, 51, 51, 0.8), transparent);
    }
    
    .chm-phone {
        flex: 1;
        padding: 11px 6px;
        font-size: 14px;
        border-bottom-width: 0;
    }
    
    .chm-button {
        flex: 1;
        padding: 11px 6px;
        border-radius: 0;
        box-shadow: none;
    }
}