/**
* Template Name: Medicio
* Template URL: https://bootstrapmade.com/medicio-free-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# 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: "Raleway",  sans-serif;
  --nav-font: "Poppins",  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: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #555555; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #D71920; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --secondary-color: #1B3A6B; /* Secondary brand color from logo */
  --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: #444444;  /* The default color of the main navmenu links */
  --nav-hover-color: #D71920; /* 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: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #D71920; /* 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: #f2f5fa;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #1B3A6B;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #234b88;
}

/* 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);
}

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

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

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

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

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

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

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #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 {
  color: var(--default-color);
  background-color: var(--background-color);
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.header .topbar {
  background-color: var(--secondary-color);
  color: var(--contrast-color);
  height: 40px;
  padding: 0;
  transition: all 0.5s;
}

.header .branding {
  min-height: 75px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
  margin-top: 6px;
}

.header .logo img {
  max-height: 65px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 20px;
  margin: 6px 5px 0 30px;
  border-radius: 4px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@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 a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 13px;
    font-family: var(--nav-font);
    font-weight: 500;
    text-transform: uppercase;
    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;
    transition: 0.3s;
  }

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

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown.dropdown-2-col > ul {
    columns: 2;
    column-gap: 15px;
    min-width: 420px;
    padding: 15px;
  }
  
  .navmenu .dropdown.dropdown-2-col > ul li {
    break-inside: avoid;
    min-width: unset;
  }

  .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);
  }

  .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);
  }

  .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;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .header .cta-btn,
  .header .cta-btn:focus {
    order: 2;
    margin: 6px 12px 0 0;
  }

  .header .navmenu {
    order: 3;
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 0;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(27, 58, 107, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9997;
  }

  .navmenu > ul {
    display: block;
    list-style: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 86vw);
    padding: 70px 0 24px;
    margin: 0;
    border-radius: 16px 0 0 16px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    z-index: 9998;
    box-shadow: -12px 0 40px rgba(27, 58, 107, 0.18);
    transform: translateX(110%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
  }

  .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;
    width: auto;
    height: auto;
    transform: none;
    visibility: visible;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    border-radius: 6px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow: hidden;
    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: var(--heading-color);
    position: fixed;
    font-size: 32px;
    top: 18px;
    right: 18px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-active .navmenu>ul {
    transform: translateX(0);
    visibility: visible;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  /* margin-bottom: 25px; */
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 15px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  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;
}

