:root {
  /* Updated color scheme - Teal theme */
  --color-primary: #058789;
  --color-secondary: #04686a;
  --color-blue: #06a0a2;
  --color-peach: #ff8a65;
  --color-red: #e53935;
  --color-yellow: #ffb74d;
  --color-orange: #f57c00;
  --color-green: #4caf50;
  --color-pink: #d81b60;
  --color-light-pink: #f48fb1;
  --color-brown: #5d4037;
  /* Text Colors */
  --text-light-color: #e0f7fa;
  /* Gradients */
  --gradient-primary: radial-gradient(at left top, #04686a, #058789);
  --gradient-primary-reverse: radial-gradient(at left top, #058789, #04686a);
  /* font family */
  --font-poppins: 'Poppins', sans-serif;
  /* Shadow */
  --shadow: 0px 0px 50px opx rgb(0 0 0 / 10%);
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

.text-color-primary {
  color: var(--color-primary);
}

.text-color-secondary {
  color: var(--color-secondary);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

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

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

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

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  color: #fff;
  background: var(--color-secondary);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.datepicker-dropdown {
  padding: 20px !important;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: var(--gradient-primary);
  height: 40px;
  font-size: 14px;
  transition: all 0.5s;
  z-index: 996;
}

#topbar.topbar-scrolled {
  top: -40px;
}

#topbar .contact-info a {
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: #fff;
}

#topbar .contact-info i {
  color: var(--color-primary);
  padding-right: 4px;
  margin-left: 15px;
  line-height: 0;
}

#topbar .contact-info span {
  color: rgba(255, 255, 255, 0.7);
}

#topbar .contact-info span:hover {
  color: #fff;
}

#topbar .contact-info i:first-child {
  margin-left: 0;
}

#topbar .social-links a {
  color: rgba(255, 255, 255, 0.7);
  padding-left: 15px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: #fff;
}

#topbar .social-links a:first-child {
  border-left: 0;
}

@media (max-width: 992px) {
  #topbar .contact-info {
    width: 100%;
    justify-content: space-between !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  top: 40px;
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#header.header-scrolled {
  top: 0;
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: var(--color-secondary);
}

#header .logo img {
  max-height: 50px;
}

/**
* Appointment Button *
*/
.appointment-btn {
  margin-left: 25px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.appointment-btn:hover {
  background: var(--color-secondary);
  color: #fff;
}

@media (max-width: 768px) {
  .appointment-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

/* Appointment Modal Form */
.appointment .modal-header h1 {
  color: var(--color-secondary);
}

.appointment .modal-body .php-email-form {
  padding: 10px;
}

.appointment .modal-body .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.appointment .modal-body .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.appointment .modal-body .php-email-form .error-message br+br {
  margin-top: 25px;
}

.appointment .modal-body .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.appointment .modal-body .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.appointment .modal-body .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.appointment .modal-body .php-email-form input,
.appointment .modal-body .php-email-form select,
.appointment .modal-body .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

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

.appointment .modal-body .php-email-form input {
  padding: 10px 15px;
}

.appointment .modal-body .php-email-form select {
  padding: 12px 15px;
}

.appointment .modal-body .php-email-form textarea {
  padding: 10px 15px;
}

.appointment .modal-body .php-email-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  border-radius: 50px;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border: 1px solid var(--color-primary);
  transition: all 0.3s;
}

.appointment .modal-body .php-email-form button[type=submit]:hover {
  color: var(--color-primary);
  background: #fff;
}

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

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

.form-group.required .form-label:after {
  content: "*";
  color: var(--color-red);
}

/*--------------------------------------------------------------
# Floating Buttons Sections
---------------------------------------------------------------*/
.whatsapp-btn {
  position: fixed;
  top: 50%;
  border-radius: 5px;
  border: 1px solid var(--color-primary);
  color: rgba(255, 255, 255, 1);
  transform: rotate(90deg);
  z-index: 9;
  right: -40px;
  font-size: 14px;
  background: #25d366;
  padding: 8px 10px !important;
}

.whatsapp-btn:hover {
  color: #fff;
  cursor: pointer;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px;
  left: 50px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 15px 4px rgba(63, 81, 181, 0.3), 0px 4px 17px 10px rgba(63, 81, 181, 0.1);
}

.float:hover {
  color: #25d366;
  background-color: white;
}

@media (max-width: 576px) {
  .float {
    bottom: 60px;
    left: 20px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  position: relative;
  white-space: nowrap;
  padding: 8px 0 8px 20px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--color-secondary);
  white-space: nowrap;
  transition: 0.3s;
  border-bottom: 2px solid #fff;
  padding: 5px 2px;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #082744;
  border: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: var(--color-primary);
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: var(--color-secondary);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(28, 47, 65, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile>ul>li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--color-secondary);
  border: none;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: var(--color-primary);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: var(--color-primary);
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 90vh;
  background: url("../img/hero.png") top center;
  background-size: cover;
  margin-bottom: -200px;
}

#hero .container {
  position: relative;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-transform: uppercase;
  color: var(--color-secondary);
}

