:root {
  --primary: #123c6d;       /* deep, premium navy-blue */
  --primary-dark: #0a2748;  /* richer navy for hover/depth */
  --primary-rgb: 18, 60, 109;
  --accent: #c9a24b;        /* warm gold — premium highlight */
  --accent-dark: #a9822f;
  --red: #b3223f;           /* deep, refined red — CTA/urgency */
  --red-dark: #8a1a30;
  --red-rgb: 179, 34, 63;
  --white: #ffffff;         /* true white, crisp cards */
  --card-bg: #ffffff;
  --section-bg: #f7f2e8;    /* warm ivory instead of the broken faded blue */
  --dark: #10151d;
  --gray: #5b6472;
  --light: #faf9f6;
}

/* ====================================================
   GLOBAL RESET / OVERFLOW FIX
   Prevents AOS fade-in animations (which translate elements
   off-canvas before they animate into view) from creating
   horizontal scroll / phantom whitespace on mobile.
==================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* ====================================================
   FIXED EMERGENCY TAB
==================================================== */

.emergency-widget {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1050;
  display: flex;
  align-items: center;
}

.emergency-tab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: var(--white);
  border: none;
  padding: 22px 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  box-shadow: -4px 0 15px rgba(var(--red-rgb), 0.35);
  transition: 0.3s;
}

.emergency-tab:hover {
  padding-right: 16px;
}

.emergency-snackbar {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  background: var(--white);
  border: 1px solid rgba(var(--red-rgb), 0.35);
  border-radius: 12px;
  padding: 14px 20px;
  margin-right: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s ease;
}

.emergency-snackbar.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.emergency-close {
  border: none;
  background: #f3f3f3;
  color: var(--gray);
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.emergency-close:hover {
  background: #e2e2e2;
  color: var(--dark);
}

.emergency-number {
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emergency-number:hover {
  color: var(--red-dark);
}

.emergency-number i {
  font-size: 14px;
}

@media (max-width: 576px) {
  .emergency-tab {
    font-size: 12px;
    padding: 16px 8px;
    letter-spacing: 1px;
  }

  .emergency-snackbar {
    padding: 10px 14px;
    margin-right: 8px;
  }

  .emergency-number {
    font-size: 14px;
  }
}

/* ====================================================
   COMMON SECTION TITLE
==================================================== */

.section-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.3px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-subtitle {
  max-width: 700px;
  margin: auto;
  color: var(--gray);
  font-size: 18px;
}

/* ====================================================
   HERO SECTION
==================================================== */

.hero-section {
  position: relative;
}

.hero-img {
  height: 90vh;
  width: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 20, 32, 0.85) 0%,
    rgba(18, 60, 109, 0.55) 45%,
    rgba(18, 60, 109, 0.15) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 700px;
  z-index: 5;
}

.hero-badge {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(201, 162, 75, 0.18);
  border: 1px solid rgba(201, 162, 75, 0.4);
  backdrop-filter: blur(12px);
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 25px;
}

.hero-title span {
  display: block;
  color: var(--accent);
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.35);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(var(--primary-rgb), 0.45);
}

.btn-outline-custom {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
}

.btn-outline-custom:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

.carousel-indicators {
  margin-bottom: 40px;
}

.carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
}

/* ====================================================
   TABLET
==================================================== */

@media (max-width: 991px) {
  .hero-img {
    height: 75vh;
  }

  .hero-title {
    font-size: 52px;
  }

  .section-title {
    font-size: 38px;
  }
  .carousel-indicators {
    margin-bottom: 40px;
    bottom: -39px;
  }
}

/* ====================================================
   MOBILE
==================================================== */

@media (max-width: 767px) {
  .hero-img {
    height: 85vh;
  }

  .hero-content {
    left: 20px;
    right: 20px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 30px;
  }

  .section-subtitle {
    font-size: 15px;
  }
}

/* ====================================================
   NAVBAR
==================================================== */

.custom-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  padding: 2px 0;
  transition: 0.4s ease;
  border-bottom: 1px solid rgba(18, 60, 109, 0.08);
  z-index: 999;
}

.logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.brand-subtitle {
  color: var(--gray);
  font-weight: 500;
}

.navbar-nav {
  gap: 10px;
}

.nav-link {
  color: var(--dark) !important;
  font-weight: 600;
  padding: 10px 16px !important;
  position: relative;
  transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 32px);
}

