/**
* Template Name: Clinic
* Template URL: https://bootstrapmade.com/clinic-bootstrap-template/
* Updated: Jul 23 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Lato",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #3c4049; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #112344; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #093FB4; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #3c4049;  /* The default color of the main navmenu links */
  --nav-hover-color: #093FB4; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #3c4049; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #093FB4; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4f8ff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #021418;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #11262a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  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;
}

.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: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0.96);
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
  box-shadow: 0 2px 0 rgba(9, 63, 180, 0.06);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info .bi-envelope {
  color: #ea4335;
}

.header .topbar .contact-info .bi-phone {
  color: #34a853;
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 72px;
  padding: 14px 0 12px;
}

.header .logo {
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #0e7de8 0%, #0d68d9 45%, #2db88a 100%);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9);
  margin-right: 8px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.18) 100%);
}

.brand-mark i {
  color: #ffffff;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0d68d9;
}

.brand-subname {
  margin-top: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #28b96f;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #ffffff;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@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 18px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px 8px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -10px;
    left: 0;
    background: linear-gradient(90deg, #0a5fd5, #1ca889);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
    border-radius: 2px;
  }

  .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: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: #f8fbff;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 8px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(22, 69, 150, 0.08);
    border: 1px solid rgba(10, 95, 213, 0.08);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
    border-radius: 6px;
    margin: 0 6px;
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
    background: rgba(10, 95, 213, 0.06);
  }

  .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;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

.language-switcher {
  margin-left: auto;
  padding: 8px 10px;
}

.language-switcher select {
  width: 120px;
  padding: 10px 30px 10px 14px;
  color: #fff;
  background-color: #7866b3;
  border: 0;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(120, 102, 179, 0.3);
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.language-switcher select:hover,
.language-switcher select:focus-visible {
  background-color: #6a5aa0;
  box-shadow: 0 6px 20px rgba(120, 102, 179, 0.4);
}

.google-translate-host {
  position: fixed;
  top: 0;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 1199px) {
  .language-switcher {
    margin-left: 0;
    padding: 8px 20px;
  }

  .language-switcher select {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Call To Action
--------------------------------------------------------------*/
/* =========================================================
   MYOPATHY KAPPAGAM
   STROKE / SPINAL / MUSCULAR DYSTROPHY CTA SECTION
   BLUE + LIME GREEN
   ========================================================= */

.call-to-action {
  position: relative;
  padding: 90px 0;

  background:
    radial-gradient(
      circle at 5% 15%,
      rgba(48, 79, 160, 0.07),
      transparent 30%
    ),
    radial-gradient(
      circle at 95% 85%,
      rgba(130, 173, 32, 0.08),
      transparent 30%
    ),
    #f7faf4;

  overflow: hidden;
}


/* =========================================================
   DECORATIVE BACKGROUND
   ========================================================= */

.call-to-action::before {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  top: -230px;
  right: -160px;

  border-radius: 50%;

  border: 70px solid rgba(48, 79, 160, 0.035);

  pointer-events: none;
}

.call-to-action::after {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  bottom: -180px;
  left: -120px;

  border-radius: 50%;

  border: 55px solid rgba(130, 173, 32, 0.045);

  pointer-events: none;
}


/* =========================================================
   ROW SPACING
   ========================================================= */

.call-to-action .row {
  position: relative;
  z-index: 2;

  margin-bottom: 85px !important;
}

.call-to-action .row:last-child {
  margin-bottom: 0 !important;
}


/* =========================================================
   IMAGE CONTAINER
   ========================================================= */

.call-to-action .image-container {
  position: relative;

  padding: 8px;

  border-radius: 28px;

  background: linear-gradient(
    135deg,
    #304fa0 0%,
    #315fc4 55%,
    #82ad20 100%
  );

  box-shadow:
    0 20px 50px rgba(48, 79, 160, 0.14);

  overflow: hidden;
}


/* Image */

.call-to-action .image-container img {
  display: block;

  width: 100%;

  min-height: 390px;

  object-fit: cover;

  border-radius: 21px !important;

  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

.call-to-action .image-container:hover img {
  transform: scale(1.025);

  filter: saturate(1.05);
}


/* =========================================================
   IMAGE SIDE DECORATION
   ========================================================= */

.call-to-action .image-container::after {
  content: "";

  position: absolute;

  width: 85px;
  height: 85px;

  right: 20px;
  bottom: 20px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      rgba(130, 173, 32, 0.85),
      rgba(166, 201, 74, 0.85)
    );

  opacity: 0.85;

  mix-blend-mode: multiply;

  pointer-events: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

.call-to-action .content-wrapper {
  padding: 15px 20px;
}


/* =========================================================
   HEADING
   ========================================================= */

.call-to-action .content-wrapper h2 {
  position: relative;

  margin: 0 0 24px;

  color: #24376f;

  font-size: 34px;

  line-height: 1.25;

  font-weight: 750;

  letter-spacing: -0.7px;
}


/* Blue + lime underline */

.call-to-action .content-wrapper h2::after {
  content: "";

  display: block;

  width: 65px;
  height: 4px;

  margin-top: 17px;

  border-radius: 20px;

  background: linear-gradient(
    90deg,
    #304fa0 0%,
    #315fc4 55%,
    #82ad20 100%
  );
}


/* =========================================================
   PARAGRAPH
   ========================================================= */

.call-to-action .content-wrapper p {
  margin-bottom: 17px;

  color: #5f6d82;

  font-size: 15px;

  line-height: 1.85;
}


/* Highlight important words if used later */

.call-to-action .content-wrapper strong {
  color: #304fa0;
}


/* =========================================================
   CTA WRAPPER
   ========================================================= */

.call-to-action .cta-wrapper {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 28px;

  flex-wrap: wrap;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.call-to-action .primary-cta {
  position: relative;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  padding: 13px 22px;

  border-radius: 50px;

  color: #ffffff;

  background: linear-gradient(
    135deg,
    #304fa0,
    #315fc4
  );

  border: none;

  text-decoration: none;

  font-size: 14px;

  font-weight: 700;

  box-shadow:
    0 9px 25px rgba(48, 79, 160, 0.22);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}


/* Lime shine */

.call-to-action .primary-cta::before {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.22),
    transparent
  );

  transform: skewX(-20deg);

  transition: left 0.6s ease;
}

.call-to-action .primary-cta:hover::before {
  left: 130%;
}


.call-to-action .primary-cta:hover {
  color: #ffffff;

  transform: translateY(-3px);

  box-shadow:
    0 14px 30px rgba(48, 79, 160, 0.28);
}


.call-to-action .primary-cta i {
  font-size: 17px;

  transition: transform 0.3s ease;
}

.call-to-action .primary-cta:hover i {
  transform: translateX(4px);
}


/* =========================================================
   SECONDARY BUTTON — LIME
   ========================================================= */

.call-to-action .secondary-cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 12px 21px;

  border-radius: 50px;

  color: #648b12;

  background: rgba(130, 173, 32, 0.10);

  border: 1px solid rgba(130, 173, 32, 0.28);

  text-decoration: none;

  font-size: 14px;

  font-weight: 700;

  transition: all 0.35s ease;
}


.call-to-action .secondary-cta:hover {
  color: #ffffff;

  background: linear-gradient(
    135deg,
    #82ad20,
    #9abd32
  );

  border-color: transparent;

  transform: translateY(-3px);

  box-shadow:
    0 10px 25px rgba(130, 173, 32, 0.22);
}


.call-to-action .secondary-cta i {
  font-size: 16px;
}


/* =========================================================
   FULL WIDTH THIRD SECTION
   ========================================================= */

.call-to-action .row:last-child {
  position: relative;

  padding: 65px 55px;

  background: #ffffff;

  border: 1px solid rgba(48, 79, 160, 0.10);

  border-radius: 30px;

  box-shadow:
    0 18px 50px rgba(48, 79, 160, 0.07);
}


/* Blue left accent */

.call-to-action .row:last-child::before {
  content: "";

  position: absolute;

  top: 35px;
  bottom: 35px;
  left: 0;

  width: 5px;

  border-radius: 0 10px 10px 0;

  background: linear-gradient(
    180deg,
    #304fa0,
    #315fc4,
    #82ad20
  );
}


/* Third heading */

.call-to-action .row:last-child h2 {
  max-width: 950px;

  margin-left: auto;
  margin-right: auto;
}


/* Third content */

.call-to-action .row:last-child p {
  max-width: 950px;

  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

  .call-to-action {
    padding: 65px 0;
  }

  .call-to-action .row {
    margin-bottom: 60px !important;
  }

  .call-to-action .content-wrapper {
    padding: 30px 10px 10px;
  }

  .call-to-action .content-wrapper h2 {
    font-size: 29px;
  }

  .call-to-action .image-container img {
    min-height: 330px;
  }

  .call-to-action .row:last-child {
    padding: 45px 30px;
  }
}


@media (max-width: 575px) {

  .call-to-action {
    padding: 50px 0;
  }

  .call-to-action .row {
    margin-bottom: 50px !important;
  }

  .call-to-action .image-container {
    padding: 5px;

    border-radius: 21px;
  }

  .call-to-action .image-container img {
    min-height: 260px;

    border-radius: 16px !important;
  }

  .call-to-action .content-wrapper {
    padding: 25px 4px 5px;
  }

  .call-to-action .content-wrapper h2 {
    font-size: 24px;

    letter-spacing: -0.3px;
  }

  .call-to-action .content-wrapper p {
    font-size: 14px;

    line-height: 1.75;
  }

  .call-to-action .cta-wrapper {
    margin-top: 22px;

    gap: 10px;
  }

  .call-to-action .primary-cta,
  .call-to-action .secondary-cta {
    padding: 11px 17px;

    font-size: 12.5px;
  }

  .call-to-action .row:last-child {
    padding: 35px 22px;

    border-radius: 22px;
  }

  .call-to-action .row:last-child::before {
    top: 25px;
    bottom: 25px;
  }
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

/* =========================================================
   MYOPATHY KAPPAGAM FOOTER - RESPONSIVE
========================================================= */

.footer-16 {
  background: #ffffff;
  color: #17324d;
  border-top: 1px solid rgba(7, 89, 133, 0.08);
}

.footer-16 .footer-main {
  padding: 70px 0 45px;
}

/* Brand */
.footer-16 .brand-section .logo {
  text-decoration: none;
}

.footer-16 .brand-section .sitename {
  color: #075985;
  font-size: 26px;
  font-weight: 800;
}

.footer-16 .brand-description {
  max-width: 500px;
  color: #6d7e8d;
  font-size: 14px;
  line-height: 1.8;
}

/* Contact */
.footer-16 .contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-16 .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #536777;
  font-size: 13px;
  line-height: 1.7;
}

.footer-16 .contact-item i {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #eaf7fc;
  color: #075985;
  font-size: 17px;
}

/* Footer navigation */
.footer-16 .footer-nav-wrapper {
  padding-left: 25px;
}

.footer-16 .nav-column h6 {
  position: relative;
  margin-bottom: 20px;
  color: #043b5c;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.footer-16 .nav-column h6::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-top: 9px;
  border-radius: 10px;
  background: #9acd32;
}

.footer-16 .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-16 .footer-nav a {
  width: fit-content;
  color: #6d7e8d;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-16 .footer-nav a:hover {
  color: #ddeef7;
  transform: translateX(4px);
}

/* =========================================================
   BOTTOM BAR
========================================================= */

.footer-16 .footer-bottom {
  background: #043b5c !important;
  border-top: 3px solid #9acd32;
}

.footer-16 .bottom-content {
  padding: 5px 0;
}

.footer-16 .copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75)!important;
  font-size: 13px;
}

.footer-16 .copyright .sitename {
  color: #ffffff !important;
  font-weight: 700;
}