#hero h1 span {
  font-size: 60px;
  line-height: 60px;
  font-weight: 600;
  text-transform: uppercase;
}

#hero h2 {
  color: var(--color-secondary);
  margin: 10px 0 0 0;
  font-size: 24px;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  margin-top: 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: var(--color-primary);
}

#hero .btn-get-started:hover {
  background: var(--color-secondary);
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 992px) {
  #hero {
    margin-bottom: 0;
    height: 100vh;
  }

  #hero .container {
    padding-bottom: 63px;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h1 span {
    font-size: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@media (max-height: 600px) {
  #hero {
    height: 110vh;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f1f7fd;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--color-secondary);
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  bottom: 0;
  left: calc(50% - 20px);
}

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

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0 20px 0;
  background: var(--color-secondary);
  border-bottom: 1px solid var(--color-primary);
  margin-top: 120px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 100px;
  }
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .content {
  padding: 30px;
  background: var(--color-primary);
  border-radius: 4px;
  color: #fff;
}

.why-us .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

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

.why-us .content .more-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

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

.why-us .content .more-btn:hover {
  color: var(--color-primary);
  background: #fff;
}

.why-us .icon-boxes .icon-box {
  text-align: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.why-us .icon-boxes .icon-box i {
  font-size: 40px;
  color: var(--color-primary);
  margin-bottom: 30px;
}

.why-us .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.why-us .icon-boxes .icon-box p {
  font-size: 15px;
  color: #848484;
}

/*--------------------------------------------------------------
# Services Section - Alternative with Aspect Ratio
--------------------------------------------------------------*/
.services .card {
  border: 1px solid rgba(14, 29, 52, 0.15);
  background: #fff;
  position: relative;
  border-radius: 10px;
  height: 100%;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.services .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(30, 136, 229, 0.2);
  border-color: var(--color-primary);
}

.services .card .card-img {
  overflow: hidden;
  margin-bottom: 15px;
  border-radius: 10px 10px 0 0;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  /* Consistent 4:3 aspect ratio */
}

.services .card .card-img img {
  transition: 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services .card h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
  padding: 0 20px 10px;
  text-transform: uppercase;
  color: var(--color-secondary);
  position: relative;
}

.services .card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
}

.services .card a {
  color: var(--color-primary);
  transition: 0.3s;
}

.services .card a:hover {
  color: var(--color-secondary);
}

.services .card p {
  padding: 0 20px 20px;
  margin-bottom: 0;
  color: var(--color-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.services .card:hover .card-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Doctors
--------------------------------------------------------------*/
.doctors {
  background: #fff;
}

.doctors .member {
  position: relative;
  box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
  padding: 30px;
  border-radius: 10px;
  min-height: 250px;
}

.doctors .member .pic {
  overflow: hidden;
  width: 180px;
  border-radius: 50%;
}

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

.doctors .member:hover img {
  transform: scale(1.1);
}

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

.doctors .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: var(--color-secondary);
}

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

.doctors .member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: var(--color-primary);
  bottom: 0;
  left: 0;
}

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

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

.doctors .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: rgba(30, 136, 229, 0.6);
}

