/**
* Template Name: Impact
* Template URL: https://bootstrapmade.com/impact-bootstrap-business-website-template/
* 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: "Montserrat", 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: #222222;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #172a28;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #C01F2E;
  /* 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: #ffffff;
  /* The default color of the main navmenu links */
  --nav-hover-color: #C01F2E;
  /* 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: #C01F2E;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #C01F2E;
  /* 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: #f2f9f9;
  --surface-color: #ffffff;
}

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

.accent-background {
  --background-color: #C01F2E;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #00b6a1;
  --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 {
  --background-color: #C01F2E;
  --heading-color: #ffffff;
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: color-mix(in srgb, var(--accent-color) 90%, black 10%);
  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 .logo span {
  font-size: 32px;
  margin-left: 2px;
  color: var(--nav-hover-color);
}

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

/*--------------------------------------------------------------
# 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: 500;
    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;
    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-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) {
  .branding .container {
    position: relative;   /* NEW: anchor for absolute-positioned toggle */
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    cursor: pointer;
    transition: color 0.3s;
    position: absolute;       /* NEW: pin to right edge of header */
    top: 50%;                 /* NEW */
    right: 15px;               /* NEW: adjust distance from edge as needed */
    transform: translateY(-50%); /* NEW: vertical centering */
    margin-right: 0;          /* CHANGED: was 10px, no longer needed with absolute positioning */
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
    width: 100%;
    box-sizing: border-box;
  }

  .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;
    overflow-x: hidden;
    transition: 0.3s;
    z-index: 9998;
    box-sizing: border-box;
    max-width: 100%;
  }

  .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;
    gap: 10px;
    white-space: normal;
    word-break: break-word;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    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;
    width: auto;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    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;
    transform: none;       /* CHANGED: reset since it's repositioned when menu opens */
    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 safety net — put this outside the media query, near the top of main.css */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
/*--------------------------------------------------------------
# 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: 81px;
  margin-right: 6px;
}

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

.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 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--default-color);
  border-color: var(--default-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(--default-color);
}

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

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

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

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

.footer-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
}

.footer-map iframe {
  display: block;
}

/*--------------------------------------------------------------
# Footer — Mobile Responsive (left-aligned, stacked columns)
--------------------------------------------------------------*/

/* Tablet and below */
@media (max-width: 991px) {
  .footer .footer-top {
    padding-top: 40px;
  }

  .footer .footer-about {
    margin-bottom: 10px;
  }
}

/* Mobile: force every footer column to full width and stack vertically */
@media (max-width: 767px) {
  .footer .footer-top {
    padding-top: 32px;
  }

  .footer .footer-top .row > div {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;      /* override Bootstrap's col-6 / col-md-6 etc. */
  }

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

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

  .footer-map iframe {
    height: 150px;
  }
}

/* Small phones: tighten spacing further */
@media (max-width: 575px) {
  .footer {
    font-size: 13.5px;
  }

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

  .footer .footer-about p {
    font-size: 13.5px;
  }

  .footer .social-links a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .footer h4 {
    font-size: 15px;
  }

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

  .footer .footer-contact p {
    font-size: 13.5px;
    word-break: break-word;
  }

  .footer-map iframe {
    height: 130px;
  }

  .footer .copyright {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .footer .copyright p {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer .credits {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# 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: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

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

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: var(--accent-color);
  --default-color: #fff;
  --heading-color: #fff;
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

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

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

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 92%);
  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 a {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

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

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

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 112px;
  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;
}

/*--------------------------------------------------------------
# Font & Color Variables — same tokens as the site's main stylesheet
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

:root {
  --background-color: #ffffff;
  --default-color: #222222;
  --heading-color: #172a28;
  --accent-color: #C01F2E;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --offwhite: #f7f4ee;
}

/*--------------------------------------------------------------
# Doctor Hero — off-white background, image merges into it
--------------------------------------------------------------*/
.doc-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--heading-color);
  background: var(--offwhite);
}

/* faint accent-colored line motif in the background, not a hard block */
.doc-hero .scope-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.5;
}

