/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /* colors */
  --light-steel-blue: hsl(218, 33%, 77%);
  --royal-blue-light: hsl(225, 68%, 53%);
  --flickr-blue_30: hsla(225, 68%, 53%, 0.3);
  --carolina-blue: hsl(201, 92%, 47%);
  --oxford-blue-1: hsl(218, 70%, 18%);
  --oxford-blue-2: hsl(217, 100%, 12%);
  --oxford-blue-3: hsl(218, 71%, 11%);
  --gainsboro_50: hsla(0, 0%, 85%, 0.5);
  --lavender-web: hsl(225, 67%, 91%);
  --sonic-silver: hsl(0, 0%, 47%);
  --light-gray: hsl(0, 0%, 84%);
  --cultured: hsl(0, 0%, 97%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_8: hsla(0, 0%, 0%, 0.08);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --jet: hsl(0, 0%, 20%);

  /* gradient color */
  --gradient: linear-gradient(
    90deg,
    var(--carolina-blue) 0%,
    var(--royal-blue-light) 100%
  );

  /* typography */
  --ff-roboto: "Roboto", sans-serif;
  --ff-poppins: "Poppins", sans-serif;

  --fs-1: 2.5rem; /* h1 - 40px */
  --fs-2: 2.2rem; /* h2 - 35px */
  --fs-3: 2rem;   /* h3 - 32px */
  --fs-4: 1.8rem; /* h4 - 28px */
  --fs-5: 1.6rem; /* h5 - 26px */
  --fs-6: 1.4rem; /* body large - 22px */
  --fs-7: 1.3rem; /* body - 18px */
  --fs-8: 1.1rem; /* small text - 16px */

  --fw-800: 800;
  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;

  /* spacing */
  --section-padding: 120px;

  /* shadow */
  --shadow-1: 4px 4px 15px var(--black_10);
  --shadow-2: 0 10px 15px var(--black_10);
  --shadow-3: 0px 20px 60px var(--black_8);
  --shadow-4: 0px 10px 30px var(--flickr-blue_30);
  --shadow-5: 0px 2px 60px 0px var(--black_10);

  /* border radius */
  --radius-6: 6px;
  --radius-4: 4px;

  /* transition */
  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
input,
button,
ion-icon {
  display: block;
}

img {
  height: auto;
}

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 25px;
}

.section {
  padding-block: var(--section-padding);
}

.section-subtitle {
  color: var(--royal-blue-light);
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  margin-block-end: 10px;
}

.h1,
.h2,
.h3 {
  font-family: var(--ff-poppins);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.h1 {
  color: var(--oxford-blue-1);
  font-size: var(--fs-2);
}

.h2,
.h3 {
  color: var(--oxford-blue-2);
}

.h2 {
  font-size: var(--fs-1);
}

.h3 {
  font-size: var(--fs-5);
}

.btn {
  background-image: linear-gradient(
    var(--deg, 90deg),
    var(--carolina-blue) 0%,
    var(--royal-blue-light) 100%
  );
  color: var(--white);
  font-size: var(--fs-7);
  text-transform: uppercase;
  padding: 15px 25px; /* Reduced padding for slimmer button */
  text-align: center;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-4);
}

.btn:is(:hover, :focus) {
  --deg: -90deg;
}

.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}

.card-text,
.section-text {
  line-height: 1.7;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

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

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header-top {
  background-color: var(--oxford-blue-1);
  color: var(--white);
  padding-block: 20px;
}

.header-top-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 50px;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-shrink: 0;
}

/* Header Logo Styles */
.header-logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.header-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.header-logo-img {
  max-width: 100px;
  height: auto;
  border-radius: 8px;
  transition: var(--transition);
}

