/* Centre circular logo — not the Carelax wordmark. */
.logo img,
.logo-img img,
.logo-img-02 img,
.footer-logo img,
.footer__logo img {
  max-height: 78px;
  width: auto;
  height: auto;
  border-radius: 50%;
  background: #fff;
}

.footer-logo img,
.footer__logo img,
.footer__widget .footer-logo img {
  width: 78px !important;
  height: 78px !important;
  max-height: 78px !important;
  padding: 0 !important;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}

/* Demo theme invented volunteer/partner counts — do not show them. */
.counter-area {
  display: none !important;
}

/* Overlay header so the slider / page banner sits behind it */
#top-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
}

.header-top-area {
  background: rgba(9, 28, 64, 0.92);
  padding: 8px 0 !important;
  margin: 0 !important;
}

.header-top-area::before {
  display: none;
}

.anm-topbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.anm-topbar-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 12px;
  min-width: 0;
}

.anm-topbar-reach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}

.anm-topbar-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 8px;
}

.anm-topbar-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}

.anm-topbar-social a:hover {
  color: #fff;
  background: #4db7a6;
  border-color: #4db7a6;
}

.anm-topbar-social a i {
  color: inherit;
}

.header-top-area > .container,
.main-header-area > .container,
.main-head-02 > .container.custom-container {
  max-width: 1400px;
  width: 100%;
}

.anm-top-link,
.anm-top-addr {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.anm-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  padding: 6px 12px;
}

.anm-top-link:hover {
  color: #fff;
  background: #4db7a6;
  border-color: #4db7a6;
}

.anm-top-addr i,
.anm-top-link i {
  color: #4db7a6;
}