.footer-16 .legal-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-16 .credits {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.footer-16 .credits a {
  color: #9acd32;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-16 .credits a:hover {
  color: #ffffff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  .footer-16 .footer-main {
    padding: 55px 0 35px;
  }

  .footer-16 .footer-nav-wrapper {
    padding-left: 0;
    margin-top: 45px;
  }

  .footer-16 .brand-description {
    max-width: 700px;
  }

  .footer-16 .contact-info {
    margin-top: 30px !important;
  }

  .footer-16 .bottom-content {
    text-align: center;
  }

  .footer-16 .copyright {
    text-align: center;
    margin-bottom: 12px;
  }

  .footer-16 .legal-links {
    justify-content: center;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .footer-16 .footer-main {
    padding: 45px 18px 30px;
  }

  /* Brand */
  .footer-16 .brand-section {
    text-align: center;
  }

  .footer-16 .brand-section .logo {
    justify-content: center;
  }

  .footer-16 .brand-section .sitename {
    font-size: 23px;
  }

  .footer-16 .brand-description {
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.75;
  }

  /* Contact */
  .footer-16 .contact-info {
    align-items: center;
    margin-top: 28px !important;
    gap: 15px;
  }

  .footer-16 .contact-item {
    width: 100%;
    max-width: 340px;
    justify-content: flex-start;
    text-align: left;
  }

  /* Navigation */
  .footer-16 .footer-nav-wrapper {
    margin-top: 42px;
  }

  .footer-16 .footer-nav-wrapper > .row {
    row-gap: 35px;
  }

  .footer-16 .nav-column h6 {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .footer-16 .footer-nav {
    gap: 8px;
  }

  .footer-16 .footer-nav a {
    font-size: 12px;
  }

  /* Bottom */
  .footer-16 .footer-bottom {
    margin-top: 0 !important;
    padding: 22px 15px !important;
  }

  .footer-16 .copyright {
    margin-bottom: 10px;
  }

  .footer-16 .copyright p {
    font-size: 11px;
    line-height: 1.6;
  }

  .footer-16 .credits {
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

  .footer-16 .footer-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-16 .brand-section .sitename {
    font-size: 21px;
  }

  .footer-16 .brand-description {
    font-size: 12px;
  }

  .footer-16 .contact-item {
    font-size: 12px;
  }

  .footer-16 .contact-item i {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .footer-16 .footer-nav a {
    font-size: 11px;
  }

  .footer-16 .nav-column h6 {
    font-size: 11px;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
  padding-top: 100px;
}

.page-title .heading {
  padding: 80px 0;
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 500;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/bg/abstract-bg-3.webp") center/cover;
  opacity: 0.08;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .hero-content {
  padding: 2rem 0;
}

.hero .hero-content .trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero .hero-content .trust-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50px;
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero .hero-content .trust-badges .badge-item i {
  font-size: 1rem;
}

@media (max-width: 576px) {
  .hero .hero-content .trust-badges {
    gap: 0.75rem;
  }

  .hero .hero-content .trust-badges .badge-item {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.5rem 0;
  color: var(--heading-color);
}

.hero .hero-content h1 .highlight {
  color: var(--accent-color);
  position: relative;
}

.hero .hero-content h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

@media (max-width: 992px) {
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-content h1 {
    font-size: 2rem;
  }
}

.hero .hero-content .hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero .hero-content .hero-stats {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero .hero-content .hero-stats .stat-item {
  flex: 1 1 180px;
  min-width: 150px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(9, 63, 180, 0.12);
  border-radius: 18px;
  padding: 1.2rem 0.9rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 51, 110, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero .hero-content .hero-stats .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(15, 51, 110, 0.12);
  border-color: rgba(9, 63, 180, 0.22);
}

.hero .hero-content .hero-stats .stat-item:nth-child(1) {
  border-top: 4px solid var(--accent-color);
}

.hero .hero-content .hero-stats .stat-item:nth-child(2) {
  border-top: 4px solid #ee5a5a;
}

.hero .hero-content .hero-stats .stat-item:nth-child(3) {
  border-top: 4px solid #f4b400;
}

.hero .hero-content .hero-stats .stat-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 2rem;
  margin-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(17, 35, 68, 0.04);
}

.hero .hero-content .hero-stats .stat-item:nth-child(1) i {
  color: var(--accent-color);
}

.hero .hero-content .hero-stats .stat-item:nth-child(2) i {
  color: #ec4d4d;
}

.hero .hero-content .hero-stats .stat-item:nth-child(3) i {
  color: #f0ad00;
}

.hero .hero-content .hero-stats .stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0;
  line-height: 1;
}

.hero .hero-content .hero-stats .stat-item p {
  color: var(--heading-color);
  margin: 0.7rem 0 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 576px) {
  .hero .hero-content .hero-stats {
    gap: 0.9rem;
  }

  .hero .hero-content .hero-stats .stat-item {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .hero .hero-content .hero-stats .stat-item h3 {
    font-size: 1.5rem;
  }
}

.hero .hero-content .hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero .hero-content .hero-actions .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero .hero-content .hero-actions .btn.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.hero .hero-content .hero-actions .btn.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.hero .hero-content .hero-actions .btn.btn-outline {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: transparent;
}

.hero .hero-content .hero-actions .btn.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 576px) {
  .hero .hero-content .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .hero-content .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
}

.hero .hero-content .emergency-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--surface-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.hero .hero-content .emergency-contact .emergency-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero .hero-content .emergency-contact .emergency-info small {
  display: block;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.hero .hero-content .emergency-contact .emergency-info strong {
  color: var(--heading-color);
  font-size: 1.125rem;
  font-weight: 600;
}

.hero .hero-visual {
  position: relative;
  height: 600px;
}

.hero .hero-visual .main-image {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px;
  background: linear-gradient(135deg, #2d5fd4, #7db62a);
  border-radius: 28px 28px 28px 28px;
  box-shadow: 0 12px 30px rgba(43, 79, 168, 0.18);
  overflow: hidden;
}

.hero .hero-visual .main-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px 20px 20px 20px;
}

@media (max-width: 600px) {
  .hero .hero-visual .main-image {
    max-width: 100%;
    border-radius: 20px;
    padding: 6px;
  }

  .hero .hero-visual .main-image img {
    border-radius: 14px;
  }
}

.hero .hero-visual .main-image .floating-card {
  position: absolute;
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.hero .hero-visual .main-image .floating-card.appointment-card {
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}

.hero .hero-visual .main-image .floating-card.appointment-card .card-icon {
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero .hero-visual .main-image .floating-card.appointment-card .card-content h6 {
  margin: 0 0 0.25rem 0;
  color: var(--heading-color);
  font-weight: 600;
  font-size: 0.875rem;
}

.hero .hero-visual .main-image .floating-card.appointment-card .card-content p {
  margin: 0 0 0.25rem 0;
  color: var(--default-color);
  font-weight: 600;
  font-size: 1rem;
}

.hero .hero-visual .main-image .floating-card.appointment-card .card-content small {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.75rem;
}

.hero .hero-visual .main-image .floating-card.rating-card {
  bottom: 20px;
  left: 20px;
  text-align: center;
  min-width: 140px;
}

.hero .hero-visual .main-image .floating-card.rating-card .rating-stars {
  color: #ffc107;
  margin-bottom: 0.5rem;
}

.hero .hero-visual .main-image .floating-card.rating-card .rating-stars i {
  font-size: 1rem;
}

.hero .hero-visual .main-image .floating-card.rating-card h6 {
  margin: 0 0 0.25rem 0;
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.125rem;
}

.hero .hero-visual .main-image .floating-card.rating-card small {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .hero .hero-visual .main-image .floating-card.appointment-card {
    right: 10px;
    top: 10px;
    padding: 1rem;
    min-width: 160px;
  }

  .hero .hero-visual .main-image .floating-card.rating-card {
    left: 10px;
    bottom: 10px;
    padding: 1rem;
    min-width: 120px;
  }
}

.hero .hero-visual .background-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero .hero-visual .background-elements .element {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-color);
  opacity: 0.1;
}

.hero .hero-visual .background-elements .element.element-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: -50px;
  animation: float1 6s ease-in-out infinite;
}

.hero .hero-visual .background-elements .element.element-2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  right: -30px;
  animation: float2 8s ease-in-out infinite;
}

.hero .hero-visual .background-elements .element.element-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: -25px;
  transform: translateY(-50%);
  animation: float3 7s ease-in-out infinite;
}

@media (max-width: 992px) {
  .hero .hero-visual {
    height: 400px;
    margin-top: 2rem;
  }
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(-180deg);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translateY(-50%) rotate(0deg);
  }

  50% {
    transform: translateY(-70%) rotate(180deg);
  }
}

/*--------------------------------------------------------------
# Home About Section
--------------------------------------------------------------*/
.home-about {
  padding: 100px 0;
  background-color: var(--surface-color);
}

.home-about .about-content .section-heading {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .home-about .about-content .section-heading {
    font-size: 2rem;
  }
}

.home-about .about-content .lead-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.5rem;
}

.home-about .about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2.5rem;
}

.home-about .about-content .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 1.4rem 1.2rem;
  margin-bottom: 3rem;
}

@media (max-width: 576px) {
  .home-about .about-content .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.home-about .about-content .stats-grid .stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  padding: 1rem 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 116, 205, 0.25);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(15, 41, 80, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-about .about-content .stats-grid .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(15, 41, 80, 0.08);
  border-color: rgba(35, 116, 205, 0.45);
}

.home-about .about-content .stats-grid .stat-item .stat-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #1d72d9;
}

.home-about .about-content .stats-grid .stat-item .stat-icon i {
  font-size: 1.6rem;
  line-height: 1;
}

.home-about .about-content .stats-grid .stat-item:nth-child(1) .stat-icon i {
  color: #1d72d9;
}

.home-about .about-content .stats-grid .stat-item:nth-child(2) .stat-icon i {
  color: #1d72d9;
}

.home-about .about-content .stats-grid .stat-item:nth-child(3) .stat-icon i {
  color: #1d72d9;
}

.home-about .about-content .stats-grid .stat-item:nth-child(4) .stat-icon i {
  color: #1d72d9;
}

.home-about .about-content .stats-grid .stat-item:nth-child(5) .stat-icon i {
  color: #f39c12;
}

.home-about .about-content .stats-grid .stat-item:nth-child(6) .stat-icon i {
  color: #f4b400;
}

.home-about .about-content .stats-grid .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-color);
  display: block;
  line-height: 1;
}

.home-about .about-content .stats-grid .stat-item .stat-number::after {
  content: "+";
  font-size: 1.5rem;
  margin-left: 2px;
}

.home-about .about-content .stats-grid .stat-item .stat-label {
  font-size: 0.95rem;
  color: #1a2c42;
  margin-top: 0.25rem;
  font-weight: 600;
  line-height: 1.35;
}

.home-about .about-content .cta-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-about .about-content .cta-section .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.home-about .about-content .cta-section .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  color: var(--contrast-color);
}

.home-about .about-content .cta-section .btn-secondary {
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.home-about .about-content .cta-section .btn-secondary i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.home-about .about-content .cta-section .btn-secondary:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.home-about .about-visual {
  position: relative;
}

.home-about .about-visual .main-image {
  width: 100%;
  max-width: 760px;
  padding: 8px;
  border-radius: 30px 30px 30px 30px;
  background: linear-gradient(135deg, #2d5fd4, #7db62a);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
  overflow: hidden;
}

.home-about .about-visual .main-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px 22px 22px 22px;
  transition: transform 0.3s ease;
}

.home-about .about-visual .main-image:hover img {
  transform: scale(1.05);
}

.home-about .about-visual .floating-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

@media (max-width: 768px) {
  .home-about .about-visual .floating-card {
    position: static;
    margin-top: 2rem;
    left: auto;
    bottom: auto;
  }
}

.home-about .about-visual .floating-card .card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-about .about-visual .floating-card .card-content .icon {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-about .about-visual .floating-card .card-content .icon i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.home-about .about-visual .floating-card .card-content .card-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.home-about .about-visual .floating-card .card-content .card-text p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  line-height: 1.4;
}

.home-about .about-visual .experience-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1.25rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 70%);
}

@media (max-width: 768px) {
  .home-about .about-visual .experience-badge {
    position: static;
    margin-bottom: 2rem;
    right: auto;
    top: auto;
    display: inline-block;
  }
}

.home-about .about-visual .experience-badge .badge-content .years {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.home-about .about-visual .experience-badge .badge-content .text {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 0.25rem;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .home-about {
    padding: 80px 0;
  }

  .home-about .row {
    text-align: center;
  }

  .home-about .about-content .stats-grid {
    margin: 2rem 0;
  }
}

/*--------------------------------------------------------------
# Featured Departments Section
--------------------------------------------------------------*/
.featured-departments .specialty-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-departments .specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-departments .specialty-content {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-departments .specialty-meta {
  margin-bottom: 15px;
}

.featured-departments .specialty-meta .specialty-label {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 20px;
}

.featured-departments h3 {
  font-size: 28px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.featured-departments .specialty-card p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
  flex: 1;
}

.featured-departments .specialty-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.featured-departments .specialty-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.featured-departments .specialty-features span i {
  color: var(--accent-color);
  font-size: 16px;
}

.featured-departments .specialty-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.featured-departments .specialty-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateX(5px);
}

.featured-departments .specialty-link i {
  transition: transform 0.3s ease;
}

.featured-departments .specialty-link:hover i {
  transform: translateX(3px);
}

.featured-departments .specialty-visual {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.featured-departments .specialty-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-departments .specialty-visual .visual-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.featured-departments .specialty-visual .visual-overlay i {
  color: var(--accent-color);
  font-size: 24px;
}

.featured-departments .specialty-card:hover .specialty-visual img {
  transform: scale(1.08);
}

.featured-departments .department-highlight {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 40px 30px;
  height: 100%;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.featured-departments .department-highlight:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  transform: translateY(-3px);
}

.featured-departments .highlight-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #667eea 30%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.featured-departments .highlight-icon i {
  color: var(--contrast-color);
  font-size: 32px;
}

.featured-departments h4 {
  font-size: 22px;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.featured-departments .department-highlight p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.featured-departments .highlight-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.featured-departments .highlight-list li {
  padding: 8px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  position: relative;
}

.featured-departments .highlight-list li:before {
  content: "→";
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 10px;
}

.featured-departments .highlight-cta {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-departments .highlight-cta:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.featured-departments .emergency-banner {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #667eea 30%));
  border-radius: 20px;
  padding: 40px;
  margin-top: 60px;
  color: var(--contrast-color);
}

.featured-departments .emergency-banner h3 {
  color: var(--contrast-color);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
}

.featured-departments .emergency-banner p {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.featured-departments .emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--contrast-color);
  color: var(--accent-color);
  padding: 16px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.featured-departments .emergency-btn:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  transform: translateY(-2px);
  color: var(--accent-color);
}

.featured-departments .emergency-btn i {
  font-size: 18px;
}

@media (max-width: 992px) {
  .featured-departments .specialty-card {
    flex-direction: column;
  }

  .featured-departments .specialty-visual {
    height: 200px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .featured-departments .specialty-content {
    padding: 30px 25px;
  }

  .featured-departments h3 {
    font-size: 24px;
  }

  .featured-departments .department-highlight {
    padding: 30px 20px;
    text-align: center;
  }

  .featured-departments .highlight-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .featured-departments .highlight-icon i {
    font-size: 24px;
  }

  .featured-departments h4 {
    font-size: 20px;
  }

  .featured-departments .emergency-banner {
    padding: 30px 25px;
    text-align: center;
  }

  .featured-departments .emergency-banner h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .featured-departments .emergency-banner .emergency-btn {
    margin-top: 20px;
    padding: 14px 25px;
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  padding: 100px 0;
}

.featured-services .featured-service-main {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-services .service-image-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.featured-services .service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-services .service-image-wrapper:hover img {
  transform: scale(1.02);
}

.featured-services .service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 20%) 0%, transparent 70%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px;
}

.featured-services .service-badge {
  background: var(--surface-color);
  padding: 16px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.featured-services .service-badge i {
  font-size: 20px;
  color: var(--accent-color);
}

.featured-services .service-badge span {
  font-weight: 500;
  color: var(--heading-color);
  font-size: 14px;
}

.featured-services .service-details {
  padding: 40px 0 0 0;
}

.featured-services .service-details h2 {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--heading-color);
}

.featured-services .service-details p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 32px;
}

.featured-services .main-cta {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.featured-services .main-cta::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-color);
  transition: transform 0.3s ease;
}

.featured-services .main-cta:hover {
  color: var(--heading-color);
}

.featured-services .main-cta:hover::after {
  transform: scaleX(1.1);
}

.featured-services .services-sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 60px;
}

.featured-services .service-item {
  padding: 32px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.featured-services .service-item:last-child {
  border-bottom: none;
}

.featured-services .service-item:hover {
  transform: translateX(8px);
}

.featured-services .service-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.featured-services .service-icon-wrapper i {
  font-size: 20px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.service-item:hover .featured-services .service-icon-wrapper {
  background: var(--accent-color);
  transform: scale(1.1);
}

.service-item:hover .featured-services .service-icon-wrapper i {
  color: var(--contrast-color);
}

.featured-services .service-info {
  flex: 1;
}

.featured-services .service-info h4 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--heading-color);
  line-height: 1.4;
}

.featured-services .service-info p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 12px;
}

.featured-services .service-link {
  font-size: 13px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.featured-services .service-link:hover {
  color: var(--heading-color);
}

.featured-services .specialties-grid {
  margin-top: 80px;
}

.featured-services .specialty-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.featured-services .specialty-card:hover {
  transform: translateY(-5px);
}

.featured-services .specialty-card:hover .specialty-image img {
  transform: scale(1.05);
}

.featured-services .specialty-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  position: relative;
}