.doctors .member .social a i {
  color: #fff;
  font-size: 16px;
  margin: 0 2px;
}

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

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

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0 100px;
}

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

.faq .faq-list li+li {
  margin-top: 15px;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  position: relative;
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 0 30px;
  outline: none;
  cursor: pointer;
}

.faq .faq-list .icon-help {
  font-size: 24px;
  position: absolute;
  right: 0;
  left: 20px;
  color: var(--color-primary);
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #343a40;
}

.faq .faq-list a.collapsed:hover {
  color: var(--color-primary);
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

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

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  box-shadow: 0px 2px 12px rgba(44, 73, 100, 0.08);
  position: relative;
  background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}

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

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: var(--color-primary);
  font-size: 26px;
}

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

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Gallery - Fixed Aspect Ratio
--------------------------------------------------------------*/
.gallery {
  padding: 60px 0;
}

.gallery .gallery-item {
  overflow: hidden;
  position: relative;
  border: 3px solid #fff;
  background: #fff;
}

.gallery .gallery-item img {
  width: 100%;
  height: 300px;
  /* Fixed height for consistency */
  object-fit: cover;
  object-position: center;
  transition: all 0.3s ease-in-out;
  display: block;
}

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

.gallery .container-fluid {
  padding: 0;
}

.gallery .row {
  margin: 0;
}

.gallery .col-md-4 {
  padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery .gallery-item img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .gallery .gallery-item img {
    height: 200px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-container {
  background-color: var(--color-secondary);
  height: 100%;
  padding: 20px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
}

.contact .info-item {
  width: 100%;
  background-color: #1565c0;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
}

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

.contact .info-item i {
  font-size: 20px;
  color: #fff;
  float: left;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h4 {
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

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

.contact .info-item:hover i {
  background: #fff;
  color: var(--color-primary);
}

.contact .php-email-form {
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 0 10px 10px 0;
}

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

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #df1529;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #059652;
  border-top-color: #fff;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=tel],
.contact .php-email-form textarea {
  padding: 12px 15px;
}

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

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

.contact .php-email-form button[type=submit] {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 14px 45px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  color: var(--color-primary);
  background: #fff;
}

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

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

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content {
  padding: 70px 50px 0 0;
}

.about .content h3 {
  font-weight: 400;
  font-size: 34px;
  color: var(--color-secondary);
}

.about .content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
}

.about .content p {
  font-size: 15px;
  color: #848484;
}

.about .img {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.about .accordion-list {
  padding: 0 50px 50px 0;
}

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

.about .accordion-list li+li {
  margin-top: 15px;
}

.about .accordion-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
}

.about .accordion-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding-right: 30px;
  outline: none;
  cursor: pointer;
  color: var(--color-primary);
}

.about .accordion-list span {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 18px;
  padding-right: 10px;
}

.about .accordion-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.about .accordion-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.about .accordion-list .icon-show {
  display: none;
}

.about .accordion-list a.collapsed {
  color: #343a40;
}

.about .accordion-list a.collapsed:hover {
  color: var(--color-primary);
}

.about .accordion-list a.collapsed .icon-show {
  display: inline-block;
}

.about .accordion-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1024px) {

  .about .content,
  .about .accordion-list {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  .about .img {
    width: 100%;
    height: auto;
    min-height: 600px;
  }

  .about .content {
    padding-top: 30px;
  }

  .about .accordion-list {
    padding-bottom: 30px;
  }
}

@media (max-width: 575px) {
  .about .img {
    width: 100%;
    height: auto;
    min-height: 295px;
  }
}

.abt .card-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
  border: 2px solid #ececec;
}

.abt .title a {
  font-family: var(--font-poppins);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

.abt .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
  color: #fff;
}

.abt .card-box:hover {
  transform: translateY(-10px);
}

.abt .card-box-1 {
  background: radial-gradient(#1fe4f5, #3fbafe);
}

.abt .card-box-2 {
  background: radial-gradient(#60efbc, #58d5c9);
}

.abt .card-box-1 .icon i {
  color: rgb(0, 168, 232);
}

.abt .card-box-2 .icon i {
  color: rgb(0, 181, 149);
}

.abt .card-box-1:hover .icon i {
  color: rgb(0, 168, 232);
}

.abt .card-box-2:hover .icon i {
  color: rgb(0, 181, 149);
}

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

.team .member .pic {
  overflow: hidden;
  width: 180px;
  border-radius: 50%;
}

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

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

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

.team .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: var(--color-secondary);
}

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

.team .member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: var(--color-primary);
  bottom: 0;
  left: 0;
}

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

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

.team .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: #eff2f8;
}

