/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --transition: all 0.3s ease;
  /* Primary Colors - Based on Logo Blue (#2076B2) */
  --primary: #1970b3;
  --primary-dark: #185a8a;
  --primary-light: #4090cc;
  --primary-lighter: #e6f0f7;
  --primary-transparent: rgba(32, 118, 178, 0.9);
  --primary-rgb: 32, 118, 178;

  /* Secondary/Accent Colors - Based on Logo Green (#80C35F) */
  --accent: #80c35f;
  --accent-dark: #669e4c;
  --accent-light: #9ad17c;
  --accent-lighter: #eef7e9;
  --accent-rgb: 128, 195, 95;

  /* Neutral Colors - Based on Logo Gray (#595A5A) */
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #595a5a; /* From logo */
  --gray-800: #343a40;
  --gray-900: #212529;
  --black: #000000;

  /* Status Colors */
  --success: #80c35f; /* Using logo green */
  --info: #2076b2; /* Using logo blue */
  --warning: #f5a623; /* Complementary orange */
  --danger: #dc3545; /* Standard red */

  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #595a5a;
  --text-white-80: rgba(255, 255, 255, 0.8);
  --text-white-60: rgba(255, 255, 255, 0.6);

  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-gradient-light: linear-gradient(to right, #f8f9fa, #e9ecef);

  /* Healthcare-Specific Colors */
  --healthcare-blue-light: #c5dff1;
  --healthcare-green-light: #e1f1d9;
}
body {
  background: #f7fcfd;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: sans-serif;
}