.doc-hero .scope-path {
  fill: none;
  stroke: url(#accentGrad);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.45;
}

.doc-hero .scope-dot {
  fill: var(--accent-color);
  opacity: 0.8;
}

.doc-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: 110px;
}

.doc-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 65%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), white 94%);
  margin-bottom: 26px;
}

.doc-hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color);
}

.doc-hero h1 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: var(--heading-color);
}

.doc-hero h1 span {
  color: var(--accent-color);
}

.doc-hero .subtext {
  font-size: 17px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--heading-color), white 35%);
  max-width: 480px;
  margin: 0 0 38px;
}

.doc-hero .cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.doc-hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.doc-hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), black 12%);
  transform: translateY(-2px);
}

.doc-hero .btn-watch-video {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--heading-color), white 60%);
  transition: 0.3s;
}

.doc-hero .btn-watch-video:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Right side — illustration merged into the off-white background,
   no card / no border, edges fade out via mask */
.doc-hero .art-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.doc-hero .art-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), white 88%) 0%, transparent 70%);
  z-index: 0;
}

.doc-hero .art-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 660px;
  -webkit-mask-image: radial-gradient(ellipse 68% 78% at 50% 46%, black 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 78% at 50% 46%, black 62%, transparent 100%);
}

@media (max-width: 991px) {
  .doc-hero .container {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .doc-hero .art-wrap {
    margin-top: 20px;
  }

  .doc-hero .art-glow {
    width: 360px;
    height: 360px;
  }
}

.safety-banner {
  background: #AD1C29;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.safety-banner-inner {
  max-width: 1920px;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex;
  align-items: stretch;
  height: 280px;
}

.safety-banner-content {
  flex: 1 1 480px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  margin: 0 !important;
  color: #ffffff;
}

.safety-eyebrow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #ffffff;
}

.safety-heading {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
}

.safety-heading .highlight {
  background: #3a1120;
  padding: 1px 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.safety-banner-media {
  flex: 1 1 440px;
  min-width: 260px;
  height: 408px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background-image: url('../img/endo2.jpg');
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  /* 8% -> 18% jast tirpa */
  box-sizing: border-box !important;
}

@media (max-width:900px) {
  .safety-banner-inner {
    flex-direction: column;
    height: auto;
  }

  .safety-banner-content {
    text-align: center;
    padding: 24px 6%;
  }

  .safety-banner-media {
    height: 220px !important;
    clip-path: none;
  }
}

@media (max-width:480px) {
  .safety-heading {
    font-size: 1.2rem;
  }

  .safety-eyebrow {
    font-size: 0.7rem;
  }

  .safety-banner-media {
    height: 180px !important;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

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

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

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

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

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper {
  padding: 10px 0;
}

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

.clients .swiper-slide img {
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 10px;
}

.stats .stats-item i {
  font-size: 44px;
  color: var(--accent-color);
  line-height: 0;
  margin-right: 15px;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 40px;
  display: block;
  font-weight: 700;
  line-height: 40px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  background-color: transparent;
}

.call-to-action .container {
  padding-top: 80px;
  padding-bottom: 80px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  clip-path: inset(0 round 15px);
}

.call-to-action .container img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 15px;
  overflow: hidden;
}

.call-to-action .container:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.call-to-action p {
  color: var(--default-color);
  margin-bottom: 20px;
}

.call-to-action .play-btn {
  width: 94px;
  height: 94px;
  margin-bottom: 20px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 60%) 52%);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.call-to-action .play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-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 20%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.call-to-action .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 var(--default-color);
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.call-to-action .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 var(--default-color);
  z-index: 200;
  animation: none;
  border-radius: 0;
}

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

.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: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

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

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

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

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
/* ===== Services v2 — Custom Styles ===== */
.services-v2 {
  background-color: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card-v2 {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.service-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #eef1f4;
  /* fallback so missing image doesn't leave blank white gap */
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card-v2:hover .service-img-wrap img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-color, #b91c1c);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 30px;
  letter-spacing: 1px;
  z-index: 2;
}

.service-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.service-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #6c757d;
  flex-grow: 1;
  margin-bottom: 18px;
}

.service-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 20px;
  background: var(--accent-color, #b91c1c);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, gap 0.3s ease;
}