.team .member .social a i {
  color: var(--color-secondary);
  font-size: 16px;
  margin: 0 2px;
}

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

.team .member .social a:hover i {
  color: #fff;
}

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

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--gradient-primary-reverse);
  padding: 0 0 30px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

#footer .footer-top {
  background: var(--gradient-primary);
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(30, 136, 229, 0.6);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

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

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

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1;
}

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

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

#footer .footer-top .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links a:hover,
#footer .footer-top .footer-links .active,
#footer .footer-top .footer-links .active:hover,
#footer .footer-top .footer-links li:hover>a {
  color: #fff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

#footer .footer-top .footer-contact p span {
  color: #fff !important;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

#footer .credits a {
  color: #fff;
}

#footer .credits a:hover {
  color: var(--color-primary);
}

/* ===== SOCIAL MEDIA ICONS FIX ===== */
#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(5, 135, 137, 0.6);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.doctors .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: rgba(5, 135, 137, 0.6);
}

.doctors .member .social a i {
  color: #fff;
  font-size: 16px;
  margin: 0 2px;
}

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

/* ===== CONTACT PAGE FIX ===== */
.contact .info-item {
  width: 100%;
  background-color: #04686a;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
}

.contact .info-item:hover i {
  background: #fff;
  color: var(--color-primary);
}

/* ===== HERO SECTION FIX ===== */
#hero {
  width: 100%;
  height: 90vh;
  background:
    linear-gradient(rgba(5, 135, 137, 0.4), rgba(4, 104, 106, 0.4)),
    url("../img/hero.png") top center;
  background-size: cover;
  margin-bottom: -200px;
  position: relative;
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#hero h1 span {
  font-size: 60px;
  line-height: 60px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#hero h2 {
  color: #fff;
  margin: 10px 0 0 0;
  font-size: 24px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

/* Responsive hero text */
@media (max-width: 992px) {
  #hero h1 {
    font-size: 36px;
    line-height: 42px;
  }

  #hero h1 span {
    font-size: 42px;
  }

  #hero h2 {
    font-size: 20px;
  }
}

/* ===== HERO SECTION FIX ===== */
#hero {
  width: 100%;
  height: 90vh;
  background:
    linear-gradient(rgba(5, 135, 137, 0.4), rgba(4, 104, 106, 0.4)),
    url("../img/hero.png") top center;
  background-size: cover;
  margin-bottom: 0;
  /* REMOVED negative margin */
  position: relative;
}

#hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  /* Better vertical centering */
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#hero h1 span {
  font-size: 60px;
  line-height: 60px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#hero h2 {
  color: #fff;
  margin: 20px 0 0 0;
  /* Increased top margin */
  font-size: 24px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

/* ===== WHY CHOOSE US SECTION FIX ===== */
#why-us {
  padding: 80px 0 60px 0;
  position: relative;
  z-index: 2;
  background: #fff;
  margin-top: 0;
  /* Ensure no negative margin */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  #hero {
    height: 80vh;
    /* Slightly smaller on mobile */
    margin-bottom: 0;
  }

  #hero .container {
    padding-top: 80px;
  }

  #hero h1 {
    font-size: 36px;
    line-height: 42px;
  }

  #hero h1 span {
    font-size: 42px;
  }

  #hero h2 {
    font-size: 20px;
    margin-top: 15px;
  }

  #why-us {
    padding: 60px 0 40px 0;
  }
}

@media (max-height: 600px) {
  #hero {
    height: 100vh;
    /* Full height on very short screens */
  }
}