.dropdown-menu {
  border-radius: 15px;
  min-width: 230px;
  padding: 12px;
  background: var(--white);
  box-shadow: 0 15px 40px rgba(18, 60, 109, 0.12);
}

.dropdown-item {
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 500;
}

.dropdown-item:hover {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.call-btn {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.call-btn i {
  color: var(--red);
}

.appointment-btn {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(var(--red-rgb), 0.35);
}

.appointment-btn:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(var(--red-rgb), 0.45);
}

.custom-navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(18, 60, 109, 0.1);
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(18, 60, 109, 0.1);
  }

  .navbar-nav {
    gap: 0;
  }

  .nav-link {
    padding: 12px 0 !important;
  }

  .appointment-btn {
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }

  .call-btn {
    margin-top: 15px;
  }
}

/* ====================================================
   QUICK HIGHLIGHTS STRIP (torn / stamp-edge banner)
==================================================== */

.quick-highlights {
  position: relative;
  background: #e4d7a3;
  padding: 34px 0 52px;
  clip-path: polygon(
    0 0, 100% 0,
    100% 100%, 96.667% 88%, 93.333% 100%, 90% 88%, 86.667% 100%, 83.333% 88%,
    80% 100%, 76.667% 88%, 73.333% 100%, 70% 88%, 66.667% 100%, 63.333% 88%,
    60% 100%, 56.667% 88%, 53.333% 100%, 50% 88%, 46.667% 100%, 43.333% 88%,
    40% 100%, 36.667% 88%, 33.333% 100%, 30% 88%, 26.667% 100%, 23.333% 88%,
    20% 100%, 16.667% 88%, 13.333% 100%, 10% 88%, 6.667% 100%, 3.333% 88%,
    0 100%
  );
}

.quick-highlights-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.quick-highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 24px;
}

.quick-highlight-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(18, 60, 109, 0.15);
}

.quick-highlight-icon i {
  font-size: 22px;
  color: var(--red);
}

.quick-highlight-item h5 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}

.quick-highlight-item p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.quick-highlight-divider {
  width: 1px;
  height: 40px;
  background: rgba(18, 60, 109, 0.2);
}

@media (max-width: 768px) {
  .quick-highlights {
    padding: 26px 0 40px;
  }

  .quick-highlight-divider {
    display: none;
  }

  .quick-highlight-item {
    padding: 4px 10px;
  }

  .quick-highlight-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .quick-highlight-icon i {
    font-size: 18px;
  }

  .quick-highlight-item h5 {
    font-size: 18px;
  }

  .quick-highlight-item p {
    font-size: 12px;
  }
}

/* ====================================================
   ABOUT SECTION
==================================================== */

.about-section {
  background: var(--section-bg);
}

.about-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-stat {
  background: var(--white);
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(18, 60, 109, 0.1);
  border-bottom: 3px solid var(--accent);
}

.about-stat h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.about-stat p {
  margin: 0;
  color: var(--gray);
}

.about-card {
  background: var(--white);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 10px 35px rgba(18, 60, 109, 0.1);
  transition: 0.4s;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(18, 60, 109, 0.16);
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: rgba(var(--primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-box i {
  font-size: 28px;
  color: var(--primary);
}

.about-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.about-card p {
  margin-bottom: 0;
  color: var(--gray);
  line-height: 1.8;
}

.values-card {
  background: linear-gradient(135deg, var(--white), #f3ede0);
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--dark);
}

.value-item i {
  color: var(--accent-dark);
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2rem;
  }

  .about-card {
    padding: 25px;
  }
}

/* ====================================================
   WHY CHOOSE US SECTION
==================================================== */

.why-section {
  background: var(--white);
}

.why-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(18, 60, 109, 0.14);
}

.why-image-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: 0.5s ease;
}

.why-image-wrap:hover img {
  transform: scale(1.05);
}

.why-content h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.3;
}

.why-content p {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 20px;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.6;
}

.why-list li i {
  color: var(--accent-dark);
  margin-top: 4px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .why-image-wrap img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .why-content h3 {
    font-size: 1.5rem;
  }

  .why-image-wrap img {
    height: 240px;
  }
}

/* ====================================================
   DEPARTMENT SECTION
   (merged in from the inline <style> block that used to
   live inside the Blade file — kept in one place now so
   values can't be silently overridden by a duplicate rule)
==================================================== */