.service-btn-v2:hover {
  background: #7f1414;
  gap: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-img-wrap {
    height: 200px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px;
  margin: 30px 15px;
  position: relative;
  height: 100%;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  margin-right: 15px;
}

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

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  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 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: 15px auto 15px auto;
}

.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: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

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

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

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

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0 0 20px 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  background-color: var(--surface-color);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

.portfolio .portfolio-content .portfolio-info {
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 25px 20px;
  position: relative;
  z-index: 2;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-content .portfolio-info h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info h4 a:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-radius: 15px;
  padding: 15px;
  overflow: hidden;
}

.team .member img {
  border-radius: 15px;
  overflow: hidden;
}

.team .member .member-content {
  padding: 0 20px 30px 20px;
}

.team .member h4 {
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 2px;
  font-size: 20px;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .member .social {
  margin-top: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.team .member .social a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  transition: 0.3s;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
}

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

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing {
  padding: 60px 0 120px 0;
}

.pricing .section-title {
  margin-bottom: 40px;
}

.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  padding: 60px 40px;
  height: 100%;
  position: relative;
  border-radius: 15px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
  text-align: center;
}

.pricing .icon {
  margin: 30px auto 20px auto;
  width: 70px;
  height: 70px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.pricing .icon i {
  color: var(--background-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
  line-height: 0;
}

.pricing .icon::before {
  position: absolute;
  content: "";
  height: 86px;
  width: 86px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.pricing .icon::after {
  position: absolute;
  content: "";
  height: 102px;
  width: 102px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-2px);
}

.pricing h4 {
  font-size: 48px;
  color: var(--accent-color);
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 25px;
  text-align: center;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  font-weight: 400;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  text-align: left;
  line-height: 20px;
}

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

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  padding: 8px 40px 10px 40px;
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  transition: none;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--heading-font);
  transition: 0.3s;
}

.pricing .buy-btn:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  z-index: 10;
  border: 3px solid var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured {
    transform: scale(1.15);
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

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

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

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

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

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

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts article {
  background: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.recent-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.recent-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.recent-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.recent-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.recent-posts .title a:hover {
  color: var(--accent-color);
}

.recent-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.recent-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-container {
  background-color: var(--accent-color);
  height: 100%;
  padding: 20px;
}

.contact .info-item {
  width: 100%;
  margin-bottom: 20px;
  padding: 20px;
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--contrast-color), transparent 90%);
}

.contact .info-item:last-child {
  margin-bottom: 0;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--contrast-color), transparent 80%);
  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 {
  color: var(--contrast-color);
  font-size: 20px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

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

.contact .info-item:hover i {
  background: var(--contrast-color);
  color: var(--accent-color);
}

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

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

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

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

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

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

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

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

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

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

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

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

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

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.blog-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.blog-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

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

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}


:root {
  --maroon-900: #7a1420;
  --maroon-800: #8f1a27;
  --maroon-700: #a01f2e;
  --maroon-600: #b3283a;
  --gold: #e7b76b;
  --cream: #f6f1ea;
  --cream-soft: #faf7f2;
  --ink: #20242b;
  --ink-muted: #6b7280;
  --ink-muted-light: rgba(255, 255, 255, 0.82);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 30px rgba(122, 20, 32, 0.10);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(160, 31, 46, 0.25);
  border-radius: var(--radius-pill);
  background: rgba(160, 31, 46, 0.06);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--maroon-600);
  flex: none;
}

.eyebrow--center {
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--maroon-700);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.btn-primary:hover {
  background: var(--maroon-800);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary--light {
  background: #ffffff;
  color: var(--maroon-700);
}

.btn-primary--light:hover {
  background: var(--gold);
  color: var(--maroon-900);
}


/* ===== Page banner ===== */
/* NOTE: your site header is position:fixed/sticky, so it floats on
   top of the page instead of pushing content down. The extra top
   padding below (150px) clears the header's height (topbar + nav
   bar ~ 116px in your screenshot) so the heading isn't hidden
   behind it. If your header's height changes, adjust this number
   to match — or better, replace 150px with a CSS variable set to
   your header's actual height (e.g. var(--header-height)). */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, var(--maroon-900) 0%, var(--maroon-700) 55%, var(--maroon-600) 100%);
  padding: 253px 24px 68px;
  overflow: hidden;
}