/*--------------------------------------------------------------
# WhatsApp Float Button
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  right: 15px;
  bottom: 65px;
  z-index: 99999;
  background-color: #25D366;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 26px;
  line-height: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #ffffff;
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# 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: color-mix(in srgb, var(--secondary-color), white 94%);
  border-bottom: 1px solid #e8edf4;
  position: relative;
  padding: 22px 0 26px;
}

.page-title .heading {
  padding: 0;
  border-top: 0;
}

.page-title .container,
.page-title .container.d-lg-flex {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px;
}

.page-title h1,
.page-title .heading h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 !important;
  width: 100%;
  color: var(--heading-color);
}

.page-title nav,
.page-title nav.breadcrumbs {
  order: -1;
  background-color: transparent;
  padding: 0;
  margin: 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.page-title nav ol li a {
  color: var(--accent-color);
  text-decoration: none;
}

.page-title nav ol li a:hover {
  color: var(--secondary-color);
}

.page-title nav ol li.current {
  color: color-mix(in srgb, var(--heading-color), transparent 25%);
}

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

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 55%);
}

@media (max-width: 575.98px) {
  .page-title {
    padding: 18px 0 20px;
  }

  .page-title h1,
  .page-title .heading h1 {
    font-size: 22px;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 120px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 100px;
  }
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 80vh;
  padding: 0;
  margin: 0;
  position: relative;
}

@media (max-height: 500px),
(max-width: 580px) {
  .hero .carousel {
    min-height: 100vh;
  }
}

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

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 2%;
}

.mission-vision .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-vision .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.hero .container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  text-align: left;
  max-width: 560px;
  width: 100%;
  padding: 36px 40px;
  margin: 0;
  margin-right: auto;
  border-top: 4px solid var(--accent-color);
  border-left: 4px solid var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(27, 58, 107, 0.18);
  z-index: 10;
}

@media (max-width: 1200px) {
  .hero .container {
    max-width: 520px;
    margin-left: 24px;
  }
}

@media (max-width: 768px) {
  .hero .carousel-item {
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
  }

  .hero .container {
    max-width: 100%;
    margin: 0 0 40px;
    text-align: center;
    padding: 28px 24px;
  }
}

.hero h1,
.hero h2 {
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  line-height: 1.22;
  color: var(--heading-color);
}

.hero h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero h1,
  .hero h2 {
    font-size: 24px;
  }
}

.hero .btn-get-started {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  transition: 0.3s;
  margin: 10px;
  border-radius: 5px;
  color: var(--contrast-color);
  background: var(--accent-color);
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 48px;
  height: 48px;
  top: auto;
  bottom: 32px;
  pointer-events: auto;
  z-index: 5;
}

.hero .carousel-control-prev {
  right: 68px;
  left: auto;
  justify-content: center;
}

.hero .carousel-control-next {
  right: 12px;
  justify-content: center;
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 50px;
  color: var(--contrast-color);
  transition: 0.3s;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

.hero .carousel-control-prev:hover .carousel-control-next-icon,
.hero .carousel-control-prev:hover .carousel-control-prev-icon,
.hero .carousel-control-next:hover .carousel-control-next-icon,
.hero .carousel-control-next:hover .carousel-control-prev-icon {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.hero .carousel-indicators li {
  cursor: pointer;
  background: var(--contrast-color);
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 1;
  transition: 0.3s;
}

.hero .carousel-indicators li.active {
  opacity: 1;
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.featured-services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item .icon img {
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured-services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item:hover h4 a,
.featured-services .service-item:hover .icon i,
.featured-services .service-item:hover .icon img,
.featured-services .service-item:hover p {
  color: var(--contrast-color);
}

.featured-services .service-item:hover .icon img {
  filter: brightness(0) invert(1);
}

.featured-services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  overflow: visible;
  background-color: #1B3A6B;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.call-to-action p {
  color: #ffffff;
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.3s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--contrast-color);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about.section {
  background-color: color-mix(in srgb, var(--secondary-color), white 94%);
}

@media (min-width: 992px) {
  .about .about-row {
    align-items: stretch;
  }

  .about .about-image-col {
    display: flex;
  }

  .about .about-img-wrap {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 280px;
    overflow: hidden;
    border-radius: 8px;
  }

  .about .about-img-wrap .about-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

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

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

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  border-radius: 18px;
  padding: 36px 24px 32px;
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--secondary-color), transparent 90%);
  box-shadow: 0 12px 32px rgba(27, 58, 107, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stats .stats-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.stats .stats-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(27, 58, 107, 0.16);
}

.stats .stats-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--secondary-color), white 88%);
  color: var(--secondary-color);
  transition: background 0.35s ease, color 0.35s ease;
}

.stats .stats-item:hover .stats-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: #fff;
}

.stats .stats-item i {
  color: inherit;
  font-size: 28px;
  line-height: 1;
  margin: 0;
}

.stats .stats-content span {
  color: var(--secondary-color);
  font-size: 42px;
  line-height: 1.1;
  display: inline-block;
  font-weight: 700;
  font-family: var(--heading-font);
}

.stats .stats-content p {
  padding: 8px 0 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features.section {
  background-color: color-mix(in srgb, var(--accent-color), white 95%);
}

.features .features-intro {
  margin-bottom: 36px;
}

.features .features-intro h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 16px;
  position: relative;
}

.features .features-intro h3:after {
  content: "";
  background: var(--accent-color);
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  left: 0;
  bottom: 0;
}

.features .features-intro p {
  margin-bottom: 0;
  max-width: 640px;
}

.features .features-col-left {
  padding-right: 12px;
}

.features .features-col-right {
  padding-left: 12px;
}

.features .features-split-image {
  position: relative;
  min-height: 460px;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(27, 58, 107, 0.16);
}

.features .features-split-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features .icon-box {
  margin-top: 0;
  margin-bottom: 28px;
  align-items: flex-start;
}

.features .features-col-left .icon-box:last-child,
.features .features-col-right .icon-box:last-child {
  margin-bottom: 0;
}

.features .icon-box i {
  color: var(--accent-color);
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 28px;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 4px;
  line-height: 0;
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.features .icon-box.toward-center {
  flex-direction: row-reverse;
  text-align: right;
}

.features .icon-box.toward-center i {
  margin-right: 0;
  margin-left: 20px;
}

.features .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.features .icon-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.features .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .icon-box h4 a:hover {
  color: var(--accent-color);
}

.features .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .features .features-intro {
    text-align: center;
    margin-bottom: 24px;
  }

  .features .features-intro h3:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .features .features-intro p {
    margin-left: auto;
    margin-right: auto;
  }

  .features .features-col-left,
  .features .features-col-right {
    padding-left: 12px;
    padding-right: 12px;
  }

  .features .features-split-image {
    min-height: 280px;
    margin-bottom: 8px;
  }

  .features .icon-box.toward-center {
    flex-direction: row;
    text-align: left;
  }

  .features .icon-box.toward-center i {
    margin-left: 0;
    margin-right: 20px;
  }

  .features .features-col-left .icon-box:last-child {
    margin-bottom: 28px;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-carousel-wrap {
  position: relative;
  padding: 0 4px 8px;
}

.services-swiper .swiper-slide {
  height: auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 4px 2px 8px;
}

.service-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--contrast-color);
  line-height: 1;
}

.service-card-tag--red {
  background-color: var(--accent-color);
}

.service-card-tag--blue {
  background-color: var(--secondary-color);
}

.service-card h3 {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-align: left;
  color: var(--heading-color);
}

.service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 22%);
  text-align: left;
  margin: 0;
  flex-grow: 1;
}

.service-card-media {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(27, 58, 107, 0.1);
}

.service-card-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.service-card--image-first .service-card-media {
  order: -1;
}

.service-card--image-first .service-card-tag {
  margin-top: 4px;
}

.service-card--content-first .service-card-media {
  margin-top: 6px;
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.services-swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  margin-top: 28px;
}

.services-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: color-mix(in srgb, var(--secondary-color), transparent 70%);
  opacity: 1;
  transition: 0.3s;
}

.services-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--accent-color);
  width: 28px;
  border-radius: 10px;
}

.services-carousel-nav {
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
  padding: 0 4px;
}

.services-swiper-prev,
.services-swiper-next {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-color);
  color: var(--secondary-color);
  box-shadow: 0 8px 24px rgba(27, 58, 107, 0.14);
  transition: 0.3s;
  font-size: 20px;
  line-height: 0;
}

.services-swiper-prev:hover,
.services-swiper-next:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.services-swiper-prev {
  margin-left: -12px;
}

.services-swiper-next {
  margin-right: -12px;
}

@media (max-width: 767px) {
  .services-carousel-nav {
    display: none;
  }

  .service-card h3 {
    font-size: 1.4rem;
  }

  .service-card-media img {
    height: 210px;
  }
}

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

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

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: var(--accent-color);
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder,
.appointment .php-email-form select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

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

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type=submit] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.appointment .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  overflow: hidden;
}

.departments-section {
  background: linear-gradient(180deg, var(--background-color) 0%, color-mix(in srgb, var(--secondary-color), transparent 94%) 100%);
}

.departments-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(27, 58, 107, 0.1);
  border: 1px solid color-mix(in srgb, var(--secondary-color), transparent 85%);
}

.departments-nav-col {
  background: linear-gradient(180deg, var(--secondary-color) 0%, color-mix(in srgb, var(--secondary-color), black 12%) 100%);
  padding: 32px 28px;
}

.departments-nav-label {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.departments-nav {
  gap: 8px;
}

.departments-nav .nav-link {
  border: 0;
  border-radius: 10px;
  padding: 14px 16px;
  color: color-mix(in srgb, var(--contrast-color), transparent 10%);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
  background: transparent;
}

.departments-nav .nav-link i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  opacity: 0.9;
}

.departments-nav .nav-link:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 88%);
}

.departments-nav .nav-link.active {
  color: var(--secondary-color);
  background: var(--contrast-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.departments-content-col {
  padding: 36px 40px;
}

.departments-tab-content .department-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.departments-tab-content .details h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.department-image-wrap {
  background: color-mix(in srgb, var(--secondary-color), transparent 94%);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--secondary-color), transparent 85%);
}

.department-image-wrap img {
  border-radius: 10px;
}

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

.tabs .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

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

@media (max-width: 992px) {
  .departments-nav-col {
    padding: 24px 20px;
  }

  .departments-nav {
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .departments-nav .nav-item {
    flex: 0 0 auto;
  }

  .departments-nav .nav-link {
    white-space: nowrap;
    padding: 12px 14px;
    font-size: 14px;
  }

  .departments-content-col {
    padding: 28px 24px;
  }

  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }

  .tabs .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

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

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

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors {
  position: relative;
  overflow: hidden;
  background-color: #1b3a6b;
}

.doctors-carousel-wrap {
  position: relative;
  padding: 0 56px;
}

.doctors-swiper .swiper-wrapper {
  align-items: stretch;
}

.doctors-swiper .swiper-slide {
  display: flex;
  height: auto;
}

.doctors-swiper .swiper-slide .doctor-card {
  width: 100%;
  flex: 1;
}

.doctor-card {
  position: relative;
  aspect-ratio: 3 / 3.5;
  min-height: 360px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.doctor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.doctor-card-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
}

.doctor-card-overlay::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  bottom: 12px;
  height: auto;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(calc(100% + 12px));
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.doctor-card-overlay-inner {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  bottom: 12px;
  height: auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 18px;
  color: var(--contrast-color);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s;
}

.doctor-card-icon {
  font-size: 40px;
  margin-bottom: 14px;
  color: var(--contrast-color);
  opacity: 0.9;
}

.doctor-card-overlay-inner h4 {
  font-size: clamp(1rem, 1.2vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--contrast-color);
  line-height: 1.35;
}

.doctor-card-overlay-inner span {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  font-weight: 400;
  line-height: 1.45;
  color: color-mix(in srgb, var(--contrast-color), transparent 12%);
  max-width: 240px;
}

.doctor-card:hover .doctor-card-overlay::before,
.doctor-card:focus-within .doctor-card-overlay::before {
  transform: translateY(0);
}

.doctor-card:hover .doctor-card-overlay-inner,
.doctor-card:focus-within .doctor-card-overlay-inner {
  opacity: 1;
  transform: translateY(0);
}

.doctor-card:hover img {
  transform: scale(1.05);
}

.doctors-swiper-prev,
.doctors-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 22px;
  line-height: 0;
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.35);
  transition: 0.3s;
}

.doctors-swiper-prev {
  left: 0;
}

.doctors-swiper-next {
  right: 0;
}

.doctors-swiper-prev:hover,
.doctors-swiper-next:hover {
  background: var(--secondary-color);
  box-shadow: 0 10px 24px rgba(27, 58, 107, 0.35);
}

@media (max-width: 767px) {
  .doctors-carousel-wrap {
    padding: 0 4px;
  }

  .doctors-swiper-prev,
  .doctors-swiper-next {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .doctors-swiper-prev {
    left: -6px;
  }

  .doctors-swiper-next {
    right: -6px;
  }
}

@media (hover: none) {
  .doctor-card-overlay::before {
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    height: auto;
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.68);
  }

  .doctor-card-overlay-inner {
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    height: auto;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 0;
  }

  .doctor-card-icon {
    display: none;
  }

  .doctor-card-overlay-inner h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .doctor-card-overlay-inner span {
    font-size: 13px;
  }

  .doctor-card:active .doctor-card-overlay::before,
  .doctor-card:focus-within .doctor-card-overlay::before {
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery.section {
  background-color: #ffffff;
  overflow: visible;
}

.gallery {
  overflow: visible;
}

.gallery .swiper {
  overflow: hidden;
  padding: 12px 0 8px;
  min-height: 220px;
}

.gallery .swiper:not(.swiper-initialized) .swiper-slide {
  flex-shrink: 0;
  width: 80%;
  max-width: 300px;
}

.gallery .swiper-wrapper {
  height: auto;
  align-items: stretch;
}

.gallery .swiper-slide {
  height: auto;
  display: flex;
}

.gallery .swiper-slide a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(27, 58, 107, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery .swiper-slide-active a {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(27, 58, 107, 0.18);
}

.gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery .gallery-swiper-pagination,
.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .gallery-swiper-pagination .swiper-pagination-bullet,
.gallery .swiper-pagination .swiper-pagination-bullet {
  background-color: var(--background-color);
  border: 1px solid var(--accent-color);
  width: 12px;
  height: 12px;
  opacity: 1;
}

.gallery .gallery-swiper-pagination .swiper-pagination-bullet-active,
.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 28px 0;
  }

  .gallery .swiper-slide-active a {
    border: 4px solid var(--accent-color);
    padding: 3px;
    transform: scale(1.12);
  }
}

/*--------------------------------------------------------------
# Section View More Button
--------------------------------------------------------------*/
.section-view-more-wrap {
  margin-top: 32px;
  text-align: center;
}

