/**
* Template Name: Medilab — Mother's Pride Hospital Premium Edition
* Updated: February 2026
* License: https://bootstrapmade.com/license/
*
* CLEANED: Removed dead CSS blocks —
*   - Old template mobile nav (@media max-width:1199px navmenu block)
*   - .gallery .gallery-item (replaced by .media-photo-item)
*   - .starter-section (empty, unused)
*   - .navmenu .dropdown mobile block (no dropdowns in nav, drawer replaces mobile nav)
*/

/*--------------------------------------------------------------
# PREMIUM FONT IMPORT
# Using: DM Serif Display (headings) + Plus Jakarta Sans (body) + DM Sans (nav)
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --heading-font: "DM Serif Display", Georgia, serif;
  --nav-font: "DM Sans", system-ui, sans-serif;
  --mono-font: "DM Sans", monospace;
}

/* Brand Color System — Mother's Pride */
:root {
  --background-color: #ffffff;
  --default-color: #3d4f61;
  --heading-color: #0F4C81;
  --accent-color: #0F4C81;
  --accent-teal: #2BB0A6;
  --accent-light: #e8f4fd;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --border-color: #e2e8f0;
  --text-muted: #64748b;
  --emergency-color: #DC2626;
}

/* Nav Colors */
:root {
  --nav-color: #334155;
  --nav-hover-color: #0F4C81;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #334155;
  --nav-dropdown-hover-color: #0F4C81;
}

/* Light Background Preset */
.light-background {
  --background-color: #f8fafc;
  --surface-color: #ffffff;
}

/* Dark Background Preset */
.dark-background {
  --background-color: #0a1628;
  --default-color: #e2e8f0;
  --heading-color: #ffffff;
  --surface-color: #1e2d45;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-teal);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.2;
  font-weight: 400; /* DM Serif Display looks best at regular weight */
}

p {
  margin-bottom: 1rem;
  color: var(--default-color);
}

img {
  max-width: 100%;
}

/* Sitename responsive */
.sitename {
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
}

@media (max-width: 360px) {
  .sitename { font-size: 16px; line-height: 1.1; }
  header .logo .sitename { font-size: 15px; }
  .footer .sitename, .px-1.sitename { font-size: 13px; }
}

