/* Aliphakey Group - shared navigation */
:root {
  --primary: #092239;
  --secondary: #39bca2;
  --accent: #e5d3b3;
  --white: #ffffff;
  --navy-soft: #102f49;
  --text: #18334a;
}

.home-hero .btn-secondary-clinic,
.cta-buttons .btn-secondary-clinic {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-contact a {
  color: inherit;
  text-decoration: none;
}

html, body {
  font-family:sans-serif;
}

.site-navbar {
  min-height: 80px;
  background: var(--primary);
  border-bottom: 1px solid rgba(229, 211, 179, .16);
  position: relative;
  z-index: 1030;
}

.brand-wrap {
  flex: 0 0 auto;
  padding: 0;
  margin-right: clamp(1rem, 3vw, 3rem);
}

.brand-logo {
  display: block;
  width: clamp(190px, 18vw, 180px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.desktop-nav .navbar-nav {
  flex-wrap: nowrap;
}

.site-navbar .nav-link {
  position: relative;
  color: rgba(255,255,255,.92);
  font-size: .96rem;
  font-weight: 500;
  padding: 1rem .75rem 1rem;
  white-space: nowrap;
  transition: color .2s ease;
}

.site-navbar .nav-link::after {
  transition: transform .2s ease, opacity .2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.active {
  color: var(--secondary);
}

.site-navbar .nav-link.active::before {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--secondary);
}

.book-btn,
.mobile-book-btn {
  border: 0;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(57,188,162,.18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.book-btn {
  padding: .78rem 1.15rem;
}

.book-btn:hover,
.mobile-book-btn:hover {
  color: var(--white);
  background: #2eaa91;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(57,188,162,.26);
}

.mega-menu {
  top: calc(100% - 1px);
  border: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 22px 55px rgba(9,34,57,.18);
  overflow: hidden;
  min-width: 390px;
  padding-top: 10px !important;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 12px;
  height: 12px;
  background: var(--white);
  transform: translateY(-50%) rotate(45deg);
}

.mega-inner {
  padding: 20px 22px 18px;
}

.mega-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(9,34,57,.09);
  margin-bottom: 5px;
}

.mega-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(57,188,162,.12);
  color: var(--secondary);
  font-size: 1.25rem;
}

.eyebrow {
  display: block;
  color: var(--secondary);
  font-size: .69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mega-heading h6 {
  margin: 2px 0 0;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 750;
}

.mega-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  color: var(--text);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(9,34,57,.065);
  transition: .18s ease;
}

.mega-list a:last-child {
  border-bottom: 0;
}

.mega-list a i {
  width: 21px;
  color: var(--secondary);
  font-size: 1rem;
}

.mega-list a:hover {
  color: var(--secondary);
  background: rgba(57,188,162,.055);
  padding-left: 12px;
}

.mobile-menu {
  width: min(92vw, 390px);
  background: #f8fbfa;
}

.mobile-menu .offcanvas-header {
  padding: 18px 20px;
  background: var(--primary);
}

.mobile-brand img {
  width: 190px;
  max-width: 100%;
  height: auto;
}

.mobile-menu .btn-close {
  filter: invert(1) brightness(2);
  opacity: .9;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  text-align: left;
  font-size: .95rem;
  font-weight: 650;
}

.mobile-link > i:first-child {
  width: 22px;
  color: var(--secondary);
  font-size: 1.1rem;
  text-align: center;
}

.mobile-link:hover,
.mobile-parent[aria-expanded="true"] {
  background: rgba(57,188,162,.10);
  color: var(--secondary);
}

.mobile-submenu {
  margin: 0 0 5px 35px;
  border-left: 2px solid rgba(57,188,162,.22);
}

.mobile-submenu a {
  display: block;
  padding: 8px 10px;
  color: #345066;
  text-decoration: none;
  font-size: .84rem;
  line-height: 1.35;
}

.mobile-submenu a:hover {
  color: var(--secondary);
}

.mobile-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 16px;
  margin-top: 22px;
  text-decoration: none;
}

.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.78);
}

@media (max-width: 1399.98px) {
  .brand-wrap {
    margin-right: 1rem;
  }
  .site-navbar .nav-link {
    font-size: .88rem;
    padding-left: .55rem;
    padding-right: .55rem;
  }
}

@media (max-width: 1199.98px) {
  .brand-logo {
    width: 220px;
  }
  .site-navbar .nav-link {
    font-size: .82rem;
  }
}

@media (max-width: 991.98px) {
  .site-navbar {
    min-height: 76px;
  }
  .brand-logo {
    width: 205px;
    max-height: 58px;
  }
  .navbar-toggler {
    padding: .45rem;
  }
}

@media (max-width: 575.98px) {
  .site-navbar {
    min-height: 70px;
  }
  .brand-logo {
    width: 175px;
  }
  .book-btn {
    padding: .65rem .78rem;
    font-size: .82rem;
  }
}

/*# Footer CSS */
/* =========================================================
   ALIPHAKEY GROUP - PROFESSIONAL FOOTER
========================================================= */

.site-footer {
    position: relative;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.78);
    overflow: hidden;
}


/* Decorative Background */

