/* Navigation Menu */

ul.main-menu.wp-block-navigation li {
  margin-right: 1rem;
}
ul.main-menu.wp-block-navigation li a span {
  color: var(--wp--preset--color--custom-hb-white);
  font-weight: 400;
}

ul.main-menu.wp-block-navigation li a span:hover {
  color: var(--wp--preset--color--custom-hb-white);
}

ul.main-menu.wp-block-navigation
  .wp-block-navigation-item__content.wp-block-navigation-item__content {
  color: var(--wp--preset--color--custom-hb-primary-light);
  display: block !important;
}

ul.main-menu.wp-block-navigation
  .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--custom-hb-secondary);
}

.wp-block-navigation .wp-block-navigation__submenu-icon svg {
  color: var(--wp--preset--color--custom-hb-primary-light);
}

ul.main-menu.wp-block-navigation li a span:hover {
  color: var(--wp--preset--color--custom-hb-secondary);
}

/* General Styles */
.icon-color {
  color: var(--wp--preset--color--custom-hb-primary);
  margin-right: 5px;
}

/* Call To Action Styles */

.hero-btn a:hover,
.header-top-btn a:hover {
  color: var(--wp--preset--color--custom-hb-primary-dark);
}

/* Hero Section Styles */

.hb-header {
  z-index: 2;
}

.hb-hero {
  margin-top: -11.5rem !important;
}

/* Services Section Styles */

.service__card {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.service__card .service-icon {
  display: inline-block;
  padding: 18px 20px;
  color: var(--wp--preset--color--custom-hb-primary);
  background-color: var(--wp--preset--color--custom-hb-primary-light);
  border-radius: 100%;
  transition: 0.3s;
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--wp--preset--color--custom-hb-text-dark);
}

.service__card p {
  margin-bottom: 1rem;
  color: var(--wp--preset--color--custom-hb-text-light);
}
.service__card p i {
  font-size: var(--wp--preset--font-size--hb-xl);
  margin-bottom: 1rem;
  color: var(--wp--preset--color--custom-hb-primary);
}

.service__card a {
  color: var(--wp--preset--color--custom-hb-primary);
}

.service__card a:hover {
  color: var(--wp--preset--color--custom-hb-primary-dark);
}

.service__card:hover .service-icon {
  background-color: var(--wp--preset--color--custom-hb-primary);
}

.service__card:hover .service-icon p i {
  color: var(--wp--preset--color--custom-hb-white);
}

.outline-btn {
  color: var(--wp--preset--color--custom-hb-primary);
  transition: 0.3s;
}

.outline-btn:hover {
  background-color: var(--wp--preset--color--custom-hb-primary);
  color: var(--wp--preset--color--custom-hb-white);
  border-radius: 5px;
}

/* Why Choose Us Styles */

.why__us_icon p i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--custom-hb-primary);
  font-size: var(--wp--preset--font-size--hb-xl);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.why__us_icon:hover p i {
  background: var(--wp--preset--color--custom-hb-primary);
  color: var(--wp--preset--color--custom-hb-white);
  transition: 0.3s;
}