@media (max-width: 767px) {
  .anm-topbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
  }

  .anm-topbar-contact {
    display: contents;
  }

  .anm-topbar-reach {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    order: 1;
    flex: 1 0 100%;
    width: 100%;
  }

  .anm-topbar-reach .anm-top-link {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    font-size: 13px;
    padding: 7px 8px;
  }

  .anm-top-addr {
    order: 2;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }

  .anm-topbar-social {
    order: 3;
    width: auto;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .anm-topbar-social a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* Floating white pill menu (reference: attached hospital header) */
.main-header-area,
.main-header-area.sticky,
.sticky,
.main-head-02,
.main-head-02.sticky {
  background: transparent !important;
  box-shadow: none !important;
  padding: 8px 0 12px !important;
}

.main-header-area > .container,
.main-head-02 > .container.custom-container {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(9, 28, 64, 0.16);
  padding: 6px 18px 6px 14px;
}

.main-header-area .row {
  flex-wrap: nowrap;
  align-items: center;
}

.main-header-area .col-xl-2,
.main-header-area .col-lg-2 {
  flex: 0 1 auto;
  max-width: none;
  width: auto;
}

.main-header-area .col-xl-7,
.main-header-area .col-lg-6,
.main-header-area .col-lg-8 {
  flex: 1 1 auto;
  max-width: none;
  text-align: right !important;
  margin-left: auto;
}

.main-header-area .col-xl-3,
.main-header-area .col-lg-3 {
  flex: 0 0 auto;
  max-width: none;
  width: auto;
  display: flex;
  align-items: center;
}

.logo-img {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.anm-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.anm-brand strong {
  color: #091C40;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-family: "Karla", sans-serif;
}

.anm-brand em {
  color: #4db7a6;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
}

.main-header-area .logo-img img,
.main-header-area .logo img {
  width: 50px;
  height: 50px;
  max-height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.main-menu {
  text-align: right;
}

.main-menu > nav > ul {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.main-menu > nav > ul > li {
  margin-right: 0 !important;
  margin-left: 18px !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.main-menu > nav > ul > li > a {
  color: #091C40 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 12px 0 !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1 !important;
  white-space: nowrap;
}

.main-menu > nav > ul > li > a i {
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700;
  vertical-align: middle;
  position: static;
  top: auto;
}

.main-header-area .quote-btn {
  margin-top: 0 !important;
  display: flex;
  align-items: center;
  height: 50px;
}

.main-header-area .quote-btn .theme_btn {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 46px 0 18px;
  font-size: 13px;
  line-height: 1;
}

.hamburger-menu > a {
  color: #091C40;
}

.main-menu ul li > a:hover,
.main-menu ul li > a.active,
.sticky .main-menu ul li a:hover,
.sticky .main-menu ul li a.active {
  color: #f15b43 !important;
}

.main-menu ul li ul.submenu {
  background: #fff;
  border-radius: 16px;
}

.main-menu ul li ul.submenu li a {
  color: #091C40 !important;
}

.main-menu ul li ul.submenu li a:hover {
  color: #f15b43 !important;
}

.main-header-area .quote-btn .theme_btn {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 46px 0 18px;
  font-size: 13px;
  line-height: 1;
}

.main-header-area .quote-btn .theme_btn span {
  width: 28px;
  height: 28px;
  line-height: 28px;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
}

.main-header-area .quote-btn .theme_btn span i {
  line-height: 28px;
}

.sticky {
  padding-top: 8px !important;
}

@media (min-width: 992px) {
  .slider-area .col-xl-7 {
    flex: 0 0 70%;
    max-width: 70%;
  }

  .slider__content .main-title {
    font-size: clamp(44px, 3.8vw, 58px);
    white-space: nowrap;
  }
}

/* Slider / inner banners start under the overlay header */
.slider-height,
.slider-height-02 {
  padding-top: 150px;
}

.page-title-area {
  padding-top: 170px;
  min-height: 460px;
}

@media (max-width: 991px) {
  .hamburger-menu,
  .sticky .hamburger-menu {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    position: static !important;
    top: auto !important;
    margin: 0;
    height: 44px;
  }

  .hamburger-menu > a {
    width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0 !important;
    background: #091C40;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(9, 28, 64, 0.2);
  }

  .hamburger-menu > a i {
    font-size: 16px;
    line-height: 1;
    color: #fff;
  }

  .main-header-area,
  .main-header-area.sticky,
  .sticky {
    padding: 8px 8px 12px !important;
  }

  .transparent-head {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .main-header-area > .container {
    border-radius: 999px;
    padding: 6px 10px !important;
  }

  .main-header-area .row {
    margin-left: 0;
    margin-right: 0;
  }

  .main-header-area .col-6,
  .main-header-area .col-md-6 {
    display: flex;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
  }

  .main-header-area .col-6.text-end {
    justify-content: flex-end;
  }

  .anm-brand strong {
    font-size: 12px;
    max-width: 10.5rem;
  }

  .anm-brand em {
    display: none;
  }

  .main-header-area .logo-img img {
    width: 44px;
    height: 44px;
    max-height: 44px;
  }

  .page-title-area {
    padding-top: 150px;
  }
}

@media (max-width: 991px) {
  .slider__content .btn-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .slider__content .btn-list li {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    margin: 0 !important;
  }

  .slider__content .btn-list .theme_btn {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 11px;
    line-height: 1.2;
    padding: 12px 36px 12px 12px;
    white-space: nowrap;
  }

  .slider__content .btn-list .theme_btn span {
    width: 26px;
    height: 26px;
    line-height: 26px;
    top: 50%;
    transform: translateY(-50%);
    right: 6px;
  }

  .slider__content .btn-list .theme_btn span i {
    line-height: 26px;
    font-size: 12px;
  }
}

/* Generated photos are high-res; theme CSS often set only border-radius.
   Cap display size to the original Carelax slots. */
.team__thumb img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.teams__thumb--img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.cases__tag li .cases--author img,
.cases-details .cases--author img,
.widget .cases--author img,
.widget-organizer .cases--author .autor-img img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.testimonial-item .author_box__img img {
  width: 65px;
  height: 65px;
  object-fit: cover;
}

.blog-author img {
  width: 45px;
  height: 45px;
  object-fit: cover;
}

.blogs-details-left-area .author__img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.widget .widget-post .post__thumb img {
  width: 110px;
  height: 80px;
  object-fit: cover;
}

.services__img img,
.about-img__thumb img,
.about-img-02__thumb img,
.about-img-02__thumb-02 img,
.gallery__thumb img,
.cases__box--img img,
.events__thumb img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.inner-content__img img {
  max-width: 100%;
  height: auto;
  display: block;
}

.volunteer-box__img img,
.volunteer-box__img-02 img {
  max-width: 100%;
  height: auto;
}

.services__content p .anm-hl,
.anm-hl {
  color: #f15b43;
  font-weight: 700;
}

.services__content p {
  line-height: 1.3;
}

.anm-kendra-area {
  background: #fff;
  overflow-x: hidden;
}

.anm-kendra-area .col-xl-6,
.anm-kendra-copy,
.anm-kendra-photo {
  min-width: 0;
  max-width: 100%;
}

.anm-kendra-area .section-title h2 span {
  color: #f15b43;
}

.anm-kendra-photo img {
  width: 100%;
  max-width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.anm-kendra-caption {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #091C40;
}

.anm-kendra-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