/* Header Navigation - always visible */
.navbar.header-nav {
  /* Reset mobile navigation properties - for header-top navigation */
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: auto;
  max-width: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
  max-height: none;
  visibility: visible !important;
  overflow: visible;
  opacity: 1 !important;
  transform: none !important;
  margin: 0;
  display: flex !important;
  align-items: center;
  height: auto;
  z-index: auto;
  /* Better distributed layout */
  flex: 1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure navigation in header-top always displays horizontally */
.header-top .navbar {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}

.header-top .navbar-list {
  display: flex !important;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.header-top .navbar-link {
  color: var(--white) !important;
  font-family: var(--ff-poppins);
  text-transform: capitalize;
  font-size: 1.4rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  padding: 10px 0;
  position: relative;
  word-wrap: break-word;
  hyphens: auto;
}

/* Header-bottom simplified - hamburger menu removed */
.header-bottom {
  /* Removed - no longer needed */
}

.logo {
  /* Removed - logo is in header-top section */
}

/* Mobile Navigation - Simple and Direct */
@media (max-width: 991px) {
  /* Remove complex sidebar navigation - no longer needed */
  
  /* Header navigation remains horizontal and visible on mobile */
  .navbar.header-nav {
    display: flex !important;
    position: static;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible;
    max-height: none;
  }
}
}

/* Removed .navbar.active - hamburger menu no longer used */

.navbar-list > li:not(:last-child) {
  border-block-end: 1px solid var(--gainsboro_50);
}

.navbar-link {
  color: var(--jet);
  text-transform: uppercase;
  font-weight: var(--fw-600);
  padding: 15px;
  font-size: 1.2rem;
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: space-between;
  word-wrap: break-word;
  hyphens: auto;
  gap: 8px;
}

.dropdown-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/* Dropdown Menu Styles */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 4px 20px var(--black_10);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  border: 1px solid var(--gainsboro_50);
  margin-top: 8px;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-submenu:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Enhanced hover state for better desktop UX */
.has-submenu.hover-active .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-submenu.hover-active .dropdown-icon {
  transform: rotate(180deg);
}

.submenu-link {
  display: block;
  padding: 12px 20px;
  color: var(--jet);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin: 2px 8px;
}

.submenu-link:hover {
  background: var(--lavender-web);
  color: var(--royal-blue-light);
  transform: translateX(5px);
}

/* Mobile Navigation - Simplified Direct Navigation */
@media (max-width: 991px) {
  /* Simple submenu display for mobile - no complex expansion */
  .has-submenu {
    position: relative;
  }
  
  .submenu {
    position: static;
    display: block;
    box-shadow: none;
    background: rgba(var(--royal-blue-light), 0.05);
    border: none;
    border-radius: 0;
    padding: 5px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 5px;
    max-height: none;
    overflow: visible;
  }
  
  .submenu-link {
    padding: 8px 15px 8px 25px;
    font-size: 0.9rem;
  }
  
  /* Remove dropdown icon rotation on mobile */
  .dropdown-icon {
    display: none;
  }
}
/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: 8rem 2rem; /* Increased top padding to account for absolute header */
  padding-block-end: calc(var(--section-padding) / 2);
  position: relative;
  z-index: 1;
}

.hero-content {
  margin-block-end: 50px;
  margin-top: 2rem; /* Add top margin to prevent overlap with absolute header */
}

.hero-title {
  margin-block: 10px 20px;
  line-height: 1.2;
  word-wrap: break-word;
}

.hero-text {
  font-size: var(--fs-7);
  line-height: 1.5;
  margin-block-end: 30px;
  max-width: 90%;
}

.hero-form {
  background-color: var(--white);
  max-width: 95%;
  padding: 15px;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-3);
}