/* subtle dot-grid texture, top-right, for a professional finish */
.page-banner::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -40px;
  width: 320px;
  height: 320px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle, black 55%, transparent 78%);
  mask-image: radial-gradient(circle, black 55%, transparent 78%);
  pointer-events: none;
}

/* faint diagonal accent line */
.page-banner::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -140px;
  width: 65%;
  height: 220px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.page-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

/* Heading */
.page-banner h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(34px, 5.5vw, 45px);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color .2s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #ffffff;
}

.breadcrumb a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.breadcrumb .current {
  color: var(--gold);
}

/* ===== Responsive ===== */
@media (max-width:640px) {
  .page-banner {
    padding: 120px 18px 46px;
  }

  .breadcrumb {
    font-size: 13px;
  }

  .page-banner::before {
    width: 220px;
    height: 220px;
    top: -20px;
    right: -60px;
  }
}


/* ===================================================
   BIO SECTION
=================================================== */
.bio {
  padding: 88px 24px;
}

.bio__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.bio__media {
  position: relative;
}

.bio__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--maroon-800), var(--maroon-600));
  box-shadow: var(--shadow-card);
}

.bio__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio__badge {
  position: absolute;
  right: -18px;
  bottom: -18px;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
  min-width: 110px;
}

.bio__badge strong {
  display: block;
  font-size: 26px;
  color: var(--maroon-700);
  line-height: 1;
}

.bio__badge span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}

.bio__content h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--ink);
}

.underline {
  display: block;
  width: 56px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--maroon-600);
  border-radius: 2px;
}

.lede {
  margin: 0 0 24px;
  font-size: 17px;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.7;
}

.checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--maroon-700);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checklist p,
.checklist span:last-child {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
}

.bio__degrees {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.degree-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--cream-soft);
  border: 1px solid rgba(32, 36, 43, 0.08);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.degree-pill--accent {
  background: var(--maroon-700);
  border-color: var(--maroon-700);
  color: #fff;
}

/* ===================================================
   TIMELINE (signature element: pulse-line spine)
=================================================== */
.timeline {
  padding: 88px 24px 100px;
  background: var(--cream-soft);
}

.timeline__head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.timeline__head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--ink);
}

.timeline__head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.6;
}

.timeline__list {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
}

/* the pulse-line spine, drawn as a repeating ECG-style zigzag */
.timeline__list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom,
      var(--maroon-600) 0,
      var(--maroon-600) 6px,
      transparent 6px,
      transparent 12px);
}

.timeline__item {
  position: relative;
  width: 50%;
  padding: 0 44px 56px;
}

.timeline__item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline__item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline__node {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--maroon-700);
  box-shadow: 0 0 0 5px var(--cream-soft);
}

.timeline__item:nth-child(odd) .timeline__node {
  right: -8px;
}

.timeline__item:nth-child(even) .timeline__node {
  left: -8px;
}

.timeline__card {
  display: inline-block;
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  max-width: 400px;
}

.timeline__year {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(160, 31, 46, 0.08);
  color: var(--maroon-700);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .5px;
}

.timeline__card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.timeline__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ===================================================
   CREDENTIALS STRIP
=================================================== */
.facts {
  padding: 72px 24px;
  background: linear-gradient(120deg, var(--maroon-900) 0%, var(--maroon-700) 100%);
}

.facts__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.fact {
  text-align: center;
  color: #fff;
}

.fact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
}

.fact__icon svg {
  width: 26px;
  height: 26px;
}

.fact h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
}

.fact p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted-light);
  line-height: 1.5;
}

/* ===================================================
   CTA STRIP
=================================================== */
.cta {
  padding: 80px 24px;
  background: var(--cream);
}

.cta__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--ink);
}

.cta p {
  margin: 0 0 26px;
  color: var(--ink-muted);
  font-size: 16px;
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width:900px) {
  .bio__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .bio__media {
    max-width: 360px;
    margin: 0 auto;
  }

  .bio__content {
    text-align: left;
  }

  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }
}