.department-section {
  background: linear-gradient(180deg, var(--section-bg) 0%, #fbf8f2 100%);
  overflow: auto;
}

.dept-header {
  display: flex;
  justify-content:center;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.dept-heading-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  font-size: 14px;
}

.dept-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--red);
  margin: 0;
  line-height: 1.15;
}

.dept-viewall {
  color: var(--dark);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dept-viewall i {
  color: var(--red);
  transition: 0.3s;
}

.dept-viewall:hover {
  color: var(--red);
}

.dept-viewall:hover i {
  transform: translateX(4px);
}

.department-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid #e5ded0;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.department-tab {
  border: none;
  background: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--gray);
  padding-bottom: 14px;
  position: relative;
  transition: 0.3s;
}

.department-tab.active {
  color: var(--primary);
}

.department-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.dept-carousel-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dept-nav-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 60, 109, 0.12);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: 0.3s;
}

.dept-nav-btn:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(var(--red-rgb), 0.3);
}

.dept-swiper-wrap {
  flex: 1;
  overflow: hidden;
  min-width: 0; /* prevents flex children from forcing overflow */
}

.speciality-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 28px rgba(18, 60, 109, 0.08);
  transition: 0.35s ease;
}

.speciality-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(18, 60, 109, 0.15);
}

.speciality-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.speciality-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.speciality-card:hover .speciality-img img {
  transform: scale(1.06);
}

.speciality-content {
  background: var(--section-bg);
  padding: 22px 22px 26px;
}

.speciality-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.speciality-content h4.text-accent-active {
  color: var(--red);
}

.speciality-content p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--red);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more-link i {
  font-size: 12px;
  transition: 0.3s;
}

.read-more-link:hover {
  color: var(--red-dark);
}

.read-more-link:hover i {
  transform: translateX(4px);
}

/* Scoped to the department carousels only — this rule used to be
   global (.swiper-wrapper) and was leaking 50px of top/bottom
   margin into every other swiper on the page, including the
   testimonials carousel further down. */
.dept-swiper-wrap .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: 50px;
  margin-bottom: 50px;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(
    --swiper-wrapper-transition-timing-function,
    initial
  );
  box-sizing: content-box;
}

.swiper {
  overflow: hidden;
}

@media (max-width: 768px) {
  .dept-title {
    font-size: 28px;
  }
  .dept-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
  .department-tabs {
    gap: 25px;
  }
  .department-tab {
    font-size: 15px;
  }
}

/* ==========================================
   SUPPORT & SERVICES
========================================== */