/*--------------------------------------------------------------
# Pulsating Play Button
--------------------------------------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0%   { transform: scale(0.6, 0.6); opacity: 1; }
  100% { transform: scale(1, 1);     opacity: 0; }
}

/*--------------------------------------------------------------
# PHP Email Form Messages
--------------------------------------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  text-align: left;
  padding: 15px 18px;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 14px;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: linear-gradient(135deg, #059652, #10b981);
  border-radius: 8px;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: transparent;
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# GLOBAL HEADER — Premium Fixed
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.4s ease;
  z-index: 9990;
  background-color: var(--background-color);
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 2px 20px rgba(15, 76, 129, 0.08);
}

/* ---- Topbar ---- */
.header .topbar {
  background: linear-gradient(135deg, #0F4C81 0%, #0a3a6b 100%);
  height: 38px;
  padding: 0;
  font-size: 13px;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header .topbar .contact-info i {
  font-style: normal;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.2px;
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 6px;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

@media (max-width: 575px) {
  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 12px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: all 0.3s ease;
}

.header .topbar .contact-info i a:hover {
  color: #2BB0A6;
  text-decoration: none;
}

.header .topbar .social-links a {
  color: rgba(255,255,255,0.6);
  line-height: 0;
  transition: all 0.3s ease;
  margin-left: 18px;
  font-size: 14px;
}

.header .topbar .social-links a:hover {
  color: #2BB0A6;
  transform: translateY(-1px);
}

/* ---- Branding Bar ---- */
.header .branding {
  min-height: 80px;
  padding: 14px 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.4s ease;
}

/* ---- Logo ---- */
.header .logo {
  line-height: 1;
  text-decoration: none;
}

.header .logo img {
  max-height: 40px;
  margin-right: 10px;
}

.header .logo h1,
.header .logo h4 {
  font-family: var(--heading-font);
  font-size: 26px;
  margin: 0;
  font-weight: 400;
  color: var(--heading-color);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

/* Two-line sitename spans */
.hospital-name {
  display: block;
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 400;
  color: #0F4C81;
  line-height: 1.1;
  letter-spacing: -0.3px;
  text-align: left;
}

.hospital-type {
  display: block;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 700;
  color: #2BB0A6;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
  text-align: left;
}

.logo {
  text-decoration: none;
  text-align: left;
  flex-shrink: 0;
  margin-left: 0 !important;
}

/* ---- CTA Button ---- */
.header .cta-btn,
.header .cta-btn:focus {
  color: #ffffff;
  background: linear-gradient(135deg, #0F4C81 0%, #0d3f6b 100%);
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  margin: 0 0 0 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2BB0A6 0%, #249a91 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 176, 166, 0.35);
}

@media (max-width: 1200px) {
  .header .logo { order: 1; }
  .header .cta-btn {
    order: 2;
    margin: 0 12px 0 0;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 10px;
  }
  .header .navmenu { order: 3; }
}

/* Scrolled state */
.scrolled .header {
  box-shadow: 0 4px 24px rgba(15, 76, 129, 0.08);
}

.scrolled .header .branding {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# NAVIGATION MENU — Desktop only
# Mobile nav is handled by the custom drawer in index.html
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu { padding: 0; }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li { position: relative; }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: 15px 12px;
  }

  .navmenu > ul > li:last-child { padding-right: 0; }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 14px;
    padding: 0 3px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.2px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  /* Gradient underline on hover/active */
  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(90deg, #0F4C81 0%, #2BB0A6 100%);
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px 2px 0 0;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #0F4C81;
    font-weight: 600;
  }

  /* Dropdown */
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: #ffffff;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 0;
    top: 130%;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 12px;
    z-index: 99;
    box-shadow: 0 8px 32px rgba(15, 76, 129, 0.12);
    border: 1px solid var(--border-color);
    min-width: 200px;
  }

  .navmenu .dropdown ul li { min-width: 200px; }

  .navmenu .dropdown ul a {
    padding: 11px 20px;
    font-size: 14px;
    color: var(--nav-dropdown-color);
    font-weight: 500;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
    background: var(--accent-light);
    padding-left: 24px;
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/*--------------------------------------------------------------
# Media Section — Photos & Videos Combined
--------------------------------------------------------------*/
.media-section { background: var(--surface-color); }

/* Tab switcher */
.media-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.media-tabs {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 16px;
  padding: 5px;
  gap: 4px;
}
.media-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  background: transparent;
  border-radius: 12px;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}
.media-tab-btn i { font-size: 16px; }
.media-tab-btn.active {
  background: linear-gradient(135deg, #0F4C81 0%, #2BB0A6 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.3);
}
.media-tab-btn:not(.active):hover {
  background: #e2e8f0;
  color: #0F4C81;
}

/* Tab content */
.media-tab-content {
  display: none;
}
.media-tab-content.active {
  display: block;
  animation: fadeTabIn 0.35s ease;
}
@keyframes fadeTabIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Photo grid ---- */
.media-photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: #e2e8f0;
}
.media-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.media-photo-item:hover img {
  transform: scale(1.07);
}
.media-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 76, 129, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 14px;
}
.media-photo-overlay i {
  font-size: 28px;
  color: #ffffff;
}
.media-photo-item:hover .media-photo-overlay {
  opacity: 1;
}

/* ---- Video cards ---- */
.media-video-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 76, 129, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.media-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(15, 76, 129, 0.15);
}
.media-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1628;
  overflow: hidden;
}
.media-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Sensitive content overlay */
.media-sensitive {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1628 0%, #1e293b 100%);
}
.media-sensitive-overlay {
  text-align: center;
  padding: 24px 20px;
  color: rgba(255,255,255,0.85);
}
.media-sensitive-overlay i {
  font-size: 36px;
  color: #f59e0b;
  display: block;
  margin-bottom: 12px;
}
.media-sensitive-overlay p {
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}
.media-sensitive-overlay strong { color: #f59e0b; }
.media-reveal-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: #f59e0b;
  border: none;
  border-radius: 10px;
  color: #1e293b;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.media-reveal-btn:hover {
  background: #d97706;
  transform: scale(1.03);
}

/* Video info */
.media-video-info {
  padding: 18px 20px 20px;
}
.media-video-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(43, 176, 166, 0.12);
  color: #2BB0A6;
  margin-bottom: 10px;
}
.media-video-tag.sensitive-tag {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}
.media-video-tag.tour-tag {
  background: rgba(15, 76, 129, 0.1);
  color: #0F4C81;
}
.media-video-info h5 {
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.3;
}
.media-video-info p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Info note */
.media-video-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 20px;
  background: rgba(15, 76, 129, 0.06);
  border-radius: 12px;
  border-left: 3px solid #0F4C81;
  font-size: 13px;
  color: #475569;
}
.media-video-note i {
  color: #0F4C81;
  font-size: 16px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .media-tab-btn { padding: 10px 18px; font-size: 13px; }
  .media-tab-btn span { display: none; }
  .media-tab-btn i { font-size: 18px; }
}

