/**
* Template Name: Medilab
* Template URL: https://bootstrapmade.com/medilab-free-medical-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: "Poppins",  sans-serif;
  --nav-font: "Raleway",  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: #2c4964; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1977cc; /* 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: #2c4964;  /* The default color of the main navmenu links */
  --nav-hover-color: #1977cc; /* 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: #2c4964; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1977cc; /* 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: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --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);
}

/* 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);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.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 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: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  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 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  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%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

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

/*--------------------------------------------------------------
# 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 14px;
  }

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

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    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: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

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

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

/* ── Outer wrapper ─────────────────────────────────────────── */
.footer {
  background-color: #0d1f35;
  color: #8fa8bf;
  font-size: 14px;
  position: relative;
  border-top: none;
}

/* light-background preset override — force dark on footer */
.footer.light-background {
  --background-color: #0d1f35;
  background-color: #0d1f35 !important;
}

/* ── footer-top: the main columns band ────────────────────── */
.footer .footer-top {
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Logo / brand ──────────────────────────────────────────── */
.footer .footer-about .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer .footer-about .logo img {
  max-height: 48px;
  width: auto;
  border-radius: 6px;
}

.footer .footer-about .logo .sitename {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* ── Address / contact block ───────────────────────────────── */
.footer .footer-contact {
  margin-top: 0;
}

.footer .footer-contact p {
  margin-bottom: 4px;
  color: #7a9ab5;
  font-size: 13.5px;
  line-height: 1.75;
}

.footer .footer-contact p strong {
  color: #b8ceda;
  font-weight: 600;
}

.footer .footer-contact p span {
  color: #8fa8bf;
}

/* ── Social icons row ──────────────────────────────────────── */
.footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px !important;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  color: #7a9ab5;
  margin: 0;
  transition: all 0.28s ease;
  text-decoration: none;
}

.footer .social-links a:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(25, 119, 204, 0.40);
}

/* ── Column headings ───────────────────────────────────────── */
.footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ffffff;
  padding-bottom: 12px;
  margin-bottom: 12px;
  position: relative;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* ── Footer links columns ──────────────────────────────────── */
.footer .footer-links {
  margin-bottom: 0;
}

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

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

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

/* chevron icon before each link */
.footer .footer-links ul li::before {
  content: "\f285"; /* Correct Unicode */
  font-family: "bootstrap-icons";
  font-size: 10px;
  color: var(--accent-color);
  flex-shrink: 0;
  line-height: 1;
}

.footer .footer-links ul i {
  font-size: 11px;
  color: var(--accent-color);
  flex-shrink: 0;
  line-height: 0;
}

.footer .footer-links ul a {
  color: #7a9ab5;
  font-size: 13.5px;
  line-height: 1.55;
  display: inline-block;
  transition: color 0.25s ease, padding-left 0.25s ease;
  text-decoration: none;
}

.footer .footer-links ul a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* ── Segments column — two-col sub-grid ───────────────────── */
.footer .footer-links .row {
  margin: 0 -6px;
}

.footer .footer-links .row .col-6 {
  padding: 0 6px;
}

.footer .footer-links .col-6 ul li::before {
  content: "\f285"; /* correct unicode */
  font-family: "bootstrap-icons";
  font-size: 9px;
  color: var(--accent-color);
  flex-shrink: 0;
}

/* ── Copyright bar ─────────────────────────────────────────── */
.footer .copyright {
  background: #091629;
  padding: 18px 0;
  border-top: none;
  text-align: center;
  margin-top: 0 !important;
}

.footer .copyright p {
  margin-bottom: 0;
  color: #4e6a80;
  font-size: 13px;
  line-height: 1.6;
}

.footer .copyright .sitename {
  color: #8fa8bf;
  font-weight: 700;
}

.footer .copyright span {
  color: #4e6a80;
}

.footer .credits {
  margin-top: 4px;
  font-size: 12px;
  color: #3d5568;
  text-align: center;
}

.footer .credits a {
  color: #5e9fd6;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s;
}