/* Our Doctors Style */
.doctors__card {
  text-align: center;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

/* Footer Section Styles */
.footer__link a span {
  margin-bottom: 1rem;
  color: var(--wp--preset--color--custom-hb-text-dark);
  cursor: pointer;
  transition: 0.3s;
}

.footer__link a span:hover {
  color: var(--wp--preset--color--custom-hb-primary);
}

/* General Styles */

.single-header {
  margin-top: -7.1rem;
}

.archive-content h2 a {
  font-size: var(--wp--preset--font-size--hb-lg);
}

.sidebar-tags {
  list-style: circle;
}

.wp-block-post-author__content {
  margin-top: -0.5rem;
}

.wp-block-post-author__bio {
  color: var(--wp--preset--color--custom-hb-text-dark);
  font-size: 1rem;
  margin-bottom: 0;
  margin-top: 0rem;
}

.skip-link.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal !important;
  border: 0;
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Responsive Styles */

@media (width < 780px) {
  ul.main-menu.wp-block-navigation__responsive-container:not(.has-modal-open)
    .wp-block-navigation__submenu-container {
    transition: all 0.4s ease;
    background: var(--wp--preset--color--custom-hb-text-light);
    padding: 2rem 0;
  }

  .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content
    > span {
    position: relative;
    transition: 0.3s left ease-in-out;
    left: 2rem;
  }
  .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content
    > span {
    margin-bottom: 0;
  }

  .wp-block-navigation
    .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: var(--wp--preset--color--custom-hb-secondary);
    margin-bottom: 0.5rem;
  }

  .wp-block-navigation__responsive-container.has-modal-open
    .wp-block-navigation__responsive-container-content {
    max-width: 500px;
    padding: 20px;
    gap: 0 !important;
  }

  .wp-block-navigation__responsive-container.has-modal-open
    .wp-block-navigation-submenu__toggle {
    display: block !important;
    position: absolute;
    right: -20px !important;
    top: -10px;
    height: 40px;
    width: 12px;
    text-align: center;
    margin-right: 0 !important;
  }

  .wp-block-navigation__responsive-container.has-modal-open
    ul.wp-block-navigation__container
    > li
    > .wp-block-navigation-submenu__toggle
    svg {
    color: var(--wp--preset--color--custom-hb-primary-light);
    width: 12px;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    background-color: inherit;
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .has-child
    .wp-block-navigation__submenu-container
    li {
    padding: 10px;
  }

  .wp-block-navigation__responsive-container-close {
    top: 0px;
    right: 10px;
  }

  .wp-block-navigation .wp-block-navigation__submenu-icon svg {
    margin-top: -12px;
    display: block;
  }

  .has-modal-open
    .admin-bar
    .is-menu-open
    .wp-block-navigation__responsive-dialog {
    margin-top: 3rem;
  }

  .wp-block-navigation__responsive-container.has-modal-open
    ul.wp-block-navigation__submenu-container:not(.is-menu-open) {
    display: none !important;
  }

  .wp-block-navigation
    .has-child
    .wp-block-navigation-submenu__toggle[aria-expanded="true"]
    ~ .wp-block-navigation__submenu-container {
    display: block !important;
  }

  .wp-block-navigation
    .has-child
    .wp-block-navigation-submenu__toggle[aria-expanded="true"]
    ~ .wp-block-navigation__submenu-container
    li {
    padding: 0;
    margin-bottom: 10px;
  }
  .wp-block-navigation
    .has-child
    .wp-block-navigation-submenu__toggle[aria-expanded="true"]
    ~ .wp-block-navigation__submenu-container
    li
    a
    span {
    color: var(--wp--preset--color--custom-hb-secondary);
  }

  /* Header Top Mobile Styles */
  .wp-block-site-logo img {
    width: 215px;
  }

  .header-logo {
    text-align: center;
  }

  .header-cta {
    display: flex;
  }

  ul.main-menu.wp-block-navigation li a span {
    color: var(--wp--preset--color--custom-hb-white);
  }

  ul.main-menu.wp-block-navigation li a span:hover {
    color: var(--wp--preset--color--custom-hb-secondary) !important;
  }

  /* Hero Mobile Styles */
  .hb-hero {
    margin-top: -290px !important;
  }

  .hero-content {
    margin-top: 5rem !important;
    text-align: center;
  }

  .hero-spacer {
    display: none;
  }

  .hero-btn {
    justify-content: center;
  }

  /* Services Section */

  .our-services {
    flex-direction: column;
    align-items: center !important;
    gap: 1rem;
    text-align: center;
  }

  .services-text {
    align-items: center !important;
  }

  /* About Us Section  */

  .about-section {
    padding: 0 1rem !important;
  }

  .about-us-text {
    text-align: center;
    padding: 0 1rem;
  }

  /* Why Choose Us  */

  .why-us-text {
    text-align: center;
  }

  /* Doctors Section */

  .doctors-section {
    padding: 0 1rem !important;
  }

  .doctors-text {
    align-items: center !important;
  }

  .doctors-content {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
  }

  .doctors-content-spacer {
    display: none;
  }

  /* Footer Section  */

  .footer-section {
    text-align: center;
  }

  .footer-text {
    padding: 0 2rem;
  }

  .footer-menu-1,
  .footer-menu-2 {
    align-items: center !important;
  }

  /* Copyright Section */

  .copyright-section {
    flex-direction: column;
    gap: 1rem;
  }

  .copyright-social {
    display: none;
  }
}

@media (width < 600px) {
  .wp-block-navigation .wp-block-navigation__submenu-icon svg {
    margin-top: -2px;
    display: block;
  }

  .wp-block-navigation__submenu-icon[aria-expanded="true"]::before {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 10px;
    left: -2px;
    background-color: var(--wp--preset--color--custom-hb-primary-light);
  }

  .wp-block-navigation__submenu-icon[aria-expanded="true"] svg {
    position: relative;
    stroke: var(--wp--preset--color--custom-hb-text-dark);
    z-index: 1;
  }

  .navigation-menu {
    display: flex;
    color: white;
  }
}