.support-section {
  background: linear-gradient(180deg, var(--section-bg) 0%, #fbf8f2 100%);
}

.support-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.support-text {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 20px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 24px;
  height: 100%;
  transition: 0.4s;
  border: 1px solid rgba(18, 60, 109, 0.08);
  box-shadow: 0 15px 35px rgba(18, 60, 109, 0.08);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: rgba(var(--primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 28px;
  color: var(--primary);
}

.service-card h5 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-card p {
  margin: 0;
  color: var(--gray);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .support-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 25px;
  }
}

/* ======================================
   ACCREDITATIONS & CERTIFICATIONS
====================================== */

.accreditation-section {
  background: var(--section-bg);
}

.accreditation-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.accreditation-content p {
  color: var(--gray);
  line-height: 1.9;
}

.certification-card {
  background: var(--white);
  border-radius: 24px;
  padding: 30px;
  height: 100%;
  border: 1px solid rgba(18, 60, 109, 0.08);
  box-shadow: 0 15px 35px rgba(18, 60, 109, 0.08);
  transition: 0.4s;
}

.certification-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.cert-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: rgba(var(--primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cert-icon i {
  font-size: 30px;
  color: var(--primary);
}

.certification-card h5 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.certification-card p {
  margin: 0;
  color: var(--gray);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .accreditation-title {
    font-size: 2rem;
  }

  .certification-card {
    padding: 25px;
  }
}

/* ======================================
   TESTIMONIALS (horizontal scrolling swiper)
   Layout: swiper on top, prev / dots / next in a single
   controls row directly beneath the card (not beside it).
====================================== */

.testimonial-section {
  overflow: hidden;
}

.testimonial-carousel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.testimonial-swiper-outer {
  width: 100%;
  overflow: hidden;
}

.testimonial-section .swiper-slide {
  height: auto;
}

.testimonial-card {
  background: #ff2a9842;
  padding: 30px;
  text-align: left;
  border-radius: 24px;
  height: 100%;
  box-shadow: 0 15px 35px rgba(18, 60, 109, 0.1);
  transition: 0.4s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-stars {
  margin-bottom: 20px;
}

.testimonial-stars i {
  color: var(--accent);
  margin-right: 3px;
  display: inline-block;
  transform-origin: center bottom;
}

/* "Boom" pop-in effect — replayed on the stars every time a
   testimonial slide scrolls into view (see the swiper init JS) */
@keyframes starBoom {
  0% {
    transform: scale(0) rotate(-25deg);
    opacity: 0;
  }
  55% {
    transform: scale(1.4) rotate(10deg);
    opacity: 1;
  }
  75% {
    transform: scale(0.85) rotate(-6deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.testimonial-stars i.boom {
  animation: starBoom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.testimonial-card p {
  color: var(--gray);
  line-height: 1.8;
}

.testimonial-user {
  margin-top: 20px;
}

.testimonial-user h5 {
  margin-bottom: 5px;
  font-weight: 700;
}

.testimonial-user span {
  color: var(--gray);
}

.testimonial-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.testimonials-pagination.swiper-pagination {
  position: static !important;
  margin: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.testimonials-pagination .swiper-pagination-bullet {
  background: rgba(18, 60, 109, 0.25);
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 !important;
  transition: 0.3s;
}

.testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--red);
  width: 26px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 22px;
  }

  .testimonial-carousel-wrap {
    gap: 18px;
  }

  .testimonial-carousel-controls {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 18px;
    border-radius: 18px;
  }

  .testimonial-card p {
    font-size: 14.5px;
  }
}

/* ===================================
   EXPERTS SECTION
=================================== */

.expert-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(18, 60, 109, 0.1);
  transition: 0.4s ease;
}

.expert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(18, 60, 109, 0.18);
}

.expert-image {
  position: relative;
  overflow: hidden;
}

.expert-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: 0.5s;
}

.expert-card:hover .expert-image img {
  transform: scale(1.08);
}

.expert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 39, 72, 0.9),
    rgba(18, 60, 109, 0.2)
  );

  display: flex;
  align-items: flex-end;
  justify-content: center;

  opacity: 0;
  transition: 0.4s;
}

.expert-card:hover .expert-overlay {
  opacity: 1;
}

.appointment-btn-card {
  margin-bottom: 20px;
  background: var(--red);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transform: translateY(50px);
  opacity: 0;
  transition: 0.4s ease;
}

.expert-card:hover .appointment-btn-card {
  transform: translateY(0);
  opacity: 1;
}

.expert-content {
  padding: 25px;
}

.expert-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.speciality {
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.expert-meta {
  color: var(--gray);
}

.expert-meta i {
  color: var(--accent-dark);
  margin-right: 8px;
}

.expertsSwiper {
  overflow: hidden;
}

@media (max-width: 768px) {
  .expert-image img {
    height: 300px;
  }
}

/* ======================================
   FOOTER SECTION
====================================== */

.footer-section {
  background: linear-gradient(135deg, #0a1420, #0a2748);
  color: #fff;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-logo {
  width: 60px;
  margin-bottom: 15px;
}

.footer-brand h4 {
  font-weight: 800;
  margin-bottom: 15px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 15px;
}

.footer-contact i {
  margin-top: 4px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-section {
    padding: 60px 0 20px;
    text-align: center;
  }

  .footer-contact {
    justify-content: center;
  }
}

/* ==========================
   CONTACT SECTION
========================== */

.contact-section {
  background: linear-gradient(180deg, var(--white), #fbf8f2);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--white);
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(18, 60, 109, 0.1);
  transition: 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  border-left: 4px solid var(--accent);
}

.info-card i {
  font-size: 22px;
  color: var(--primary);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 12px;
}

.info-card h5 {
  margin: 0;
  font-weight: 700;
}

.info-card p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
}

.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(18, 60, 109, 0.12);
}

.custom-input {
  border-radius: 14px;
  padding: 12px 15px;
  border: 1px solid #e2dccb;
  transition: 0.3s;
  width: 100%;
}

.custom-input:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.map-box {
  height: 100%;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(18, 60, 109, 0.12);
}

@media (max-width: 768px) {
  .contact-form {
    padding: 20px;
  }

  .map-box {
    min-height: 300px;
  }
}

/*==================================
FAQ SECTION
==================================*/

.faq-section {
  background: linear-gradient(180deg, var(--section-bg), #fbf8f2);
}

.faq-info-card {
  background: var(--white);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.1);
  border-top: 4px solid var(--accent);
  height: 100%;
}

.faq-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  margin-bottom: 25px;
}

.faq-icon i {
  font-size: 36px;
  color: var(--primary);
}

.faq-info-card h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}