/*--------------------------------------------------------------
# Header Logo Image
--------------------------------------------------------------*/
#header .logo img {
  max-height: 60px;
  /* Adjust this value based on your logo size */
  transition: all 0.3s ease;
}

#header .logo:hover img {
  opacity: 0.8;
  /* Subtle hover effect */
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  #header .logo img {
    max-height: 50px;
    /* Smaller on mobile */
  }
}

@media (max-width: 576px) {
  #header .logo img {
    max-height: 45px;
    /* Even smaller on very small screens */
  }
}

/* ===== HERO SECTION FIX ===== */
#hero {
  width: 100%;
  height: 90vh;
  background:
    linear-gradient(rgba(5, 135, 137, 0.4), rgba(4, 104, 106, 0.4)),
    url("../img/hero.png") top center;
  background-size: cover;
  margin-bottom: 0;
  position: relative;
  /* Default background position for desktop */
  background-position: center center;
}

#hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#hero h1 span {
  font-size: 60px;
  line-height: 60px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#hero h2 {
  color: #fff;
  margin: 20px 0 0 0;
  font-size: 24px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

/* ===== RESPONSIVE BACKGROUND POSITIONING ===== */

/* iPad and Tablets (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  #hero {
    background-position: -100px center;
    /* Adjust as needed for iPad */
    height: 80vh;
  }
}

/* Mobile Landscape and Small Tablets (576px - 768px) */
@media (max-width: 768px) and (min-width: 577px) {
  #hero {
    background-position: -150px center;
    height: 70vh;
  }

  #hero .container {
    padding-top: 80px;
  }
}

/* Mobile Portrait (up to 576px) */
@media (max-width: 576px) {
  #hero {
    background-position: -200px 50px;
    /* Your preferred mobile position */
    height: 70vh;
    background-size: cover;
  }

  #hero .container {
    padding-top: 60px;
  }

  #hero h1 {
    font-size: 32px;
    line-height: 38px;
  }

  #hero h1 span {
    font-size: 36px;
  }

  #hero h2 {
    font-size: 18px;
    margin-top: 15px;
  }
}

/* Very small mobile devices */
@media (max-width: 375px) {
  #hero {
    background-position: -250px 40px;
    /* Further adjustment for very small screens */
    height: 65vh;
  }
}

/* ===== HERO SECTION - PROPER MEDIA QUERY STRUCTURE ===== */
#hero {
  width: 100%;
  height: 90vh;
  background:
    linear-gradient(rgba(5, 135, 137, 0.4), rgba(4, 104, 106, 0.4)),
    url("../img/hero.png") center center;
  /* Default for all screens */
  background-size: cover;
  margin-bottom: 0;
  position: relative;
}

#hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
}

/* ===== LARGE DESKTOPS (1025px and above) ===== */
@media (min-width: 1025px) {
  #hero {
    background-position: center 50px;
    /* Move down 50px ONLY on large desktops */
  }
}

/* ===== DESKTOPS (993px - 1024px) ===== */
@media (min-width: 993px) and (max-width: 1024px) {
  #hero {
    background-position: center center;
    /* Keep centered on smaller desktops */
    height: 85vh;
  }
}

/* ===== IPAD LANDSCAPE (769px - 992px) ===== */
@media (max-width: 992px) and (min-width: 769px) {
  #hero {
    background-position: -100px center;
    /* Your iPad setting */
    height: 80vh;
  }
}

/* ===== IPAD PORTRAIT & MOBILE LANDSCAPE (577px - 768px) ===== */
@media (max-width: 768px) and (min-width: 577px) {
  #hero {
    background-position: -150px center;
    /* Your tablet setting */
    height: 70vh;
  }

  #hero .container {
    padding-top: 80px;
  }
}

/* ===== MOBILE PORTRAIT (up to 576px) ===== */
@media (max-width: 576px) {
  #hero {
    background-position: -200px 50px;
    /* Your mobile setting */
    height: 70vh;
  }

  #hero .container {
    padding-top: 60px;
  }

  #hero h1 {
    font-size: 32px;
    line-height: 38px;
  }

  #hero h1 span {
    font-size: 36px;
  }

  #hero h2 {
    font-size: 18px;
  }
}