.section-view-more {
  display: inline-block;
  padding: 10px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--contrast-color);
  background: var(--accent-color);
  border-radius: 5px;
  transition: 0.3s;
}

.section-view-more:hover {
  background: var(--secondary-color);
  color: var(--contrast-color);
}

.doctors .section-view-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  opacity: 0.9;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

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

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

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

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  border-color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

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

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 24px 0 30px 0;
}

.contact .info-item i {
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .col-lg-8 > .row.mb-5,
.service-details .dept-panel {
  display: block;
  width: 100%;
  max-width: 100%;
  background: color-mix(in srgb, var(--secondary-color), white 96%);
  border: 1px solid #e8edf4;
  border-radius: 16px;
  padding: 28px 24px 24px;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-details .col-lg-8 > .row.mb-5 > [class*="col-"],
.service-details .dept-panel > [class*="col-"] {
  display: block;
  width: 100%;
  max-width: 100%;
  flex: none;
  padding: 0;
  float: none;
}

.service-details .col-lg-8 > .row.mb-5 > [class*="col-"] > .d-flex,
.service-details .dept-panel > .d-flex {
  display: block !important;
  width: 100%;
  margin-bottom: 16px !important;
}

.service-details .col-lg-8 > .row.mb-5 h4,
.service-details .dept-panel h4 {
  color: var(--secondary-color) !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 0 8px !important;
  position: static;
  display: block;
  width: 100%;
}

.service-details .col-lg-8 > .row.mb-5 h4::after,
.service-details .dept-panel h4::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--accent-color);
  margin-top: 10px;
  border-radius: 2px;
}