.hero-contact-title {
  color: var(--oxford-blue-1);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-contact-text {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-form .btn {
  width: 100%;
  max-width: 300px;
  min-width: 200px;
  display: block;
  margin: 20px auto 0;
  text-align: center;
}
/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-banner {
  display: none;
}

.service {
  padding-block-end: 0;
}

.service .section-title {
  margin-block-end: 50px;
}

.service-list {
  display: grid;
  gap: 15px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-height: 100%;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  padding: 25px;
  overflow: hidden;
  position: relative;
  background-color: white;
  transition: all 0.3s ease;
}

.service-card.expanded {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card .card-icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  object-fit: contain;
}

.service-card .card-title {
  margin-block-end: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.service-card .card-title:hover {
  color: var(--royal-blue);
}

.service-card .expand-icon {
  font-size: 18px;
  color: var(--royal-blue);
  transition: transform 0.3s ease;
}

.service-card.expanded .expand-icon {
  transform: rotate(180deg);
}

.service-card .card-content {
  flex: 1;
}

.service-card .card-text {
  margin-block-end: 15px;
  color: var(--sonic-silver);
  font-size: 1.4rem;
}

.service-card .service-description {
  display: none;
  transition: opacity 0.3s ease;
  border-top: 1px solid transparent;
  margin-top: 0;
  padding-top: 0;
}

.service-card.expanded .service-description {
  display: block;
  opacity: 1;
  border-top: 1px solid var(--light-gray);
  margin-top: 15px;
  padding-top: 15px;
}

.service-card .service-description p {
  margin-block-end: 8px;
  font-size: 1.4rem;
  line-height: 1.6;
}

.service-card .service-description p:last-child {
  margin-block-end: 0;
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
  padding-block-end: 0;
}

.about-banner {
  margin-block-end: 50px;
}

.about .section-text-1 {
  margin-block: 25px 15px;
}

.about .btn {
  font-size: unset;
  max-width: max-content;
  margin-block-start: 30px;
  padding-inline: 15px;
}
/*-----------------------------------*\
  #DOCTOR
\*-----------------------------------*/

.doctor .section-title {
  margin-block-end: 50px;
}

.doctor-card .card-banner {
  border-radius: var(--radius-4);
  overflow: hidden;
  margin-block-end: 25px;
}

.doctor-card {
  padding: 30px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  text-align: center;
  min-height: 100%;
}

.doctor-card .card-title {
  font-size: var(--fs-4);
  transition: var(--transition);
}

.doctor-card:is(:hover, :focus-within) .card-title {
  color: var(--royal-blue-light);
}

.doctor-card .card-subtitle {
  color: var(--royal-blue-light);
  margin-block: 10px 15px;
}

.doctor-card .card-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.doctor-card .card-social-link {
  background-color: var(--lavender-web);
  color: var(--royal-blue-light);
  font-size: 16px;
  padding: 12px;
  border-radius: 50%;
  transition: var(--transition);
}

.doctor-card .card-social-link:is(:hover, :focus) {
  background-color: var(--royal-blue-light);
  color: var(--white);
}

.has-scrollbar {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  margin-inline: 15px;
  padding-block-end: 40px;
  margin-block-end: -20px;
  scroll-snap-type: inline mandatory;
}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar {
  height: 10px;
}

.has-scrollbar::-webkit-scrollbar-track {
  background-color: var(--light-gray);
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--royal-blue-light);
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-button {
  width: calc(25% - 30px);
}

/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
  background-color: var(--oxford-blue-1);
}

.cta-banner {
  margin-block-end: 50px;
}

.cta .section-subtitle {
  text-transform: capitalize;
}

.cta .section-title {
  color: var(--white);
  font-size: var(--fs-3);
  margin-block-end: 30px;
}

.cta .btn {
  max-width: max-content;
}

/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog .section-title {
  margin-block-end: 50px;
}

.blog-list {
  display: grid;
  gap: 30px;
}

.blog-card {
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-5);
}

.blog-card .card-banner {
  position: relative;
  border-radius: var(--radius-4);
  overflow: hidden;
}

.blog-card .card-banner img {
  transition: var(--transition);
}

.blog-card:is(:hover, :focus-within) .card-banner img {
  transform: scale(1.1);
}

.blog-card .card-badge {
  background-color: var(--royal-blue-light);
  color: var(--white);
  position: absolute;
  bottom: 25px;
  left: 25px;
  display: flex;
  gap: 5px;
  padding: 10px 15px;
  border-radius: var(--radius-6);
}

.blog-card .card-content {
  padding: 30px;
}

.blog-card .card-title {
  transition: var(--transition);
}

.blog-card .card-title:is(:hover, :focus) {
  color: var(--royal-blue-light);
}

.blog-card .card-text {
  margin-block: 15px;
}

.blog-card .card-link {
  position: relative;
  color: var(--royal-blue-light);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  width: max-content;
  transition: var(--transition);
}

.blog-card .card-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--royal-blue-light);
  transition: var(--transition);
}

.blog-card .card-link:is(:hover, :focus) {
  color: var(--oxford-blue-1);
}

.blog-card .card-link:is(:hover, :focus)::after {
  background-color: var(--oxford-blue-1);
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-top {
  background-color: var(--oxford-blue-2);
  color: var(--light-steel-blue);
}

.footer-top .container {
  display: grid;
  gap: 30px;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-text {
  line-height: 1.6;
  margin-block-end: 15px;
}

.schedule {
  display: flex;
  align-items: center;
  gap: 15px;
}

.schedule-icon,
.footer-item .item-icon {
  background-image: var(--gradient);
  color: var(--white);
  font-size: 18px;
  padding: 11px;
  border-radius: 50%;
}

.schedule .span,
.footer-item .item-text {
  line-height: 1.6;
}

.footer-list-title {
  color: var(--white);
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-block-end: 10px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-block: 10px;
  transition: var(--transition);
}

.footer-link ion-icon {
  color: var(--royal-blue-light);
  --ionicon-stroke-width: 50px;
}

.footer-link:is(:hover, :focus) {
  color: var(--white);
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-item:not(:first-child) {
  margin-block-start: 20px;
}

/* Location Toggle Button Styles */
.location-toggle-item {
  margin-block-start: 20px;
}

.location-toggle-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient);
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow-2);
  outline: none;
}