.featured-services .specialty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-services .specialty-content h5 {
  font-size: 16px;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.featured-services .specialty-content span {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .featured-services .services-sidebar {
    padding-left: 0;
    margin-top: 40px;
  }

  .featured-services .service-details h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .featured-services {
    padding: 60px 0;
  }

  .featured-services .service-image-wrapper {
    height: 280px;
  }

  .featured-services .service-overlay {
    padding: 24px;
  }

  .featured-services .service-details {
    padding-top: 24px;
  }

  .featured-services .service-details h2 {
    font-size: 24px;
  }

  .featured-services .service-details p {
    font-size: 15px;
  }

  .featured-services .service-item {
    padding: 24px 0;
  }

  .featured-services .specialties-grid {
    margin-top: 50px;
  }

  .featured-services .specialty-image {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }

  .featured-services .specialty-content h5 {
    font-size: 14px;
  }

  .featured-services .specialty-content span {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Find A Doctor Section
--------------------------------------------------------------*/
.find-a-doctor .search-section {
  max-width: 100%;
  margin: 0 auto;
}

.find-a-doctor .search-section .search-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.find-a-doctor .search-section .search-subtitle {
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 300;
}

.find-a-doctor .search-section .search-form .search-input-group {
  display: flex;
  align-items: stretch;
  background: var(--surface-color);
  border-radius: 60px;
  padding: 8px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 94%);
  transition: all 0.4s ease;
}

.find-a-doctor .search-section .search-form .search-input-group:focus-within {
  box-shadow: 0 25px 80px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.find-a-doctor .search-section .search-form .input-wrapper,
.find-a-doctor .search-section .search-form .select-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.find-a-doctor .search-section .search-form .input-wrapper i,
.find-a-doctor .search-section .search-form .select-wrapper i {
  position: absolute;
  left: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 1.1rem;
  z-index: 2;
}

.find-a-doctor .search-section .search-form .form-control,
.find-a-doctor .search-section .search-form .form-select {
  border: none;
  background: transparent;
  padding: 20px 20px 20px 50px;
  font-size: 1rem;
  color: var(--default-color);
  border-radius: 0;
}

.find-a-doctor .search-section .search-form .form-control:focus,
.find-a-doctor .search-section .search-form .form-select:focus {
  box-shadow: none;
  background: transparent;
}

.find-a-doctor .search-section .search-form .form-control::placeholder,
.find-a-doctor .search-section .search-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 300;
}

.find-a-doctor .search-section .search-form .search-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 50px;
  padding: 18px 32px;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.find-a-doctor .search-section .search-form .search-btn:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.find-a-doctor .search-section .search-form .search-btn i {
  font-size: 1.1rem;
}

.find-a-doctor .doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.find-a-doctor .doctor-profile {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.find-a-doctor .doctor-profile:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px color-mix(in srgb, var(--default-color), transparent 88%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.find-a-doctor .doctor-profile .profile-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar {
  position: relative;
  flex-shrink: 0;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--surface-color);
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.available {
  background: #10b981;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.busy {
  background: #f59e0b;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.offline {
  background: color-mix(in srgb, var(--default-color), transparent 40%);
}

.find-a-doctor .doctor-profile .profile-header .doctor-details {
  flex: 1;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details h4 {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details .specialty-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details .experience-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details .experience-info i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  font-size: 1rem;
}

.find-a-doctor .doctor-profile .rating-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.find-a-doctor .doctor-profile .rating-section .stars {
  display: flex;
  gap: 2px;
}

.find-a-doctor .doctor-profile .rating-section .stars i {
  color: #fbbf24;
  font-size: 1rem;
}

.find-a-doctor .doctor-profile .rating-section .rating-score {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--heading-color);
}

.find-a-doctor .doctor-profile .rating-section .review-count {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.875rem;
}

.find-a-doctor .doctor-profile .action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary,
.find-a-doctor .doctor-profile .action-buttons .btn-primary {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid;
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary:hover,
.find-a-doctor .doctor-profile .action-buttons .btn-primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary {
  background: transparent;
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary:hover {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.find-a-doctor .doctor-profile .action-buttons .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.find-a-doctor .doctor-profile .action-buttons .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  color: var(--contrast-color);
}

.find-a-doctor .btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 32px;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.find-a-doctor .btn-view-all:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.find-a-doctor .btn-view-all i {
  transition: transform 0.3s ease;
}

.find-a-doctor .btn-view-all:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .find-a-doctor .search-section .search-title {
    font-size: 2rem;
  }

  .find-a-doctor .search-section .search-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .find-a-doctor .search-section .search-input-group {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 24px;
  }

  .find-a-doctor .search-section .search-input-group .search-btn {
    border-radius: 16px;
    justify-content: center;
  }

  .find-a-doctor .search-section .search-input-group .form-control,
  .find-a-doctor .search-section .search-input-group .form-select {
    padding: 16px 20px;
  }

  .find-a-doctor .search-section .search-input-group .input-wrapper i,
  .find-a-doctor .search-section .search-input-group .select-wrapper i {
    display: none;
  }

  .find-a-doctor .doctors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .find-a-doctor .doctor-profile {
    padding: 1.5rem;
  }

  .find-a-doctor .doctor-profile .profile-header {
    gap: 1rem;
  }

  .find-a-doctor .doctor-profile .profile-header .doctor-avatar img {
    width: 60px;
    height: 60px;
  }

  .find-a-doctor .doctor-profile .profile-header .doctor-details h4 {
    font-size: 1.25rem;
  }

  .find-a-doctor .doctor-profile .action-buttons {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .find-a-doctor .search-section .search-title {
    font-size: 1.75rem;
  }

  .find-a-doctor .doctor-profile {
    border-radius: 16px;
    padding: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0 100px;
}

.call-to-action .hero-content {
  margin-bottom: 120px;
}

.call-to-action .hero-content .content-wrapper {
  padding-right: 40px;
}

@media (max-width: 992px) {
  .call-to-action .hero-content .content-wrapper {
    padding-right: 0;
    margin-bottom: 60px;
    text-align: center;
  }
}

.call-to-action .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .call-to-action .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .call-to-action .hero-content h1 {
    font-size: 2rem;
  }
}

.call-to-action .hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 50px;
}

.call-to-action .hero-content .cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 992px) {
  .call-to-action .hero-content .cta-wrapper {
    align-items: center;
  }
}

.call-to-action .hero-content .cta-wrapper .primary-cta,
.call-to-action .hero-content .cta-wrapper .secondary-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  width: fit-content;
}

.call-to-action .hero-content .cta-wrapper .primary-cta span,
.call-to-action .hero-content .cta-wrapper .secondary-cta span {
  margin-right: 8px;
}

.call-to-action .hero-content .cta-wrapper .primary-cta i,
.call-to-action .hero-content .cta-wrapper .secondary-cta i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.call-to-action .hero-content .cta-wrapper .primary-cta:hover i,
.call-to-action .hero-content .cta-wrapper .secondary-cta:hover i {
  transform: translateX(4px);
}

.call-to-action .hero-content .cta-wrapper .primary-cta {
  color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 2px;
}

.call-to-action .hero-content .cta-wrapper .primary-cta:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
  border-color: color-mix(in srgb, var(--accent-color), black 20%);
}

.call-to-action .hero-content .cta-wrapper .secondary-cta {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.call-to-action .hero-content .cta-wrapper .secondary-cta:hover {
  color: var(--default-color);
}

.call-to-action .hero-content .image-container {
  position: relative;
}

.call-to-action .hero-content .image-container img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .call-to-action .hero-content .image-container img {
    height: 300px;
  }
}

.call-to-action .features-section {
  margin-bottom: 120px;
}

.call-to-action .features-section .feature-block {
  padding: 60px 40px;
  text-align: left;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}

@media (max-width: 992px) {
  .call-to-action .features-section .feature-block {
    border-right: none;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    text-align: center;
  }
}

.call-to-action .features-section .feature-block:last-child {
  border-right: none;
}

@media (max-width: 992px) {
  .call-to-action .features-section .feature-block:last-child {
    border-bottom: none;
  }
}

.call-to-action .features-section .feature-block .feature-icon {
  margin-bottom: 30px;
}

.call-to-action .features-section .feature-block .feature-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.call-to-action .features-section .feature-block h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.call-to-action .features-section .feature-block p {
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

.call-to-action .contact-block {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 60px 40px;
  border-radius: 4px;
}

.call-to-action .contact-block .contact-content h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .call-to-action .contact-block .contact-content h2 {
    font-size: 1.6rem;
  }
}

.call-to-action .contact-block .contact-content p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .call-to-action .contact-block .contact-content p {
    margin-bottom: 30px;
  }
}

.call-to-action .contact-block .contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

@media (max-width: 992px) {
  .call-to-action .contact-block .contact-actions {
    align-items: center;
  }
}

.call-to-action .contact-block .contact-actions .emergency-call {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.call-to-action .contact-block .contact-actions .emergency-call i {
  margin-right: 10px;
  font-size: 16px;
}

.call-to-action .contact-block .contact-actions .emergency-call:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.call-to-action .contact-block .contact-actions .contact-link {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.call-to-action .contact-block .contact-actions .contact-link:hover {
  color: var(--default-color);
}

@media (max-width: 992px) {
  .call-to-action .contact-block {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 100px 0;
}

.about .about-content h2 {
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.about .about-content p.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about .about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .about .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.about .stats-grid .stat-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  transition: transform 0.3s ease;
}

.about .stats-grid .stat-item:hover {
  transform: translateY(-5px);
}

.about .stats-grid .stat-item .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.about .stats-grid .stat-item .stat-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
}

.about .image-wrapper {
  position: relative;
}

.about .image-wrapper .main-image {
  border-radius: 12px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.about .image-wrapper .floating-image {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--surface-color);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
}

@media (max-width: 768px) {
  .about .image-wrapper .floating-image {
    width: 150px;
    height: 150px;
    bottom: -20px;
    right: -20px;
    border-width: 6px;
  }
}

.about .image-wrapper .floating-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about .values-section {
  margin-top: 120px;
}

.about .values-section h3 {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.about .values-section .section-description {
  font-size: 1.08rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 3.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.about .values-section .row {
  gap: 2rem 0;
}

.about .values-section .value-item {
  text-align: center;
  padding: 1rem 0.8rem 1.2rem;
  transition: transform 0.3s ease;
  max-width: 260px;
  margin: 0 auto;
}

.about .values-section .value-item:hover {
  transform: translateY(-5px);
}

.about .values-section .value-item .value-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(169, 203, 255, 0.22);
  border: 2px solid rgba(16, 99, 210, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.about .values-section .value-item .value-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.about .values-section .value-item h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.5;
  color: var(--heading-color);
}

.about .values-section .value-item p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.about .values-section .value-item:hover .value-icon {
  background: rgba(16, 99, 210, 0.08);
  transform: scale(1.04);
}

.about .values-section .value-item:hover .value-icon i {
  color: #0d5ad9;
}

.about .certifications-section {
  margin-top: 80px;
  padding: 4rem 0;
  background: color-mix(in srgb, var(--accent-color), transparent 98%);
  border-radius: 16px;
}

.about .certifications-section h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about .certifications-section .section-description {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.about .certifications-section .certification-item {
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.about .certifications-section .certification-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 85%);
}

.about .certifications-section .certification-item img {
  max-height: 60px;
  max-width: 100%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.about .certifications-section .certification-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 992px) {
  .about {
    padding: 80px 0;
  }

  .about .about-content {
    margin-bottom: 3rem;
  }

  .about .about-content h2 {
    font-size: 2.4rem;
  }

  .about .values-section {
    margin-top: 80px;
  }

  .about .image-wrapper .floating-image {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 2rem auto 0;
    display: block;
  }
}

@media (max-width: 768px) {
  .about .about-content h2 {
    font-size: 2rem;
  }

  .about .stats-grid .stat-item .stat-number {
    font-size: 2rem;
  }

  .about .values-section .value-item {
    margin-bottom: 2rem;
  }

  .about .certifications-section {
    margin-top: 60px;
    padding: 3rem 1rem;
  }
}

/*--------------------------------------------------------------
# Departments Tabs Section
--------------------------------------------------------------*/
.departments-tabs .section-label {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0;
  display: block;
}

.departments-tabs .medical-specialties {
  margin-top: 3rem;
}

.departments-tabs .specialty-navigation {
  margin-bottom: 2rem;
}

.departments-tabs .specialty-navigation .nav-pills {
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}

@media (max-width: 768px) {
  .departments-tabs .specialty-navigation .nav-pills {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.departments-tabs .specialty-navigation .department-tab {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border: none;
  border-radius: 0;
  color: var(--default-color);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

@media (max-width: 992px) {
  .departments-tabs .specialty-navigation .department-tab {
    font-size: 1rem;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .departments-tabs .specialty-navigation .department-tab {
    width: 100%;
    margin-bottom: 0;
  }
}

.departments-tabs .specialty-navigation .department-tab:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.departments-tabs .specialty-navigation .department-tab.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.departments-tabs .specialty-navigation .department-tab.active::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--accent-color);
}

@media (max-width: 768px) {
  .departments-tabs .specialty-navigation .department-tab.active::after {
    display: none;
  }
}

.departments-tabs .department-content {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 3rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .departments-tabs .department-content {
    padding: 2rem 1.5rem;
  }
}

.departments-tabs .department-layout {
  align-items: stretch;
}

.departments-tabs .department-image {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.departments-tabs .department-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.departments-tabs .department-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .departments-tabs .department-image {
    height: 300px;
    margin-bottom: 2rem;
  }
}

.departments-tabs .department-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 992px) {
  .departments-tabs .department-info {
    height: auto;
  }
}

.departments-tabs .department-title {
  color: var(--heading-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .departments-tabs .department-title {
    font-size: 1.8rem;
  }
}

.departments-tabs .department-description {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.departments-tabs .service-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.departments-tabs .service-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  transform: translateY(-2px);
}

.departments-tabs .service-icon {
  background-color: var(--accent-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.departments-tabs .service-icon i {
  color: var(--contrast-color);
  font-size: 1.5rem;
}

.departments-tabs .service-content {
  flex: 1;
}

.departments-tabs .service-content h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.departments-tabs .service-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.departments-tabs .tab-pane {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.departments-tabs .tab-pane.show.active {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments .department-card {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.departments .department-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.departments .department-card:hover .department-image img {
  transform: scale(1.05);
}

.departments .department-card:hover .department-icon {
  transform: scale(1.1);
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
}

.departments .department-card:hover .learn-more {
  color: var(--accent-color);
}

.departments .department-card:hover .learn-more i {
  transform: translateX(5px);
}

.departments .department-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 24px;
  transition: all 0.4s ease;
  z-index: 2;
}

.departments .department-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.departments .department-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.departments .department-content {
  padding: 30px 25px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.departments .department-content h3 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 15px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.3;
}

.departments .department-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.departments .department-content .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--heading-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
}

.departments .department-content .learn-more span {
  font-family: var(--heading-font);
}

.departments .department-content .learn-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .departments .department-card {
    margin-bottom: 20px;
  }

  .departments .department-image {
    height: 200px;
  }

  .departments .department-content {
    padding: 25px 20px 20px;
  }

  .departments .department-content h3 {
    font-size: 20px;
  }

  .departments .department-content p {
    font-size: 14px;
  }

  .departments .department-icon {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Department Details Section
--------------------------------------------------------------*/
.department-details .department-hero {
  padding: 2rem 0;
}

.department-details .department-hero .badge-wrap {
  margin-bottom: 1.5rem;
}

.department-details .department-hero .badge-wrap .specialty-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.department-details .department-hero .department-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.department-details .department-hero .department-intro {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 3rem;
  max-width: 90%;
}

.department-details .department-hero .key-highlights {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.department-details .department-hero .key-highlights .highlight-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.department-details .department-hero .key-highlights .highlight-item .highlight-number {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.department-details .department-hero .key-highlights .highlight-item .highlight-text {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.department-details .department-hero .action-group {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.department-details .department-hero .action-group .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2.5rem;
  border-radius: 0;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-color);
}

.department-details .department-hero .action-group .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateX(5px);
}

.department-details .department-hero .action-group .btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--default-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.department-details .department-hero .action-group .btn-secondary i {
  transition: transform 0.3s ease;
}

.department-details .department-hero .action-group .btn-secondary:hover {
  color: var(--accent-color);
}

.department-details .department-hero .action-group .btn-secondary:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .department-details .department-hero .department-title {
    font-size: 2.5rem;
  }

  .department-details .department-hero .key-highlights {
    gap: 1.5rem;
  }

  .department-details .department-hero .action-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.department-details .department-visual .image-container {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.department-details .department-visual .image-container .primary-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.department-details .department-visual .image-container .floating-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 280px;
}

.department-details .department-visual .image-container .floating-card .card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.department-details .department-visual .image-container .floating-card .card-icon i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.department-details .department-visual .image-container .floating-card .card-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.department-details .department-visual .image-container .floating-card .card-content p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .department-details .department-visual {
    margin-top: 3rem;
  }

  .department-details .department-visual .image-container {
    min-height: 400px;
  }

  .department-details .department-visual .image-container .floating-card {
    bottom: 1rem;
    left: 1rem;
    max-width: 250px;
  }
}

.department-details .services-overview {
  margin-top: 8rem;
  margin-bottom: 6rem;
}

.department-details .services-overview .overview-header {
  text-align: center;
  margin-bottom: 4rem;
}

.department-details .services-overview .overview-header h3 {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.department-details .services-overview .overview-header p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 600px;
  margin: 0 auto;
}

.department-details .services-overview .services-grid .service-item {
  text-align: left;
  padding: 2rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.department-details .services-overview .services-grid .service-item:hover {
  padding-left: 1rem;
}

.department-details .services-overview .services-grid .service-item:hover .service-icon {
  background-color: var(--accent-color);
}

.department-details .services-overview .services-grid .service-item:hover .service-icon i {
  color: var(--contrast-color);
}

.department-details .services-overview .services-grid .service-item .service-icon {
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.department-details .services-overview .services-grid .service-item .service-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.department-details .services-overview .services-grid .service-item h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.department-details .services-overview .services-grid .service-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  margin-bottom: 0;
}

.department-details .expert-care-section {
  margin-top: 6rem;
}

.department-details .expert-care-section .expert-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.department-details .expert-care-section .expert-content {
  padding-left: 3rem;
}

.department-details .expert-care-section .expert-content h3 {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.department-details .expert-care-section .expert-content .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2.5rem;
}

.department-details .expert-care-section .expert-content .expertise-list {
  margin-bottom: 3rem;
}

.department-details .expert-care-section .expert-content .expertise-list .expertise-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.department-details .expert-care-section .expert-content .expertise-list .expertise-item i {
  color: var(--accent-color);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.department-details .expert-care-section .expert-content .expertise-list .expertise-item span {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.6;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item i {
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item div {
  display: flex;
  flex-direction: column;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item div .contact-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0.25rem;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item div .contact-value {
  font-weight: 500;
  color: var(--default-color);
}

@media (max-width: 991px) {
  .department-details .expert-care-section .expert-content {
    padding-left: 0;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .department-details .expert-care-section .expert-content h3 {
    font-size: 1.875rem;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding: 80px 0;
}

.services .service-item {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.services .service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.services .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.services .service-image .service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.services .service-image .service-overlay i {
  font-size: 3rem;
  color: var(--contrast-color);
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.services .service-image:hover img {
  transform: scale(1.05);
}

.services .service-image:hover .service-overlay {
  opacity: 0.9;
}

.services .service-image:hover .service-overlay i {
  transform: scale(1);
}

.services .service-content {
  padding: 30px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services .service-content h3 {
  color: var(--heading-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.services .service-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.services .service-content .service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.services .service-content .service-features .feature-item {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--default-color);
}

.services .service-content .service-features .feature-item i {
  color: var(--accent-color);
  font-size: 0.75rem;
  margin-right: 8px;
}

.services .service-content .service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 5%);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
}

.services .service-content .service-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.services .service-content .service-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.services .service-content .service-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }

  .services .service-image {
    height: 200px;
  }

  .services .service-content {
    padding: 25px 20px;
  }

  .services .service-content h3 {
    font-size: 1.3rem;
  }

  .services .service-content p {
    font-size: 0.9rem;
  }

  .services .service-content .service-features .feature-item {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .services .service-features {
    flex-direction: column;
    gap: 10px;
  }

  .services .service-features .feature-item {
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# Service Details 2 Section
--------------------------------------------------------------*/
.service-details-2 .service-header .service-category span {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  color: var(--contrast-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.service-details-2 .service-header h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .service-details-2 .service-header h2 {
    font-size: 2.2rem;
  }
}

.service-details-2 .service-header .lead {
  font-size: 1.25rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 400;
  line-height: 1.5;
}

.service-details-2 .service-details .detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-details-2 .service-details .detail-item .icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 15%));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.service-details-2 .service-details .detail-item .icon-wrapper i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.service-details-2 .service-details .detail-item .content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--heading-color);
}

.service-details-2 .service-details .detail-item .content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin: 0;
}

.service-details-2 .service-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.service-details-2 .service-visual img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-details-2 .service-visual .visual-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.service-details-2 .service-visual .stats-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-details-2 .service-visual .stats-card .stat {
  text-align: center;
}

.service-details-2 .service-visual .stats-card .stat .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.service-details-2 .service-visual .stats-card .stat .label {
  display: block;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
  margin-top: 0.3rem;
}

.service-details-2 .service-overview {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.service-details-2 .service-overview h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .service-details-2 .service-overview h3 {
    font-size: 1.6rem;
  }
}

.service-details-2 .service-overview p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 2rem;
}

.service-details-2 .service-overview .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 576px) {
  .service-details-2 .service-overview .features-grid {
    grid-template-columns: 1fr;
  }
}

.service-details-2 .service-overview .features-grid .feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
}

.service-details-2 .service-overview .features-grid .feature i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.service-details-2 .service-overview .features-grid .feature span {
  font-weight: 500;
  color: var(--heading-color);
}

.service-details-2 .service-overview .treatment-areas {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 2rem;
  border-radius: 16px;
}

.service-details-2 .service-overview .treatment-areas h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-weight: 600;
}

.service-details-2 .service-overview .treatment-areas .condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.service-details-2 .service-overview .treatment-areas .condition-tags .tag {
  background: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.service-details-2 .service-overview .treatment-areas .condition-tags .tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .service-details-2 .service-overview {
    padding: 2rem;
  }

  .service-details-2 .service-overview .treatment-areas {
    margin-top: 2rem;
  }
}

.service-details-2 .action-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-details-2 .action-card.primary {
  border-color: var(--accent-color);
  background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 97%));
}

.service-details-2 .action-card.primary .card-header i {
  color: var(--accent-color);
}

.service-details-2 .action-card.primary .btn-action {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.service-details-2 .action-card.primary .btn-action:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-3px);
}

.service-details-2 .action-card.secondary {
  border-color: color-mix(in srgb, var(--heading-color), transparent 70%);
}

.service-details-2 .action-card.secondary .card-header i {
  color: var(--heading-color);
}

.service-details-2 .action-card.secondary .btn-action {
  background: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
}

.service-details-2 .action-card.secondary .btn-action:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.service-details-2 .action-card.tertiary {
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.service-details-2 .action-card.tertiary .card-header i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details-2 .action-card.tertiary .btn-action {
  background: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
}

.service-details-2 .action-card.tertiary .btn-action:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.service-details-2 .action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-details-2 .action-card .card-header {
  margin-bottom: 1rem;
}

.service-details-2 .action-card .card-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-details-2 .action-card .card-header h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.service-details-2 .action-card p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.service-details-2 .action-card .card-footer .btn-action {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  width: 100%;
}

.service-details-2 .action-card .card-footer .availability {
  display: block;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

@media (max-width: 768px) {
  .service-details-2 .service-header {
    margin-bottom: 3rem;
  }

  .service-details-2 .service-header .service-category span {
    margin-bottom: 1rem;
  }

  .service-details-2 .service-details {
    margin-bottom: 3rem;
  }

  .service-details-2 .service-details .detail-item {
    margin-bottom: 2rem;
  }

  .service-details-2 .visual-overlay {
    position: static !important;
    margin-top: 1rem;
  }

  .service-details-2 .visual-overlay .stats-card {
    background: var(--surface-color);
    backdrop-filter: none;
  }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .doctor-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.doctors .doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
}

.doctors .doctor-card:hover .doctor-overlay {
  opacity: 1;
}

.doctors .doctor-image {
  position: relative;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto 25px;
}

.doctors .doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.doctors .doctor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.doctors .doctor-overlay .social-links {
  display: flex;
  gap: 10px;
}

.doctors .doctor-overlay .social-links a {
  width: 35px;
  height: 35px;
  background: var(--contrast-color);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.doctors .doctor-overlay .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.doctors .doctor-overlay .social-links a i {
  font-size: 16px;
}

.doctors .doctor-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.doctors .doctor-content .specialty {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
  display: block;
}

.doctors .doctor-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.doctors .doctor-meta {
  margin-bottom: 20px;
}

.doctors .doctor-meta .experience,
.doctors .doctor-meta .department {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 8px;
}

.doctors .doctor-meta .experience i,
.doctors .doctor-meta .department i {
  color: var(--accent-color);
  font-size: 14px;
}

.doctors .doctor-meta .department {
  margin-bottom: 0;
}

.doctors .btn-appointment {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.doctors .btn-appointment:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .doctors .doctor-card {
    padding: 20px;
  }

  .doctors .doctor-image {
    width: 120px;
    height: 120px;
  }

  .doctors .doctor-content h4 {
    font-size: 20px;
  }

  .doctors .doctor-content .specialty {
    font-size: 14px;
  }

  .doctors .doctor-content p {
    font-size: 13px;
  }

  .doctors .btn-appointment {
    padding: 10px 25px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Appointmnet Section
--------------------------------------------------------------*/
.appointmnet .booking-wrapper {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 60px 40px;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.appointmnet .booking-header {
  margin-bottom: 50px;
}

.appointmnet .booking-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.appointmnet .booking-header p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.appointmnet .booking-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  padding: 30px 0;
}

.appointmnet .booking-steps .step {
  text-align: center;
  flex: 1;
  max-width: 200px;
  position: relative;
}

.appointmnet .booking-steps .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -15px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
  z-index: 1;
}

.appointmnet .booking-steps .step .step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
  z-index: 2;
}

.appointmnet .booking-steps .step .step-icon i {
  font-size: 24px;
  color: var(--contrast-color);
}

.appointmnet .booking-steps .step .step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.appointmnet .booking-steps .step .step-content p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

@media (max-width: 768px) {
  .appointmnet .booking-steps {
    flex-direction: column;
    gap: 20px;
  }

  .appointmnet .booking-steps .step {
    max-width: none;
  }

  .appointmnet .booking-steps .step:not(:last-child)::after {
    display: none;
  }
}

.appointmnet .appointment-form .php-email-form input[type=text],
.appointmnet .appointment-form .php-email-form input[type=email],
.appointmnet .appointment-form .php-email-form input[type=tel],
.appointmnet .appointment-form .php-email-form input[type=date],
.appointmnet .appointment-form .php-email-form select,
.appointmnet .appointment-form .php-email-form textarea {
  color: var(--default-color);
  background-color: transparent;
  font-size: 14px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.appointmnet .appointment-form .php-email-form input[type=text]:focus,
.appointmnet .appointment-form .php-email-form input[type=email]:focus,
.appointmnet .appointment-form .php-email-form input[type=tel]:focus,
.appointmnet .appointment-form .php-email-form input[type=date]:focus,
.appointmnet .appointment-form .php-email-form select:focus,
.appointmnet .appointment-form .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
  outline: none;
}

.appointmnet .appointment-form .php-email-form input[type=text]::placeholder,
.appointmnet .appointment-form .php-email-form input[type=email]::placeholder,
.appointmnet .appointment-form .php-email-form input[type=tel]::placeholder,
.appointmnet .appointment-form .php-email-form input[type=date]::placeholder,
.appointmnet .appointment-form .php-email-form select::placeholder,
.appointmnet .appointment-form .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointmnet .appointment-form .php-email-form .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.appointmnet .appointment-form .php-email-form .btn-book {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
}

.appointmnet .appointment-form .php-email-form .btn-book:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.appointmnet .appointment-form .php-email-form .btn-book:active {
  transform: translateY(0);
}

.appointmnet .emergency-info {
  margin-top: 30px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  text-align: center;
}

.appointmnet .emergency-info p {
  margin: 0;
  color: var(--heading-color);
  font-size: 0.9rem;
}

.appointmnet .emergency-info p i {
  color: #dc3545;
  margin-right: 8px;
}

.appointmnet .emergency-info p strong {
  color: #dc3545;
  font-weight: 700;
}

@media (max-width: 768px) {
  .appointmnet .booking-wrapper {
    padding: 40px 25px;
  }

  .appointmnet .booking-header h2 {
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
# Featured Testimonials Section
--------------------------------------------------------------*/
.featured-testimonials .testimonial-item {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 24px;
  border-radius: 8px;
  transition: all 0.3s;
}

.featured-testimonials .testimonial-item .stars {
  margin-bottom: 16px;
  color: #f7b50d;
}

.featured-testimonials .testimonial-item .stars i {
  font-size: 18px;
  margin: 0 2px;
}

.featured-testimonials .testimonial-item p {
  font-size: 15px;
  font-style: italic;
  margin: 0 0 20px 0;
}

.featured-testimonials .testimonial-item .profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.featured-testimonials .testimonial-item .profile .testimonial-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.featured-testimonials .testimonial-item .profile .info h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.featured-testimonials .testimonial-item .profile .info h4 i {
  font-size: 14px;
  color: var(--accent-color);
  margin-left: 4px;
}

.featured-testimonials .testimonial-item .profile .info span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.featured-testimonials .swiper-wrapper {
  height: auto !important;
}

.featured-testimonials .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.featured-testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
}

.featured-testimonials .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 1199.98px) {
  .featured-testimonials .testimonial-item {
    margin: 0;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
  color: #FFD700;
}

.testimonials .testimonial-item .stars i {
  margin-right: 2px;
}

.testimonials .testimonial-item p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--default-color);
}

.testimonials .testimonial-item .testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author {
  display: flex;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.testimonials .testimonial-item .testimonial-footer .quote-icon {
  font-size: 36px;
  color: color-mix(in srgb, var(--accent-color), transparent 70%);
  line-height: 1;
}

.testimonials .testimonial-item .testimonial-footer .quote-icon i {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .testimonials .testimonial-item {
    padding: 25px 20px;
  }

  .testimonials .testimonial-item p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 45px;
    height: 45px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
    font-size: 16px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
    font-size: 13px;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .testimonials .testimonial-item {
    padding: 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery .gallery-item img {
  transition: 0.3s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
  color: #ffffff;
}

.gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

.gallery .gallery-item:hover .gallery-links {
  opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Premium Card Motion
--------------------------------------------------------------*/
:is(.card, .info-box, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item) {
  position: relative;
  isolation: isolate;
  animation: premium-card-in 0.7s both;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--heading-color), transparent 91%);
}

:is(.card, .info-box, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item)::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 55%);
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
  background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, var(--contrast-color), transparent 75%) 50%, transparent 65%);
  transition: opacity 0.35s ease, transform 0.7s ease;
}

:is(.card, .info-box, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item):hover {
  box-shadow: 0 22px 48px color-mix(in srgb, var(--accent-color), transparent 78%);
}

.info-box.info-box:hover {
  box-shadow: 0 22px 48px color-mix(in srgb, var(--accent-color), transparent 78%);
}

.premium-facilities-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, #0d55a5 0%, #1678b8 45%, #8fc900 100%);
}

.premium-info-box {
  min-height: 270px;
  padding: 35px 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 25px;
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.premium-info-box-blue {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
}

.premium-info-box-lime {
  background: linear-gradient(135deg, rgba(180, 230, 40, 0.3), rgba(255, 255, 255, 0.1));
}

.premium-info-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.premium-info-shine {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(5px);
  pointer-events: none;
}

.premium-info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 30px;
  background: linear-gradient(135deg, #1261b5, #29a9c4);
  box-shadow: 0 12px 28px rgba(0, 70, 150, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.premium-info-box-lime .premium-info-icon {
  background: linear-gradient(135deg, #8fc900, #28a96d);
  box-shadow: 0 12px 28px rgba(70, 160, 50, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.premium-info-box h4,
.premium-info-box p {
  position: relative;
  color: #ffffff;
}

.premium-info-box h4 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
}

.premium-info-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .premium-facilities-section {
    padding: 60px 0;
  }

  .premium-info-box {
    min-height: 0;
  }
}

:is(.card, .info-box, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item):hover::after {
  opacity: 1;
  transform: translateX(110%);
}

:is(.card, .info-box, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item):nth-child(2n) {
  animation-delay: 0.08s;
}

:is(.card, .info-box, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item):nth-child(3n) {
  animation-delay: 0.16s;
}

@keyframes premium-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.card, .info-box, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item) {
    animation: none;
    transition: none;
  }

  :is(.card, .info-box, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item)::after {
    display: none;
  }
}

/*--------------------------------------------------------------
# Glass Treatment For Supporting Surfaces
--------------------------------------------------------------*/
:is(.card, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item, .contact-form-card, .faq-item, .service-card) {
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 52%);
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface-color), var(--contrast-color) 18%), color-mix(in srgb, var(--surface-color), transparent 4%));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--heading-color), transparent 86%), inset 0 1px 0 color-mix(in srgb, var(--contrast-color), transparent 35%);
}

:is(.card, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item, .contact-form-card, .faq-item, .service-card)::before {
  position: absolute;
  top: -70px;
  right: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  filter: blur(8px);
  opacity: 0.7;
  pointer-events: none;
}

:is(.card, .specialty-card, .department-highlight, .department-card, .action-card, .stats-card, .doctor-card, .testimonial-item, .gallery-item, .contact-form-card, .faq-item, .service-card):hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 35%);
  box-shadow: 0 28px 58px color-mix(in srgb, var(--accent-color), transparent 80%), inset 0 1px 0 color-mix(in srgb, var(--contrast-color), transparent 20%);
}

:is(.btn, .btn-primary, .btn-outline, .primary-cta, .secondary-cta, .emergency-btn, .btn-action, .btn-submit, .learn-more, .highlight-cta) {
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 35%);
  border-radius: 14px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-color), transparent 82%), inset 0 1px 0 color-mix(in srgb, var(--contrast-color), transparent 35%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

:is(.btn, .btn-primary, .btn-outline, .primary-cta, .secondary-cta, .emergency-btn, .btn-action, .btn-submit, .learn-more, .highlight-cta):hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--accent-color), transparent 72%), inset 0 1px 0 color-mix(in srgb, var(--contrast-color), transparent 15%);
}