.service-details .col-lg-8 > .row.mb-5 .row,
.service-details .dept-panel .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  width: 100%;
}

.service-details .col-lg-8 > .row.mb-5 .row > [class*="col-"],
.service-details .dept-panel .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  flex: none;
}

.service-details .col-lg-8 > .row.mb-5 .list-unstyled,
.service-details .dept-panel .list-unstyled {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.service-details .col-lg-8 > .row.mb-5 .list-unstyled > li,
.service-details .dept-panel .list-unstyled > li {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 !important;
  align-items: flex-start !important;
  box-shadow: 0 4px 12px rgba(27, 58, 107, 0.04);
  min-height: 0;
  height: auto;
  position: static;
}

.service-details .col-lg-8 > .row.mb-5 .list-unstyled > li i,
.service-details .dept-panel .list-unstyled > li i {
  color: var(--secondary-color) !important;
  flex-shrink: 0;
}

.service-details .treatment-desc {
  display: block;
  text-align: left !important;
  margin: 0 0 20px !important;
  position: static;
}

.service-details .treatment-desc + .list-unstyled,
.service-details .col-md-12 > .list-unstyled,
.service-details .dept-panel > .list-unstyled {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.service-details .col-md-12 .list-unstyled > li > div > div:first-child,
.service-details .dept-panel > .list-unstyled > li > div > div:first-child {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--heading-color);
  font-size: 16px;
  line-height: 1.4;
}

.service-details .treatment-explanation {
  margin-top: 6px !important;
  line-height: 1.6 !important;
}

@media (min-width: 768px) {
  .service-details .col-lg-8 > .row.mb-5 .row,
  .service-details .dept-panel .row,
  .service-details .treatment-desc + .list-unstyled,
  .service-details .col-md-12 > .list-unstyled,
  .service-details .dept-panel > .list-unstyled {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (min-width: 1200px) {
  .service-details .dept-panel > .list-unstyled {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .service-details .col-lg-8 > .row.mb-5,
  .service-details .dept-panel {
    padding: 20px 16px 16px;
  }
}

.testimonials {
  padding-top: 10px;
}
.about {
  padding-top: 10px;
}

.gallery .section-title{
  padding-bottom: 0px !important;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/* Override Bootstrap Primary Color with Logo Blue */
.text-primary { color: var(--secondary-color) !important; }
.bg-primary { background-color: var(--secondary-color) !important; }
.btn-primary { 
  background-color: var(--secondary-color) !important; 
  border-color: var(--secondary-color) !important; 
}
.btn-outline-primary {
  color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}
.btn-outline-primary:hover {
  background-color: var(--secondary-color) !important;
  color: white !important;
}

/* Hover Animation for Mission & Vision Icons */
@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.mission-vision .brand-icon:hover {
  animation: pulseIcon 1s infinite ease-in-out;
  color: var(--accent-color) !important;
}

/*--------------------------------------------------------------
# SEO / content blocks
--------------------------------------------------------------*/
.locality-bar {
  background: color-mix(in srgb, var(--secondary-color), white 94%);
  padding: 70px 0;
}

.locality-bar h2 {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 18px;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 768px) {
  .glance-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.glance-item {
  background: #fff;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 8px 24px rgba(27, 58, 107, 0.08);
  border-top: 3px solid var(--accent-color);
}

.glance-item span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 6px;
}

.emergency-banner {
  background: linear-gradient(135deg, var(--accent-color), #9b1218);
  color: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 28px;
}

.emergency-banner h3,
.emergency-banner p,
.emergency-banner a {
  color: #fff !important;
}

.triage-list li,
.prose-list li {
  margin-bottom: 10px;
}

.faq-section .accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  counter-reset: faq;
}

.faq-section .accordion-item {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 12px !important;
  margin-bottom: 0;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(27, 58, 107, 0.05);
}

.faq-section .accordion-button {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--secondary-color);
  background: #fff;
  box-shadow: none;
  padding: 20px 22px;
  gap: 12px;
  display: flex;
  align-items: center;
  text-align: left;
}

.faq-section:not(.home-faq) .accordion-button::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-section .accordion-button::after {
  margin-left: auto;
  background-size: 16px;
}

.faq-section .accordion-button:not(.collapsed) {
  background: color-mix(in srgb, var(--secondary-color), white 92%);
  color: var(--secondary-color);
  box-shadow: none;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-section .accordion-body {
  padding: 0 22px 20px 70px;
  color: var(--default-color);
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .faq-section .accordion-body {
    padding-left: 22px;
  }
}

.home-faq .home-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.home-faq .home-faq-item {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(27, 58, 107, 0.05);
}

.home-faq .home-faq-item .accordion-item {
  border: 0;
  margin: 0;
  border-radius: 0 !important;
  background: transparent;
}

.home-faq .home-faq-item .accordion-button {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--secondary-color);
  background: #fff;
  box-shadow: none;
  padding: 20px 22px;
  gap: 12px;
  display: flex;
  align-items: center;
  text-align: left;
}

.home-faq .home-faq-item .accordion-button::after {
  margin-left: auto;
  background-size: 16px;
}

.home-faq .home-faq-item .accordion-button:not(.collapsed) {
  background: color-mix(in srgb, var(--secondary-color), white 92%);
  color: var(--secondary-color);
  box-shadow: none;
}

.home-faq .home-faq-item .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.home-faq .home-faq-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-faq .home-faq-item .accordion-body {
  padding: 0 22px 20px 70px;
  color: var(--default-color);
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .home-faq .home-faq-item .accordion-body {
    padding-left: 22px;
  }
}

.symptom-guide {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(27, 58, 107, 0.06);
  margin: 8px 0 20px;
}

.symptom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 0;
}

.symptom-table thead th {
  background: var(--secondary-color);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 18px;
  border: 0;
  white-space: nowrap;
}

.symptom-table tbody td {
  padding: 16px 18px;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  color: var(--default-color);
  line-height: 1.5;
}

.symptom-table tbody tr:last-child td {
  border-bottom: 0;
}

.symptom-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--secondary-color), white 96%);
}