/*--------------------------------------------------------------
# GLOBAL FOOTER — Premium Dark
--------------------------------------------------------------*/
.footer {
  position: relative;
  background: #060f1e;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

.footer-wave {
  display: block;
  line-height: 0;
  margin-bottom: -2px;
  background: var(--background-color);
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.footer-inner {
  padding: 56px 0 0;
}

.footer-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-logo-main {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.footer-logo-sub {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  color: #2BB0A6;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 12px;
  font-style: italic;
}

.footer-accreditation {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(43, 176, 166, 0.12);
  border: 1px solid rgba(43, 176, 166, 0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  color: #2BB0A6;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.footer-accreditation i { font-size: 13px; }

.footer-socials {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-self: flex-start;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-socials a:hover {
  background: #0F4C81;
  border-color: #0F4C81;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(15, 76, 129, 0.35);
}

.footer-hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 40px;
}

.footer-col-title {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #2BB0A6;
  border-radius: 2px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.footer-contact-list li i {
  color: #2BB0A6;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-list li a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-list li a:hover { color: #2BB0A6; }

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list li { margin-bottom: 10px; }
.footer-links-list li a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links-list li a::before {
  content: '›';
  color: #2BB0A6;
  font-size: 16px;
  line-height: 1;
}
.footer-links-list li a:hover {
  color: #2BB0A6;
  padding-left: 4px;
}

.footer-appt-text {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 18px;
}

.footer-appt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0F4C81 0%, #2BB0A6 100%);
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.3);
  margin-bottom: 16px;
  width: 100%;
}
.footer-appt-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.4);
}

.footer-hours-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
}
.footer-hours-badge i {
  color: #ef4444;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  animation: pulse-badge 2s ease-in-out infinite;
}
.footer-hours-badge span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.footer-hours-badge strong {
  color: #ef4444;
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom strong { color: rgba(255,255,255,0.5); }
.footer-credits a {
  color: rgba(13, 6, 39, 0.24);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credits a:hover { color: #0c213e; }

@media (max-width: 767px) {
  .footer-inner { padding: 40px 0 0; }
  .footer-brand-row { flex-direction: column; gap: 16px; }
  .footer-socials { align-self: flex-start; }
  .footer-logo-main { font-size: 22px; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.6s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader:before {
  content: "";
  width: 48px;
  height: 48px;
  border: 4px solid #e2e8f0;
  border-top-color: #0F4C81;
  border-radius: 50%;
  animation: animate-preloader 0.8s linear infinite;
}

@keyframes animate-preloader {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  background: linear-gradient(135deg, #0F4C81 0%, #2BB0A6 100%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.3);
}

.scroll-top i {
  font-size: 22px;
  color: #ffffff;
  line-height: 0;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.4);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable AOS animation delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
}

/*--------------------------------------------------------------
# Global Section Spacing
--------------------------------------------------------------*/
section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 72px 0;
  scroll-margin-top: 112px; /* fixed header height */
  overflow: clip;
}

@media (max-width: 1199px) {
  section, .section { scroll-margin-top: 110px; }
}

@media (max-width: 768px) {
  section, .section { padding: 52px 0; }
}

/*--------------------------------------------------------------
# Section Titles — Premium
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 56px;
  position: relative;
}

.section-title h2 {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 16px;
  padding-bottom: 20px;
  color: var(--heading-color);
  position: relative;
  letter-spacing: -0.5px;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: var(--border-color);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #0F4C81 0%, #2BB0A6 100%);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section-title h2 { font-size: 30px; }
  .section-title { padding-bottom: 40px; }
}

/*--------------------------------------------------------------
# Hero Section — Premium
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 560px;
  height: auto;
  padding: 60px 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Dark overlay on hero background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.78) 0%,
    rgba(15, 76, 129, 0.62) 60%,
    rgba(43, 176, 166, 0.45) 100%
  );
  z-index: 2;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.hero .container { z-index: 3; }

/* Welcome Text */
.hero .welcome h2 {
  margin: 0 0 16px;
  font-family: var(--heading-font);
  font-size: 52px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero .welcome p {
  font-size: 17px;
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.6;
  max-width: 560px;
}

.hero .content { margin-top: 44px; }

/* Why-Box — Glassmorphism */
.hero .content .why-box {
  color: #ffffff;
  background: rgba(10, 50, 96, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  height: 100%;
  transition: transform 0.4s ease;
}

.hero .content .why-box:hover {
  transform: translateY(-6px);
}

.hero .content .why-box h3 {
  color: #ffffff;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero .content .why-box p {
  margin-bottom: 24px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
}

.hero .content .why-box .more-btn {
  color: #0F4C81;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--nav-font);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hero .content .why-box .more-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.hero .content .why-box .more-btn:hover {
  background: #2BB0A6;
  color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 6px 24px rgba(43, 176, 166, 0.4);
}

.hero .content .why-box .more-btn:hover i {
  transform: translateX(4px);
}

/* Icon Boxes — Glassmorphism */
.hero .content .icon-box {
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 32px 20px;
  width: 100%;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .content .icon-box:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}

.hero .content .icon-box i {
  font-size: 40px;
  color: #2BB0A6;
  margin-bottom: 14px;
  display: inline-block;
  transition: all 0.3s ease;
}

.hero .content .icon-box:hover i {
  color: #ffffff;
  transform: scale(1.1);
}

.hero .content .icon-box h4 {
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.hero .content .icon-box p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .hero { min-height: 0; padding: 48px 0 40px; }
  .hero .welcome h2 { font-size: 38px; letter-spacing: -0.5px; }
  .hero .welcome p { font-size: 15px; }
  .hero .content { margin-top: 28px; }
  .hero .content .why-box { padding: 28px 22px; }
  .hero .content .why-box h3 { font-size: 22px; }
  .hero .content .icon-box { padding: 24px 16px; }
  .hero .content .icon-box i { font-size: 32px; }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-family: var(--heading-font);
  font-size: 36px;
  font-weight: 400;
  color: var(--heading-color);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.about .content p.lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.about .content ul {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px;
  border-radius: 14px;
  background: var(--accent-light);
  border: 1px solid rgba(15, 76, 129, 0.08);
  transition: all 0.3s ease;
}

.about .content ul li:hover {
  background: #e0f2fe;
  transform: translateX(4px);
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 36px;
  color: #0F4C81;
  margin-right: 18px;
  margin-top: 4px;
}

.about .content ul h5 {
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.about .content ul p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.about .content p:last-child { margin-bottom: 0; }

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

.about img.img-fluid {
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(15, 76, 129, 0.12);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  color: #ffffff;
  background: linear-gradient(135deg, #0F4C81 0%, #2BB0A6 100%);
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.25);
  width: 56px;
  height: 56px;
  font-size: 22px;
  border-radius: 14px;
  border: 3px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.stats .col-lg-3:hover i {
  transform: scale(1.1) translateY(-2px);
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -28px;
  padding: 32px 28px 24px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 24px rgba(15, 76, 129, 0.08);
  border-radius: 16px;
  z-index: 0;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stats .stats-item:hover {
  box-shadow: 0 8px 32px rgba(15, 76, 129, 0.14);
  transform: translateY(-4px);
}

.stats .stats-item span {
  font-family: var(--heading-font);
  font-size: 40px;
  display: block;
  margin: 12px 0 8px;
  font-weight: 400;
  color: #0F4C81;
  letter-spacing: -1px;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid var(--border-color);
  padding: 52px 28px 40px;
  transition: all 0.35s ease;
  height: 100%;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.services .service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0F4C81 0%, #2BB0A6 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services .service-item:hover::before {
  opacity: 1;
}

.services .service-item .icon {
  margin: 0 auto 20px;
  width: 68px;
  height: 68px;
  background: var(--accent-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  transform-style: preserve-3d;
}

.services .service-item .icon::before {
  position: absolute;
  content: "";
  left: -6px;
  top: -6px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, #0F4C81, transparent 90%);
  border-radius: 18px;
  transition: all 0.3s ease-out;
  transform: translateZ(-1px);
}

.services .service-item .icon i {
  color: #0F4C81;
  font-size: 28px;
  transition: all 0.35s ease;
}

.services .service-item h3 {
  font-family: var(--nav-font);
  font-weight: 700;
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--heading-color);
}

.services .service-item p {
  line-height: 1.7;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.services .service-item:hover {
  background: linear-gradient(145deg, #0F4C81 0%, #0a3260 100%);
  border-color: #0F4C81;
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(15, 76, 129, 0.25);
}

.services .service-item:hover .icon {
  background: rgba(255,255,255,0.15);
}

.services .service-item:hover .icon i {
  color: #ffffff;
}

.services .service-item:hover .icon::before {
  background: rgba(255,255,255,0.08);
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: #ffffff;
}

.services .service-item:hover p {
  color: rgba(255,255,255,0.85);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment .php-email-form { width: 100%; }

.appointment .php-email-form .form-group { padding-bottom: 8px; }

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  color: var(--default-color);
  background-color: var(--surface-color);
  border: 1.5px solid var(--border-color);
  border-radius: 10px !important;
  box-shadow: none;
  font-size: 14px;
  font-family: var(--default-font);
  padding: 12px 16px !important;
  transition: all 0.3s ease;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: #0F4C81;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
  outline: none;
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder {
  color: #94a3b8;
}

.appointment .php-email-form input,
.appointment .php-email-form select { height: 48px; }

.appointment .php-email-form textarea { padding: 12px 16px !important; }

.appointment .php-email-form button[type=submit] {
  background: linear-gradient(135deg, #0F4C81 0%, #0a3260 100%);
  border: 0;
  padding: 14px 44px;
  color: #fff;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s ease;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.appointment .php-email-form button[type=submit]:hover {
  background: linear-gradient(135deg, #2BB0A6 0%, #249a91 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 176, 166, 0.35);
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments { overflow: hidden; }

.departments .nav-tabs { border: 0; }

.departments .nav-link {
  border: 0;
  padding: 14px 18px 14px 0;
  transition: all 0.3s ease;
  color: var(--default-color);
  border-radius: 0;
  border-right: 3px solid var(--border-color);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1px;
}

.departments .nav-link:hover {
  color: #0F4C81;
  padding-left: 4px;
}

.departments .nav-link.active {
  color: #0F4C81;
  border-color: #0F4C81;
  background-color: transparent;
}

.departments .tab-pane.active {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.departments .details h3 {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.departments .details p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
}

.departments .details p:last-child { margin-bottom: 0; }

.departments img.img-fluid {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.1);
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 4px;
  }
  .departments .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #0F4C81 0%, #0a3260 100%);
  }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
  background-color: var(--surface-color);
  box-shadow: 0 4px 20px rgba(15, 76, 129, 0.08);
  position: relative;
  border-radius: 18px;
  transition: all 0.4s ease;
  padding: 28px;
  height: 100%;
  border: 1px solid var(--border-color);
}

.doctors .team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(15, 76, 129, 0.14);
  border-color: rgba(15, 76, 129, 0.2);
}

@media (max-width: 468px) {
  .doctors .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.doctors .team-member .pic {
  overflow: hidden;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--accent-light);
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.12);
}

.doctors .team-member .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.doctors .team-member:hover .pic img {
  transform: scale(1.06);
}

.doctors .team-member .member-info { padding-left: 24px; }

@media (max-width: 468px) {
  .doctors .team-member .member-info {
    padding: 20px 0 0;
    text-align: center;
  }
}

.doctors .team-member h4 {
  font-family: var(--nav-font);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 18px;
  color: var(--heading-color);
}

.doctors .team-member span {
  display: block;
  font-size: 13px;
  padding-bottom: 12px;
  position: relative;
  font-weight: 600;
  color: #2BB0A6;
  letter-spacing: 0.3px;
  font-family: var(--nav-font);
  text-transform: uppercase;
}

.doctors .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #0F4C81 0%, #2BB0A6 100%);
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

@media (max-width: 468px) {
  .doctors .team-member span::after { left: calc(50% - 20px); }
}

.doctors .team-member p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.doctors .team-member .social {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 468px) {
  .doctors .team-member .social { justify-content: center; }
}

.doctors .team-member .social a {
  background: var(--accent-light);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  width: 36px;
  height: 36px;
}

.doctors .team-member .social a i {
  color: #0F4C81;
  font-size: 15px;
}

.doctors .team-member .social a:hover {
  background: linear-gradient(135deg, #0F4C81 0%, #2BB0A6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.2);
}

.doctors .team-member .social a:hover i { color: #ffffff; }

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 22px 24px;
  margin-bottom: 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq .faq-container .faq-item:hover {
  border-color: rgba(15, 76, 129, 0.25);
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.08);
}

.faq .faq-container .faq-item:last-child { margin-bottom: 0; }

.faq .faq-container .faq-item h3 {
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 36px 0 0;
  transition: 0.3s;
  cursor: pointer;
  color: var(--heading-color);
}

.faq .faq-container .faq-item h3:hover { color: #0F4C81; }

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.35s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 22px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent-light);
}

.faq .faq-container .faq-item .faq-toggle:hover {
  background: #0F4C81;
  color: #ffffff;
}

.faq .faq-container .faq-active {
  background: linear-gradient(145deg, #0F4C81 0%, #0a3260 100%);
  border-color: #0F4C81;
  box-shadow: 0 8px 32px rgba(15, 76, 129, 0.2);
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover {
  color: #ffffff;
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 12px;
}

.faq .faq-container .faq-active .faq-content p {
  color: rgba(255,255,255,0.85);
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .info h3 {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 36px;
  color: var(--heading-color);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.testimonials .info p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
}

.testimonials .swiper {
  box-shadow: 0 8px 32px rgba(15, 76, 129, 0.1);
  background-color: var(--surface-color);
  border-radius: 18px;
  border: 1px solid var(--border-color);
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 220px;
  position: relative;
  margin: 28px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--accent-light);
  margin-right: 14px;
  object-fit: cover;
}

.testimonials .testimonial-item h3 {
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 700;
  margin: 8px 0 4px;
  color: var(--heading-color);
}

.testimonials .testimonial-item h4 {
  color: #2BB0A6;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
}

.testimonials .testimonial-item .stars { margin: 8px 0; }

.testimonials .testimonial-item .stars i {
  color: #f59e0b;
  margin: 0 1px;
  font-size: 14px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, #0F4C81, transparent 70%);
  font-size: 24px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 14px auto;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

.testimonials .swiper-wrapper { height: auto; }

.testimonials .swiper-pagination {
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--border-color);
  opacity: 1;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #0F4C81;
  width: 24px;
}

@media (max-width: 767px) {
  .testimonials .testimonial-item { margin: 16px; }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item + .info-item { margin-top: 32px; }

.contact .info-item {
  padding: 20px;
  background: var(--accent-light);
  border-radius: 14px;
  border: 1px solid rgba(15, 76, 129, 0.08);
  transition: all 0.3s ease;
}

.contact .info-item:hover {
  background: #e0f2fe;
  transform: translateX(4px);
}

.contact .info-item i {
  color: #ffffff;
  background: linear-gradient(135deg, #0F4C81 0%, #2BB0A6 100%);
  font-size: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-right: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.2);
}

.contact .info-item h3 {
  padding: 0;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--default-color);
}

.contact .info-item p a {
  color: #0F4C81;
  font-weight: 500;
}

.contact .info-item p a:hover { color: #2BB0A6; }

.contact .php-email-form { height: 100%; }

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  font-family: var(--default-font);
  padding: 12px 16px;
  box-shadow: none;
  border-radius: 10px;
  color: var(--default-color);
  background-color: var(--surface-color);
  border: 1.5px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: #0F4C81;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
  outline: none;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder { color: #94a3b8; }

.contact .php-email-form button[type=submit] {
  color: #ffffff;
  background: linear-gradient(135deg, #0F4C81 0%, #0a3260 100%);
  border: 0;
  padding: 14px 44px;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s ease;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact .php-email-form button[type=submit]:hover {
  background: linear-gradient(135deg, #2BB0A6 0%, #249a91 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 176, 166, 0.35);
}

/* Map iframe */
.contact iframe {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 76, 129, 0.1);
}

/*--------------------------------------------------------------
# Page Title & Breadcrumbs (for future inner pages)
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid rgba(15, 76, 129, 0.15);
}

.page-title .heading h1 {
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 400;
  color: var(--heading-color);
  letter-spacing: -0.5px;
}

.page-title nav {
  background-color: rgba(15, 76, 129, 0.04);
  padding: 18px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--nav-font);
  color: var(--text-muted);
}

.page-title nav ol li + li { padding-left: 10px; }

.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: var(--border-color);
}