/*

TemplateMo 566 Medic Care

https://templatemo.com/tm-566-medic-care

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #28a745;
  --section-bg-color:             #F9F9F9;
  --dark-color:                   #000000;
  --title-color:                  #565758;
  --p-color:                      #717275;
  --border-color:                 #eaeaea;

  --body-font-family:             'Open Sans', sans-serif;

  --h1-font-size:                 48px;
  --h2-font-size:                 36px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --menu-font-size:               16px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
    padding-top: 94px;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
}

h1,
h2 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-link {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  pointer-events: auto;
  font-weight: var(--font-weight-semibold);
  line-height: 40px;
  position: relative;
  padding: 0 30px;
  box-sizing: border-box;
  margin: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  overflow: hidden;
  border-radius: 0;
  text-transform: uppercase;
}

.custom-link::before {
  content: attr(data-hover);
  background-color: var(--border-color);
  color: var(--primary-color);
  position: absolute;
  top: 100%;
  bottom: 0;
  left: 0;
  transition: all 300ms cubic-bezier(0.19, 1, 0.56, 1);
  right: 0;
  text-align: center;
}

.custom-link:hover::before {
  top: 0;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  LIST GROUP               
-----------------------------------------*/
.list-group-item {
  background-color: transparent;
  color: var(--p-color);
  font-size: var(--p-font-size);
  padding: 1rem 0;
}

.list-group-item:first-child {
  padding-top: 0;
}

.list-group-item span {
  font-weight: var(--font-weight-semibold);
  margin-left: auto;
}

/*---------------------------------------
  ANIMATED TEXT              
-----------------------------------------*/
.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  min-width: 250px;
  position: relative;
}

.animated-item {
  color: var(--primary-color);
}

.animated-item {
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  animation: BottomTotop 6s linear infinite 0s;
}

.animated-item:nth-child(2n+2) {
  animation-delay: 2s;
}

.animated-item:nth-child(3n+3) {
  animation-delay: 4s;
}