nav {
  padding: 20px;
  background: #f8f8f8;
  display: flex;
  gap: 20px;
  box-shadow: 0 1px 5px #ccc;
}
.view-page {
  min-height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
a.router-link-active {
  font-weight: bold;
  color: #2a7ae2;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}

html {
  scroll-behavior: smooth;
}

.slide-up-enter-active,
.slide-up-leave-active,
.slide-down-enter-active,
.slide-down-leave-active {
  transition: all 0.5s ease;
}

.slide-up-enter,
.slide-down-leave-to {
  opacity: 0;
  transform: translateY(100px);
}

.slide-up-leave-to,
.slide-down-enter {
  opacity: 0;
  transform: translateY(-100px);
}
.page {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  transition: all 0.6s ease-in-out;
  background-color: #f8f9fa; /* فقط للتوضيح */
}

a {
  color: var(--primary) !important;
  text-decoration: none;
  transition: var(--transition);
}

a:hover,
.main-header a .small {
  color: var(--accent) !important;
}

a .text-primary {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-white-80 {
  color: rgba(var(--white-rgb), 0.8) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.bg-primary-transparent {
  background-color: rgba(var(--primary-rgb), 0.9);
  backdrop-filter: blur(10px);
}

.bg-gradient-light {
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
}

.section-title {
  font-weight: 700;
  /* margin-bottom: 1rem; */
}

.section-description {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.divider {
  width: 80px;
  height: 3px;
  background-color: rgba(var(--white-rgb), 0.3);
}

.py-7 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .py-7 {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.main-header {
  background-color: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.top-bar {
  background-color: var(--primary-dark);
}

.logo {
  height: 60px;
  width: auto;
  background-color: #fff;
  padding: 5px;
  border-radius: 50%;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper {
  position: absolute;
  right: 100%;
  top: auto;
  width: 0;
  overflow: hidden;
  transition: width 0.3s ease;
  opacity: 0;
}

.search-input-wrapper.active {
  width: 250px;
  opacity: 1;
}

.search-input {
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 1rem;
  border: none;
  border-radius: 50px;
  background-color: rgba(var(--white-rgb), 0.1);
  color: #fff;
}

.search-input::placeholder {
  color: rgba(var(--white-rgb), 0.6);
}

.search-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(var(--white-rgb), 0.6);
  cursor: pointer;
}

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

/* Mega Menu */
.navbar-nav .nav-link {
  padding: 1rem 1rem;
  font-weight: 500;
}

.navbar .nav-link {
  color: var(--primary);
}

.navbar .nav-link:hover {
  color: var(--accent);
}

.dropdown-menu.mega-menu {
  border: none;
  border-radius: 0;
  margin-top: 0;
  padding: 1.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mega-menu h5 {
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.mega-menu h5:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 2px;
  width: 40px;
  background-color: var(--bs-primary);
}

.mega-menu p.text-muted {
  margin-bottom: 1.5rem;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--primary-lighter);
  color: var(--primary);
}

/* Enhanced Dropdown Menu Styling */
.custom-dropdown-list .menu-item-with-desc {
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  border-radius: 8px;
  border-left: 3px solid transparent;
}

.custom-dropdown-list .menu-item-with-desc:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.05);
  transform: translateX(5px);
  border-left: 3px solid var(--bs-primary);
  padding-left: 10px;
}

.custom-dropdown-list .dropdown-item {
  font-weight: 500;
  padding: 0.3rem 1rem;
  white-space: normal;
  background-color: transparent;
  color: var(--bs-dark);
  transition: color 0.2s ease;
}

.custom-dropdown-list .dropdown-item:hover {
  color: var(--bs-primary);
  background-color: transparent;
}

.custom-dropdown-list .item-description {
  display: block;
  padding-left: 1rem;
  line-height: 1.4;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.custom-dropdown-list .menu-item-with-desc:hover .item-description {
  opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
  max-height: 80vh;
  overflow-y: auto;
}

.accordion-button {
  padding: 1rem 0;
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: transparent;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

/*--------------------------------------------------------------
# Hero Slider
--------------------------------------------------------------*/
.hero-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: 700px;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.hero-slide-inner {
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active .hero-slide-inner {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.85) 0%, rgba(24, 90, 138, 0.9) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.swiper-slide-active .hero-overlay {
  opacity: 1;
}

/* Decorative elements */
.hero-shape {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-shape-1 {
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.2), transparent 70%);
  animation: floatingShape 20s infinite alternate ease-in-out;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.5s;
}

.hero-shape-2 {
  bottom: 15%;
  left: 10%;
  width: 150px;
  height: 150px;
  border-radius: 55% 45% 37% 63% / 40% 48% 52% 60%;
  background: radial-gradient(circle at 70% 70%, rgba(var(--secondary-rgb), 0.2), transparent 70%);
  animation: floatingShape 16s infinite alternate-reverse ease-in-out;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.7s;
}

.hero-shape-dots {
  position: absolute;
  top: 20%;
  left: 5%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 10px 10px;
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.9s;
}

.swiper-slide-active .hero-shape {
  opacity: 0.7;
  transform: translateY(0) translateX(0);
}

@keyframes floatingShape {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
  100% {
    transform: translateY(15px) rotate(-5deg);
  }
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-content-wrapper {
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background-color: var(--accent);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
  transition-delay: 0.3s;
}

.hero-badge i {
  margin-right: 8px;
  font-size: 0.9rem;
}

.swiper-slide-active .hero-badge {
  transform: translateY(0);
  opacity: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  overflow: hidden;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title .title-wrapper {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
}

.hero-title .title-wrapper:nth-child(1) {
  transition-delay: 0.5s;
}

.hero-title .title-wrapper:nth-child(2) {
  transition-delay: 0.7s;
}

.swiper-slide-active .hero-title .title-wrapper {
  transform: translateY(0);
  opacity: 1;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  color: var(--accent-light);
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--accent);
  opacity: 0.4;
  border-radius: 2px;
  animation: none;
}

.swiper-slide-active .hero-title .highlight::after {
  animation: highlightLine 1.2s forwards 1.5s;
}

@keyframes highlightLine {
  0% {
    width: 0;
    left: 0;
    right: auto;
  }
  50% {
    width: 100%;
    left: 0;
    right: auto;
  }
  51% {
    width: 100%;
    left: auto;
    right: 0;
  }
  100% {
    width: 0;
    left: auto;
    right: 0;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
  transition-delay: 0.9s;
}

.swiper-slide-active .hero-subtitle {
  transform: translateY(0);
  opacity: 1;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 90%;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
  transition-delay: 1.1s;
}

.swiper-slide-active .hero-description {
  transform: translateY(0);
  opacity: 1;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
  transition-delay: 1.3s;
}

.swiper-slide-active .hero-buttons {
  transform: translateY(0);
  opacity: 1;
}

.hero-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.hero-btn i,
.hero-btn span {
  position: relative;
  z-index: 2;
}

.hero-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: width 0.4s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover::before {
  width: 100%;
}

.hero-btn:hover i {
  transform: translateX(5px);
}

.hero-btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(var(--accent-rgb), 0.3);
}

.hero-btn-outline {
  border-color: var(--white);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-btn-outline:hover {
  border-color: white;
}

/* Features box */
.hero-features {
  position: absolute;
  right: 0;
  bottom: 30px;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px 0 0 12px;
  padding: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 1.5s;
}

.swiper-slide-active .hero-features {
  transform: translateX(0);
}

.hero-features-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.hero-features-title i {
  margin-right: 10px;
  background: rgba(var(--primary-rgb), 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.hero-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.hero-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background-color: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  margin-right: 8px;
}

/* Navigation controls */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
  opacity: 1;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.2rem;
  font-weight: bold;
}

.hero-slider .swiper-pagination {
  bottom: 20px !important;
}

.hero-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  width: 10px;
  height: 10px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  background: white;
  width: 25px;
  border-radius: 10px;
  opacity: 1;
}

/* Slide counter */
.hero-slide-counter {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 10;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  opacity: 0.8;
}

.hero-counter-separator {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 10px;
  position: relative;
}

.hero-counter-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: white;
  width: 0;
  transition: width 0.5s linear;
}

/* Scroll down button */
.hero-scroll-down {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.hero-scroll-text {
  font-size: 0.9rem;
  margin-bottom: 8px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-scroll-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.hero-scroll-down:hover {
  color: var(--accent);
  transform: translateX(-50%) translateY(-5px);
}

.hero-scroll-down:hover .hero-scroll-icon {
  background: rgba(var(--accent-rgb), 0.15);
  border-color: var(--accent);
}

/* Responsive styles */
@media (max-width: 1399.98px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 1199.98px) {
  .hero-slider,
  .hero-slide {
    height: 650px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-features {
    max-width: 350px;
  }

  .hero-slide-counter {
    left: 20px;
    bottom: 20px;
    font-size: 1rem;
  }
}

@media (max-width: 991.98px) {
  .hero-slider,
  .hero-slide {
    height: 550px;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-features {
    display: none;
  }

  .hero-content {
    max-width: 600px;
  }

  .hero-badge {
    margin-bottom: 1.5rem;
  }

  .hero-btn {
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-slider,
  .hero-slide {
    height: 500px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 15px;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-slide-counter,
  .hero-scroll-down {
    display: none;
  }

  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 575.98px) {
  .hero-slider,
  .hero-slide {
    height: 450px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Search Section
--------------------------------------------------------------*/
.search-box {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

/*--------------------------------------------------------------
# Welcome Section
--------------------------------------------------------------*/
.welcome-section {
  padding: 5rem 0;
}

.welcome-image {
  position: relative;
  height: 100%;
  min-height: 450px; /* Ensures minimum height on all screens */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This is crucial - makes image cover the container */
  object-position: center;
}

/* Match heights between image and content */
@media (min-width: 992px) {
  .welcome-section .row {
    min-height: 500px;
  }

  .welcome-image {
    position: absolute;
    top: 0;
    left: 15px; /* Account for column padding */
    bottom: 0;
    width: calc(50% - 30px); /* Account for container padding */
  }
}

/* Ensure badge stays properly positioned */
.welcome-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
}

.welcome-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.badge-inner {
  text-align: center;
}

.badge-inner span {
  display: block;
}

.badge-inner .year {
  font-size: 1.8rem;
  font-weight: 700;
}

/* Enhanced Welcome Section - Namespaced styles */

.welcome-section {
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.wel-decoration-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 70%);
  top: -100px;
  right: -50px;
  z-index: 0;
}

.wel-decoration-dots {
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: 50px;
  left: 0;
  background-image: radial-gradient(rgba(var(--primary-rgb), 0.2) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.3;
  z-index: 0;
}

.wel-decoration-line {
  position: absolute;
  height: 90%;
  width: 3px;
  top: 5%;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgba(var(--primary-rgb), 0),
    rgba(var(--primary-rgb), 0.2),
    rgba(var(--primary-rgb), 0)
  );
  z-index: 0;
}

/* Image styling */
.wel-image-container {
  position: relative;
  padding: 20px;
  z-index: 1;
}

.wel-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(3deg);
  transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wel-image-frame:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.wel-main-image {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.7s ease;
}

.wel-image-frame:hover .wel-main-image {
  transform: scale(1.05);
}

.wel-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom right, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
  pointer-events: none;
}

/* Badge styling */
.wel-badge {
  position: absolute;
  bottom: -20px;
  left: 30px;
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.wel-badge-inner {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.wel-badge-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.wel-badge-year {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.wel-experience-years {
  position: absolute;
  top: 20px;
  right: 0;
  background: var(--white);
  padding: 15px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.wel-years-count {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.wel-years-text {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Content styling */
.wel-content {
  position: relative;
  z-index: 1;
}

.wel-subtitle {
  display: inline-block;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 15px;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.wel-title-highlight {
  display: inline-block;
}

.wel-title-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  overflow: visible;
}

.wel-tagline {
  font-weight: 500;
}

.wel-description {
  font-size: 1rem;
  line-height: 1.7;
}

/* Stats styling */
.wel-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
}

.wel-stat-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  flex-grow: 1;
  transition: all 0.3s ease;
}

.wel-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.wel-stat-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-size: 1.2rem;
  border-radius: 50%;
  margin-right: 12px;
  transition: all 0.3s ease;
}

.wel-stat-item:hover .wel-stat-icon {
  transform: scale(1.1);
  background-color: var(--primary);
  color: white;
}

.wel-stat-content {
  flex: 1;
}

.wel-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.wel-stat-label {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Button styling */
.wel-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.wel-main-btn {
  padding: 10px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.wel-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.wel-second-btn {
  padding: 10px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.wel-second-btn:hover {
  transform: translateY(-3px);
  background-color: rgba(var(--primary-rgb), 0.05);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .wel-stats {
    gap: 10px;
  }

  .wel-stat-item {
    padding: 8px 12px;
  }

  .wel-stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .wel-stat-value {
    font-size: 1.2rem;
  }

  .wel-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .wel-image-frame {
    transform: perspective(1000px) rotateY(0deg);
  }

  .wel-badge {
    width: 80px;
    height: 80px;
    bottom: -15px;
    left: 15px;
  }

  .wel-badge-inner {
    width: 70px;
    height: 70px;
  }

  .wel-badge-year {
    font-size: 1.2rem;
  }

  .wel-experience-years {
    padding: 10px;
  }

  .wel-years-count {
    font-size: 1.5rem;
  }

  .wel-stats {
    flex-direction: column;
  }
}

/*--------------------------------------------------------------
# Stats Counter Section
--------------------------------------------------------------*/
.stats-counter-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(var(--primary-rgb), 0.85), rgba(var(--primary-rgb), 0.95));
  z-index: 0;
}

.stats-counter-section .container {
  position: relative;
  z-index: 1;
}

.stats-counter-section .badge {
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 2.25rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.15) 100%
  );
  transform: translateX(-100%);
  transition: all 1.5s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

.stat-card:hover::before {
  transform: translateX(100%);
}

.stat-icon {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.1) rotate(5deg);
}

.stat-icon i {
  font-size: 2.25rem;
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon i {
  transform: scale(1.1);
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse-animation 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes pulse-animation {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.counter-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.counter-line {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  overflow: hidden;
}

.counter-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  transform: translateX(-100%);
}

.stat-card:hover .counter-line::after {
  animation: lineFlow 1.5s ease infinite;
}

@keyframes lineFlow {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.stat-number {
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: baseline;
}

.counter {
  display: inline-block;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.stat-symbol {
  font-size: 2.25rem;
  font-weight: 600;
  opacity: 0.8;
  margin-left: 2px;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
  .stat-number {
    font-size: 2.75rem;
  }
  .stat-icon {
    width: 70px;
    height: 70px;
  }
  .stat-icon i {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .stat-card {
    padding: 1.75rem 1.25rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .stat-symbol {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 1rem;
  }
}

/* Enhanced Counter Animation Effects */
.counter {
  display: inline-block;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.counter-complete {
  animation: counterPop 0.5s ease-out forwards;
}

@keyframes counterPop {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    transform: scale(1.15);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
}

/*--------------------------------------------------------------
# Specialties Section
--------------------------------------------------------------*/
.bg-decoration-top {
  position: absolute;
  top: 0;
}

.featured-news-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.news-card {
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-img {
  height: 180px;
  overflow: hidden;
}

.news-img img {
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-title {
  font-weight: 600;
  transition: var(--transition);
}

.news-card:hover .news-title {
  color: var(--primary);
}

/* Enhanced News & Updates Section */

/* Section Title Animation */
.section-title-decoration {
  position: absolute;
  bottom: -8px;
  left: 0;
  opacity: 0.8;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 1.5s ease forwards;
}
.section-title .text-primary {
  color: var(--primary) !important;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Custom Tabs */
.custom-tabs {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: inline-flex;
  flex-wrap: wrap;
}

.custom-tabs .nav-link {
  margin-right: 10px;
  border: none;
  color: var(--bs-dark);
  position: relative;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 6px 6px 0 0;
  transition: all 0.3s ease;
}

.custom-tabs .nav-link .tab-icon {
  display: inline-block;
  margin-right: 6px;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.custom-tabs .nav-link.active {
  color: var(--primary);
  background-color: transparent;
  border-bottom: 3px solid var(--primary);
}

.custom-tabs .nav-link.active .tab-icon {
  opacity: 1;
  transform: scale(1.2);
}

.custom-tabs .nav-link:hover {
  color: var(--bs-primary);
}

.custom-tabs .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.custom-tabs .nav-link:hover::after {
  left: 0;
  width: 100%;
}

.custom-tabs .nav-link.active::after {
  left: 0;
  width: 100%;
}

/* Featured News */
.featured-news {
  height: 450px;
  position: relative;
  overflow: hidden;
}

.featured-news-img {
  height: 100%;
  width: 100%;
}

.featured-news-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.featured-news:hover .featured-news-img img {
  transform: scale(1.05);
}

.featured-news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.featured-news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
  transition: transform 0.5s ease;
}

.featured-news:hover .featured-news-content {
  transform: translateY(-10px);
}

.featured-news-title {
  color: white;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.3;
}

/* Pulse Badge Animation */
.pulse-badge {
  position: relative;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--bs-accent-rgb), 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--bs-accent-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--bs-accent-rgb), 0);
  }
}

/* Read More Button */
.btn-read-more {
  display: inline-flex;
  align-items: center;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.btn-read-more:hover {
  color: var(--bs-accent);
}

.btn-read-more svg {
  transition: transform 0.3s ease;
}

.btn-read-more:hover svg {
  transform: translateX(5px);
}

/* News Cards */
.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.card-hover-lift {
  transition: all 0.3s ease;
}

.news-card:hover .card-hover-lift {
  transform: translateY(-7px);
}

.news-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.news-img {
  height: 100%;
  width: 100%;
}

.news-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.08);
}

.news-date-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--bs-primary);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(var(--bs-primary-rgb), 0.3);
  transition: all 0.3s ease;
}

.news-date-badge.future-date {
  background-color: var(--bs-accent);
  box-shadow: 0 3px 8px rgba(var(--bs-accent-rgb), 0.3);
}

.news-card:hover .news-date-badge {
  transform: scale(1.1) rotate(-5deg);
}

.news-date-badge .date {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 2px;
}

.news-date-badge .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  line-height: 1;
}

.news-content {
  position: relative;
  z-index: 1;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bs-primary);
}

.news-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.news-card:hover .news-title {
  color: var(--bs-primary);
}

.news-excerpt {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Button Animation */
.btn-animated {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-animated:hover {
  transform: translateY(-2px);
}

.btn-animated i {
  transition: transform 0.3s ease;
}

.btn-animated:hover i {
  transform: translateX(4px);
}

/* Tab Content Animation */
.tab-pane {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add to existing responsive styles */
@media (max-width: 768px) {
  .featured-news {
    height: 350px;
  }

  .featured-news-title {
    font-size: 1.3rem;
  }

  .custom-tabs .nav-link {
    padding: 8px 12px;
    margin-right: 5px;
  }

  .tab-text {
    font-size: 0.9rem;
  }

  .news-img-wrapper {
    height: 160px;
  }
}

/* Enhanced Specialties Section - With Unique Class Names */

/* Background elements */
.specialties-section {
  position: relative;
  background: linear-gradient(180deg, var(--light) 0%, rgba(248, 249, 254, 1) 100%);
}

.bg-decoration-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  opacity: 0.1;
}

.bg-decoration-blob-1,
.bg-decoration-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
}

.bg-decoration-blob-1 {
  top: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background-color: rgba(var(--primary-rgb), 0.03);
  animation: floatBlob1 20s ease-in-out infinite alternate;
}

.bg-decoration-blob-2 {
  bottom: 5%;
  left: -10%;
  width: 400px;
  height: 400px;
  background-color: rgba(var(--accent-rgb), 0.03);
  animation: floatBlob2 25s ease-in-out infinite alternate;
}

@keyframes floatBlob1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(3%, 3%) scale(1.05);
  }
}

@keyframes floatBlob2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(3%, -3%) scale(1.05);
  }
}

/* Section header styles */
.spec-subtitle {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  background-color: rgba(var(--accent-rgb), 0.08);
  margin-bottom: 1rem;
}

.spec-title-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: drawUnderline 1.5s ease forwards 0.5s;
}

@keyframes drawUnderline {
  to {
    stroke-dashoffset: 0;
  }
}

/* Filter system */
.spec-filter-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.spec-filters {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  padding: 0.3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.spec-filters::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.spec-filter-btn {
  background: none;
  border: none;
  padding: 0.7rem 1.2rem;
  font-weight: 500;
  color: var(--gray);
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-size: 0.9rem;
}

.spec-filter-btn:focus {
  outline: none;
}

.spec-filter-btn.active {
  color: white;
}

.spec-active-indicator {
  position: absolute;
  height: calc(100% - 0.6rem);
  top: 0.3rem;
  left: 0.3rem;
  background-color: var(--primary);
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1;
}

/* Specialty cards */
.spec-card {
  position: relative;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.spec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.spec-decoration-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--accent-rgb), 0.05));
  border-radius: 0 16px 0 50%;
  pointer-events: none;
  transition: all 0.5s ease;
}

.spec-card:hover .spec-decoration-1 {
  transform: scale(1.1) rotate(5deg);
}

.spec-decoration-2 {
  position: absolute;
  bottom: 20px;
  left: -30px;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(var(--accent-rgb), 0.1);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.5s ease;
}

.spec-card:hover .spec-decoration-2 {
  transform: scale(1.1) translateX(10px);
}

.spec-icon-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-lighter);
  border-radius: 50%;
  transition: all 0.5s ease;
}

.spec-card:hover .spec-icon-bg {
  transform: scale(1.1);
}

.spec-icon {
  position: relative;
  font-size: 1.8rem;
  color: var(--primary);
  z-index: 1;
  transition: all 0.5s ease;
}

.spec-card:hover .spec-icon {
  transform: scale(1.1);
  color: var(--accent);
}

.spec-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.spec-card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.4s ease;
}

.spec-card:hover .spec-card-title::after {
  width: 60px;
}

.spec-card-description {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Stats section */
.spec-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.spec-stat {
  display: flex;
  flex-direction: column;
}

.spec-stat-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

.spec-stat-label {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Services list */
.spec-services-preview {
  margin-top: auto;
  margin-bottom: 1rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s ease;
}

.spec-card:hover .spec-services-preview {
  max-height: 100px;
  opacity: 1;
  margin-top: 1.5rem;
}

.spec-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-services-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  transform: translateX(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.spec-services-list li:nth-child(1) {
  transition-delay: 0.1s;
}

.spec-services-list li:nth-child(2) {
  transition-delay: 0.2s;
}

.spec-services-list li:nth-child(3) {
  transition-delay: 0.3s;
}

.spec-card:hover .spec-services-list li {
  transform: translateX(0);
  opacity: 1;
}

.spec-services-list li::before {
  content: "•";
  color: var(--primary);
  font-size: 1.2rem;
  margin-right: 0.5rem;
  line-height: 0;
}

/* Learn more link */
.spec-learn-more {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.3s ease;
}

.spec-learn-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.spec-learn-more:hover {
  color: var(--accent);
}

.spec-learn-more:hover i {
  transform: translateX(5px);
}

/* View all button */
.spec-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.spec-view-all::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.7s ease;
}

.spec-view-all:hover::before {
  left: 100%;
}

.spec-view-all:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
  color: white;
}

.spec-btn-arrow {
  transition: transform 0.3s ease;
}

.spec-view-all:hover .spec-btn-arrow {
  transform: translateX(5px);
}

/* Animation for filter transitions */
.spec-item.hidden {
  min-width: 600px;
  animation: fadeOut 0.5s ease forwards;
}

.spec-item.visible {
  min-width: 600px;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
    display: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
    display: block;
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .spec-filters {
    padding: 0.25rem;
    justify-content: flex-start;
  }

  .spec-filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .spec-card {
    padding: 1.75rem 1.25rem;
  }

  .spec-icon-wrapper {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 767.98px) {
  .spec-stats {
    gap: 1.5rem;
  }

  .spec-services-list li {
    font-size: 0.85rem;
  }
}

/*--------------------------------------------------------------
# Equipment Section
--------------------------------------------------------------*/
.equipment-image {
  position: relative;
}

.equipment-badge {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.3);
}

.badge-inner {
  text-align: center;
}

.badge-inner i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.feature-list li i {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

/*--------------------------------------------------------------
# Patient Stories Section
--------------------------------------------------------------*/
.video-player {
  position: relative;
  height: 400px;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.8);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.video-play-btn:hover {
  background-color: var(--primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-line {
  width: 40px;
  height: 3px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.1rem;
}

.story-thumbnail {
  height: 80px;
  cursor: pointer;
  transition: var(--transition);
}

.story-thumbnail img {
  height: 100%;
  object-fit: cover;
}

.story-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: var(--transition);
}

.story-thumbnail:hover .story-overlay {
  opacity: 1;
}

/* Enhanced Patient Stories Section Styles */

/* Video Player Styles */
.video-player-wrapper {
  position: relative;
  margin-bottom: 20px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.video-player {
  transform: translateZ(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.video-player:hover {
  transform: translateY(-5px) translateZ(10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.video-player img {
  transition: transform 1s ease;
}

.video-player:hover img {
  transform: scale(1.03);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-player:hover .video-overlay {
  opacity: 0.6;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(var(--primary-rgb), 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.5);
}

.video-play-btn i {
  font-size: 1.5rem;
  margin-left: 5px;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    transform: translate(-50%, -50%) scale(1);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0);
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    transform: translate(-50%, -50%) scale(1);
  }
}

.video-play-btn:hover {
  background-color: rgba(var(--primary-rgb), 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-reflection {
  position: absolute;
  bottom: -20px;
  left: 5%;
  width: 90%;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), transparent);
  border-radius: 50%;
  filter: blur(5px);
  transform: perspective(500px) rotateX(60deg);
  z-index: -1;
}

.video-info {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.video-player:hover .video-info {
  opacity: 1;
  transform: translateY(0);
}

.patient-tag {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(var(--accent-rgb), 0.3);
}

.patient-name {
  color: white;
  margin: 0;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-controls {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.video-player:hover .video-controls {
  opacity: 1;
  transform: translateY(0);
}

.audio-toggle {
  transition: all 0.3s ease;
}

.audio-toggle:hover {
  background-color: var(--primary);
  color: white;
}

/* Testimonial Card Styles */
.testimonial-card {
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
  overflow: hidden;
}

.shadow-hover {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.testimonial-line {
  height: 25px;
  width: 4px;
}

.testimonial-quote-mark {
  top: 20px;
  right: 20px;
  opacity: 0.3;
  transition: transform 0.5s ease;
  z-index: 0;
}

.testimonial-card:hover .testimonial-quote-mark {
  transform: scale(1.1) rotate(5deg);
}

.testimonial-quote {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  font-style: italic;
  z-index: 1;
}

.drop-cap {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: bold;
  color: var(--primary);
  float: left;
  margin-right: 8px;
  margin-top: -5px;
}

.quote-end {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 0;
  color: var(--primary);
  vertical-align: middle;
}

.testimonial-author {
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-author {
  transform: translateX(5px);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Story Thumbnails Styles */
.story-thumbnail {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.interactive-thumb {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.interactive-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.story-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-thumbnail:hover img {
  transform: scale(1.1);
}

.story-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.story-thumbnail:hover .story-overlay {
  opacity: 0.5;
}

.story-overlay i {
  width: 30px;
  height: 30px;
  background-color: rgba(var(--primary-rgb), 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.story-thumbnail:hover .story-overlay i {
  transform: scale(1);
  animation: pulse-small 1.5s infinite;
}

@keyframes pulse-small {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
  }
}

.story-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  z-index: 2;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.story-thumbnail:hover .story-info {
  transform: translateY(0);
}

.story-name {
  display: block;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.story-treatment {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

/* Navigation Controls */
.navigation-controls {
  margin-top: 20px;
  align-items: center;
}

.navigation-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navigation-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--primary-rgb), 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.navigation-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navigation-btn:hover {
  background-color: transparent;
}

.navigation-btn i {
  transition: transform 0.3s ease;
}

.prev-btn:hover i {
  transform: translateX(-3px);
}

.next-btn:hover i {
  transform: translateX(3px);
}

.story-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.story-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  transition: all 0.3s ease;
  cursor: pointer;
}

.story-dot:hover {
  background-color: #aaa;
}

.story-dot.active {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
}

/* Animation for section title underline */
.section-title-decoration {
  position: absolute;
  bottom: -8px;
  left: 0;
  opacity: 0.8;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 1.5s ease forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .video-player {
    max-height: 400px;
  }

  .testimonial-quote {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .story-info {
    transform: translateY(0);
  }

  .video-info {
    opacity: 1;
    transform: translateY(0);
  }

  .video-controls {
    opacity: 1;
    transform: translateY(0);
  }

  .patient-tag {
    font-size: 0.7rem;
  }

  .patient-name {
    font-size: 1.2rem;
  }

  .story-dot {
    width: 6px;
    height: 6px;
  }

  .story-dot.active {
    width: 10px;
    height: 10px;
  }
}

/* Patient Story Animation Classes */
.testimonial-card,
.video-player {
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.fade-in {
  animation: fadeInContent 0.5s ease forwards;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Story dot and nav button styles */
.story-dot {
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-dot.active {
  transform: scale(1.2);
}

.navigation-btn {
  transition: all 0.2s ease;
}

.navigation-btn:active {
  transform: scale(0.95);
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctor-card {
  transition: var(--transition);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.doctor-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.doctor-img img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doctor-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--bs-primary-rgb), 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.doctor-card:hover .doctor-img::after {
  opacity: 1;
}

.doctor-card:hover .doctor-img img {
  transform: scale(1.05);
}

.doctor-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Doctor Card Styling */
.doctor-card {
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.doctor-img {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.doctor-img img {
  transition: transform 0.5s ease;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.doctor-card:hover .doctor-img img {
  transform: scale(1.05);
}

.doctor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(var(--bs-primary-rgb), 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: all 0.3s ease;
  padding-bottom: 20px;
}

.doctor-card:hover .doctor-overlay {
  opacity: 1;
}

.doctor-social {
  display: flex;
  gap: 10px;
}

.doctor-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: white;
  border-radius: 50%;
  color: var(--bs-primary);
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.doctor-card:hover .doctor-social a {
  transform: translateY(0);
  opacity: 1;
}

.doctor-card:hover .doctor-social a:nth-child(1) {
  transition-delay: 0.1s;
}

.doctor-card:hover .doctor-social a:nth-child(2) {
  transition-delay: 0.2s;
}

.doctor-card:hover .doctor-social a:nth-child(3) {
  transition-delay: 0.3s;
}

.doctor-social a:hover {
  background-color: var(--bs-primary);
  color: white;
}

.doctor-name {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 18px;
}

.doctor-specialty {
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.doctor-desc {
  line-height: 1.5;
}

/*--------------------------------------------------------------
# Health Insights Section
--------------------------------------------------------------*/
.blog-card {
  transition: all ease 0.5s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.blog-img {
  height: 200px;
  overflow: hidden;
  transition: all ease 0.5s;
}

.blog-img img {
  height: 100%;
  object-fit: cover;
  transition: all ease 0.5s;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
  transition: all ease 0.5s;
}

.blog-category {
  z-index: 1;
}

.blog-title {
  font-weight: 600;
  transition: var(--transition);
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-link {
  font-weight: 500;
  transition: var(--transition);
}

.blog-link:hover {
  color: var(--accent);
}

/*--------------------------------------------------------------
# Patient Care Section
--------------------------------------------------------------*/
.patient-care-image {
  position: relative;
}

.image-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonial-card {
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-icon {
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
}

/*--------------------------------------------------------------
# Facilities Section
--------------------------------------------------------------*/
.facility-card {
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.facility-img {
  height: 200px;
  overflow: hidden;
}

.facility-img img {
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.facility-card:hover .facility-img img {
  transform: scale(1.05);
}

.facility-title {
  font-weight: 600;
}

/*--------------------------------------------------------------
# Call to Action Section
--------------------------------------------------------------*/
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(var(--accent-rgb), 0.8);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  position: relative;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(var(--white-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--accent);
  color: #fff;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(var(--white-rgb), 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(var(--white-rgb), 0.8);
}

.footer-contact li i {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  color: var(--accent);
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(var(--white-rgb), 0.8);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: #fff;
}

.border-white-10 {
  border-color: rgba(var(--white-rgb), 0.1) !important;
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent);
  color: #fff;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  .hero-slider,
  .hero-slide {
    height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-slider,
  .hero-slide {
    height: 400px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .welcome-badge,
  .equipment-badge,
  .image-badge {
    width: 80px;
    height: 80px;
  }

  .badge-inner .year {
    font-size: 1.5rem;
  }

  .badge-inner i {
    font-size: 1.25rem;
  }
}

/* Enhanced Patient Testimonials - Namespaced styles */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.ptm-decoration-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.ptm-decoration-1 {
  width: 300px;
  height: 300px;
  background-color: var(--primary);
  top: -100px;
  left: -100px;
}

.ptm-decoration-2 {
  width: 200px;
  height: 200px;
  background-color: var(--accent);
  bottom: -50px;
  right: -50px;
}

.ptm-decoration-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

/* Section header styles */
.ptm-subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: rgba(var(--primary-rgb), 0.1);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.ptm-title-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: ptmDrawUnderline 1.5s ease forwards 0.5s;
}

@keyframes ptmDrawUnderline {
  to {
    stroke-dashoffset: 0;
  }
}

/* Testimonial slider */
.ptm-slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto 3rem;
  z-index: 1;
}

.ptm-slider {
  position: relative;
  min-height: 320px;
}

.ptm-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ptm-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.ptm-testimonial {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.ptm-testimonial:hover {
  transform: translateY(-5px);
}

.ptm-content {
  position: relative;
  padding: 2.5rem 2rem;
}

.ptm-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.ptm-rating {
  color: #ffd700;
  margin-bottom: 1rem;
}

.ptm-rating i {
  margin-right: 2px;
}

.ptm-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.ptm-author-info {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
}

.ptm-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.ptm-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ptm-author-name {
  margin-bottom: 0.2rem;
  font-weight: 600;
  color: var(--dark);
}

.ptm-author-location {
  font-size: 0.85rem;
  color: var (--gray);
  margin-bottom: 0.2rem;
}

.ptm-treatment {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0;
}

/* Controls */
.ptm-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.ptm-control {
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.ptm-control:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.ptm-indicators {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.ptm-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ptm-indicator.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--primary);
}

/* Stats section */
.ptm-stats-container {
  margin-top: 4rem;
}

.ptm-stat {
  text-align: center;
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ptm-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ptm-stat-icon {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.5rem;
  height: 60px;
  width: 60px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.ptm-stat:hover .ptm-stat-icon {
  transform: scale(1.1);
}

.ptm-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ptm-stat-number span {
  font-size: 1.25rem;
  opacity: 0.7;
}

.ptm-stat-label {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .ptm-content {
    padding: 2rem 1.5rem;
  }

  .ptm-text {
    font-size: 1rem;
  }

  .ptm-stat-number {
    font-size: 2rem;
  }
}

/* Enhanced Text Animations for Testimonials Slider Only */
.ptm-text {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
}

.ptm-author-name,
.ptm-author-location,
.ptm-treatment {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
  transition-delay: 0.1s;
}

/* Animation states for text elements */
.ptm-slide:not(.active) .ptm-text {
  opacity: 0;
  transform: translateY(30px);
}

.ptm-slide:not(.active) .ptm-author-name {
  opacity: 0;
  transform: translateY(20px);
}

.ptm-slide:not(.active) .ptm-author-location {
  opacity: 0;
  transform: translateY(15px);
}

.ptm-slide:not(.active) .ptm-treatment {
  opacity: 0;
  transform: translateY(10px);
}

/* Staggered entry animation for active slide */
.ptm-slide.active .ptm-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.ptm-slide.active .ptm-author-name {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.ptm-slide.active .ptm-author-location {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.ptm-slide.active .ptm-treatment {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* Quote icon subtle animation */
.ptm-slide.active .ptm-quote-icon {
  animation: ptmQuotePulse 2s ease-in-out 0.8s forwards;
}

@keyframes ptmQuotePulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

/* Rating stars animation */
.ptm-slide.active .ptm-rating i {
  opacity: 0;
  animation: ptmStarFadeIn 0.3s ease-in-out forwards;
}

.ptm-slide.active .ptm-rating i:nth-child(1) {
  animation-delay: 0.4s;
}
.ptm-slide.active .ptm-rating i:nth-child(2) {
  animation-delay: 0.5s;
}
.ptm-slide.active .ptm-rating i:nth-child(3) {
  animation-delay: 0.6s;
}
.ptm-slide.active .ptm-rating i:nth-child(4) {
  animation-delay: 0.7s;
}
.ptm-slide.active .ptm-rating i:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes ptmStarFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced slide transitions */
.ptm-slide {
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s cubic-bezier(0.26, 0.86, 0.44, 0.985);
}

.ptm-slide.slide-next-out {
  transform: translateX(-50px);
  opacity: 0;
}

.ptm-slide.slide-prev-out {
  transform: translateX(50px);
  opacity: 0;
}

.ptm-slide.slide-next-in {
  transform: translateX(50px);
}

.ptm-slide.slide-prev-in {
  transform: translateX(-50px);
}

/* Make sure the logo displays well */
.logo {
  max-height: 60px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

.footer-logo {
  max-height: 80px;
  width: auto;
  padding: 8px;
  background-color: white;
  border-radius: 8px;
}

/* Adjust header for longer name */
@media (min-width: 992px) {
  .main-header h1.fs-5 {
    font-size: 1rem !important;
    line-height: 1.3;
  }

  .main-header .d-flex.align-items-center.gap-3 {
    gap: 0.5rem !important;
  }
}
/* About Us Section Styles */
.about-section {
  padding: 6rem 0 1rem 0;

  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, rgba(240, 242, 245, 0.5) 100%);
}

/* Decorative elements */
.about-decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-rgb, 75, 37, 132, 0.05), var(--primary-rgb, 75, 37, 132, 0.15));
  z-index: 0;
}

.about-decoration-circle-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  left: -250px;
  opacity: 0.1;
}

.about-decoration-circle-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -100px;
  opacity: 0.05;
}

.about-decoration-dots {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 20%;
  right: 5%;
  background-image: radial-gradient(var(--primary) 1px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.15;
}

.about-decoration-line {
  position: absolute;
  width: 150%;
  height: 80px;
  top: 50%;
  left: -25%;
  background: linear-gradient(90deg, transparent, var(--primary) 50%, transparent);
  opacity: 0.03;
  transform: rotate(-5deg);
}

/* Section heading styles */
.about-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.about-subtitle:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px -10px rgba(var(--primary-rgb), 0.3);
}

.about-title-highlight {
  display: inline-block;
}

.about-title-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  pointer-events: none;
}

.about-tagline {
  font-size: 1.25rem;
  color: #333;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  animation: fadeIn 1s ease-out;
}

/* Main image with interactive effects */
.about-main-image-wrapper {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.about-main-image {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform;
}

.about-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.about-image-frame:hover .about-image-overlay {
  opacity: 0.4;
}

/* Interactive badges */
.about-badge {
  position: absolute;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transform: translateZ(30px);
  animation: float 6s ease-in-out infinite;
}

.about-badge-years {
  width: 100px;
  height: 100px;
  top: -30px;
  right: -30px;
}

.about-badge-est {
  width: 70px;
  height: 70px;
  bottom: 30px;
  left: -20px;
  animation-delay: 2s;
}

.about-badge-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  text-align: center;
}

.about-badge-number {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

.about-badge-text {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  color: #555;
}

.about-badge-est-text {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}

.about-badge-est-year {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

/* Image grid */
.about-image-grid {
  /* margin-top: 2rem; */
}

.about-grid-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: pointer;
}

.hover-scale {
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.about-grid-image:hover .hover-scale {
  transform: scale(1.05);
}

.about-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.about-grid-image:hover .about-image-caption {
  transform: translateY(0);
}

/* Animated tabs system */
.about-tabs {
  margin-bottom: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.about-tabs-header {
  display: flex;
  position: relative;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.about-tab-btn {
  padding: 10px 1rem;
  flex: 1;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  color: #666;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.about-tab-btn:hover {
  color: var(--primary);
}

.about-tab-btn.active {
  color: var(--primary);
  font-weight: 600;
}

.about-tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 25%;
}

.about-tabs-content {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.about-tab-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.about-tab-pane.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: relative;
}

.about-tab-content {
  padding: 2rem;
}

.about-tab-icon {
  width: 60px;
  height: 60px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-tab-content h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #333;
}

.about-tab-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.5rem 0;
  color: #444;
}

.about-list li i {
  color: var(--primary);
  margin-top: 5px;
}

/* Values grid */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.about-value-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.about-value-name {
  font-weight: 600;
}

/* Timeline */
.about-timeline {
  position: relative;
  padding-left: 20px;
  margin-top: 1.5rem;
}

.about-timeline:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: rgba(var(--primary-rgb), 0.2);
}

.about-timeline-item {
  position: relative;
  padding-left: 20px;
  padding-bottom: 1.5rem;
}

.about-timeline-item:last-child {
  padding-bottom: 0;
}

.about-timeline-dot {
  position: absolute;
  top: 5px;
  left: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.3);
}

.about-timeline-content h6 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

/* Stats styling */
.about-stats-container {
  margin-top: 2rem;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0.5rem;
  transition: transform 0.3s ease;
}

.about-stat:hover {
  transform: translateY(-10px);
}

.about-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.about-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  line-height: 1;
  display: flex;
  align-items: center;
}

.about-stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* CTA buttons styling */
.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-btn-primary,
.about-btn-secondary {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.about-btn-primary:hover,
.about-btn-secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

.btn-text {
  position: relative;
  z-index: 2;
  margin-right: 0.5rem;
}

.btn-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.about-btn-primary:hover .btn-icon,
.about-btn-secondary:hover .btn-icon {
  transform: translateX(3px);
}

.about-btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.about-btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* Animation keyframes */
@keyframes float {
  0%,
  100% {
    transform: translateZ(30px) translateY(0);
  }
  50% {
    transform: translateZ(30px) translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media queries for responsive design */
@media (max-width: 992px) {
  .about-badge-years {
    width: 80px;
    height: 80px;
  }

  .about-badge-est {
    width: 60px;
    height: 60px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-tabs-header {
    flex-wrap: wrap;
  }

  .about-tab-btn {
    flex: 1 0 50%;
  }

  .about-tab-indicator {
    display: none;
  }

  .about-cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .about-tab-btn {
    flex: 1 0 100%;
  }

  .about-stats-container .row > div {
    width: 100%;
  }
}

.object-fit-cover {
  object-fit: cover;
}