.symptom-table tbody tr:hover {
  background: color-mix(in srgb, var(--secondary-color), white 92%);
}

.symptom-table td:first-child {
  font-weight: 600;
  color: var(--heading-color);
  width: 40%;
}

.symptom-table td:nth-child(2) {
  width: 24%;
}

.symptom-table td:nth-child(2) a {
  display: inline-block;
  background: color-mix(in srgb, var(--secondary-color), white 90%);
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
  margin: 2px 2px 2px 0;
  white-space: nowrap;
}

.symptom-table td:nth-child(2) a:hover {
  background: var(--secondary-color);
  color: #fff;
}

.symptom-table td:nth-child(3) {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

@media (max-width: 767.98px) {
  .symptom-guide {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
  }

  .symptom-guide.table-responsive {
    overflow: visible;
  }

  .symptom-guide .symptom-table thead {
    display: none;
  }

  .symptom-guide .symptom-table,
  .symptom-guide .symptom-table tbody,
  .symptom-guide .symptom-table tr {
    display: block;
    width: 100%;
  }

  .symptom-guide .symptom-table tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .symptom-guide .symptom-table tbody tr {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    padding: 4px 16px 6px;
    box-shadow: 0 8px 20px rgba(27, 58, 107, 0.06);
  }

  .symptom-guide .symptom-table tbody tr:nth-child(even),
  .symptom-guide .symptom-table tbody tr:hover {
    background: #fff;
  }

  .symptom-guide .symptom-table tbody td {
    display: block;
    position: relative;
    width: 100%;
    padding: 12px 0 12px 5.75rem;
    border: 0;
    border-bottom: 1px solid #eef2f7;
    line-height: 1.5;
    min-height: 2.75rem;
  }

  .symptom-guide .symptom-table tbody td:last-child {
    border-bottom: 0;
    padding-bottom: 12px;
  }

  .symptom-guide .symptom-table td:first-child,
  .symptom-guide .symptom-table td:nth-child(2),
  .symptom-guide .symptom-table td:nth-child(3) {
    width: 100%;
  }

  .symptom-guide .symptom-table td:nth-child(1)::before,
  .symptom-guide .symptom-table td:nth-child(2)::before,
  .symptom-guide .symptom-table td:nth-child(3)::before {
    position: absolute;
    left: 0;
    top: 14px;
    width: 5.5rem;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.35;
  }

  .symptom-guide .symptom-table td:nth-child(1)::before {
    content: "If you have";
  }

  .symptom-guide .symptom-table td:nth-child(2)::before {
    content: "See";
  }

  .symptom-guide .symptom-table td:nth-child(3)::before {
    content: "Urgency";
  }

  .symptom-guide .symptom-table td:nth-child(2) {
    font-size: 0;
  }

  .symptom-guide .symptom-table td:nth-child(2)::before {
    font-size: 11px;
  }

  .symptom-guide .symptom-table td:nth-child(2) a {
    font-size: 13px;
    margin: 0 8px 6px 0;
    white-space: nowrap;
    vertical-align: middle;
  }
}

.content-prose h2,
.content-prose h3 {
  color: var(--secondary-color);
}

.dept-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