.footer .credits a:hover {
  color: #ffffff;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .footer .footer-top {
    padding: 48px 0 36px;
  }

  /* give every col a top gap except the first */
  .footer .footer-top .col-lg-2,
  .footer .footer-top .col-lg-4 {
    margin-top: 32px;
  }

  .footer .footer-top .col-lg-4:first-child {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .footer .footer-top {
    padding: 36px 0 24px;
  }

  .footer .footer-about .logo .sitename {
    font-size: 20px;
  }

  .footer .footer-about .logo img {
    max-height: 38px;
  }

  .footer .social-links a {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .footer h4 {
    margin-top: 24px;
    font-size: 11px;
  }

  /* first column heading needs no extra top margin */
  .footer .footer-top > .row > div:first-child h4 {
    margin-top: 0;
  }

  .footer .copyright {
    padding: 14px 0;
  }

  .footer .copyright p {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .footer .footer-top {
    padding: 28px 0 20px;
  }

  .footer .footer-contact p {
    font-size: 13px;
  }

  .footer .footer-links ul a {
    font-size: 13px;
  }

  /* segments — stack both sub-columns vertically on tiny screens */
  .footer .footer-links .col-6 {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: 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 #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s 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;
}

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

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.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: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

/*--------------------------------------------------------------
# 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 {
  width: 100%;
  min-height: calc(100vh - 112px);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

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

.hero .welcome h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero .welcome p {
  font-size: 24px;
  margin: 0;
}

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

.hero .content .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
  border-radius: 4px;
}

.hero .content .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.hero .content .why-box p {
  margin-bottom: 30px;
}

.hero .content .why-box .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.hero .content .why-box .more-btn i {
  font-size: 14px;
}

.hero .content .why-box .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

.hero .content .icon-box {
  text-align: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.hero .content .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
}

.hero .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.hero .content .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

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

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  font-size: 15px;
}

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

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

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 32px;
  display: block;
  margin: 10px 0;
  font-weight: 700;
  color: var(--heading-color);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  transform-style: preserve-3d;
}

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

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

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# 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: transparent;
  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: 50px;
}

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

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

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

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

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

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

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

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

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

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

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

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

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

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

.doctors .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctors .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.doctors .team-member:hover {
  transform: translateY(-10px);
}

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

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

.doctors .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.doctors .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.doctors .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

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

.doctors .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.doctors .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

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

.doctors .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.doctors .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.doctors .team-member .social a:hover {
  background: var(--accent-color);
}

.doctors .team-member .social a:hover i {
  color: var(--contrast-color);
}

.doctors .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# 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(--accent-color), transparent 75%);
  border-radius: 5px;
  overflow: hidden;
}

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

.faq .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 18px;
  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 {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover {
  color: var(--contrast-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);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .info h3 {
  font-weight: 700;
  font-size: 32px;
}

.testimonials .swiper {
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--surface-color);
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

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

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  margin-right: 10px;
}

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

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

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

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  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: 15px auto 15px auto;
}

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
  border: none;
}

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

@media (max-width: 767px) {

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    margin: 15px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

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

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

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

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

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  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 36px;
  transition: 0.4s;
  border-radius: 50px;
}

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/*==============================================================
  PAGE-SPECIFIC STYLES
  Covers all custom classes used across every inner page
==============================================================*/

/* ── Shared tokens ─────────────────────────────────────────── */
:root {
  --card-radius : 14px;
  --shadow-soft : 0 4px 24px rgba(25,119,204,.09);
  --shadow-hover: 0 10px 36px rgba(25,119,204,.18);
  --trans       : .28s ease;
}

/* ── Breadcrumb strip ──────────────────────────────────────── */
.page-title {
  background: #f1f7fc;
  border-top: 3px solid var(--accent-color);
}
.page-title nav { background: rgba(25,119,204,.06); padding: 12px 0; }
.page-title nav ol {
  display:flex; flex-wrap:wrap; list-style:none;
  margin:0; padding:0; font-size:.9rem; font-weight:600; gap:4px;
}
.page-title nav ol li+li { padding-left:8px; }
.page-title nav ol li+li::before {
  content:"›"; padding-right:8px;
  color:var(--accent-color); font-weight:700;
}
.breadcrumbs ol {
  display:flex; flex-wrap:wrap; list-style:none;
  margin:0; padding:10px 0; font-size:.88rem; gap:4px;
}
.breadcrumbs ol li+li::before { content:"›"; padding:0 6px; color:var(--accent-color); }
.breadcrumbs a { color:var(--accent-color); }
.breadcrumbs .current { color:var(--heading-color); font-weight:600; }

/* ── Generic card hover (Bootstrap .card) ──────────────────── */
.card {
  border-radius: var(--card-radius) !important;
  transition: transform var(--trans), box-shadow var(--trans);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover) !important;
}
.card .card-img-top { height:200px; object-fit:cover; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HOSPITALS.PHP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-hospitals { padding:64px 0; }
.about-hospitals img { border-radius:var(--card-radius); box-shadow:var(--shadow-soft); }

.specialties { background:#f4f8fc; padding:64px 0; }
.specialties .card { box-shadow:var(--shadow-soft); }

.patient-care { padding:64px 0; }
.patient-care .card { box-shadow:var(--shadow-soft); }
.patient-care .icon { font-size:2rem; margin-bottom:10px; display:block; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HOSPITAL OPERATIONS.PHP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.operations { padding:64px 0; background:#f4f8fc; }
.operations .card { box-shadow:var(--shadow-soft); border-radius:var(--card-radius) !important; }
.operations .card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover) !important; }
.operations .icon { font-size:2.4rem; display:block; margin-bottom:10px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HOSPITAL INFRA & DESIGN.PHP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.infra { background:#f4f8fc; padding:64px 0; }
.infra .card { box-shadow:var(--shadow-soft); }
.infra .icon { font-size:2.4rem; margin-bottom:12px; display:block; }

.card-custom {
  border:none; border-radius:var(--card-radius);
  padding:28px; background:#fff;
  box-shadow:var(--shadow-soft); height:100%;
  transition:transform var(--trans), box-shadow var(--trans);
  text-align:center;
}
.card-custom:hover { transform:translateY(-6px); box-shadow:var(--shadow-hover); }

.card-icon {
  width:66px; height:66px; border-radius:50%;
  background:#e8f3fb; display:flex;
  align-items:center; justify-content:center;
  font-size:28px; color:var(--accent-color);
  margin:0 auto 18px;
}

.why-section {
  background:linear-gradient(135deg,#f0f8ff,#e6f3ff);
  padding:64px 20px; border-radius:18px;
}
.why-box {
  background:#fff; border-radius:var(--card-radius);
  padding:24px; border-left:4px solid var(--accent-color);
  box-shadow:var(--shadow-soft); height:100%;
  transition:transform var(--trans);
}
.why-box:hover { transform:translateY(-4px); }
.why-box h5 { font-weight:700; color:var(--heading-color); margin-bottom:8px; }

.approach-step {
  background:#fff; border-radius:var(--card-radius);
  padding:20px 24px; border-left:4px solid var(--accent-color);
  box-shadow:var(--shadow-soft); margin-bottom:20px;
  transition:transform var(--trans);
}
.approach-step:hover { transform:translateY(-3px); }
.approach-step h6 { font-weight:700; color:var(--heading-color); margin-bottom:8px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DESIGNING OF OTs.PHP — alternating image+text rows
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section {
  display:flex; flex-wrap:wrap;
  align-items:center; gap:48px;
  padding:72px 10%;
  background:var(--background-color);
}
.section:nth-child(even) { background:#f4f8fc; }
.section img {
  flex:1 1 38%; width:100%; max-width:100%;
  height:auto; border-radius:var(--card-radius);
  object-fit:cover; box-shadow:0 8px 28px rgba(0,0,0,.12);
  transition:transform .3s,box-shadow .3s;
}
.section img:hover { transform:scale(1.02); box-shadow:0 12px 36px rgba(0,0,0,.16); }

.section-content { flex:1 1 45%; }
.section-content i { font-size:2.4rem; color:var(--accent-color); margin-bottom:14px; display:block; }
.section-content h2 { font-size:1.7rem; font-weight:700; color:var(--heading-color); margin-bottom:14px; }
.section-content p  { font-size:1rem; line-height:1.78; color:#555; }

.highlight { background:#f4f8fc; padding:64px 0; }
.feature-box {
  background:#fff; border-radius:var(--card-radius);
  padding:28px; box-shadow:var(--shadow-soft);
  height:100%; transition:transform var(--trans), box-shadow var(--trans);
}
.feature-box:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DIGITAL TRANSFORMATION.PHP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.digital-transformation { background:#f4f8fc; padding:64px 0; }
.digital-transformation .card { border-radius:var(--card-radius) !important; background:#fff !important; }

.credentials { padding:64px 0; }
.credentials ul { list-style:none; padding:0; line-height:2; }
.credentials h2 { font-size:1.8rem; font-weight:700; color:var(--heading-color); }

.ar-healthcare { background:#f4f8fc; padding:64px 0; }
.ar-healthcare ul { list-style:none; padding:0; line-height:2; }
.ar-healthcare h2 { font-size:1.8rem; font-weight:700; color:var(--heading-color); }

.vr-healthcare { padding:64px 0; }
.vr-healthcare ul { list-style:none; padding:0; line-height:2; }
.vr-healthcare h2 { font-size:1.8rem; font-weight:700; color:var(--heading-color); }

.surgical-experience { background:#f4f8fc; padding:64px 0; }
.surgical-experience .card { border-radius:var(--card-radius) !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SUSTENANCE OF ACCREDITATION.PHP — roadmap grid
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.roadmap { max-width:1200px; margin:0 auto; padding:48px 24px; }
.roadmap-grid {
  display:grid;
  grid-template-columns:130px repeat(4,1fr);
  gap:10px; align-items:stretch;
}
.roadmap-grid .empty { background:transparent; }
.roadmap-grid .header {
  font-weight:700; text-align:center; padding:12px 8px;
  border-radius:8px; color:#fff; font-size:.88rem;
}
.header.pre     { background:#2c4964; }
.header.post    { background:var(--accent-color); }
.header.renewal { background:#198754; }
.header.entry   { background:#7c3aed; }

.stage-label {
  font-weight:700; font-size:.9rem; text-align:center;
  display:flex; align-items:center; justify-content:center;
  background:#e8f3fb; border-radius:8px; padding:14px 8px;
  color:var(--heading-color);
}
.roadmap-grid .card {
  background:#f8fbff; padding:12px; border-radius:8px;
  font-size:.85rem; text-align:center;
  border:1px solid #dde8f5 !important;
  box-shadow:none !important;
  transition:background .25s, transform .25s;
}
.roadmap-grid .card:hover { background:#dbeafe; transform:translateY(-3px); }
.note { font-size:.85rem; color:#888; text-align:center; margin-top:16px; }

/* Maturity models */
.maturity-models { max-width:1100px; margin:0 auto; padding:48px 24px; text-align:center; }
.subtitle { color:#6c757d; margin-bottom:36px; font-size:1rem; }
.maturity-container {
  display:flex; justify-content:center;
  align-items:flex-end; gap:0; margin-bottom:0;
}
.maturity-stage {
  flex:1; padding:20px 12px; border-radius:12px 12px 0 0;
  color:#fff; text-align:center; position:relative;
  transition:transform .3s;
}
.maturity-stage:hover { transform:translateY(-6px); }
.maturity-stage h4 { margin:10px 0 6px; font-size:.9rem; font-weight:700; color:#fff; }
.maturity-stage p  { font-size:.8rem; margin:0; color:rgba(255,255,255,.88); }
.maturity-stage .stage-label {
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:1.1rem;
  margin:0 auto 10px; background:rgba(255,255,255,.2);
  border:2px solid rgba(255,255,255,.7);
  border-radius:50%; width:46px; height:46px;
  color:#fff; padding:0; transition:all .3s;
}
.maturity-stage .stage-label:hover { background:rgba(255,255,255,.9); color:#333; }
.maturity-stage.a { min-height:110px; background:#94a3b8; }
.maturity-stage.b { min-height:148px; background:#60a5fa; }
.maturity-stage.c { min-height:188px; background:#3b82f6; }
.maturity-stage.d { min-height:226px; background:#2563eb; }
.maturity-stage.e { min-height:264px; background:#1d4ed8; }

.compliance-bar {
  padding:12px 20px;
  background:linear-gradient(90deg,#e2e8f0,var(--accent-color));
  color:#fff; border-radius:0 0 12px 12px;
  font-weight:600; font-size:.85rem; text-align:right;
}

/* HIMS */
.hims-section { max-width:1100px; margin:0 auto; padding:60px 24px; text-align:center; }
.hims-container {
  display:grid;
  grid-template-areas:"tl center tr" "bl center br";
  grid-template-columns:1fr 150px 1fr;
  gap:32px; align-items:center; justify-items:center;
}
.hims-center {
  grid-area:center;
  background:linear-gradient(135deg,var(--accent-color),#2c4964);
  color:#fff; font-size:2.8rem; border-radius:50%;
  width:120px; height:120px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 28px rgba(25,119,204,.3); z-index:2;
}
.line { display:none; }
.hims-card {
  border-radius:var(--card-radius); padding:22px; width:100%;
  max-width:220px; box-shadow:0 6px 20px rgba(0,0,0,.1);
  transition:transform .3s,box-shadow .3s; border:none;
}
.hims-card:hover { transform:translateY(-5px); box-shadow:0 12px 30px rgba(0,0,0,.16); }
.hims-card h3 { font-size:1.05rem; font-weight:700; margin-bottom:8px; }
.hims-card.blue   { background:linear-gradient(135deg,#3b82f6,#1d4ed8); color:#fff; grid-area:tl; }
.hims-card.teal   { background:linear-gradient(135deg,#14b8a6,#0d9488); color:#fff; grid-area:tr; }
.hims-card.green  { background:linear-gradient(135deg,#22c55e,#16a34a); color:#fff; grid-area:bl; }
.hims-card.purple { background:linear-gradient(135deg,#a855f7,#7c3aed); color:#fff; grid-area:br; }
.hims-card h3, .hims-card p { color:#fff; }
.hims-card p { font-size:.85rem; color:rgba(255,255,255,.88) !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CAPABILITY DEVELOPMENT.PHP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.healthcare-section { padding:64px 20px; background:#f9fafb; }
.section-header { text-align:center; margin-bottom:48px; }
.section-header h1 { font-size:2.1rem; font-weight:700; color:var(--heading-color); margin-bottom:10px; }
.section-header p  { font-size:1rem; color:#6c757d; max-width:640px; margin:0 auto; }

.comparison-container { display:flex; flex-wrap:wrap; gap:24px; margin-bottom:48px; }
.ecosystem, .capabilities {
  flex:1 1 45%; background:#fff; padding:28px 32px;
  border-radius:var(--card-radius); box-shadow:var(--shadow-soft);
  border-top:4px solid var(--accent-color);
}
.capabilities { border-top-color:#198754; }
.ecosystem h2, .capabilities h2 { font-size:1.15rem; font-weight:700; color:var(--heading-color); margin-bottom:12px; }
.ecosystem ul, .capabilities ul { list-style:disc; padding-left:20px; color:#444; line-height:1.9; }

.capability-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.capability-card {
  background:#fff; padding:26px; border-radius:var(--card-radius);
  box-shadow:var(--shadow-soft); border-left:4px solid var(--accent-color);
  transition:transform var(--trans),box-shadow var(--trans);
}
.capability-card:nth-child(2) { border-left-color:#0d9488; }
.capability-card:nth-child(3) { border-left-color:#f59e0b; }
.capability-card:nth-child(4) { border-left-color:#7c3aed; }
.capability-card:nth-child(5) { border-left-color:#198754; }
.capability-card:nth-child(6) { border-left-color:#dc3545; }
.capability-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-hover); }
.capability-card h3 { font-size:1.05rem; font-weight:700; color:var(--heading-color); margin-bottom:14px; }
.capability-card ul { list-style:disc; padding-left:18px; color:#555; font-size:.9rem; line-height:1.85; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SAFETY.PHP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.safety-highlights { background:#fff; padding:64px 0; }
.safety-highlights h2 { color:var(--accent-color); }
.safety-highlights ul li { font-size:1rem; color:#333; }

.highlight-img img { border-radius:var(--card-radius); transition:transform .4s; }
.highlight-img img:hover { transform:scale(1.03); }

.safety-section { background:#fff; padding:64px 0; }
.safety-box { border:1px solid #e9ecef; border-radius:18px; overflow:hidden; }

.circle-img {
  width:280px; height:280px; border-radius:50%; overflow:hidden;
  margin:0 auto; border:6px solid rgba(25,119,204,.2);
  box-shadow:0 8px 32px rgba(0,0,0,.12);
}
.circle-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.circle-img img:hover { transform:scale(1.05); }

.safety-content { padding:30px; max-width:600px; }

.projects { list-style:none; padding:0; margin-bottom:24px; }
.projects li {
  color:#1a1a1a; font-weight:500;
  padding:7px 0; border-bottom:1px solid #f0f0f0;
  font-size:.95rem;
}
.projects li:last-child { border-bottom:none; }

.safety-card {
  border:1px solid #e9ecef; border-radius:var(--card-radius);
  background:#fff; transition:transform .3s,box-shadow .3s; cursor:pointer;
}
.safety-card:hover { transform:translateY(-5px); box-shadow:0 8px 24px rgba(0,0,0,.09); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SUPPLY CHAIN.PHP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.supply-chain-section { padding:64px 0; }
.supply-chain-section .card { border-radius:var(--card-radius) !important; }
.supply-chain-section h3 { font-size:1.2rem; font-weight:700; color:var(--heading-color); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LABS / CLINICS / DENTAL / BLOOD BANKS / IMAGING / WELLNESS
   (all Bootstrap-based — just need card + section polish)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.content-section { padding:64px 0; }
.info-section    { padding:64px 0; background:#f4f8fc; }
.content-section .card, .info-section .card {
  transition:transform var(--trans),box-shadow var(--trans);
}
.content-section .card:hover, .info-section .card:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-section {
  display:flex; flex-wrap:wrap;
  align-items:center; gap:52px;
  padding:60px 80px 80px;
  background:linear-gradient(135deg,#f3fcfc,#e8f5f9);
}
.left-image { flex:1; text-align:center; min-width:280px; }
.left-image img {
  width:100%; max-width:420px; border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.1);
  transition:transform .4s,box-shadow .4s;
}
.left-image img:hover { transform:scale(1.03); box-shadow:0 14px 40px rgba(0,0,0,.14); }

.right-content { flex:1.2; padding:20px; min-width:300px; }

.feature {
  display:flex; align-items:flex-start; gap:20px;
  margin-bottom:22px; padding:22px 24px;
  border-radius:var(--card-radius); background:#fff;
  box-shadow:var(--shadow-soft);
  border-left:4px solid var(--accent-color);
  transition:transform var(--trans),box-shadow var(--trans);
}
.feature:nth-child(2) { border-left-color:#0d9488; }
.feature:nth-child(3) { border-left-color:#7c3aed; }
.feature:hover { transform:translateY(-3px); box-shadow:var(--shadow-hover); }

.feature-icon {
  font-size:1.8rem; width:56px; height:56px; border-radius:12px;
  background:linear-gradient(135deg,#c9f5f5,#a8eded);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.feature-title { font-size:1rem; font-weight:700; color:var(--heading-color); margin-bottom:5px; }
.feature-description { font-size:.88rem; color:#555; line-height:1.7; }
.highlight { font-weight:600; color:var(--accent-color); }

.info-box {
  border-radius:var(--card-radius); border-left:4px solid var(--accent-color);
  background:#fff; box-shadow:var(--shadow-soft);
  transition:transform var(--trans),box-shadow var(--trans);
}
.info-box:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }

.about-title { text-align:center; }
.about-feature { display:flex; align-items:flex-start; gap:12px; margin-bottom:16px; }
.about-img { border-radius:var(--card-radius); box-shadow:var(--shadow-soft); }
.about-section-custom { padding:64px 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TESTIMONIALS (final clean version)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.testimonials { padding:72px 0; background:#f4f8fc; }
.testimonials .swiper { overflow:hidden; padding-bottom:48px; }
.testimonials .swiper-wrapper { height:auto; }
.testimonials .swiper-slide { display:flex; justify-content:center; align-items:stretch; height:auto; }
.testimonials .testimonial-item {
  background:#fff; border-radius:20px; padding:32px 28px;
  box-shadow:var(--shadow-soft); width:100%; box-sizing:border-box;
  display:flex; flex-direction:column; gap:18px;
  border-top:4px solid var(--accent-color);
  transition:transform .35s,box-shadow .35s;
}
.testimonials .testimonial-item:hover { transform:translateY(-5px); box-shadow:var(--shadow-hover); }
.testimonials .testimonial-item .d-flex { display:flex; align-items:center; margin-bottom:0; }
.testimonials .testimonial-img {
  width:auto; max-width:150px; height:72px;
  border-radius:10px; border:1px solid #e5edf7;
  object-fit:contain; background:#f8fbff;
  padding:8px 12px; flex-shrink:0;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  transition:transform .3s;
}
.testimonials .testimonial-img:hover { transform:scale(1.04); }
.testimonials .testimonial-item p {
  font-size:.95rem; color:#4a5568; line-height:1.78;
  margin:0; font-style:italic; padding:0 4px;
}
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  display:inline-block; font-size:1.4rem;
  color:color-mix(in srgb,var(--accent-color),transparent 40%);
  line-height:0; vertical-align:-.3em;
}
.testimonials .testimonial-item .quote-icon-left  { margin-right:4px; }
.testimonials .testimonial-item .quote-icon-right { margin-left:4px; transform:scale(-1,-1); }
.testimonials .testimonial-item h3 { font-size:16px; font-weight:700; margin:0; }
.testimonials .testimonial-item h4 { font-size:13px; color:#6c757d; margin:0; }
.testimonials .testimonial-item .stars i { color:#f5a623; font-size:13px; margin-right:2px; }
.testimonials .swiper-pagination { position:absolute; bottom:0; left:0; right:0; display:flex; justify-content:center; gap:6px; }
.testimonials .swiper-pagination .swiper-pagination-bullet {
  width:8px; height:8px; border:none; border-radius:50%; opacity:1;
  background:color-mix(in srgb,var(--accent-color),transparent 70%);
  transition:background .3s,transform .3s;
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background:var(--accent-color); transform:scale(1.3);
}

/*==============================================================
  FULL RESPONSIVE SYSTEM
  xs:400  sm:575  md:767  lg:991  xl:1199
==============================================================*/

img { max-width:100%; height:auto; }

/* ── ≤1199px ────────────────────────────────────────────────── */
@media (max-width:1199px) {
  .header .logo h1 { font-size:24px; }
  .header .logo img { max-height:30px; }
  .header .branding { min-height:52px; padding:8px 0; }
  .hero { min-height:calc(100vh - 96px); padding:60px 0; }
  .hero .welcome h2 { font-size:38px; }
  .hero .welcome p { font-size:20px; }
  .hero .content .why-box h3 { font-size:26px; }
  .section-title h2 { font-size:28px; }
  .about-section { padding:48px 40px; }
  .capability-grid { grid-template-columns:repeat(2,1fr); }
}

/* ── ≤991px ─────────────────────────────────────────────────── */
@media (max-width:991px) {
  section, .section { padding:48px 0; }

  /* hero */
  .hero { min-height:auto; padding:56px 0 36px; text-align:center; }
  .hero .welcome h2 { font-size:30px; }
  .hero .welcome p  { font-size:16px; }
  .hero .content .why-box { padding:22px 16px; margin-bottom:20px; }
  .hero .content .why-box h3 { font-size:22px; margin-bottom:14px; }
  .hero .content .icon-box { padding:26px 16px; margin-bottom:16px; }

  /* about */
  .about .content h3 { font-size:1.5rem; }
  .about .content ul li { margin-top:22px; }
  .about .content ul i { font-size:36px; margin-right:14px; }
  .about-section { flex-direction:column; padding:40px 24px; gap:28px; }
  .right-content { padding:0; min-width:unset; }
  .feature { padding:18px 20px; }

  /* stats */
  .stats .stats-item { margin-top:0; padding:22px 16px 18px; margin-bottom:18px; }
  .stats i { margin-bottom:-20px; }

  /* services */
  .services .service-item { padding:44px 16px; }
  .services .service-item h3 { font-size:18px; }

  /* departments */
  .departments .nav-tabs { display:flex; flex-wrap:wrap; gap:8px; border-bottom:1px solid #dee2e6; margin-bottom:20px; }
  .departments .nav-link { border:1px solid #dee2e6 !important; border-radius:6px !important; padding:8px 14px; font-size:13px; }
  .departments .nav-link.active { background:var(--accent-color) !important; color:#fff !important; border-color:var(--accent-color) !important; }
  .departments .details h3 { font-size:20px; }

  /* doctors */
  .doctors .team-member { padding:20px; }
  .doctors .team-member .pic { width:110px; }

  /* patient-care */
  .patient-care .icon { font-size:1.8rem; }

  /* operations */
  .operations .icon { font-size:2rem; }

  /* infra */
  .infra .icon { font-size:2rem; }

  /* OT sections */
  .section { flex-direction:column; padding:44px 20px; gap:28px; }
  .section img { flex:none; width:100%; }

  /* capability */
  .comparison-container { flex-direction:column; }
  .ecosystem, .capabilities { flex:1 1 100%; }
  .capability-grid { grid-template-columns:repeat(2,1fr); gap:20px; }

  /* maturity */
  .maturity-container { flex-direction:column; align-items:stretch; }
  .maturity-stage { border-radius:10px; min-height:auto !important; padding:16px; margin-bottom:8px; }
  .compliance-bar { border-radius:10px; text-align:center; margin-top:8px; }

  /* hims */
  .hims-container { grid-template-areas:"center" "tl" "tr" "bl" "br"; grid-template-columns:1fr; }
  .hims-card { max-width:100%; }
  .hims-center { margin-bottom:16px; }

  /* roadmap overflow */
  .roadmap { overflow-x:auto; }
  .roadmap-grid { min-width:580px; }

  /* safety */
  .circle-img { width:220px; height:220px; }

  /* testimonials */
  .testimonials .info { text-align:center; margin-bottom:20px; }
  .testimonials .testimonial-item { padding:24px 20px; }

  /* contact */
  .contact .info-item + .info-item { margin-top:20px; }

  /* footer */
  .footer h4 { margin-top:20px; }
}

/* ── ≤767px ─────────────────────────────────────────────────── */
@media (max-width:767px) {
  section, .section { padding:36px 0; }
  .section-title { padding-bottom:28px; }
  .section-title h2 { font-size:22px; }
  .section-title p { font-size:13px; }

  /* header */
  .header .topbar .social-links { display:none; }
  .header .logo h1 { font-size:19px; }

  /* hero */
  .hero { padding:44px 0 28px; }
  .hero .welcome h2 { font-size:24px; line-height:1.3; }
  .hero .welcome p  { font-size:14px; }
  .hero .content .why-box h3 { font-size:19px; }
  .hero .content .why-box p  { font-size:13px; margin-bottom:16px; }
  .hero .content .icon-box i  { font-size:28px; }
  .hero .content .icon-box h4 { font-size:15px; }

  /* about */
  .about-section { padding:32px 16px; gap:20px; }
  .feature { flex-direction:column; align-items:flex-start; padding:16px; gap:10px; }
  .feature-icon { width:48px; height:48px; font-size:1.4rem; }
  .left-image { min-width:unset; width:100%; }
  .left-image img { max-width:100%; }

  /* stats */
  .stats .stats-item span { font-size:26px; }
  .stats .stats-item p { font-size:14px; }

  /* services */
  .services .service-item { padding:32px 14px; margin-bottom:14px; }
  .services .service-item h3 { font-size:16px; }
  .services .service-item p  { font-size:13px; }

  /* doctors */
  .doctors .team-member { flex-direction:column !important; align-items:center !important; text-align:center; padding:22px 16px; }
  .doctors .team-member .pic { width:110px; margin-bottom:14px; }
  .doctors .team-member .member-info { padding-left:0; }
  .doctors .team-member .social { justify-content:center; }
  .doctors .team-member span::after { left:calc(50% - 25px); }

  /* FAQ */
  .faq .faq-container .faq-item { padding:14px; }
  .faq .faq-container .faq-item h3 { font-size:14px; line-height:1.5; }

  /* testimonials */
  .testimonials .testimonial-item { margin:8px; padding:20px 14px; gap:14px; }
  .testimonials .testimonial-img { max-width:110px; height:56px; }
  .testimonials .testimonial-item p { font-size:.88rem; }

  /* roadmap grid */
  .roadmap-grid { grid-template-columns:80px repeat(4,1fr); font-size:.75rem; min-width:480px; }
  .roadmap-grid .header { padding:8px 4px; font-size:.72rem; }

  /* capability */
  .capability-grid { grid-template-columns:1fr; }
  .capability-card { padding:20px; }

  /* OT section content */
  .section-content h2 { font-size:1.4rem; }
  .section-content p  { font-size:.9rem; }

  /* safety */
  .circle-img { width:180px; height:180px; }
  .safety-content { padding:16px; }

  /* contact */
  .contact .info-item h3 { font-size:14px; }
  .contact .php-email-form button[type=submit] { width:100%; }

  /* page title */
  .page-title .heading { padding:32px 0; }
  .page-title .heading h1 { font-size:22px; text-align:center; }
  .page-title nav { padding:10px 0; }
  .page-title nav ol { font-size:12px; justify-content:center; }

  /* footer */
  .footer .copyright { text-align:center; }
  .footer .credits { text-align:center; }
  .footer .footer-about .logo span { font-size:20px; }
}

/* ── ≤575px ─────────────────────────────────────────────────── */
@media (max-width:575px) {
  .container { padding-left:14px; padding-right:14px; }

  /* header */
  .header .topbar { height:auto; padding:5px 0; }
  .header .topbar .contact-info { font-size:11px; }
  .header .branding { min-height:46px; }
  .header .cta-btn { display:none; }

  /* hero */
  .hero .welcome h2 { font-size:20px; }
  .hero .welcome p  { font-size:13px; }
  .hero .content .why-box { padding:16px 12px; }
  .hero .content .why-box h3 { font-size:17px; }
  .hero .content .why-box .more-btn { padding:6px 18px 8px; font-size:13px; }

  /* section title */
  .section-title h2 { font-size:19px; }

  /* stats */
  .stats i { width:44px; height:44px; font-size:20px; }
  .stats .stats-item span { font-size:24px; }
  .stats .stats-item { padding:18px 12px 14px; }

  /* services */
  .services .service-item { padding:26px 12px; }
  .services .service-item .icon { width:50px; height:50px; }
  .services .service-item .icon i { font-size:22px; }
  .services .service-item h3 { font-size:15px; }

  /* departments — full width */
  .departments .nav-link { width:100%; text-align:center; }

  /* doctors */
  .doctors .team-member .pic { width:90px; }
  .doctors .team-member h4 { font-size:15px; }

  /* testimonials */
  .testimonials .testimonial-item { margin:4px; padding:16px 12px; }
  .testimonials .testimonial-img { max-width:90px; height:50px; }
  .testimonials .testimonial-item p { font-size:.82rem; }

  /* contact */
  .contact .php-email-form input[type=text],
  .contact .php-email-form input[type=email],
  .contact .php-email-form textarea { font-size:13px; padding:8px 10px; }

  /* about */
  .about-section { padding:28px 12px; }
  .feature { padding:14px; gap:8px; }

  /* hims */
  .hims-center { width:90px; height:90px; font-size:2.2rem; }

  /* safety */
  .circle-img { width:150px; height:150px; border-width:4px; }

  /* page title */
  .page-title .heading h1 { font-size:19px; }

  /* footer */
  .footer h4 { font-size:14px; }
  .footer .footer-about .logo span { font-size:18px; }
  .footer .footer-links ul li { padding:7px 0; }
}

/* ── ≤400px ─────────────────────────────────────────────────── */
@media (max-width:400px) {
  .hero .welcome h2 { font-size:18px; }
  .section-title h2 { font-size:17px; }
  .services .service-item h3 { font-size:14px; }
  .doctors .team-member .pic { width:80px; }
  .stats .stats-item span { font-size:22px; }
  .testimonials .testimonial-img { max-width:70px; height:42px; }
  .footer .footer-about .logo span { font-size:16px; }
  .page-title .heading h1 { font-size:17px; }
  .hims-center { width:80px; height:80px; font-size:1.8rem; }
  .capability-card h3 { font-size:.95rem; }
  .section-content h2 { font-size:1.2rem; }
}

/*--------------------------------------------------------------
# Accreditation Services Page
--------------------------------------------------------------*/

/* ── Intro section ─────────────────────────────────────────── */
.accreditation-section {
  padding: 64px 40px;
  background: #f9fafc;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.accreditation-section .text {
  max-width: 820px;
  margin: 0 auto 52px;
}

.accreditation-section .text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.accreditation-section .text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
  margin: 12px auto 0;
}

.accreditation-section .text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ── Journey steps grid ────────────────────────────────────── */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  justify-items: center;
  margin-top: 8px;
}

.journey-steps .step {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px 28px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 6px 28px rgba(25, 119, 204, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent-color);
}

.journey-steps .step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25,119,204,0.06), rgba(25,119,204,0.13));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.journey-steps .step:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(25,119,204,0.18); }
.journey-steps .step:hover::before { opacity: 1; }

.journey-steps .step img {
  max-width: 90px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
}

.journey-steps .step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.journey-steps .step p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* ── Why Accreditation Matters ─────────────────────────────── */
.why-accreditation {
  padding: 64px 0;
  background: #f4f8fc;
}

.why-accreditation h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--heading-color);
}

.why-accreditation > .container > p {
  font-size: 1rem;
  color: #555;
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.why-accreditation .card {
  border-radius: 16px !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: none !important;
}

.why-accreditation .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(25,119,204,0.16) !important;
}

.why-accreditation .card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.why-accreditation .card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

.why-accreditation .card img {
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .accreditation-section { padding: 48px 24px; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .journey-steps .step { max-width: 100%; }
}

@media (max-width: 767px) {
  .accreditation-section { padding: 36px 16px; }
  .accreditation-section .text h2 { font-size: 1.6rem; }
  .accreditation-section .text p { font-size: 0.92rem; }
  .journey-steps { grid-template-columns: 1fr; }
  .journey-steps .step { max-width: 100%; padding: 28px 20px 22px; }
  .why-accreditation h2 { font-size: 1.5rem; }
  .why-accreditation { padding: 40px 0; }
}

@media (max-width: 575px) {
  .accreditation-section .text h2 { font-size: 1.35rem; }
  .journey-steps .step h3 { font-size: 1rem; }
  .journey-steps .step img { max-width: 70px; height: 64px; }
}

/*--------------------------------------------------------------
# CONSISTENT FOOTER HEIGHT — fixes footer size across all pages
--------------------------------------------------------------*/

/*
  The root cause of footer size varying per page:
  1. Pages with short content don't push the footer down
  2. section bottom margins differ per page
  3. No min-height on the page body wrapper

  Fix: sticky footer pattern — body fills viewport,
  main content grows to push footer to bottom,
  AND every section gets a consistent bottom padding reset.
*/

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Everything between header and footer stretches to fill space */
main,
.main-content,
#main,
body > section,
body > div:not(.header):not(.footer):not(#preloader):not(.scroll-top) {
  flex: 1 0 auto;
}

/* Footer never shrinks — always stays at bottom */
.footer {
  flex-shrink: 0;
  width: 100%;
}

/* Ensure last section before footer always has bottom padding */
section:last-of-type,
.section:last-of-type {
  padding-bottom: 60px;
}

/* Remove any rogue bottom margins that push footer inconsistently */
section {
  margin-bottom: 0 !important;
}

/* Page title breadcrumb strip — consistent on all pages */
.page-title {
  flex-shrink: 0;
}