.location-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-4);
  background: var(--gradient-2);
}

.location-toggle-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-2);
}

.location-toggle-btn ion-icon {
  font-size: 24px;
  color: var(--white);
  flex-shrink: 0;
}

.location-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-toggle-text strong {
  font-family: var(--ff-poppins);
  font-weight: var(--fw-700);
  font-size: 16px;
  line-height: 1.3;
}

.location-toggle-text small {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.4;
  font-weight: 400;
}

.footer-bottom {
  background-color: var(--oxford-blue-3);
  padding-block: 50px;
  text-align: center;
}

.copyright {
  color: var(--white);
  line-height: 1.6;
  margin-block-end: 25px;
}

.footer .social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.footer .social-link {
  padding: 11px;
  background-color: hsla(0, 0%, 100%, 0.2);
  color: var(--white);
  font-size: 18px;
  border-radius: 50%;
}

.footer .social-link:is(:hover, :focus) {
  background-image: var(--gradient);
}

/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--royal-blue-light);
  font-size: 18px;
  color: var(--white);
  padding: 14px;
  border-radius: 50%;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.back-top-btn.active {
  transform: translateY(-10px);
  visibility: visible;
  opacity: 1;
}

/*-----------------------------------*\
  #CONTACT SIDEBAR BUTTONS
\*-----------------------------------*/

.contact-sidebar {
  position: fixed;
  right: 10px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.contact-btn:hover::before {
  width: 100%;
  height: 100%;
}

.contact-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.contact-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-btn ion-icon {
  font-size: 24px;
  z-index: 1;
  position: relative;
}

/* Individual button colors */
.phone-btn {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  background-color: #e74c3c;
}

.phone-btn:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  background-color: #25D366;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128C7E, #0B6A56);
}

.email-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  background-color: #3498db;
}