@media (max-width:768px) {

  /* Collapse timeline to a single left-aligned column */
  .timeline__list::before {
    left: 20px;
    transform: none;
  }

  .timeline__item,
  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 0 0 40px 56px;
  }

  .timeline__item:nth-child(odd) .timeline__node,
  .timeline__item:nth-child(even) .timeline__node {
    left: 12px;
    right: auto;
  }

  .timeline__card {
    max-width: 100%;
  }
}

@media (max-width:640px) {
  .page-banner {
    padding: 120px 18px 46px;
  }

  .breadcrumb {
    font-size: 13px;
  }

  .page-banner::before {
    width: 220px;
    height: 220px;
    top: -20px;
    right: -60px;
  }

  .bio,
  .timeline,
  .facts,
  .cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .bio {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .timeline {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .bio__badge {
    right: 8px;
    bottom: -14px;
    padding: 12px 16px;
    min-width: 90px;
  }

  .bio__badge strong {
    font-size: 21px;
  }

  .facts__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===================================================
   INTRO
=================================================== */
.intro {
  padding: 80px 24px 20px;
  background: var(--cream);
}

.intro__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Left content */
.intro__content {
  flex: 1 1 55%;
  text-align: left;
}

.intro__content .eyebrow {
  justify-content: flex-start;
}

.intro__content h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
}

.intro__content p {
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-size: 16.5px;
}

/* Right photo */
.intro__media {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.intro__media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 900px) {
  .intro__inner {
    gap: 32px;
  }

  .intro__media img {
    max-width: 340px;
  }
}

/* Mobile: stack, photo on top, content below */
@media (max-width: 700px) {
  .intro {
    padding: 60px 20px 16px;
  }

  .intro__inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .intro__content {
    text-align: center;
  }

  .intro__content .eyebrow {
    justify-content: center;
  }

  .intro__media img {
    max-width: 260px;
  }
}

/* ===================================================
   SERVICES GRID
=================================================== */
.services {
  padding: 64px 24px 88px;
}

.services__head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.services__head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
}

.services__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(32, 36, 43, 0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(122, 20, 32, 0.14);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(160, 31, 46, 0.08);
  color: var(--maroon-700);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.service-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ===================================================
   SYMPTOMS CHECKLIST
=================================================== */
.symptoms {
  padding: 88px 24px;
  background: var(--cream-soft);
}

.symptoms__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.symptoms__content h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
}

.symptoms__content .lede {
  margin: 0 0 24px;
  color: var(--ink-muted);
  font-size: 16px;
}

.symptom-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.symptom-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.symptom-list .check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--maroon-700);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.note {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(231, 183, 107, 0.12);
  font-size: 14px;
  color: var(--ink);
  border-radius: 0 10px 10px 0;
}

.symptoms__panel-card {
  background: linear-gradient(150deg, var(--maroon-800), var(--maroon-600));
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  color: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.symptoms__panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold);
}

.symptoms__panel-icon svg {
  width: 26px;
  height: 26px;
}

.symptoms__panel-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
}

.symptoms__panel-card p {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--ink-muted-light);
}

.symptoms__panel-card .btn-primary {
  background: #ffffff;
  color: var(--maroon-700);
}

.symptoms__panel-card .btn-primary:hover {
  background: var(--gold);
  color: var(--maroon-900);
}

/* ===================================================
   WHAT IS ENDOSCOPY (split layout)
=================================================== */
.what-is-endoscopy {
  padding: 88px 24px;
  background: var(--cream-soft);
}

.what-is-endoscopy__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.what-is-endoscopy__content h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
}

.what-is-endoscopy__content p {
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: 16px;
}

.what-is-endoscopy__panel-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(32, 36, 43, 0.05);
}

.what-is-endoscopy__panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--maroon-700);
  margin-bottom: 18px;
}

.what-is-endoscopy__panel-icon svg {
  width: 26px;
  height: 26px;
}

.what-is-endoscopy__panel-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}

.what-is-endoscopy__panel-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ===================================================
   WHEN IS ENDOSCOPY RECOMMENDED (split layout)