.site-footer::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -210px;
    top: -250px;
    border: 80px solid rgba(57, 188, 162, 0.055);
    border-radius: 50%;
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -180px;
    bottom: -190px;
    border: 60px solid rgba(229, 211, 179, 0.045);
    border-radius: 50%;
    pointer-events: none;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
    position: relative;
    z-index: 2;
    padding: 75px 0 28px;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    max-width: 390px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
}


.footer-description {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.91rem;
    line-height: 1.8;
}


/* Book Button */

.footer-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    border-radius: 10px;

    background: var(--secondary);
    color: #fff;

    text-decoration: none;

    font-size: 0.86rem;
    font-weight: 750;

    box-shadow:
        0 8px 24px rgba(57, 188, 162, 0.16);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.footer-book-btn i {
    transition: transform 0.25s ease;
}


.footer-book-btn:hover {
    background: #2da88f;
    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(57, 188, 162, 0.24);
}


.footer-book-btn:hover i {
    transform: translateX(4px);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h5 {
    position: relative;

    margin: 5px 0 22px;

    color: #fff;

    font-size: 1rem;
    font-weight: 800;
}


.footer-column h5::after {
    content: "";

    display: block;

    width: 30px;
    height: 3px;

    margin-top: 10px;

    border-radius: 50px;

    background: var(--secondary);
}


/* =========================================================
   LINKS
========================================================= */

.footer-links {
    list-style: none;

    padding: 0;
    margin: 0;
}


.footer-links li {
    margin-bottom: 11px;
}


.footer-links a {
    display: inline-flex;
    align-items: flex-start;

    gap: 7px;

    color: rgba(255, 255, 255, 0.67);

    text-decoration: none;

    font-size: 0.83rem;
    line-height: 1.5;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-links a i {
    margin-top: 4px;

    color: var(--secondary);

    font-size: 0.62rem;

    transition: transform 0.2s ease;
}


.footer-links a:hover {
    color: var(--secondary);

    transform: translateX(3px);
}


.footer-links a:hover i {
    transform: translateX(2px);
}


/* =========================================================
   CONTACT ITEMS
========================================================= */

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 17px;

    color: rgba(255, 255, 255, 0.72);

    text-decoration: none;

    transition: color 0.2s ease;
}


.footer-contact-item:hover {
    color: #fff;
}


.footer-contact-icon {
    width: 40px;
    height: 40px;

    min-width: 40px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(57, 188, 162, 0.10);

    color: var(--secondary);

    font-size: 0.95rem;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-contact-item:hover .footer-contact-icon {
    background: var(--secondary);

    color: #fff;

    transform: translateY(-2px);
}


.footer-contact-item small {
    display: block;

    margin-bottom: 3px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 0.67rem;

    font-weight: 750;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.footer-contact-item strong {
    display: block;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.79rem;

    font-weight: 600;

    line-height: 1.55;
}


.footer-contact-item:hover strong {
    color: #fff;
}


.footer-address {
    cursor: default;
}


.footer-address:hover .footer-contact-icon {
    background: rgba(57, 188, 162, 0.10);

    color: var(--secondary);

    transform: none;
}


/* =========================================================
   DIVIDER
========================================================= */

.footer-divider {
    height: 1px;

    margin-top: 42px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.13),
            transparent
        );
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;
}


/* Copyright */

.footer-copyright {
    color: rgba(255, 255, 255, 0.47);

    font-size: 0.73rem;
}


/* Tagline */

.footer-tagline {
    display: flex;

    align-items: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 0.72rem;
}


.footer-tagline span:first-child {
    color: var(--accent);

    font-weight: 700;
}


.tagline-dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--secondary);
}


/* =========================================================
   SOCIAL BUTTONS
========================================================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 8px;
}


.footer-social a {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.035);

    color: rgba(255, 255, 255, 0.68);

    text-decoration: none;

    font-size: 0.85rem;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.footer-social a:hover {
    background: var(--secondary);

    border-color: var(--secondary);

    color: #fff;

    transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .footer-main {
        padding: 60px 0 25px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo img {
        width: 230px;
    }

    .footer-bottom {
        flex-wrap: wrap;
    }

}


@media (max-width: 767.98px) {

    .footer-main {
        padding: 52px 0 22px;
    }

    .footer-logo img {
        width: 210px;
    }

    .footer-description {
        max-width: 520px;

        font-size: 0.87rem;
    }

    .footer-column h5 {
        margin-bottom: 18px;
    }

    .footer-divider {
        margin-top: 25px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 14px;
    }

    .footer-tagline {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-copyright {
        order: 2;
    }

    .footer-social {
        order: 3;
    }

}


@media (max-width: 575.98px) {

    .footer-main {
        padding: 45px 0 20px;
    }

    .footer-logo img {
        width: 195px;
    }

    .footer-description {
        line-height: 1.7;
    }

    .footer-book-btn {
        width: 100%;

        justify-content: center;
    }

    .footer-links a {
        font-size: 0.81rem;
    }

    .footer-contact-item strong {
        font-size: 0.76rem;
    }

    .footer-bottom {
        padding-top: 18px;
    }

    .footer-tagline {
        font-size: 0.68rem;
    }

    .footer-copyright {
        font-size: 0.68rem;
    }

}