.email-btn:hover {
  background: linear-gradient(135deg, #2980b9, #21618c);
}

.location-btn {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  background-color: #9b59b6;
}

.location-btn:hover {
  background: linear-gradient(135deg, #8e44ad, #7d3c98);
}

/* Responsive positioning */
@media (max-width: 768px) {
  .contact-sidebar {
    right: 8px;
    bottom: 90px;
    gap: 12px;
  }
  
  .contact-btn {
    width: 55px;
    height: 55px;
  }
  
  .contact-btn ion-icon {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .contact-sidebar {
    right: 5px;
    bottom: 80px;
    gap: 10px;
  }
  
  .contact-btn {
    width: 50px;
    height: 50px;
  }
  
  .contact-btn ion-icon {
    font-size: 20px;
  }
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

  /* Mobile responsive improvements */
@media (max-width: 574px) {
  /* Reduce font sizes for mobile to prevent overlapping */
  :root {
    --fs-1: 2rem;   /* h1 - 32px */
    --fs-2: 1.8rem; /* h2 - 28px */
    --fs-3: 1.6rem; /* h3 - 26px */
    --fs-4: 1.5rem; /* h4 - 24px */
    --fs-5: 1.4rem; /* h5 - 22px */
    --fs-6: 1.3rem; /* body large - 20px */
    --fs-7: 1.2rem; /* body - 18px */
    --fs-8: 1.1rem; /* small text - 16px */
  }
  
  /* Mobile logo improvements to prevent overlapping with contact sidebar */
  .logo {
    font-size: 1.4rem;
    max-width: calc(100vw - 180px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: rtl;
  }
  
  /* Ensure section content has proper spacing from contact sidebar */
  section {
    position: relative;
    overflow-x: hidden;
  }
  
  /* Hero section specific adjustments */
  .hero {
    padding-right: 85px;
  }
  
  .logo-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
    text-align: center;
    white-space: nowrap;
    background-color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius-4);
    height: 70px;
    display: flex;
    align-items: center;
    margin-left: 10px;
  }
  
  .logo-img {
    max-width: 75px;
    max-height: 75px;
  }
  
  /* Mobile hero improvements */
  .hero-title {
    font-size: var(--fs-2);
    line-height: 1.2;
    margin-block: 5px 15px;
  }
  
  .hero-text {
    font-size: var(--fs-7);
    max-width: 100%;
  }
  
  /* Mobile service card improvements */
  .service-card {
    padding: 20px;
    gap: 15px;
    flex-direction: column;
    text-align: center;
  }
  
  .service-card .card-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }
}

/* responsive for larger than 575px screen */

@media (min-width: 575px) {
  /* custom property */
  :root {
    /* typography */
    --fs-1: 3rem;    /* h1 - 48px */
    --fs-2: 2.6rem;  /* h2 - 42px */
    --fs-3: 2.4rem;  /* h3 - 38px */
    --fs-4: 2rem;    /* h4 - 32px */
    --fs-5: 1.8rem;  /* h5 - 28px */
    --fs-6: 1.6rem;  /* body large - 24px */
    --fs-7: 1.4rem;  /* body - 20px */
    --fs-8: 1.2rem;  /* small text - 17px */
  }

  /* reuse style */
  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  /* #BLOG */
  .blog-card .h3 {
    --fs-5: 2.6rem;
  }

  /* #FOOTER */
  .footer-top .container {
    grid-template-columns: 1fr 1fr;
  }
}

/* responsive for larger than 768px screen */

@media (min-width: 768px) {
  /* custom property */
  :root {
    /* typography */
    --fs-1: 3.5rem;  /* h1 - 56px */
    --fs-2: 3rem;    /* h2 - 48px */
    --fs-3: 2.8rem;  /* h3 - 45px */
    --fs-4: 2.2rem;  /* h4 - 35px */
    --fs-5: 2rem;    /* h5 - 32px */
    --fs-6: 1.8rem;  /* body large - 26px */
    --fs-7: 1.6rem;  /* body - 22px */
    --fs-8: 1.3rem;  /* small text - 18px */
  }

  /* reset */

  body {
    font-size: 1.6rem;
  }
  
  /* Tablet logo styling to prevent overlapping */
  .logo {
    font-size: 2.5rem;
  }

  /* reused style */
  .container {
    max-width: 750px;
  }

  .section-subtitle {
    --fs-6: 2.2rem;
  }

  /* #HERO */

  .hero {
    overflow: hidden;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    align-items: center;
    gap: 40px; /* Reduced gap for better space utilization */
  }
  
  .hero-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
  }

  .hero-content {
    margin-block-end: 0;
    margin-top: 0; /* Reset top margin on desktop */
  }

  .hero-form {
    position: relative;
    text-align: center;
  }

  .hero-contact-title {
    font-size: var(--fs-5);
  }

  .hero-contact-text {
    font-size: var(--fs-8);
  }

  .hero-form .btn {
    width: auto;
    min-width: 180px;
    display: inline-block;
    margin-top: 15px;
  }

  .hero-banner {
    margin-inline-end: 0;
    max-width: 100%;
    height: auto;
    margin-left: 15px;
    margin-top: 10px;
  }

  /* #SERVICE */
  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }

  /* #DOCTOR */
  .scrollbar-item {
    min-width: calc(50% - 15px);
  }

  /* #CTA */
  .cta {
    padding-block: 0;
  }

  .cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 60px;
  }

  .cta-banner {
    margin-block-end: 0;
  }

  .cta-content {
    padding-block: 60px;
  }

  /* #BLOG */
  .blog-list {
    grid-template-columns: 1fr 1fr;
  }

  /* #FOOTER */
  .footer-bottom {
    padding-block: 30px;
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright {
    margin-block-end: 0;
  }

  /* #BACK TO TOP */
  .back-top-btn {
    bottom: 140px;
    right: 50px;
  }
}

/* responsive for larger than 992px screen */