:is(.image-container, .main-image, .shared-specialty-image, .department-image, .specialty-image, .gallery-item) {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 48%);
  border-radius: 20px;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--heading-color), transparent 86%), inset 0 1px 0 color-mix(in srgb, var(--contrast-color), transparent 30%);
}

:is(.image-container, .main-image, .shared-specialty-image, .department-image, .specialty-image, .gallery-item) img {
  transition: transform 0.6s ease, filter 0.6s ease;
}

:is(.image-container, .main-image, .shared-specialty-image, .department-image, .specialty-image, .gallery-item):hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.02);
}

@media (prefers-reduced-motion: reduce) {
  :is(.btn, .btn-primary, .btn-outline, .primary-cta, .secondary-cta, .emergency-btn, .btn-action, .btn-submit, .learn-more, .highlight-cta, .image-container, .main-image, .shared-specialty-image, .department-image, .specialty-image, .gallery-item, .image-container img, .main-image img, .shared-specialty-image img, .department-image img, .specialty-image img, .gallery-item img) {
    transition: none;
  }
}

.glightbox-clean .gslide-description {
  background: #272727;
}

.glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-item {
  margin-bottom: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item:last-child {
  border-bottom: none;
}

.faq .faq-item.faq-active .faq-header .faq-number {
  color: var(--accent-color);
  font-weight: 500;
}

.faq .faq-item.faq-active .faq-header h4 {
  color: var(--accent-color);
}

.faq .faq-item.faq-active .faq-header .faq-toggle {
  color: var(--accent-color);
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-dash {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-dash {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq .faq-item .faq-header {
  display: flex;
  align-items: center;
  padding: 40px 0;
  cursor: pointer;
  gap: 0;
  transition: all 0.3s ease;
}

.faq .faq-item .faq-header:hover .faq-number {
  transform: scale(1.1);
}

.faq .faq-item .faq-header:hover .faq-toggle {
  transform: scale(1.1);
}

.faq .faq-item .faq-header .faq-number {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
}

.faq .faq-item .faq-header h4 {
  flex: 1;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--heading-color);
  transition: all 0.3s ease;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-right: 20px;
}

.faq .faq-item .faq-header .faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

.faq .faq-item .faq-header .faq-toggle i {
  position: absolute;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  visibility: hidden;
  opacity: 0;
}

.faq .faq-item .faq-content .content-inner {
  padding: 0 80px 40px 80px;
  overflow: hidden;
}

.faq .faq-item .faq-content .content-inner p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

@media (max-width: 768px) {
  .faq .faq-item .faq-header {
    padding: 30px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 60px;
    font-size: 1rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1.1rem;
    margin-right: 15px;
  }

  .faq .faq-item .faq-header .faq-toggle {
    width: 20px;
    height: 20px;
    font-size: 16px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 60px 30px 60px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .faq .faq-item .faq-header {
    padding: 25px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 50px;
    font-size: 0.9rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1rem;
    margin-right: 10px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 50px 25px 50px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact .contact-info-item .info-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .contact-info-item .info-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.contact .contact-info-item .info-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .contact-info-item .info-content p {
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
}

.contact .contact-info-item .info-content p:last-child {
  margin-bottom: 0;
}

.contact .contact-form-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

.contact .contact-form-card h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .contact-form-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact .contact-form-card .form-control {
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 15px 20px;
  height: calc(3.5rem + 2px);
  background-color: var(--surface-color);
  color: var(--default-color);
  margin-bottom: 20px;
}

.contact .contact-form-card .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .contact-form-card .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.contact .contact-form-card textarea.form-control {
  min-height: 150px;
  margin-bottom: 25px;
}

.contact .btn-submit {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.contact .btn-submit:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact .map-container {
  position: relative;
  margin-top: 50px;
  padding: 0;
}

.contact .map-container .map-overlay {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--background-color), transparent);
  z-index: 10;
}

.contact .map-container iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .contact .contact-form-card {
    padding: 30px;
  }

  .contact .map-container {
    margin-top: 40px;
  }

  .contact .map-container .map-overlay {
    top: -25px;
    height: 50px;
  }

  .contact .map-container iframe {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .contact .contact-info-wrapper {
    gap: 25px;
  }

  .contact .contact-info-item {
    gap: 15px;
  }

  .contact .contact-info-item .info-icon {
    width: 50px;
    height: 50px;
  }

  .contact .contact-form-card {
    padding: 25px;
  }

  .contact .contact-form-card h2 {
    font-size: 24px;
  }

  .contact .map-container {
    margin-top: 30px;
  }

  .contact .map-container .map-overlay {
    top: -20px;
    height: 40px;
  }

  .contact .map-container iframe {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .contact .contact-form-card {
    padding: 20px;
  }

  .contact .map-container {
    margin-top: 25px;
  }

  .contact .map-container .map-overlay {
    top: -15px;
    height: 30px;
  }

  .contact .map-container iframe {
    height: 350px;
    border-radius: 8px;
  }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
  font-size: 1rem;
  line-height: 1.7;
}

.privacy .privacy-header {
  margin-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 40px;
}

.privacy .privacy-header .header-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy .privacy-header .header-content .last-updated {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 20px;
}

.privacy .privacy-header .header-content h1 {
  font-size: 2.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-header .header-content .intro-text {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.privacy .privacy-content {
  max-width: 800px;
  margin: 0 auto 60px;
}

.privacy .privacy-content .content-section {
  margin-bottom: 50px;
}

.privacy .privacy-content .content-section:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.privacy .privacy-content .content-section h3 {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin: 30px 0 20px;
  font-weight: 500;
}

.privacy .privacy-content .content-section p {
  margin-bottom: 20px;
}

.privacy .privacy-content .content-section p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.privacy .privacy-content .content-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.privacy .privacy-content .content-section ul li:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.privacy .privacy-contact {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-contact h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-contact p {
  margin-bottom: 20px;
}

.privacy .privacy-contact .contact-details {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
}

.privacy .privacy-contact .contact-details p {
  margin-bottom: 10px;
}

.privacy .privacy-contact .contact-details p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-contact .contact-details p strong {
  color: var(--heading-color);
  font-weight: 600;
}

@media print {
  .privacy {
    font-size: 12pt;
    line-height: 1.5;
  }

  .privacy .privacy-header {
    text-align: left;
    border-bottom: 1pt solid #000;
    padding-bottom: 20pt;
    margin-bottom: 30pt;
  }

  .privacy h1 {
    font-size: 24pt;
  }

  .privacy h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }

  .privacy h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  .privacy p,
  .privacy ul {
    page-break-inside: avoid;
  }

  .privacy .contact-details {
    border: 1pt solid #000;
    padding: 15pt;
  }
}

@media (max-width: 767px) {
  .privacy .privacy-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .privacy .privacy-header .header-content h1 {
    font-size: 2.2rem;
  }

  .privacy .privacy-header .header-content .intro-text {
    font-size: 1.1rem;
  }

  .privacy .privacy-content .content-section {
    margin-bottom: 40px;
  }

  .privacy .privacy-content .content-section h2 {
    font-size: 1.6rem;
  }

  .privacy .privacy-content .content-section h3 {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 97%) 100%);
}

.error-404 .error-number {
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 300;
  color: color-mix(in srgb, var(--heading-color), transparent 15%);
  line-height: 0.8;
  margin-bottom: 40px;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.error-404 .error-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.error-404 .error-description {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-404 .error-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 80px;
}

@media (min-width: 576px) {
  .error-404 .error-actions {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.error-404 .error-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.error-404 .error-actions .btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.error-404 .error-actions .btn-primary i {
  font-size: 18px;
}

.error-404 .error-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--heading-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.error-404 .error-actions .btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.error-404 .error-actions .btn-secondary i {
  font-size: 18px;
}

.error-404 .helpful-links {
  text-align: center;
}

.error-404 .helpful-links h3 {
  font-size: 24px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 40px;
}

.error-404 .helpful-links .links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.error-404 .helpful-links .link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background-color: var(--surface-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--default-color);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.error-404 .helpful-links .link-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.error-404 .helpful-links .link-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item span {
  font-size: 16px;
  font-weight: 400;
}

.error-404 .helpful-links .link-item:hover i {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 80px 0;
  }

  .error-404 .error-actions {
    margin-bottom: 60px;
  }

  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  padding-top: 60px;
  padding-bottom: 60px;
  /* Add your styles here */
}


/*--------------------------------------------------------------


/*--------------------------------------------------------------
# Custom Header Design
--------------------------------------------------------------*/

/* Top Bar - Light Purple */
.header .topbar {
  background: #f0ebff !important;
  height: auto !important;
  padding: 8px 0 !important;
  font-size: 13px;
  border-bottom: 1px solid #e0d9f7;
}

.header .topbar .contact-info {
  color: #5e4b9d;
}

.header .topbar .contact-info i {
  color: #5e4b9d;
  font-size: 14px;
}

.header .topbar .contact-info span,
.header .topbar .contact-info a {
  color: #5e4b9d;
  text-decoration: none;
  font-size: 13px;
}

.header .topbar .social-links a {
  color: #5e4b9d;
  font-size: 16px;
  margin-left: 15px;
  transition: color 0.3s;
}

.header .topbar .social-links a:hover {
  color: #8b7bc8;
}

.header .topbar .text-adjust {
  color: #5e4b9d;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

/* Main Header Section - White */
.header .branding {
  background: #ffffff;
  min-height: auto;
  padding: 18px 0 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header .logo img {
  height: 70px !important;
  width: auto !important;
}

/* Header Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Search Box */
.search-box {
  position: relative;
  width: 280px;
}

.search-box input {
  width: 100%;
  padding: 10px 45px 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 13px;
  outline: none;
  transition: all 0.3s;
}

.search-box input:focus {
  border-color: #5e4b9d;
  box-shadow: 0 0 0 3px rgba(94, 75, 157, 0.1);
}

.search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #5e4b9d;
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.search-box button:hover {
  background: #4a3a7d;
}

.search-box button i {
  font-size: 16px;
}

/* Info Box */
.info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #f9f9f9;
  border-radius: 12px;
  min-width: 160px;
}

.info-box i {
  font-size: 26px;
}

.info-box:first-of-type i {
  color: #8fc900;
}

.info-box:nth-of-type(2) i {
  color: #ff4081;
}

.info-box div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.info-box strong {
  font-size: 12px;
  color: #333;
  font-weight: 600;
}

.info-box span {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}

/* Appointment Button */
.btn-appointment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: #7866b3;
  color: white;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(120, 102, 179, 0.3);
  transition: all 0.3s;
}

.btn-appointment:hover {
  background: #6a5aa0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(120, 102, 179, 0.4);
  color: white;
}

.btn-appointment i:first-child {
  font-size: 18px;
}

.btn-appointment i:last-child {
  font-size: 14px;
}

/* Navigation Bar - Simple Design */
.navmenu {
  background: #3b4b9a;
  border-top: none;
  padding: 0;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(61, 74, 143, 0.2);
  position: relative;
  overflow: visible;
  min-height: 54px;
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Sticky Nav on Scroll */
.scrolled .navmenu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 6px 25px rgba(61, 74, 143, 0.4);
}

.scrolled .header .topbar,
.scrolled .header .branding {
  display: none;
}

/* Add padding when nav becomes sticky */
.scrolled .main {
  padding-top: 65px;
}

.navmenu::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.navmenu::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(143, 201, 0, 0.15), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.navmenu .container {
  position: relative;
  z-index: 999;
  overflow: visible;
}

.navmenu ul {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 25px !important;
  flex-wrap: nowrap !important;
  min-height: 54px !important;
}

.navmenu > ul > li {
  position: relative;
  padding: 0;
  z-index: 1001;
}

.navmenu > ul > li.dropdown:hover {
  z-index: 10001;
}

.navmenu > ul > li > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 6px !important;
  padding: 12px 20px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border-radius: 8px !important;
  position: relative !important;
  letter-spacing: 0.2px !important;
  background: transparent !important;
  border: none !important;
  line-height: 1.2 !important;
  min-height: 58px !important;
  width: auto !important;
}

.navmenu > ul > li > a i:first-child {
  font-size: 22px !important;
  transition: transform 0.3s ease !important;
  margin-right: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.navmenu > ul > li > a i.toggle-dropdown {
  font-size: 13px !important;
  margin-left: 2px !important;
  transition: transform 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  opacity: 1 !important;
  color: inherit !important;
}

.navmenu > ul > li > a::before {
  display: none !important;
}

.navmenu > ul > li > a:hover,
.navmenu > ul > li > a.active {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  border-color: transparent !important;
  border-radius: 8px !important;
  padding: 12px 20px !important;
  backdrop-filter: blur(10px) !important;
}

.navmenu > ul > li > a:hover i:first-child,
.navmenu > ul > li > a.active i:first-child {
  transform: scale(1.15) !important;
}

/* Desktop Override for White Text */
@media (min-width: 1200px) {
  .navmenu > ul > li > a {
    color: #ffffff !important;
  }
  
  .navmenu a,
  .navmenu a:focus {
    color: #ffffff !important;
  }
  
  .navmenu > ul > li > a:hover,
  .navmenu > ul > li > a.active {
    color: #ffffff !important;
  }
}

.navmenu > ul > li > a:hover i:first-child,
.navmenu > ul > li > a.active i:first-child {
  transform: scale(1.15);
}

.navmenu .dropdown:hover > a i.toggle-dropdown {
  transform: rotate(180deg);
}

.navmenu .dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 210px;
  width: auto;
  padding: 6px 0;
  box-shadow: 0 14px 28px rgba(23, 30, 48, 0.18);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: all 0.35s ease;
  list-style: none;
  margin: 10px 0 0 0;
  z-index: 10000;
  border: 1px solid rgba(91, 102, 128, 0.12);
  border-top: 4px solid #4b59d1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: visible;
}

.navmenu .dropdown ul::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 26px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid #ffffff;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.04));
}

.navmenu .dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navmenu .dropdown ul li {
  padding: 0;
  background: #ffffff;
  width: 100%;
}

.navmenu .dropdown ul li a {
  display: block;
  width: calc(100% - 16px);
  margin: 0 auto;
  padding: 6px 16px 6px 34px;
  color: #1d2a3a !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  background: #ffffff;
  line-height: 1.2;
  border-radius: 8px;
}

.navmenu .dropdown ul li a::before {
  content: "→";
  position: absolute;
  left: 18px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #5e4b9d !important;
  font-weight: bold;
  font-size: 16px;
}

.navmenu .dropdown ul li a:hover {
  background: #f5f3ff;
  color: #5e4b9d !important;
  padding-left: 40px;
  font-weight: 600;
}

.navmenu .dropdown ul li a:hover::before {
  opacity: 1;
  left: 20px;
}

.navmenu .dropdown ul li:first-child a {
  border-radius: 10px 10px 0 0;
}

.navmenu .dropdown ul li:last-child a {
  border-radius: 0 0 10px 10px;
}

/* Mobile Responsive */
@media (max-width: 1199px) {
  .header-right {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .search-box {
    width: 100%;
    order: 3;
  }
  
  .btn-appointment {
    font-size: 12px;
    padding: 12px 20px;
  }
  
  .info-box {
    min-width: auto;
    padding: 10px 14px;
  }
}

@media (max-width: 991px) {
  /* Mobile topbar - simple centered slideshow */
  .header .topbar {
    padding: 10px 15px;
  }
  
  .header .topbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 45px;
  }
  
  .header .topbar .contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }
  
  .header .topbar .social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  
  /* Initially hide all */
  .header .topbar .contact-info i,
  .header .topbar .contact-info span,
  .header .topbar .contact-info a,
  .header .topbar .social-links {
    opacity: 0;
  }
  
  /* Location (icon + text) - visible 0-4s */
  .header .topbar .contact-info .bi-geo-alt-fill,
  .header .topbar .contact-info .bi-geo-alt-fill + span {
    animation: showItem 12s ease-in-out infinite;
  }
  
  /* Email (icon + link) - visible 4-8s */  
  .header .topbar .contact-info .bi-envelope-fill,
  .header .topbar .contact-info .bi-envelope-fill + a {
    animation: showItem 12s ease-in-out 4s infinite;
  }
  
  /* Social icons - visible 8-12s */
  .header .topbar .social-links {
    animation: showItem 12s ease-in-out 8s infinite;
  }
  
  /* Simple show/hide animation */
  @keyframes showItem {
    0% { opacity: 0; }
    5% { opacity: 1; }
    30% { opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
  }
  
  /* Adjust text size for mobile */
  .header .topbar .contact-info span,
  .header .topbar .contact-info a {
    font-size: 11px;
  }
}
  
  .header .branding .container {
    flex-direction: column;
    gap: 15px;
  }
  
  .header-right {
    width: 100%;
    justify-content: center;
  }
  
  .info-box {
    flex: 1;
  }
  
  /* Horizontal navigation for mobile */
  .navmenu ul {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  
  .navmenu ul::-webkit-scrollbar {
    height: 4px;
  }
  
  .navmenu ul::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
  }
  
  .navmenu > ul > li {
    flex-shrink: 0;
  }
  
  .navmenu > ul > li > a {
    border-bottom: 3px solid transparent;
    border-left: none;
    padding: 10px 15px;
    white-space: nowrap;
  }
  
  .navmenu > ul > li > a:hover,
  .navmenu > ul > li > a.active {
    border-bottom-color: #5e4b9d;
    border-left-color: transparent;
  }
}

@media (max-width: 768px) {
  .header .logo img {
    height: 55px !important;
  }
  
  .search-box {
    width: 100%;
  }
  
  .info-box {
    font-size: 12px;
  }
  
  .btn-appointment {
    width: 100%;
    justify-content: center;
  }
}

/* Adjust body padding for fixed header */
body {
  padding-top: 195px;
}

@media (max-width: 991px) {
  body {
    padding-top: 240px;
  }
}

/*--------------------------------------------------------------
# Home: Legacy overview
--------------------------------------------------------------*/
.legacy-overview {
  position: relative;
  overflow: hidden;
  padding: 96px 0 105px;
  isolation: isolate;
  background:
    radial-gradient(circle at 9% 8%, rgba(91, 206, 180, .22), transparent 27%),
    radial-gradient(circle at 91% 93%, rgba(167, 216, 74, .25), transparent 30%),
    linear-gradient(128deg, #073d73 0%, #076c9e 51%, #13856d 100%);
}

.legacy-overview::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .32;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent);
}

.legacy-overview__orb {
  position: absolute;
  z-index: -1;
  width: 370px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}

.legacy-overview__orb--one { top: -235px; right: 7%; box-shadow: 0 0 0 58px rgba(255,255,255,.035), 0 0 0 116px rgba(255,255,255,.025); }
.legacy-overview__orb--two { bottom: -300px; left: 4%; box-shadow: 0 0 0 68px rgba(255,255,255,.025); }

.legacy-overview__heading {
  max-width: 780px;
  margin: 0 auto 48px;
  color: #fff;
  text-align: center;
}

.legacy-overview__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 99px;
  background: rgba(255,255,255,.12);
  color: #e8fff3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.legacy-overview__eyebrow i { color: #c4eb59; }
.legacy-overview__heading h2 { margin: 0; color: #fff; font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
.legacy-overview__heading h2 span { color: #d5f274; }
.legacy-overview__heading p { max-width: 650px; margin: 18px auto 0; color: rgba(255,255,255,.86); font-size: 1.03rem; line-height: 1.75; }

.legacy-card {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 286px;
  padding: 29px 27px 25px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.20), rgba(255,255,255,.07));
  box-shadow: 0 18px 38px rgba(0,33,64,.19), inset 0 1px rgba(255,255,255,.34);
  color: #fff;
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
  backdrop-filter: blur(12px);
}

.legacy-card::after { position: absolute; top: -72px; right: -58px; width: 175px; height: 175px; border-radius: 50%; background: rgba(255,255,255,.16); content: ""; transition: transform .35s ease; }
.legacy-card:hover { color: #fff; transform: translateY(-9px); background: linear-gradient(145deg, rgba(255,255,255,.31), rgba(255,255,255,.12)); box-shadow: 0 27px 50px rgba(0,31,59,.30), inset 0 1px rgba(255,255,255,.5); }
.legacy-card:hover::after { transform: scale(1.22); }

.legacy-card__icon { position: relative; z-index: 1; display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 25px; border-radius: 16px; background: linear-gradient(135deg, #1ca9df, #1260ac); box-shadow: 0 10px 20px rgba(0,47,106,.28); font-size: 23px; }
.legacy-card--green .legacy-card__icon { background: linear-gradient(135deg, #a6d92b, #22a86d); }
.legacy-card--gold .legacy-card__icon { background: linear-gradient(135deg, #f8c444, #db8518); }
.legacy-card--teal .legacy-card__icon { background: linear-gradient(135deg, #28c8ba, #2182a5); }
.legacy-card__number { position: absolute; z-index: 1; top: 33px; right: 27px; color: rgba(255,255,255,.64); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legacy-card h3 { position: relative; z-index: 1; margin: 0 0 10px; color: #fff; font-size: 1.25rem; font-weight: 750; line-height: 1.25; }
.legacy-card p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.87); font-size: .91rem; line-height: 1.65; }
.legacy-card__link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 20px; color: #efffc4; font-size: .83rem; font-weight: 700; }
.legacy-card__link i { transition: transform .25s ease; }
.legacy-card:hover .legacy-card__link i { transform: translate(3px, -3px); }

/* Leaf-style frame used for the Stroke and Spinal treatment images. */
.call-to-action .image-container.leaf-corners {
  /* Large, matching opposite curves create a clean leaf silhouette. */
  border-radius: 92px 18px 92px 18px;
}

.call-to-action .image-container.leaf-corners img {
  border-radius: 84px 11px 84px 11px !important;
}

/*--------------------------------------------------------------
# Home: Muscular dystrophy introduction
--------------------------------------------------------------*/
.home-about {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background:
    radial-gradient(circle at 8% 14%, rgba(144, 201, 71, .13), transparent 22%),
    radial-gradient(circle at 95% 88%, rgba(36, 98, 191, .11), transparent 25%),
    #f8fbff;
}

.home-about::before {
  position: absolute;
  top: -170px;
  right: -160px;
  width: 490px;
  height: 490px;
  border: 1px solid rgba(47, 101, 192, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(47, 101, 192, .025), 0 0 0 110px rgba(47, 101, 192, .018);
  content: "";
}

.home-about .about-content { position: relative; z-index: 1; max-width: 605px; }
.home-about .about-badge { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; padding: 8px 13px; border-radius: 99px; background: #e9f7f0; color: #09745b; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.home-about .about-badge i { color: #90bd21; }
.home-about .about-content .section-heading { max-width: 570px; margin: 0; color: #183b79; font-size: clamp(2.15rem, 3.4vw, 3.25rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; }
.home-about .heading-line { width: 74px; height: 4px; margin: 20px 0 22px; border-radius: 99px; background: linear-gradient(90deg, #2760c6 0 64%, #99c331 64%); }
.home-about .about-content .lead-text { margin: 0 0 14px; color: #4a6389; font-size: 1.05rem; font-weight: 500; line-height: 1.75; }
.home-about .about-content p:not(.lead-text) { margin: 0 0 14px; color: #5d708e; font-size: .95rem; line-height: 1.78; }

.home-about .about-content .stats-grid { gap: 12px; margin: 27px 0 26px; }
.home-about .about-content .stats-grid .stat-item { min-height: 104px; padding: 15px 10px; border: 1px solid #d8e4f5; border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: 0 8px 18px rgba(27, 61, 112, .045); }
.home-about .about-content .stats-grid .stat-item:hover { border-color: #7fa9e6; box-shadow: 0 14px 25px rgba(27, 61, 112, .11); transform: translateY(-5px); }
.home-about .about-content .stats-grid .stat-item .stat-icon { width: 39px; height: 39px; margin-bottom: 8px; border: 0; border-radius: 12px; background: #edf5ff; }
.home-about .about-content .stats-grid .stat-item .stat-icon i { font-size: 1.25rem; }
.home-about .about-content .stats-grid .stat-item:nth-child(5) .stat-icon { background: #fff5e6; }
.home-about .about-content .stats-grid .stat-item:nth-child(6) .stat-icon { background: #fff9dc; }
.home-about .about-content .stats-grid .stat-item .stat-label { color: #263b5a; font-size: .77rem; font-weight: 700; line-height: 1.3; }
.home-about .about-content .stats-grid .stat-item .stat-label strong { display: block; color: #1f5fc5; font-size: 1.25rem; line-height: 1; }
.home-about .about-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 99px; background: linear-gradient(135deg, #075e92, #2464c5); box-shadow: 0 12px 24px rgba(31, 92, 187, .22); color: #fff; font-size: .85rem; font-weight: 750; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.home-about .about-btn:hover { color: #fff; box-shadow: 0 16px 30px rgba(31, 92, 187, .3); transform: translateY(-3px); }

.home-about .about-visual { z-index: 1; padding: 14px; }
.home-about .about-visual .main-image { max-width: 100%; padding: 8px; border-radius: 82px 22px 82px 22px; box-shadow: 0 22px 48px rgba(19, 53, 104, .18); }
.home-about .about-visual .main-image img { aspect-ratio: 4 / 3; border-radius: 74px 15px 74px 15px; }
.home-about .about-visual .main-image::after { position: absolute; right: 23px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; background: rgba(153, 196, 49, .44); content: ""; pointer-events: none; }
.home-about .image-view-btn { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 0; border-radius: 99px; background: rgba(7, 52, 98, .83); color: #fff; font-size: .7rem; font-weight: 700; backdrop-filter: blur(8px); }

/* Keep navigation menus above every page section and prevent submenu clipping. */
.header {
  position: relative;
  z-index: 10050;
  overflow: visible;
}

.header .navmenu,
.header .navmenu .container,
.header .navmenu > .container > ul,
.header .navmenu .dropdown {
  overflow: visible;
}

.header .navmenu .dropdown ul {
  z-index: 10060;
}

/* Premium muscular dystrophy care callout */
.call-to-action .row.muscular-care-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 54px 64px;
  border: 1px solid rgba(37, 85, 169, .13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 20%, rgba(139, 201, 48, .18), transparent 23%),
    radial-gradient(circle at 92% 82%, rgba(43, 100, 202, .14), transparent 26%),
    #fff;
  box-shadow: 0 22px 55px rgba(26, 65, 132, .10);
}

.call-to-action .row.muscular-care-card::before,
.call-to-action .row.muscular-care-card::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.call-to-action .row.muscular-care-card::before { top: -155px; right: -118px; width: 370px; height: 370px; border: 1px solid rgba(43, 100, 202, .12); box-shadow: 0 0 0 42px rgba(43, 100, 202, .035), 0 0 0 84px rgba(43, 100, 202, .02); }
.call-to-action .row.muscular-care-card::after { bottom: -235px; left: -145px; width: 350px; height: 350px; border: 1px solid rgba(139, 191, 41, .13); }
.call-to-action .muscular-care-content { max-width: 930px; margin: 0 auto; padding: 0; }
.call-to-action .muscular-care-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 17px; padding: 8px 13px; border: 1px solid #d5ead0; border-radius: 99px; background: #f4fbed; color: #4a8321; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.call-to-action .muscular-care-kicker i { color: #1f73b9; font-size: .92rem; }
.call-to-action .muscular-care-content h2 { max-width: 780px; margin: 0 auto; color: #173878; font-size: clamp(2rem, 3.25vw, 3.15rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
.call-to-action .muscular-care-content h2 span { color: #2c62bd; }
.call-to-action .muscular-care-content h2::after { width: 80px; height: 4px; margin: 20px auto 0; background: linear-gradient(90deg, #225bb9 0 65%, #9ac535 65%); }
.call-to-action .muscular-care-content .muscular-care-lead { max-width: 700px; margin: 20px auto 0; color: #526988; font-size: 1.02rem; font-weight: 500; line-height: 1.75; }
.call-to-action .muscular-care-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 29px auto 20px; text-align: left; }
.call-to-action .muscular-care-benefits div { display: flex; align-items: center; gap: 10px; min-height: 67px; padding: 12px 14px; border: 1px solid #e0eaf6; border-radius: 15px; background: rgba(249, 252, 255, .82); color: #344d70; font-size: .84rem; font-weight: 650; line-height: 1.35; }
.call-to-action .muscular-care-benefits i { flex: 0 0 auto; color: #74a825; font-size: 1.2rem; }
.call-to-action .muscular-care-content .muscular-care-note { max-width: 670px; margin: 0 auto 24px; color: #5a6e8c; font-size: .9rem; line-height: 1.6; }
.call-to-action .muscular-care-actions { display: flex; gap: 13px; margin: 0; }
.call-to-action .muscular-care-actions .primary-cta,
.call-to-action .muscular-care-actions .secondary-cta { display: inline-flex; align-items: center; gap: 11px; min-width: 235px; padding: 12px 16px; border-radius: 16px; text-align: left; }
.call-to-action .muscular-care-actions .primary-cta { background: linear-gradient(135deg, #164799, #2869c9); box-shadow: 0 12px 24px rgba(30, 84, 182, .22); }
.call-to-action .muscular-care-actions .secondary-cta { border: 1px solid #cfe4b1; background: #f6fbeef2; color: #4d851a; }
.call-to-action .muscular-care-actions > a > i:first-child { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 11px; background: rgba(255,255,255,.16); font-size: .95rem; }
.call-to-action .muscular-care-actions .secondary-cta > i:first-child { background: #e7f4d4; }
.call-to-action .muscular-care-actions span { display: flex; flex-direction: column; font-size: .87rem; font-weight: 800; line-height: 1.25; }
.call-to-action .muscular-care-actions small { margin-bottom: 2px; opacity: .78; font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.call-to-action .muscular-care-actions > a > i:last-child { margin-left: auto; font-size: 1rem; }

/*--------------------------------------------------------------
# Home hero: premium refresh
--------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  background:
    radial-gradient(circle at 87% 22%, rgba(111, 188, 82, .15), transparent 22%),
    radial-gradient(circle at 13% 87%, rgba(36, 98, 190, .09), transparent 25%),
    linear-gradient(120deg, #fff 0%, #f5f8ff 100%);
}

.hero::before { position: absolute; top: -250px; left: 34%; width: 560px; height: 560px; border: 1px solid rgba(41, 99, 190, .06); border-radius: 50%; box-shadow: 0 0 0 62px rgba(41, 99, 190, .025), 0 0 0 124px rgba(41, 99, 190, .018); content: ""; }
.hero::after { display: none; }
.hero .hero-content { padding: 0; max-width: 580px; }
.hero .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 17px; padding: 8px 14px; border: 1px solid #d8ebc4; border-radius: 99px; background: #f3fbe9; color: #54891d; font-size: .69rem; font-weight: 800; letter-spacing: .1em; }
.hero .hero-eyebrow i { color: #1e68be; font-size: .92rem; }
.hero .hero-content h1 { margin: 0; color: #102f68; font-size: clamp(2.6rem, 4vw, 4.15rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.hero .hero-content h1 .highlight { color: #165ccc; }
.hero .hero-content h1 .highlight::after { bottom: 3px; height: 4px; background: linear-gradient(90deg, #2361c6 0 62%, #99c335 62%); }
.hero .hero-content .hero-description { max-width: 510px; margin: 22px 0 25px; color: #536987; font-size: 1.02rem; line-height: 1.72; }
.hero .hero-content .hero-stats { gap: 11px; margin: 0 0 20px !important; }
.hero .hero-content .hero-stats .stat-item { min-width: 0; min-height: 101px; padding: 14px 9px 12px; border: 1px solid #dce7f5; border-top-width: 3px; border-radius: 16px; background: rgba(255,255,255,.84); box-shadow: 0 9px 20px rgba(25, 57, 105, .055); }
.hero .hero-content .hero-stats .stat-item i { width: 38px; height: 38px; margin-bottom: 6px !important; border-radius: 11px; background: #eff5ff; font-size: 1.23rem !important; }
.hero .hero-content .hero-stats .stat-item:nth-child(2) i { background: #fff1f1; }
.hero .hero-content .hero-stats .stat-item:nth-child(3) i { background: #fff8e5; }
.hero .hero-content .hero-stats .stat-item p { margin: 0; color: #263f63; font-size: .76rem; font-weight: 750; line-height: 1.3; }
.hero .hero-content .hero-actions { gap: 12px; margin-bottom: 20px; }
.hero .hero-content .hero-actions .btn { padding: 13px 20px; font-size: .88rem; font-weight: 750; }
.hero .hero-content .hero-actions .btn.btn-primary { background: linear-gradient(135deg, #0e4ca7, #176ee3); box-shadow: 0 11px 21px rgba(25, 87, 190, .23); }
.hero .hero-content .hero-actions .btn.btn-outline { border-color: #2260c9; color: #1958ba; background: rgba(255,255,255,.72); }
.hero .hero-content .emergency-contact { width: fit-content; min-width: 260px; gap: 11px; padding: 9px 13px 9px 9px; border-color: #d5e2f5; border-radius: 14px; background: rgba(255,255,255,.85); box-shadow: 0 7px 17px rgba(25, 57, 105, .04); }
.hero .hero-content .emergency-contact .emergency-icon { width: 39px; height: 39px; background: #174fa9; font-size: 1rem; }
.hero .hero-content .emergency-contact .emergency-info small { margin-bottom: 1px; color: #73839a; font-size: .63rem; font-weight: 700; }
.hero .hero-content .emergency-contact .emergency-info strong { color: #163661; font-size: .91rem; }

.hero .hero-visual { display: flex; align-items: center; height: auto; min-height: 420px; }
.hero .hero-visual .main-image { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hero .hero-visual .main-image .hero-video { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; background: transparent; }
.hero .hero-visual .background-elements { opacity: .65; }

/*--------------------------------------------------------------
# Footer: premium dark treatment
--------------------------------------------------------------*/
.footer-16 {
  position: relative;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(circle at 8% 5%, rgba(77, 157, 222, .20), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(144, 194, 49, .16), transparent 26%),
    linear-gradient(135deg, #062d59 0%, #083c70 55%, #075d69 100%);
  color: #fff;
}

.footer-16::before { position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.34) 1px, transparent 1.4px); background-size: 25px 25px; mask-image: linear-gradient(120deg, #000, transparent 72%); content: ""; pointer-events: none; }
.footer-16 .container { position: relative; z-index: 1; }
.footer-16 .footer-main { padding: 78px 0 62px; }
.footer-16 .brand-section { padding-right: 55px; }
.footer-16 .brand-section .logo { width: fit-content; margin-bottom: 19px !important; padding: 7px 11px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.footer-16 .brand-section .footer-logo { display: block; width: auto; height: 52px; max-width: 210px; object-fit: contain; }
.footer-16 .brand-description { max-width: 450px; color: rgba(238,248,255,.76); font-size: .91rem; line-height: 1.8; }
.footer-16 .contact-info { gap: 12px; margin-top: 29px !important; }
.footer-16 .contact-item { align-items: center; gap: 12px; color: rgba(238,248,255,.85); font-size: .8rem; line-height: 1.65; }
.footer-16 .contact-item i { width: 40px; height: 40px; flex-basis: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.10); color: #b9ed67; font-size: 16px; }
.footer-16 .footer-nav-wrapper { padding-left: 5px; }
.footer-16 .nav-column { padding: 2px 10px 0; }
.footer-16 .nav-column h6 { margin-bottom: 18px; color: #fff; font-size: .73rem; letter-spacing: .11em; }
.footer-16 .nav-column h6::after { width: 35px; height: 3px; margin-top: 10px; background: linear-gradient(90deg, #41b0eb, #a5d443); }
.footer-16 .footer-nav { gap: 9px; }
.footer-16 .footer-nav a { position: relative; color: rgba(237,247,255,.74); font-size: .8rem; transition: color .2s ease, transform .2s ease; }
.footer-16 .footer-nav a::before { display: none; }
.footer-16 .footer-nav a:hover { color: #fff; transform: translateX(4px); }
.footer-16 .footer-bottom { margin-top: 0 !important; padding: 20px 0 !important; border-top: 1px solid rgba(255,255,255,.13); background: rgba(1, 29, 61, .42) !important; }
.footer-16 .bottom-content { padding: 0; }
.footer-16 .copyright p, .footer-16 .credits { color: rgba(236,247,255,.72) !important; font-size: .76rem; }
.footer-16 .copyright .sitename { color: #fff !important; }
.footer-16 .credits a { color: #b7ec62 !important; }

/* About page introduction */
.about-page-title {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(117, 191, 67, .16), transparent 24%),
    radial-gradient(circle at 91% 78%, rgba(33, 99, 194, .14), transparent 27%),
    linear-gradient(125deg, #f8fcf8, #f4f8ff);
}

.about-page-title::before,
.about-page-title::after { position: absolute; border: 1px solid rgba(44, 103, 195, .10); border-radius: 50%; content: ""; }
.about-page-title::before { top: -220px; right: 8%; width: 430px; height: 430px; box-shadow: 0 0 0 52px rgba(44, 103, 195, .025); }
.about-page-title::after { bottom: -230px; left: 7%; width: 360px; height: 360px; border-color: rgba(131, 184, 48, .14); }
.about-page-title .heading { position: relative; z-index: 1; padding: 70px 0 74px; }
.about-page-title .heading h1 { margin: 14px 0 15px; color: #153b78; font-size: clamp(2.4rem, 4vw, 3.55rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
.about-page-title .heading h1::after { display: block; width: 67px; height: 4px; margin: 18px auto 0; border-radius: 99px; background: linear-gradient(90deg, #2262c7 0 65%, #9bc634 65%); content: ""; }
.about-page-title .heading p { max-width: 760px; margin: 0 auto; color: #536b8b; font-size: 1rem; line-height: 1.8; }
.about-page-title__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #d5ebc2; border-radius: 99px; background: rgba(248, 255, 241, .86); color: #52871c; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.about-page-title__eyebrow i { color: #1c69c1; font-size: .9rem; }

/* About: facilities showcase */
.about .facilities-showcase { position: relative; margin-top: 78px; padding: 67px 42px; overflow: hidden; border: 1px solid #e0e9f2; border-radius: 30px; background: radial-gradient(circle at 4% 0%, rgba(151, 201, 55, .14), transparent 21%), radial-gradient(circle at 97% 92%, rgba(30, 100, 198, .11), transparent 23%), #fbfdff; box-shadow: 0 18px 45px rgba(21, 59, 113, .07); }
.about .facilities-showcase::before { position: absolute; top: -130px; right: -100px; width: 280px; height: 280px; border: 1px solid rgba(32, 99, 196, .09); border-radius: 50%; box-shadow: 0 0 0 38px rgba(32, 99, 196, .022); content: ""; }
.about .facilities-showcase > .row { position: relative; z-index: 1; }
.about .facilities-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 13px; padding: 8px 13px; border: 1px solid #d7ebc7; border-radius: 99px; background: #f5fcec; color: #61931f; font-size: .66rem; font-weight: 800; letter-spacing: .1em; }
.about .facilities-eyebrow i { color: #196dc2; font-size: .86rem; }
.about .facilities-showcase h3 { margin: 0; color: #173d7c; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.045em; }
.about .facilities-showcase h3 span { color: #2b68c8; }
.about .facilities-showcase h3::after { display: block; width: 68px; height: 4px; margin: 17px auto; border-radius: 99px; background: linear-gradient(90deg, #2562c4 0 64%, #9bc434 64%); content: ""; }
.about .facilities-showcase .section-description { max-width: 760px; margin: 0 auto 38px; color: #62758e; font-size: .97rem; line-height: 1.75; }
.about .facilities-showcase .facility-card { position: relative; height: 100%; min-height: 230px; padding: 28px 22px 23px; overflow: hidden; border: 1px solid #dfe9f4; border-radius: 20px; background: rgba(255,255,255,.90); text-align: center; box-shadow: 0 10px 23px rgba(29, 63, 111, .055); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.about .facilities-showcase .facility-card::before { position: absolute; top: 0; left: 50%; width: 54px; height: 3px; border-radius: 0 0 99px 99px; background: linear-gradient(90deg, #2460c5, #9bc434); content: ""; transform: translateX(-50%); }
.about .facilities-showcase .facility-card:hover { border-color: #aec9ea; box-shadow: 0 19px 32px rgba(29, 63, 111, .12); transform: translateY(-7px); }
.about .facilities-showcase .facility-card .value-icon { display: grid; width: 61px; height: 61px; place-items: center; margin: 0 auto 17px; border: 1px solid #dbe9fa; border-radius: 19px; background: #edf6ff; color: #176cc4; font-size: 1.55rem; transition: transform .25s ease, background .25s ease, color .25s ease; }
.about .facilities-showcase .facility-card:hover .value-icon { background: #1d61bd; color: #fff; transform: rotate(-4deg) scale(1.05); }
.about .facilities-showcase .row > div:nth-child(2) .value-icon { background: #fff6e9; color: #dc8b20; }
.about .facilities-showcase .row > div:nth-child(3) .value-icon { background: #fff0f3; color: #d54d6b; }
.about .facilities-showcase .row > div:nth-child(4) .value-icon { background: #edf9f2; color: #258b54; }
.about .facilities-showcase .row > div:nth-child(5) .value-icon { background: #f2f0ff; color: #6756bd; }
.about .facilities-showcase .facility-card h4 { margin: 0 0 10px; color: #213f78; font-size: 1.12rem; font-weight: 750; }
.about .facilities-showcase .facility-card p { margin: 0; color: #6a7c94; font-size: .84rem; line-height: 1.65; }

/* Muscular dystrophy page title */
.muscular-page-title { position: relative; overflow: hidden; padding: 0; background: radial-gradient(circle at 7% 82%, rgba(144, 200, 49, .16), transparent 25%), radial-gradient(circle at 92% 17%, rgba(36, 103, 199, .15), transparent 26%), linear-gradient(125deg, #f9fcff, #f3f9f3); }
.muscular-page-title::before { position: absolute; top: -205px; left: 50%; width: 420px; height: 420px; border: 1px solid rgba(36, 103, 199, .10); border-radius: 50%; box-shadow: 0 0 0 50px rgba(36, 103, 199, .022), 0 0 0 100px rgba(36, 103, 199, .012); content: ""; transform: translateX(-50%); }
.muscular-page-title::after { position: absolute; right: -80px; bottom: -100px; width: 260px; height: 260px; border: 1px solid rgba(144, 190, 46, .16); border-radius: 50%; content: ""; }
.muscular-page-title .heading { position: relative; z-index: 1; padding: 72px 0 76px; }
.muscular-page-title__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 17px; padding: 8px 14px; border: 1px solid #d6ecc3; border-radius: 99px; background: #f5fced; color: #5f901e; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.muscular-page-title__eyebrow i { color: #1b6bc1; font-size: .88rem; }
.muscular-page-title .heading-title { max-width: 800px; margin: 0 auto; color: #173e7c; font-size: clamp(2.3rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.1; }
.muscular-page-title .heading-title::after { display: block; width: 76px; height: 4px; margin: 21px auto 18px; border-radius: 99px; background: linear-gradient(90deg, #2363c6 0 65%, #9bc534 65%); content: ""; }
.muscular-page-title .heading p { max-width: 690px; margin: 0 auto; color: #5d728e; font-size: 1rem; line-height: 1.75; }

/* Compact, focused muscular dystrophy care summary */
.home-about .home-care-summary .section-heading { max-width: 540px; }
.home-about .home-care-summary .section-heading span { color: #2465c8; }
.home-about .home-care-summary .lead-text { max-width: 540px; }
.home-about .home-care-summary .stats-grid { grid-template-columns: repeat(3, 1fr); max-width: 560px; }
.home-about .home-care-summary .stats-grid .stat-item { min-height: 116px; padding: 18px 11px 14px; }
.home-about .home-care-summary .stats-grid .stat-item:nth-child(2) .stat-icon { background: #eef9f1; }
.home-about .home-care-summary .stats-grid .stat-item:nth-child(2) .stat-icon i { color: #279052; }
.home-about .home-care-summary .stats-grid .stat-item:nth-child(3) .stat-icon { background: #fff2f3; }
.home-about .home-care-summary .stats-grid .stat-item:nth-child(3) .stat-icon i { color: #d34c6b; }

/* Featured treatment cards: floating icon treatment */
.featured-departments .department-highlight {
  position: relative;
  overflow: visible;
  margin-top: 45px;
  padding: 66px 28px 28px;
  border: 1px solid #dce6f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(28, 61, 110, .09);
}

.featured-departments .department-highlight::before {
  position: absolute;
  top: -14px;
  left: 50%;
  z-index: 0;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(38, 90, 188, .14);
  border-radius: 50%;
  background: #f6f9ff;
  box-shadow: 0 6px 16px rgba(24, 62, 123, .08);
  content: "";
  transform: translateX(-50%);
}

.featured-departments .department-highlight .highlight-icon {
  position: absolute;
  top: -30px;
  left: 50%;
  z-index: 1;
  width: 62px;
  height: 62px;
  margin: 0;
  border: 4px solid #fff;
  background: linear-gradient(135deg, #ef6d91, #d9406a);
  box-shadow: 0 8px 18px rgba(211, 64, 102, .27);
  transform: translateX(-50%);
}

.featured-departments .treatment-card--cerebral .highlight-icon { background: linear-gradient(135deg, #5379dc, #2654ba); box-shadow: 0 8px 18px rgba(38, 84, 186, .25); }
.featured-departments .treatment-card--stroke .highlight-icon { background: linear-gradient(135deg, #57bca6, #197e91); box-shadow: 0 8px 18px rgba(25, 126, 145, .25); }
.featured-departments .department-highlight .highlight-icon i { font-size: 25px; }
.featured-departments .department-highlight h4 { margin: 0 0 13px; color: #1d3977; font-size: 1.3rem; font-weight: 750; }
.featured-departments .department-highlight h4::after { display: block; width: 37px; height: 3px; margin: 12px auto 0; border-radius: 99px; background: linear-gradient(90deg, #2761c6 0 65%, #9bc631 65%); content: ""; }
.featured-departments .department-highlight p { min-height: 72px; margin-bottom: 17px; color: #687993; font-size: .88rem; line-height: 1.62; }
.featured-departments .department-highlight .highlight-list { margin-bottom: 20px; text-align: left; }
.featured-departments .department-highlight .highlight-list li { padding: 7px 0; color: #465b78; font-size: .82rem; font-weight: 650; }
.featured-departments .department-highlight .highlight-list li::before { color: #2560c6; content: "→"; }
.featured-departments .department-highlight .highlight-cta { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border: 1px solid #d6e1f3; border-radius: 99px; background: #f8fbff; color: #1554b7; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.featured-departments .department-highlight .highlight-cta::after { content: "→"; font-size: 1rem; transition: transform .2s ease; }
.featured-departments .department-highlight .highlight-cta:hover { background: #1e5fc3; color: #fff; }
.featured-departments .department-highlight .highlight-cta:hover::after { transform: translateX(3px); }

@media (max-width: 1199px) {
  .header .navmenu > .container > ul {
    display: none !important;
  }

  .mobile-nav-active .header .navmenu > .container > ul {
    display: block !important;
  }

  .mobile-nav-active .header .navmenu .dropdown ul {
    position: static;
    display: none !important;
    margin: 8px 14px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .mobile-nav-active .header .navmenu .dropdown > .dropdown-active {
    display: block !important;
  }

  .call-to-action .muscular-care-benefits { grid-template-columns: 1fr; max-width: 510px; }
  .hero .hero-content { max-width: none; }
  .footer-16 .brand-section { padding-right: 0; }
  .footer-16 .footer-nav-wrapper { padding-left: 0; margin-top: 43px; }
}

@media (max-width: 575.98px) {
  .legacy-overview { padding: 70px 0; }
  .legacy-overview__heading { margin-bottom: 33px; }
  .legacy-overview__heading p { font-size: .96rem; }
  .legacy-card { min-height: 255px; }
  .call-to-action .image-container.leaf-corners { border-radius: 64px 15px 64px 15px; }
  .call-to-action .image-container.leaf-corners img { border-radius: 57px 10px 57px 10px !important; }
  .home-about { padding: 75px 0; }
  .home-about .about-content .section-heading { font-size: 2.15rem; }
  .home-about .about-content .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .home-about .about-visual { padding: 18px 0 0; }
  .home-about .about-visual .main-image { border-radius: 59px 17px 59px 17px; }
  .home-about .about-visual .main-image img { border-radius: 52px 10px 52px 10px; }
  .home-about .about-visual .main-image::after { right: 18px; bottom: 18px; }
  .call-to-action .row.muscular-care-card { padding: 50px 20px 43px; border-radius: 23px; }
  .call-to-action .row.muscular-care-card::before,
  .call-to-action .row.muscular-care-card::after { display: none; }
  .call-to-action .muscular-care-content h2 { font-size: 2rem; }
  .call-to-action .muscular-care-actions { align-items: stretch; flex-direction: column; }
  .call-to-action .muscular-care-actions .primary-cta,
  .call-to-action .muscular-care-actions .secondary-cta { width: 100%; min-width: 0; }
  .hero { padding: 62px 0 58px; }
  .hero::before { display: none; }
  .hero .hero-content { text-align: center; }
  .hero .hero-content h1 { font-size: 2.6rem; }
  .hero .hero-content .hero-description { margin-right: auto; margin-left: auto; }
  .hero .hero-content .hero-stats .stat-item { flex: 1 1 30%; min-width: 0; }
  .hero .hero-content .hero-actions { flex-direction: column; }
  .hero .hero-content .hero-actions .btn { width: 100%; justify-content: center; }
  .hero .hero-content .emergency-contact { margin-right: auto; margin-left: auto; text-align: left; }
  .hero .hero-visual { min-height: 0; margin-top: 35px; }
  .hero .hero-visual .main-image { border-radius: 0; }
  .hero .hero-visual .main-image .hero-video { border-radius: 0; }
  .footer-16 .footer-main { padding: 57px 0 45px; }
  .footer-16 .brand-section { text-align: left; }
  .footer-16 .brand-section .logo { justify-content: flex-start; }
  .footer-16 .footer-nav-wrapper > .row { row-gap: 32px; }
  .footer-16 .nav-column { padding: 0 4px; }
  .about-page-title .heading { padding: 56px 0 60px; }
  .about-page-title .heading h1 { font-size: 2.45rem; }
  .about-page-title .heading p { font-size: .93rem; }
  .about .facilities-showcase { margin-top: 55px; padding: 48px 20px; border-radius: 22px; }
  .about .facilities-showcase .section-description { margin-bottom: 30px; font-size: .91rem; }
  .muscular-page-title .heading { padding: 56px 0 60px; }
  .muscular-page-title .heading-title { font-size: 2.35rem; }
  .muscular-page-title .heading p { padding: 0 6px; font-size: .93rem; }
  .home-about .home-care-summary .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .home-about .home-care-summary .stats-grid .stat-item { min-height: 105px; }
  .featured-departments .department-highlight { margin-top: 37px; }
}

/* Final responsive header and navigation rules */
@media (max-width: 1199px) {
  .header .topbar { padding: 7px 0 !important; }
  .header .topbar .container { flex-direction: row; min-height: 0; }
  .header .topbar .contact-info { display: flex; width: auto; }
  .header .topbar .contact-info i,
  .header .topbar .contact-info span,
  .header .topbar .contact-info a,
  .header .topbar .social-links { opacity: 1; animation: none; }
  .header .branding { padding: 12px 0; }
  .header .branding .container { flex-direction: row; gap: 0; }
  .header .logo img { height: 58px !important; }
  .header-right { gap: 10px; }
  .info-box { min-width: 0; padding: 9px 11px; }
  .info-box i { font-size: 21px; }
  .info-box strong { font-size: 11px; }
  .info-box span { font-size: 11px; }
  .btn-appointment { padding: 11px 16px; font-size: 12px; }
  .navmenu { min-height: 56px; }
  .navmenu .container { display: flex; align-items: center; justify-content: flex-end; min-height: 56px; }
  .mobile-nav-toggle { display: block !important; margin: 0 2px 0 auto; color: #fff !important; font-size: 29px; }
  .navmenu > .container > ul {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    display: none !important;
    width: min(350px, 88vw) !important;
    min-height: 100vh !important;
    padding: 78px 18px 28px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    overflow-y: auto !important;
    background: linear-gradient(160deg, #263d8f, #304da6) !important;
    box-shadow: -16px 0 38px rgba(10, 27, 75, .28) !important;
    z-index: 10002 !important;
  }
  .mobile-nav-active .navmenu { position: fixed; inset: 0; background: rgba(10, 24, 62, .42); z-index: 10001; }
  .mobile-nav-active .navmenu > .container > ul { display: flex !important; }
  .mobile-nav-active .mobile-nav-toggle { position: fixed; top: 21px; right: 22px; z-index: 10003; color: #fff !important; }
  .navmenu > ul > li { width: 100%; }
  .navmenu > ul > li > a { justify-content: flex-start !important; min-height: 48px !important; padding: 12px 14px !important; border-radius: 10px !important; font-size: 14px !important; }
  .navmenu > ul > li > a:hover,
  .navmenu > ul > li > a.active { background: rgba(255,255,255,.14) !important; }
  .navmenu > ul > li > a i:first-child { width: 22px; margin-right: 7px !important; font-size: 18px !important; }
  .navmenu > ul > li > a i.toggle-dropdown { margin-left: auto !important; }
  .navmenu .dropdown > ul {
    position: static !important;
    display: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 4px 0 7px 12px !important;
    padding: 5px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.1) !important;
    box-shadow: none !important;
  }
  .navmenu .dropdown > ul::before { display: none; }
  .navmenu .dropdown > ul.dropdown-active { display: flex !important; flex-direction: column !important; }
  .navmenu .dropdown ul li { background: transparent; }
  .navmenu .dropdown ul li a { width: 100%; margin: 0; padding: 10px 12px 10px 16px; color: rgba(255,255,255,.9) !important; background: transparent; font-size: 13px; }
  .navmenu .dropdown ul li a:hover { padding-left: 20px; color: #d7f388 !important; background: rgba(255,255,255,.08); }
  .navmenu .dropdown ul li a::before { display: none; }
}

@media (max-width: 767px) {
  body { padding-top: 0; }
  .header .topbar .container { justify-content: center !important; }
  .header .topbar .contact-info .bi-envelope-fill,
  .header .topbar .contact-info .bi-envelope-fill + a,
  .header .topbar .social-links { display: none !important; }
  .header .topbar .contact-info span { max-width: 285px; overflow: hidden; font-size: 11px !important; text-overflow: ellipsis; white-space: nowrap; }
  .header .branding { padding: 9px 0; }
  .header .logo img { height: 47px !important; }
  .header-right { display: none !important; }
  .navmenu, .navmenu .container { min-height: 52px; }
  .mobile-nav-toggle { font-size: 27px; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .header-right .info-box { display: none; }
  .header-right { width: auto; }
  .btn-appointment { padding: 11px 15px; }
}

/* Prevent page-wide horizontal scrolling and keep the fixed header aligned. */
html, body { max-width: 100%; overflow-x: clip; }
.header { position: fixed !important; top: 0; right: 0; left: 0; width: 100%; }

@media (min-width: 1200px) {
  .header .branding .container { flex-direction: row !important; gap: 24px !important; }
  .header .branding { padding: 14px 0 12px; }
  .header-right { width: auto; flex-wrap: nowrap; }
  body { padding-top: 195px; }
}

body.scrolled { padding-top: 58px; }
body.scrolled .main { padding-top: 0; }

/* Polished mobile navigation drawer */
@media (max-width: 1199px) {
  body.mobile-nav-active .header .navmenu > .container > ul {
    padding-top: 88px !important;
    background:
      radial-gradient(circle at 105% 0%, rgba(156, 205, 45, .23), transparent 25%),
      linear-gradient(160deg, #10255f 0%, #294aa4 55%, #203a8a 100%) !important;
  }
  body.mobile-nav-active .header .navmenu > .container > ul::before {
    display: block;
    padding: 0 13px 15px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.72);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.7;
    white-space: pre-line;
    content: "MYOPATHY KAPPAGAM\A MENU";
  }
  body.mobile-nav-active .header .navmenu > .container > ul > li > a,
  body.mobile-nav-active .header .navmenu > .container > ul > li > a span,
  body.mobile-nav-active .header .navmenu > .container > ul > li > a i {
    color: #fff !important;
  }
  body.mobile-nav-active .header .navmenu > .container > ul > li > a {
    gap: 12px !important;
    margin: 1px 0;
    padding: 12px 13px !important;
    border: 1px solid transparent;
    border-radius: 13px !important;
    font-size: .92rem !important;
  }
  body.mobile-nav-active .header .navmenu > .container > ul > li > a i:first-child {
    display: grid !important;
    width: 35px;
    height: 35px;
    margin: 0 !important;
    place-items: center;
    border-radius: 11px;
    color: #d8f274 !important;
    background: rgba(255,255,255,.12);
    font-size: 1rem !important;
  }
  body.mobile-nav-active .header .navmenu > .container > ul > li > a i.toggle-dropdown {
    width: 27px;
    height: 27px;
    margin-left: auto !important;
    border-radius: 50%;
    color: #fff !important;
    background: rgba(255,255,255,.12);
  }
  body.mobile-nav-active .header .navmenu > .container > ul > li > a:hover,
  body.mobile-nav-active .header .navmenu > .container > ul > li > a.active {
    border-color: rgba(255,255,255,.17);
    background: rgba(255,255,255,.13) !important;
    box-shadow: none !important;
  }
  body.mobile-nav-active .header .navmenu .dropdown > ul {
    margin: 4px 0 8px 14px !important;
    padding: 6px 7px !important;
    background: rgba(6, 22, 69, .25) !important;
  }
  body.mobile-nav-active .header .navmenu .dropdown ul li a {
    padding: 10px 12px !important;
    color: rgba(255,255,255,.86) !important;
    font-size: .8rem;
  }
  body.mobile-nav-active .mobile-nav-toggle {
    display: grid !important;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    font-size: 24px;
  }
}

/* Site-wide image preloader for pages using the shared stylesheet. */
#preloader {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(54, 118, 200, 0.13), transparent 25rem),
    #ffffff;
}

#preloader::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: #ffffff url("../../loading.png") center 20% / cover no-repeat;
  box-shadow: 0 5px 16px rgba(14, 58, 120, 0.24);
  animation: none;
}

#preloader::after {
  content: "";
  position: absolute;
  width: 184px;
  height: 184px;
  border: 4px solid transparent;
  border-top-color: #1967c9;
  border-right-color: #82b3ef;
  border-radius: 50%;
  animation: site-loader-spin 1.25s linear infinite;
}

@keyframes site-loader-spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 1200px) {
  body.translated-nav .navmenu > .container > ul {
    justify-content: space-between !important;
    gap: 8px !important;
  }

  body.translated-nav .navmenu > .container > ul > li > a {
    gap: 3px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 13px !important;
    white-space: normal !important;
  }

  body.translated-nav .navmenu > .container > ul > li > a i:first-child {
    margin-right: 1px !important;
    font-size: 17px !important;
  }

  body.translated-nav .navmenu > .container > ul > li > a i.toggle-dropdown {
    margin-left: 0 !important;
    font-size: 11px !important;
  }
}