=================================================== */
.when-recommended {
  padding: 88px 24px;
  background: var(--cream);
}

.when-recommended__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.when-recommended__content h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
}

.when-recommended__content .lede {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 16px;
}

.when-recommended__content .note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

.when-recommended__list .symptom-list {
  margin: 0;
}

/* ===================================================
   ENDOSCOPY HIGHLIGHT
=================================================== */
.endoscopy {
  padding: 80px 24px;
  background: linear-gradient(120deg, var(--maroon-900) 0%, var(--maroon-700) 100%);
  color: #fff;
}

.endoscopy__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.endoscopy__inner h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
}

.endoscopy__inner p {
  margin: 0 0 14px;
  color: var(--ink-muted-light);
  font-size: 16px;
}

/* ===================================================
   PREPARATION, PROCEDURE & RECOVERY (split layout)
=================================================== */
.preparation {
  padding: 88px 24px;
  background: var(--cream-soft);
}

.preparation__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.preparation__inner--reverse {
  grid-template-columns: 1fr 1.2fr;
}

.preparation__content h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
}

.preparation__content p {
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: 16px;
}

.preparation__panel-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(32, 36, 43, 0.05);
}

.preparation__panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--maroon-700);
  margin-bottom: 18px;
}

.preparation__panel-icon svg {
  width: 26px;
  height: 26px;
}

.preparation__panel-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}

.preparation__panel-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ===================================================
   INDIVIDUALISED CARE
=================================================== */
.individual-care {
  padding: 88px 24px;
  background: var(--cream);
}

.individual-care__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.individual-care__inner h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
}

.individual-care__inner p {
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: 16px;
}

/* ===================================================
   GASTROENTEROLOGY CARE IN AURANGABAD (split layout)
=================================================== */
.gastro-care {
  padding: 88px 24px;
  background: var(--cream);
}

.gastro-care__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.gastro-care__content h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
}

.gastro-care__content p {
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: 16px;
}

.gastro-care__panel-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(32, 36, 43, 0.05);
}

.gastro-care__panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--maroon-700);
  margin-bottom: 18px;
}

.gastro-care__panel-icon svg {
  width: 26px;
  height: 26px;
}

.gastro-care__panel-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}

.gastro-care__panel-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ===================================================
   CONCLUSION
=================================================== */
.conclusion {
  padding: 80px 24px;
  background: linear-gradient(120deg, var(--maroon-900) 0%, var(--maroon-700) 100%);
  color: #fff;
}

.conclusion__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.conclusion__inner h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
}

.conclusion__inner p {
  margin: 0;
  color: var(--ink-muted-light);
  font-size: 16px;
}

/* ===================================================
   FAQ (native <details>/<summary> accordion)
=================================================== */
.faq {
  padding: 88px 24px 100px;
  background: var(--cream-soft);
}

.faq__inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq__head {
  text-align: center;
  margin-bottom: 44px;
}

.faq__head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: #ffffff;
  border-radius: 14px;
  padding: 6px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(32, 36, 43, 0.05);
}

.faq__item summary {
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 22px;
  font-weight: 400;
  color: var(--maroon-700);
  transition: transform .2s ease;
}

.faq__item[open] summary::after {
  content: "\2212";
}

.faq__item p {
  margin: 0 0 20px;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ===================================================
   CTA STRIP
=================================================== */
.cta {
  padding: 80px 24px;
  background: var(--cream);
}

.cta__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
}

.cta p {
  margin: 0 0 26px;
  color: var(--ink-muted);
  font-size: 16px;
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width:960px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .symptoms__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .symptom-list {
    grid-template-columns: 1fr;
  }

  .what-is-endoscopy__inner,
  .when-recommended__inner,
  .preparation__inner,
  .preparation__inner--reverse,
  .gastro-care__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .preparation__inner--reverse .preparation__panel {
    order: 2;
  }

  .preparation__inner--reverse .preparation__content {
    order: 1;
  }
}

