/* =========================================================
   HEADER REDESIGN
   New two-row header: dark contact topbar + white centered nav
   Uses the site's existing brand colors (--color-primary / --color-secondary)
   ========================================================= */

/* ---------- TOPBAR ---------- */
.header-redesign .header-topbar {
  background-color: #123143;
  padding: 10px 0;
}

.header-redesign .topbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.header-redesign .topbar-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
}

.header-redesign .topbar-contact li {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
}

.header-redesign .topbar-contact li i {
  margin-right: 8px;
  color: var(--color-primary, #f5730f);
  font-size: 15px;
}

.header-redesign .topbar-contact li a,
.header-redesign .topbar-contact li span {
  color: #fff;
  text-decoration: none;
}

.header-redesign .topbar-contact li a:hover {
  color: var(--color-primary, #f5730f);
}

.header-redesign .topbar-social {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.header-redesign .topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  transition: background-color .2s ease, color .2s ease;
}

.header-redesign .topbar-social a:hover {
  background-color: var(--color-primary, #f5730f);
  color: #fff;
}

/* ---------- MAIN NAV ---------- */
.header-redesign .navbar {
  background-color: #fff;
  padding: 14px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-redesign .navbar-brand img {
  max-height: 85px;
  width: auto;
}

.header-redesign .navbar-collapse {
  flex-grow: 1;
}

.header-redesign .navbar-nav {
  margin-left: auto;
  margin-right: auto;
}

.header-redesign .navbar-nav .nav-item-link {
  font-weight: 500;
  color: #222;
  padding: 10px 18px;
}

.header-redesign .navbar-nav .nav-item-link.active,
.header-redesign .navbar-nav .nav-item-link:hover {
  color: var(--color-primary, #4aaac2);
}

/* Simple vertical Services dropdown (matches reference layout) */
.header-redesign .services-dropdown-simple {
  min-width: 300px;
  padding: 10px 0;
  border: none;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.header-redesign .services-dropdown-simple .nav-item {
  padding: 0;
  margin-right: 0;
}

.header-redesign .services-dropdown-simple .nav-item > .nav-item-link {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #222 !important;
  text-transform: none;
  white-space: normal;
  line-height: 1.4 !important;
  border-bottom: 1px solid #eef0f2;
}

.header-redesign .services-dropdown-simple .nav-item:last-child > .nav-item-link {
  border-bottom: none;
}

.header-redesign .services-dropdown-simple .nav-item > .nav-item-link:hover {
  background-color: rgba(245, 115, 15, 0.08);
  color: var(--color-primary, #f5730f) !important;
}

/* CTA button, pill-shaped, matches reference "Contact Now >>" */
.header-redesign .btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary, #f5730f);
  color: #fff !important;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}

.header-redesign .btn-header-cta:hover {
  background-color: #c95c0a;
  transform: translateY(-1px);
}

.header-redesign .btn-header-cta i {
  font-size: 13px;
}

@media (max-width: 991px) {
  .header-redesign .topbar-flex {
    justify-content: center;
    text-align: center;
  }
  .header-redesign .topbar-contact {
    justify-content: center;
  }
}

/* ---------- COMPACT PAGE TITLE (About/Doctors/Contact/etc. banners) ---------- */
.page-title-compact {
  background-color: #dbe4e8;
  padding: 70px 0 55px;
}

.page-title-compact-heading {
  font-size: 48px;
  font-weight: 800;
  color: #1c2b36;
  margin: 0 0 16px;
}

.page-title-compact-breadcrumb {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.page-title-compact-breadcrumb li {
  color: #62717d;
}

.page-title-compact-breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: #62717d;
}

.page-title-compact-breadcrumb a {
  color: #62717d;
  text-decoration: none;
}

.page-title-compact-breadcrumb a:hover {
  color: var(--color-primary, #f5730f);
}

.page-title-compact-breadcrumb li.active {
  color: var(--color-primary, #f5730f);
  font-weight: 600;
}

@media (max-width: 767px) {
  .page-title-compact {
    padding: 45px 0 35px;
  }
  .page-title-compact-heading {
    font-size: 34px;
  }
}

/* ---------- BRAND-COLORED SOCIAL ICONS (topbar) ---------- */
.header-redesign .topbar-social a[aria-label="Facebook"] {
  background-color: #1877F2;
}

.header-redesign .topbar-social a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.header-redesign .topbar-social a[aria-label="YouTube"] {
  background-color: #FF0000;
}

.header-redesign .topbar-social a[aria-label="Facebook"]:hover,
.header-redesign .topbar-social a[aria-label="Instagram"]:hover,
.header-redesign .topbar-social a[aria-label="YouTube"]:hover {
  filter: brightness(1.15);
}

/* ---------- BRAND-COLORED SOCIAL ICONS (footer) ---------- */
.footer-social a[aria-label="Facebook"] {
  background: #1877F2;
}

.footer-social a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social a[aria-label="YouTube"] {
  background: #FF0000;
}

.footer-social a[aria-label="Facebook"]:hover,
.footer-social a[aria-label="Instagram"]:hover,
.footer-social a[aria-label="YouTube"]:hover {
  filter: brightness(1.15);
}

/* ---------- DOCTOR CARD SOCIAL ICONS ---------- */
/* No CSS existed for .doctor-card-social anywhere in the project, so this adds
   a basic hover-reveal overlay in addition to the brand colors. */
.doctor-card-img {
  position: relative;
  overflow: hidden;
}

.doctor-card-social {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.doctor-card-img:hover .doctor-card-social {
  opacity: 1;
  transform: translateY(0);
}

.doctor-card-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #fff;
  color: #222;
  font-size: 14px;
  transition: transform .2s ease;
}

.doctor-card-social a:hover {
  transform: translateY(-3px);
}

.doctor-card-social a[aria-label="Facebook"] {
  background-color: #1877F2;
  color: #fff;
}

.doctor-card-social a[aria-label="WhatsApp"] {
  background-color: #25D366;
  color: #fff;
}

.doctor-card-social a[aria-label="YouTube"] {
  background-color: #FF0000;
  color: #fff;
}

.doctor-card-social a[aria-label="Call"] {
  background-color: var(--color-primary, #f5730f);
  color: #fff;
}

/* ---------- HOMEPAGE HERO BANNER SLIDER ARROWS (smaller) ---------- */
.slider .slick-arrow {
  width: 44px;
  height: 44px;
}

.slider .slick-arrow:before {
  width: 34px;
  height: 34px;
  font-size: 13px;
}

/* ---------- TESTIMONIAL STAR RATING ---------- */
.testimonial-rating {
  color: #FFB800;
  margin-bottom: 14px;
}

.testimonial-rating i {
  color: #FFB800;
  margin-right: 2px;
}

/* ---------- TESTIMONIAL CARDS ---------- */
.testimonial-carousel .testimonial-item {
  background-color: #fff;
  border: 1px solid #e7edf0;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 10px 30px rgba(18, 49, 67, 0.08);
  position: relative;
}

.testimonial-carousel .testimonial-item:before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 80px;
  line-height: 1;
  color: var(--color-primary, #f5730f);
  opacity: 0.12;
}

.testimonial-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.testimonial-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.testimonial-avatar-navy   { background-color: #123143; }
.testimonial-avatar-teal   { background-color: #5499b0; }
.testimonial-avatar-orange { background-color: var(--color-primary, #f5730f); }

.testimonial-card-meta .testimonial-name {
  margin: 0 0 6px;
  color: #123143;
  font-size: 18px;
}

.testimonial-card-meta .testimonial-rating {
  margin-bottom: 0;
  font-size: 13px;
}

.testimonial-carousel .testimonial-text {
  color: #5c6a75;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 575px) {
  .testimonial-carousel .testimonial-item {
    padding: 28px 24px;
  }
}