@media (min-width: 992px) {
  /* custom property */
  :root {
    /* typography */
    --fs-1: 4rem;    /* h1 - 64px */
    --fs-2: 3.5rem;  /* h2 - 56px */
    --fs-3: 3rem;    /* h3 - 48px */
    --fs-4: 2.4rem;  /* h4 - 38px */
    --fs-5: 2.2rem;  /* h5 - 35px */
    --fs-6: 1.9rem;  /* body large - 28px */
    --fs-7: 1.7rem;  /* body - 24px */
    --fs-8: 1.4rem;  /* small text - 19px */
  }

  .navbar-link {
    font-size: 1.2rem;
  }

  /* reused style */
  .container {
    max-width: 980px;
  }
  
  /* Desktop logo styling to prevent overlapping */
  .logo {
    font-size: 2.8rem;
  }

  /* #HEADER - Remove display:block to maintain flex layout */

  .header-top .container {
    justify-content: space-between;
  }

  .header-top .social-list {
    gap: 15px;
  }

  .header-top .social-link {
    font-size: var(--fs-6);
    transition: var(--transition);
  }

  .header-top .social-link:is(:hover, :focus) {
    color: var(--royal-blue-light);
  }

  .header-bottom {
    position: static;
    top: auto;
    padding-block: 20px;
  }

  .header-bottom.active {
    position: static;
    top: auto;
  }

  /* nav-toggle-btn removed - hamburger menu no longer used */

  .navbar {
    /* Reset mobile navigation properties - already set globally */
    position: static;
    margin: 0;
    height: auto;
    display: flex !important;
  }

  .navbar-list {
    display: flex !important;
    align-items: center;
    gap: 35px;
    height: auto;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .navbar-list > li:not(:last-child) {
    border-block-end: none;
    margin: 0;
    padding: 0;
  }

  .navbar-link {
    color: var(--white) !important;
    font-family: var(--ff-poppins);
    text-transform: capitalize;
    font-size: 1.4rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    word-wrap: break-word;
    hyphens: auto;
  }

  .navbar-link:is(:hover, :focus) {
    color: var(--royal-blue-light);
  }

  /* Desktop Submenu Styles */
  .has-submenu {
    position: relative;
  }

  .has-submenu > .navbar-link {
    cursor: pointer;
  }

  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    border: 1px solid var(--gainsboro_50);
    margin-top: 10px;
  }

  .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .has-submenu:hover .dropdown-icon {
    transform: rotate(180deg);
  }

  .submenu-link {
    display: block;
    padding: 12px 20px;
    color: var(--jet);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 2px 8px;
    position: relative;
    list-style: none;
    cursor: pointer;
  }

  .submenu-link:hover {
    background: var(--lavender-web);
    color: var(--royal-blue-light);
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(66, 99, 235, 0.15);
  }

  /* Enhanced hover state for desktop */
  .has-submenu.hover-active .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .has-submenu.hover-active .dropdown-icon {
    transform: rotate(180deg);
  }



  /* #SERVICE */
  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-banner {
    display: block;
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    align-self: center;
  }

  /* #ABOUT */
  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  .about-banner {
    margin-block-end: 0;
    max-width: 100%;
    height: auto;
  }

  .about-content {
    overflow: hidden;
  }

  /* #DOCTOR */
  .scrollbar-item {
    min-width: calc(33.33% - 20px);
  }

  /* #CTA */
  .cta-content {
    padding-block: 80px;
  }

  /* #BLOG */
  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /* #FOOTER */
  .footer-top .container {
    grid-template-columns: 1fr 0.5fr 0.6fr 0.75fr;
  }
}

/* responsive for larger than 1200px screen */

@media (min-width: 1200px) {
  /* custom property */
  :root {
    /* typography */
    --fs-1: 4.5rem;  /* h1 - 72px */
    --fs-2: 4rem;    /* h2 - 64px */
    --fs-3: 3.2rem;  /* h3 - 51px */
    --fs-4: 2.6rem;  /* h4 - 42px */
    --fs-5: 2.4rem;  /* h5 - 38px */
    --fs-6: 2rem;    /* body large - 30px */
    --fs-7: 1.8rem;  /* body - 26px */
    --fs-8: 1.5rem;  /* small text - 20px */
  }

  .navbar-link {
    font-size: 1.4rem;
    white-space: normal;
    display: block;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 120px;
  }

  /* reused style */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Large desktop logo styling to prevent overlapping */
  .logo {
    font-size: 3rem;
  }





  .header-bottom > .container {
    gap: 40px;
  }

  .navbar-list {
    gap: 25px;
  }

  /* #ABOUT */
  .about .container {
    grid-template-columns: 0.85fr 1fr;
    gap: 100px;
  }

  /* #DOCTOR */
  .doctor {
    padding-block-end: 180px;
  }

  .scrollbar-item {
    min-width: calc(25% - 22.5px);
  }

  .has-scrollbar {
    padding-block-end: 0;
    margin-block-end: 0;
  }

  /* #CTA */
  .cta .container {
    align-items: center;
  }

  .cta-banner {
    margin-block-start: -120px;
  }
}