@media (max-width:640px) {
  .page-banner {
    padding: 120px 18px 46px;
  }

  .breadcrumb {
    font-size: 13px;
  }

  .page-banner::before {
    width: 220px;
    height: 220px;
    top: -20px;
    right: -60px;
  }

  .intro,
  .what-is-endoscopy,
  .services,
  .when-recommended,
  .symptoms,
  .endoscopy,
  .preparation,
  .individual-care,
  .gastro-care,
  .conclusion,
  .faq,
  .cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro {
    padding-top: 56px;
  }

  .what-is-endoscopy,
  .when-recommended,
  .preparation,
  .gastro-care {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .what-is-endoscopy__panel-card,
  .preparation__panel-card,
  .gastro-care__panel-card {
    padding: 28px 24px;
  }

  .services {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .symptoms {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .endoscopy,
  .individual-care,
  .conclusion {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .faq {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .faq__item {
    padding: 4px 18px;
  }
}



/* =========================================================
   Gallery Section — Our Work (7 images, equal-size grid)
   Include this file in <head> after your other stylesheets:
   <link rel="stylesheet" href="assets/css/gallery.css">
   ========================================================= */

.gallery-section {
	padding: 90px 0;
	background: #f8f9fb;
}

.gallery-section .section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 50px;
}

.gallery-section .section-tag {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #b3862c;
	margin-bottom: 12px;
}

.gallery-section h2 {
	font-family: 'Playfair Display', serif;
	font-size: 36px;
	font-weight: 700;
	color: #16202a;
	margin: 0 0 14px;
}

.gallery-section .section-sub {
	font-size: 16px;
	line-height: 1.7;
	color: #5b6672;
	margin: 0;
}

/* --- Equal-size grid: all boxes same width/height --- */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.gallery-grid figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #e7e9ec;
	box-shadow: 0 6px 18px rgba(16, 24, 32, 0.08);
	aspect-ratio: 1 / 1;
	cursor: zoom-in;
}

.gallery-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.gallery-grid figure:hover img {
	transform: scale(1.07);
}

.gallery-grid figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 15, 20, .55) 0%, rgba(10, 15, 20, 0) 45%);
	opacity: 0;
	transition: opacity .35s ease;
}

.gallery-grid figure:hover::after {
	opacity: 1;
}

.gallery-grid figcaption {
	position: absolute;
	left: 16px;
	bottom: 14px;
	right: 16px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	opacity: 0;
	transform: translateY(8px);
	transition: all .35s ease;
	z-index: 2;
	pointer-events: none;
}

.gallery-grid figure:hover figcaption {
	opacity: 1;
	transform: translateY(0);
}

/* --- Tablet --- */
@media (max-width: 991px) {
	.gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* --- Mobile --- */
@media (max-width: 575px) {
	.gallery-section {
		padding: 60px 0;
	}

	.gallery-section h2 {
		font-size: 26px;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.gallery-grid figcaption {
		font-size: 12px;
	}
}

/* =========================================================
   Lightbox (click a photo to zoom in full screen)
   ========================================================= */
.gallery-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(10, 15, 20, .92);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 30px;
	opacity: 0;
	transition: opacity .3s ease;
}

.gallery-lightbox.is-open {
	display: flex;
	opacity: 1;
}

.gallery-lightbox img {
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
	transform: scale(.92);
	transition: transform .3s ease;
}

.gallery-lightbox.is-open img {
	transform: scale(1);
}

.gallery-lightbox .lightbox-caption {
	position: absolute;
	bottom: 30px;
	left: 0;
	right: 0;
	text-align: center;
	color: #fff;
	font-size: 15px;
	padding: 0 20px;
}

.gallery-lightbox .lightbox-close,
.gallery-lightbox .lightbox-prev,
.gallery-lightbox .lightbox-next {
	position: absolute;
	background: rgba(255, 255, 255, .12);
	border: none;
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	font-size: 20px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
}

.gallery-lightbox .lightbox-close:hover,
.gallery-lightbox .lightbox-prev:hover,
.gallery-lightbox .lightbox-next:hover {
	background: rgba(255, 255, 255, .25);
}

.gallery-lightbox .lightbox-close {
	top: 20px;
	right: 20px;
}

.gallery-lightbox .lightbox-prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.gallery-lightbox .lightbox-next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 575px) {

	.gallery-lightbox .lightbox-prev,
	.gallery-lightbox .lightbox-next {
		width: 38px;
		height: 38px;
		font-size: 16px;
	}
}