.faq-info-card p {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 25px;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--dark);
}

.faq-list i {
  color: var(--accent-dark);
}

.custom-faq .accordion-item {
  border: none;
  margin-bottom: 18px;
  border-radius: 18px !important;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.08);
}

.custom-faq .accordion-button {
  background: #fff;
  font-weight: 700;
  color: var(--dark);
  padding: 22px 25px;
  box-shadow: none;
}

.custom-faq .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.custom-faq .accordion-button::after {
  filter: brightness(0.5);
}

.custom-faq .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.custom-faq .accordion-body {
  padding: 25px;
  line-height: 1.9;
  color: var(--gray);
  background: #fff;
}

.custom-faq .accordion-item:hover {
  transform: translateY(-4px);
  transition: 0.35s;
}

@media (max-width: 991px) {
  .faq-info-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .faq-info-card {
    padding: 28px;
  }

  .faq-info-card h3 {
    font-size: 26px;
  }

  .custom-faq .accordion-button {
    padding: 18px;
    font-size: 15px;
  }
}

/*=====================================
REVIEW SECTION
(single source of truth — the old duplicate blue-themed
review-section block that redefined .section-tag,
.section-title, .section-subtitle, .review-box,
.custom-input and .rating-stars .star globally has been
removed, since it was silently overriding the site-wide
styles above on every section, not just this one)
=====================================*/

.review-section {
  background: linear-gradient(180deg, var(--section-bg) 0%, #fbf8f2 100%);
  position: relative;
  overflow: hidden;
}

.text-primary-custom {
  color: var(--primary);
}

.review-content {
  color: var(--gray);
  line-height: 1.9;
  margin: 25px 0 35px;
}

.review-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.08);
  transition: 0.35s;
  border-left: 4px solid transparent;
}

.review-feature:hover {
  transform: translateY(-5px);
  border-left-color: var(--accent);
  box-shadow: 0 18px 35px rgba(var(--primary-rgb), 0.12);
}

.feature-icon {
  width: 65px;
  height: 65px;
  min-width: 65px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
}

.feature-icon i {
  color: var(--primary);
  font-size: 26px;
}

.review-feature h5 {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.review-feature p {
  margin: 0;
  color: var(--gray);
  line-height: 1.7;
}

.review-box {
  background: var(--white);
  padding: 40px;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(var(--primary-rgb), 0.1);
  border-top: 5px solid var(--accent);
}

.review-box h3 {
  color: var(--dark);
}

.review-box label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.rating-stars {
  display: flex;
  gap: 10px;
}

.rating-stars .star {
  font-size: 34px;
  color: #d9d3c4;
  cursor: pointer;
  transition: 0.3s;
}

.rating-stars .star:hover {
  transform: scale(1.15);
}

.rating-stars .star.active {
  color: var(--accent);
}

@keyframes tadaStar {
  0% {
    transform: scale(1);
  }
  10%,
  20% {
    transform: scale(0.9) rotate(-5deg);
  }
  30%,
  50%,
  70%,
  90% {
    transform: scale(1.25) rotate(5deg);
  }
  40%,
  60%,
  80% {
    transform: scale(1.25) rotate(-5deg);
  }
  100% {
    transform: scale(1);
  }
}

.star.tada {
  animation: tadaStar 0.7s ease;
}

.review-submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.35s;
  box-shadow: 0 12px 25px rgba(var(--primary-rgb), 0.3);
}

.review-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(var(--primary-rgb), 0.4);
}

@media (max-width: 991px) {
  .review-box {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .review-box {
    padding: 25px;
  }

  .review-feature {
    padding: 18px;
  }

  .feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
  }

  .feature-icon i {
    font-size: 22px;
  }

  .rating-stars {
    justify-content: center;
  }

  .review-submit-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .review-box {
    padding: 25px;
  }
}