/* Mobile responsive styles for header-top navigation */
@media (max-width: 991px) {
  .header-top {
    padding-block: 15px;
  }
  
  .header-top-row {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  
  .header-top-left {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .header-logo-container {
    gap: 10px;
    justify-content: center;
  }
  
  .header-logo-img {
    width: 80px;
    height: 80px;
  }
  
  .header-logo-img {
    max-width: 90px;
  }
  
  /* Only target sidebar mobile navigation, not header-top navigation */
  .navbar.sidebar {
    position: static;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: block;
    transform: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    max-height: none;
  }
  
  /* Header-top navigation remains horizontal on mobile */
  .header-top .navbar {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .header-top .navbar-list {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    height: auto;
  }
  
  .header-top .navbar-link {
    font-size: 1.2rem;
    padding: 8px 12px;
    color: var(--white) !important;
  }
  
  .navbar-list > li {
    border-block-end: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .navbar-list > li:last-child {
    border-block-end: none;
  }
  
  .navbar-link {
    font-size: 1.2rem;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    color: var(--white);
  }
  
  .navbar-link:is(:hover, :focus) {
    color: var(--royal-blue-light);
  }
  
  .has-submenu {
    position: static;
  }
  
  .submenu {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0;
    padding: 10px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .has-submenu.expanded .submenu {
    max-height: 300px;
  }
  
  .submenu-link {
    padding: 10px 20px 10px 40px;
    font-size: 0.95rem;
    color: var(--white);
  }
  
  .submenu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--royal-blue-light);
  }
}





/*=============================================
  #HERO SECTION IMPROVEMENTS
=============================================*/
  
  .hero .container {
    grid-template-columns: 1fr 0.8fr;
    gap: 30px;
  }
}
}

/* Large desktop screens */
@media (max-width: 1399px) {
  main, .container {
    padding-right: 80px;
  }
}

/* Desktop and laptop screens */
@media (max-width: 1200px) {
  main, .container {
    padding-right: 90px;
  }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  main, .container {
    padding-right: 85px;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  main, .container {
    padding-right: 80px;
  }
}

/* Large mobile phones */
@media (max-width: 480px) {
  main, .container {
    padding-right: 75px;
  }
}

/* Small mobile phones */
@media (max-width: 360px) {
  main, .container {
    padding-right: 70px;
  }
}

/*=============================================
  #GOOGLE REVIEWS STYLING
=============================================*/

.google-reviews {
  margin-block: 40px 0;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-6);
  padding: 30px;
  box-shadow: var(--shadow-2);
  margin-block-end: 30px;
  text-align: center;
}

.stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-block-end: 20px;
}

.stars ion-icon {
  color: #FFD700; /* Gold color for positive reviews */
  font-size: 24px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.stars ion-icon:hover {
  transform: scale(1.1);
}

.review-text {
  font-size: var(--fs-7);
  line-height: 1.6;
  color: var(--jet);
  margin-block: 15px 20px;
  font-style: italic;
}

.reviewer {
  color: var(--royal-blue-light);
  font-weight: var(--fw-600);
  font-size: var(--fs-8);
}

/* Responsive adjustments for reviews */
@media (max-width: 768px) {
  .review-card {
    padding: 25px 20px;
    margin-block-end: 25px;
  }
  
  .stars ion-icon {
    font-size: 20px;
  }
  
  .review-text {
    font-size: var(--fs-8);
  }
}

@media (max-width: 480px) {
  .review-card {
    padding: 20px 15px;
  }
  
  .stars ion-icon {
    font-size: 18px;
    gap: 3px;
  }
}

/* ----------------------------------
   #CERTIFICATES SECTION
   ---------------------------------- */

.certificates {
  padding: 80px 0;
  background: var(--snow-white);
}

.certificates-slider {
  position: relative;
  max-width: 100%;
  margin: 50px auto 0;
  overflow: hidden;
}

.certificates-track {
  display: flex;
  gap: 30px;
  padding: 0 60px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.certificate-card {
  flex: 0 0 calc(33.333% - 20px);
  background: var(--white);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.certificate-image {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 15px;
  background: var(--light-gray);
}

.certificate-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sonic-silver);
  margin: 0;
  line-height: 1.4;
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificates-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.certificates-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  z-index: 2;
}

.certificates-btn:hover {
  background: var(--oxford-blue);
  transform: scale(1.1);
}

.certificates-btn:disabled {
  background: var(--light-gray);
  color: var(--sonic-silver);
  cursor: not-allowed;
  transform: none;
}

.certificates-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: var(--royal-blue);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .certificates-track {
    padding: 0 40px;
  }
  
  .certificate-card {
    flex: 0 0 calc(50% - 15px);
  }
  
  .certificates-indicators {
    display: none;
  }
}

@media (max-width: 768px) {
  .certificates {
    padding: 60px 0;
  }
  
  .certificates-track {
    padding: 0 20px;
    gap: 20px;
  }
  
  .certificate-card {
    flex: 0 0 calc(100% - 20px);
  }
  
  .certificates-navigation {
    padding: 0 10px;
  }
  
  .certificates-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .certificate-title {
    font-size: 1.2rem;
  }
  
  .certificate-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .certificates-track {
    padding: 0 15px;
    gap: 15px;
  }
  
  .certificate-title {
    font-size: 1.1rem;
  }
}