/* =========================================================
   Contact Us Section
   Include this file in <head> after your other stylesheets:
   <link rel="stylesheet" href="assets/css/contact.css">
   ========================================================= */

.contact-section {
	padding: 90px 0;
	background: #fff;
}

.contact-section .section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 55px;
}

.contact-section .section-tag {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #c1272d;
	margin-bottom: 12px;
}

.contact-section h2 {
	font-family: 'Playfair Display', serif;
	font-size: 36px;
	font-weight: 700;
	color: #16202a;
	margin: 0 0 14px;
}

.contact-section .section-sub {
	font-size: 16px;
	line-height: 1.7;
	color: #5b6672;
	margin: 0;
}

.contact-wrap {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 40px;
	align-items: stretch;
}

/* ---------- LEFT: Info panel ---------- */
.contact-info-panel {
	background: #16202a;
	border-radius: 16px;
	padding: 46px 38px;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.contact-info-panel::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(193, 39, 45, 0.18);
}

.contact-info-panel h3 {
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 8px;
	position: relative;
}

.contact-info-panel .info-lead {
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 36px;
	position: relative;
}

.contact-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.contact-info-list li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-list li:first-child {
	border-top: none;
	padding-top: 0;
}

.contact-info-list .info-icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(193, 39, 45, 0.20);
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-info-list .info-icon svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #e8898d;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.contact-info-list .info-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #e8898d;
	margin-bottom: 4px;
}

.contact-info-list .info-value {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.contact-info-list .info-value a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	transition: color .2s ease;
}

.contact-info-list .info-value a:hover {
	color: #e8898d;
}

.contact-info-panel .social-row {
	display: flex;
	gap: 10px;
	margin-top: 32px;
	position: relative;
}

.contact-info-panel .social-row a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background .2s ease;
}

.contact-info-panel .social-row a:hover {
	background: #c1272d;
}

.contact-info-panel .social-row svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* ---------- RIGHT: Form panel ---------- */
.contact-form-panel {
	background: #f8f9fb;
	border-radius: 16px;
	padding: 46px 42px;
	box-shadow: 0 6px 24px rgba(16, 24, 32, 0.06);
}

.contact-form-panel h3 {
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	font-weight: 700;
	color: #16202a;
	margin: 0 0 8px;
}

.contact-form-panel .form-lead {
	font-size: 15px;
	color: #5b6672;
	margin: 0 0 30px;
}

.contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.contact-form .form-group {
	margin-bottom: 20px;
}

.contact-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #16202a;
	margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid #dfe3e8;
	background: #fff;
	border-radius: 8px;
	padding: 13px 16px;
	font-size: 14px;
	color: #16202a;
	transition: border-color .2s ease, box-shadow .2s ease;
	font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #c1272d;
	box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.15);
}

.contact-form textarea {
	resize: vertical;
	min-height: 130px;
}

.contact-form button[type="submit"] {
	background: #c1272d;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 15px 36px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.contact-form button[type="submit"]:hover {
	background: #9e1f24;
	transform: translateY(-2px);
}

.contact-form .form-note {
	font-size: 12px;
	color: #8a93a0;
	margin-top: 14px;
}

/* ---------- Map ---------- */
.contact-map {
	margin-top: 40px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(16, 24, 32, 0.08);
}

.contact-map iframe {
	width: 100%;
	height: 380px;
	border: 0;
	display: block;
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
	.contact-wrap {
		grid-template-columns: 1fr;
	}

	.contact-info-panel,
	.contact-form-panel {
		padding: 38px 30px;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 575px) {
	.contact-section {
		padding: 60px 0;
	}

	.contact-section h2 {
		font-size: 26px;
	}

	.contact-info-panel,
	.contact-form-panel {
		padding: 30px 22px;
		border-radius: 12px;
	}

	.contact-form .form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.contact-form button[type="submit"] {
		width: 100%;
	}

	.contact-map iframe {
		height: 260px;
	}
}