@keyframes BottomTotop {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0;
    transform: translateY(5px);
  }
  10% {
    opacity: 1;
    transform: translateY(0px);
  }
  25% {
    opacity: 1;
    transform: translateY(0px);
  }
  30% {
    opacity: 0;
    transform: translateY(5px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*---------------------------------------
  HERO
-----------------------------------------*/
.hero {
  padding-top: 0rem;
  position: relative;
}

.hero .container {
  position: relative;
  overflow: hidden;
  height: 580px;
}

.hero .carousel-item {
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,123,255,0.7) 0%, rgba(0,123,255,0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-content {
  text-align: center;
  color: var(--white-color);
  max-width: 600px;
  padding: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-semibold);
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  text-align: center;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-buttons .btn-primary {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--white-color);
}

.hero-buttons .btn-primary:hover {
  background: #218838;
  border-color: #218838;
}

.hero-buttons .btn-outline-light {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.hero-buttons .btn-outline-light:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

/* Mobile responsiveness for hero buttons */
@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  transform: scale(1.1);
}

.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  transform: scale(1.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.heroText {
  background: var(--white-color);
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: 0;
  padding: 1.5rem 2.5rem;
  width: 50%;
}

.contact-phone {
  font-weight: var(--font-weight-semibold);
}

/*---------------------------------------
  FEATURED              
-----------------------------------------*/
.featured-circle {
  border-radius: 100%;
  width: 350px;
  height: 350px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-text {
  font-size: var(--h6-font-size);
  line-height: 2rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: 0;
}

.featured-number {
  color: var(--primary-color);
  font-size: 8rem;
  margin: 0 10px;
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
  margin: 0 30px;
  padding: 0;
  text-align: center;
}

.navbar-brand strong {
  color: var(--p-color);
  font-size: 12px;
  position: relative;
  bottom: 5px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-weight: var(--font-weight-semibold);
  font-size: var(--menu-font-size);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-item.active .nav-link, 
.nav-link:focus, 
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  TIMELINE               
-----------------------------------------*/
.timeline,
.timeline-nodes {
  position: relative;
}

.timeline-nodes:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline h3, 
.timeline p {
  padding: 10px 30px;
} 

.timeline h3 {
  background: var(--dark-color);
}

.timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 37px;
  left: 50%;
  width: 0;
  border-left: 1px solid var(--border-color);
  height: 85%;
  z-index: 1;
  transform: translateX(-50%);
}

.timeline-content {
  position: relative;
  border-radius: 0 0 0.25rem 0.25rem;
  padding: 0;
}

.timeline-nodes:nth-child(odd) h3,
.timeline-nodes:nth-child(odd) p {
  text-align: right;
}

.timeline-nodes:nth-child(odd) .timeline-date {
  text-align: left;
}
 
.timeline-nodes:nth-child(even) .timeline-date {
  text-align: right;
}

.timeline-nodes:nth-child(odd) h3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-left: 10px solid var(--dark-color);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-nodes h3 {
  position: relative;
  border-radius: 0.25rem 0.25rem 0 0;
}

.timeline-nodes:nth-child(even) h3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-right: 10px solid var(--dark-color);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-icons {
  position: relative;
  z-index: 100;
}

.timeline-icons::before {
  content: "";
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%,0);
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  z-index: 1;
}

.timeline-icon {
  position: relative;
  z-index: 100;
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  display: block;
  text-align: center;
  line-height: 80px;
}

@media (max-width: 767px) {
  .timeline-nodes:nth-child(odd) h3,
  .timeline-nodes:nth-child(odd) p {
    text-align: left;
  }

  .timeline-nodes:nth-child(even) {
    flex-direction: row;
  }

  .timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 60px;
    left: 33px;
    width: 0;
    height: 90%;
    z-index: 1;
    transform: translateX(-50%);
  }

  .timeline-icons {
    position: absolute;
    left: 0%;
    top: 60px;
  }

  .timeline-nodes:nth-child(odd) h3::after {
    left: auto;
    right: 100%;
    border-left: 0;
    border-right: 10px solid var(--dark-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline-nodes:nth-child(even) h3::after {
    right: 100%;
    width: 0;
    border-right: 10px solid var(--dark-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline-nodes:nth-child(even) .timeline-date {
    text-align: left;
  }

  .timeline-icons::before {
    width: 75px;
    height: 75px;
  }

  .timeline-icon {
    line-height: 75px;
  }
}

@media (max-width: 575px) {
  .timeline::before {
    content: "";
    display: block;
    top: 60px;
    left: 57px;
    height: 87%;
  }

  .timeline-icons {
    position: absolute;
    left: -10px;
  }

  .timeline-icons::before {
    width: 70px;
    height: 70px;
  }

  .timeline-icon {
    line-height: 70px;
  }
}

/*---------------------------------------
  REVIEWS               
-----------------------------------------*/
.reviews-thumb {
  margin-bottom: 0;
  padding: 32px;
}

.reviews-text {
  margin-top: 10px;
  margin-bottom: 25px;
}

.reviews-image {
  border-radius: 100px;
  width: 70px !important;
  height: 70px !important;
}

.reviews-carousel .owl-item {
  opacity: 0.45;
}

.reviews-carousel .owl-item.active.center {
  opacity: 1;
}

.reviews-carousel .owl-item.active.center .reviews-thumb {
  background: var(--dark-color);
}

.reviews-carousel .owl-item.active.center .reviews-thumb,
.reviews-carousel .owl-item.active.center .reviews-text {
  color: var(--white-color);
}

.reviews-carousel .owl-nav {
  display: flex;
  justify-content: space-between;
  margin: auto;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.reviews-carousel .owl-nav span {
  width: 35px;
  height: 35px;
  line-height: 35px;
  display: block;
}

.reviews-carousel .owl-nav .owl-prev {
  position: relative;
  left: -80px;
}

.reviews-carousel .owl-nav .owl-next {
  position: relative;
  right: -80px;
}

.reviews-carousel .owl-prev span,
.reviews-carousel .owl-next span {
  color: transparent;
}

.reviews-carousel .owl-prev span::before,
.reviews-carousel .owl-next span::before {
  font-family: bootstrap-icons;
  display: block;
  font-size: var(--h3-font-size);
  color: var(--p-color);
  width: 35px;
  height: 35px;
}

.reviews-carousel .owl-prev span::before {
  content: "\f12f";
}

.reviews-carousel .owl-next span::before {
  content: "\f138";
}

/*---------------------------------------
  BOOKING FORM            
-----------------------------------------*/

.booking-form .form-control {
  background: transparent;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--border-color);
  color: #6c757d;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 15px;
  transition: all 0.3s;
}

.booking-form #submit-button {
  background: var(--dark-color);
  border-bottom: 0;
  font-weight: var(--font-weight-semibold);
  color: var(--white-color);
  text-transform: uppercase;
  margin-top: 35px;
}

.booking-form #submit-button:hover {
  background: var(--primary-color);
}

/*---------------------------------------
  SERVICES PREVIEW
-----------------------------------------*/
.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--p-color);
  margin-bottom: 0;
}

.service-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: var(--dark-color);
}

/*---------------------------------------
  ABOUT US BUTTONS
-----------------------------------------*/
.about-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.about-buttons .btn {
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  transition: all 0.3s;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.about-buttons .btn:hover {
  background: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.about-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.about-buttons .btn:hover::before {
  left: 100%;
}

.about-learn-more {
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: all 0.3s;
}

.about-learn-more:hover {
  color: var(--dark-color);
  text-decoration: underline;
}

/*---------------------------------------
  ABOUT SECTION ENHANCEMENTS
-----------------------------------------*/
.about-content h2 {
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
  border-radius: 2px;
}

.about-features {
  background: rgba(0,123,255,0.05);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
}

.feature-item {
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
}

.about-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.about-image-container:hover .image-overlay {
  transform: translateY(0);
}

.stats-box {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--white-color);
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*---------------------------------------
  FOOTER
-----------------------------------------*/
.site-footer {
  background: linear-gradient(135deg, var(--section-bg-color) 0%, rgba(40, 167, 69, 0.05) 100%);
  border-top: 1px solid rgba(0, 123, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,123,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(0,123,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(0,123,255,0.02)"/><circle cx="10" cy="50" r="0.5" fill="rgba(0,123,255,0.02)"/><circle cx="90" cy="30" r="0.5" fill="rgba(0,123,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.footer-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.footer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.footer-title {
  color: var(--dark-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #0056b3);
  border-radius: 2px;
}

.footer-title i {
  color: var(--primary-color);
}

/* Contact Information Styling */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.contact-item:hover {
  background: rgba(0, 123, 255, 0.08);
  border-left-color: var(--primary-color);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.contact-details strong {
  color: var(--dark-color);
  font-weight: var(--font-weight-semibold);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact-details p {
  margin: 0;
  color: var(--p-color);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Clinic Description Styling */
.clinic-description p {
  color: var(--p-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.clinic-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
  color: #28a745;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  border: 1px solid rgba(40, 167, 69, 0.2);
  transition: all 0.3s ease;
}

.feature-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.feature-badge i {
  font-size: 0.9rem;
}

/* Social Links Modern Styling */
.social-links-modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  text-decoration: none;
  color: var(--p-color);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-link i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.social-link.facebook:hover {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
  color: var(--white-color);
  border-color: #1877f2;
}

.social-link.twitter:hover {
  background: linear-gradient(135deg, #1da1f2, #42a5f5);
  color: var(--white-color);
  border-color: #1da1f2;
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #e4405f, #f56040);
  color: var(--white-color);
  border-color: #e4405f;
}

.social-link.youtube:hover {
  background: linear-gradient(135deg, #ff0000, #ff4444);
  color: var(--white-color);
  border-color: #ff0000;
}

/* Footer Bottom Styling */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px 16px 0 0;
  padding: 2rem;
  margin: 3rem -1rem -1rem -1rem;
}

.copyright-text {
  font-size: var(--menu-font-size);
  color: var(--p-color);
  font-weight: var(--font-weight-normal);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--p-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.footer-link:hover {
  color: var(--primary-color);
  background: rgba(0, 123, 255, 0.1);
}

.separator {
  color: var(--p-color);
  font-weight: var(--font-weight-light);
}

/* Responsive Footer Styles */
@media (max-width: 991px) {
  .footer-card {
    padding: 1.5rem;
  }

  .contact-info-list {
    gap: 1rem;
  }

  .contact-item {
    padding: 0.75rem;
  }

  .social-links-modern {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .social-link {
    flex: 1 1 calc(50% - 0.375rem);
    justify-content: center;
    min-width: 140px;
  }

  .footer-bottom {
    margin: 2rem -1rem -1rem -1rem;
    padding: 1.5rem;
  }

  .footer-links {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .footer-card {
    padding: 1.25rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .contact-icon {
    align-self: center;
  }

  .social-link {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .clinic-features {
    justify-content: center;
  }

  .feature-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer-title {
    font-size: var(--h6-font-size);
  }

  .contact-details strong {
    font-size: 0.9rem;
  }

  .contact-details p {
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding: 1rem;
  }

  .copyright-text {
    font-size: 0.85rem;
    text-align: center;
  }

  .footer-links {
    font-size: 0.8rem;
  }
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
  transition: all 0.3s;
}

.social-icon:hover li:not(:hover) {
  opacity: 0.65;
}

.social-icon-link {
  font-size: var(--p-font-size);
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .hero .container {
    height: 740px;
  }
}

@media screen and (max-width: 991px) {
  body {
    padding-top: 74px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-nav .nav-link {
    padding-top: 5px;
    padding-bottom: 10px;
  }

  .hero .container {
    height: inherit;
  }

  .heroText {
    position: relative;
    bottom: 100px;
    left: 0;
    width: auto;
    margin-bottom: -100px;
    padding: 2rem;
  }

  .featured-circle {
    width: 320px;
    height: 320px;
  }
}

@media screen and (max-width: 767px) {
  .heroText {
    padding: 1.5rem;
  }

  .animated-info {
    min-width: 125px;
  }

  .featured-circle {
    margin-top: 20px;
  }

  .reviews-carousel .owl-nav {
    position: relative;
    width: auto !important;
    transform: inherit;
    top: 0;
    bottom: 0;
    left: 0;
    max-width: 100px;
    margin: 20px auto;
  }

  .reviews-carousel .owl-nav .owl-prev,
  .reviews-carousel .owl-nav .owl-next {
    right: 0;
    left: 0;
  }
}

@media screen and (max-width: 480px) {
  .heroText {
    padding: 1rem;
  }

  .heroLinks .custom-link {
    font-size: 12px;
    line-height: 30px;
    margin-right: 12px !important;
    padding: 0 25px;
  }

  .contact-phone {
    font-size: 12px;
  }
}

@media screen and (max-width: 360px) {
  .featured-number {
    font-size: 5rem;
  }

  .featured-circle {
    width: 235px;
    height: 235px;
  }

  .reviews-image {
    width: 55px !important;
    height: 55px !important;
  }

  .reviews-thumb figcaption {
    font-size: var(--menu-font-size);
  }

  .timeline::before {
    left: 42px;
  }
}

/*---------------------------------------
  TESTIMONIALS SECTION
-----------------------------------------*/
.testimonials-carousel .owl-item {
    opacity: 0.3;
    transition: all 0.3s ease;
}

.testimonials-carousel .owl-item.center {
    opacity: 1;
    transform: scale(1.05);
}

.testimonial-item {
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.testimonial-content {
    text-align: center;
}

.testimonial-text {
    margin-bottom: 2rem;
}

.testimonial-text i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.author-info h6 {
    margin: 0;
    font-weight: var(--font-weight-bold);
}

.author-info small {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/*---------------------------------------
  GALLERY ENHANCEMENTS
-----------------------------------------*/
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,123,255,0.8) 0%, rgba(0,123,255,0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--white-color);
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content h5 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.gallery-content p {
    margin: 0;
    opacity: 0.9;
}

/*---------------------------------------
  CUSTOM INTERACTIVE ELEMENTS
-----------------------------------------*/

/* Navbar hover effects */
.navbar-nav .nav-link {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-2px);
    color: var(--primary-color) !important;
}

/* Dropdown animation */
.dropdown-menu {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal animation */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Step animation */
.step {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Contact info hover */
.contact-info {
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info:hover {
    background-color: rgba(0,123,255,0.1);
    transform: translateY(-2px);
}

/* Form focus effects */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Ripple effect for buttons */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::after {
    width: 300px;
    height: 300px;
}

/* Gallery image zoom */
.galleryImage {
    transition: transform 0.3s ease;
}

.galleryImage:hover {
    transform: scale(1.05);
}

/*---------------------------------------
  MODERN ENHANCEMENTS
-----------------------------------------*/

/* Pulse animation for service icons */
.pulse {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Enhanced hero overlay with gradient */
.hero-overlay {
    background: linear-gradient(135deg, rgba(0,123,255,0.8) 0%, rgba(0,123,255,0.4) 50%, rgba(0,123,255,0.2) 100%);
}

/* Modern card shadows and borders */
.service-card {
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,123,255,0.1);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0,123,255,0.15);
    border-color: rgba(0,123,255,0.3);
    transform: translateY(-5px);
}

/* Service icon styling */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(0,123,255,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white-color);
}

/* Service image container */
.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-image-container:hover {
    transform: scale(1.02);
}

.service-image-container img {
    transition: transform 0.3s ease;
}

.service-image-container:hover img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    color: var(--white-color);
    text-align: center;
}

.service-image-container:hover .service-overlay {
    transform: translateY(0);
}

.service-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--white-color);
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Service features styling */
.service-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(0,123,255,0.05);
    border-left: 3px solid var(--primary-color);
}

.feature-item:hover {
    background: rgba(0,123,255,0.1);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.1);
}

/* Enhanced gallery items */
.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Modern about section enhancements */
.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-image-container img {
    transition: transform 0.3s ease;
}

.about-image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transition: all 0.3s ease;
}

.about-image-container:hover .image-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* Stats counter animation */
.stat-number {
    transition: all 0.3s ease;
    font-weight: var(--font-weight-bold);
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Enhanced feature items */
.feature-item {
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(0,123,255,0.05);
}

.feature-item:hover {
    background: rgba(0,123,255,0.1);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.1);
}

/* Modern button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,123,255,0.3);
}

/* Lightbox modal enhancements */
#lightboxModal .modal-content {
    background: rgba(0,0,0,0.9);
    border-radius: 20px;
}

#lightboxModal img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    .about-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/*---------------------------------------
  CONTACT PAGE MODERN STYLES
-----------------------------------------*/

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact section background gradient */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Icon circles for contact info */
.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(0,123,255,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,123,255,0.2);
}

/* Input group enhancements */
.input-group-text {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white-color);
    border: none;
    transition: all 0.3s ease;
}

.input-group:hover .input-group-text {
    transform: scale(1.05);
}

/* Enhanced form control focus */
#contactForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    transform: translateY(-2px);
}

/* Submit button gradient */
#submit-button {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border: none;
    position: relative;
    overflow: hidden;
}

#submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

#submit-button:hover::before {
    left: 100%;
}

/* Hours list styling */
.hours-list .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Map container styling */
.map-container iframe {
    border-radius: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section .card-body {
        padding: 2rem !important;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle i {
        font-size: 1.5rem;
    }
}