/* Mobile Navigation Enhancement */
@media (max-width: 767px) {
  /* Mobile Sidebar Navigation - only for hamburger menu */
  .navbar:not(.header-nav) {
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    width: 280px;
    max-width: 85vw;
    right: 0;
    left: auto;
  }
  
  .navbar:not(.header-nav).active {
    transform: translateX(0);
    visibility: visible;
  }
  
  /* Header navigation stays visible */
  .navbar.header-nav {
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Ensure hamburger button is always visible on mobile */
  .nav-toggle-btn {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }
  
  /* header-bottom styles removed - hamburger menu no longer used */
}

/* Smooth scrolling for mobile menu links */
@media (max-width: 767px) {
  .navbar-link {
    padding: 20px 15px;
    border-bottom: 1px solid var(--gainsboro_50);
  }
  
  .navbar-link:last-child {
    border-bottom: none;
  }
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gym-gold));
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--accent), var(--gym-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--jet);
  font-weight: var(--fw-700);
}

.feature-card p {
  color: var(--dim-gray);
  line-height: 1.6;
}

/* ===== TREATMENT PROCESS SECTION ===== */
.treatment-process {
  padding: 80px 0;
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--accent), var(--gym-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--fw-800);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--jet);
  font-weight: var(--fw-700);
}

.process-step p {
  color: var(--dim-gray);
  line-height: 1.6;
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--white);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question h3 {
  font-size: 1.4rem;
  color: var(--jet);
  font-weight: var(--fw-700);
  margin: 0;
  line-height: 1.4;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px 30px;
  max-height: 800px;
  overflow-y: auto;
}

.faq-answer p {
  color: var(--dim-gray);
  line-height: 1.7;
  margin: 0 0 15px 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Arabic text styling for better readability */
.faq-answer [lang="ar"] {
  font-family: 'Arial', 'Tahoma', sans-serif;
  direction: rtl;
  text-align: right;
  color: #5a5a5a;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-size: 0.95em;
}

/* FAQ question Arabic text */
.faq-question [lang="ar"] {
  font-family: 'Arial', 'Tahoma', sans-serif;
  direction: rtl;
  font-size: 0.9em;
  opacity: 0.8;
  margin-left: 8px;
}

/* ===== EMERGENCY SERVICES SECTION ===== */
.emergency {
  padding: 80px 0;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: var(--white);
}

.emergency .section-title,
.emergency .section-subtitle {
  color: var(--white);
}

.emergency-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.emergency-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.emergency-text p {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.emergency-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.emergency-text li {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-left: 25px;
}

.emergency-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--white);
  font-weight: bold;
}

.emergency-btn {
  background: var(--white);
  color: #e74c3c;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: var(--fw-700);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.emergency-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.emergency-image img {
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ===== INSURANCE & PAYMENT SECTION ===== */
.insurance {
  padding: 80px 0;
  background: var(--white);
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.payment-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.payment-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.payment-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--jet);
  font-weight: var(--fw-700);
}

.payment-card p {
  color: var(--dim-gray);
  line-height: 1.6;
  margin-bottom: 25px;
}

.payment-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.payment-card li {
  padding: 8px 0;
  color: var(--dim-gray);
  position: relative;
  padding-left: 25px;
}

.payment-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ===== PATIENT EDUCATION SECTION ===== */
.education {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.education-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.education-item {
  background: var(--white);
  padding: 40px 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.education-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.education-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), var(--gym-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
}

.education-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--jet);
  font-weight: var(--fw-700);
}

.education-item p {
  color: var(--dim-gray);
  line-height: 1.6;
}

/* ===== BEFORE & AFTER GALLERY SECTION ===== */
.gallery {
  padding: 80px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 30px 25px 25px;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: var(--fw-700);
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* ===== RESPONSIVE DESIGN FOR NEW SECTIONS ===== */
@media (max-width: 768px) {
  .why-choose,
  .treatment-process,
  .faq,
  .emergency,
  .insurance,
  .education,
  .gallery {
    padding: 60px 0;
  }

  .features-grid,
  .payment-options,
  .education-content,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .emergency-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .emergency-text h3 {
    font-size: 1.6rem;
  }

  .feature-card,
  .payment-card,
  .education-item {
    padding: 30px 25px;
  }
}
