/* ===== BASE STYLES ===== */
:root {
  --condition-padding: 5rem;
  --condition-bg: #f9fafb;
}
:root {
  /* Colors */
  --primary: #1a7f6c;
  --primary-dark: #136654;
  --primary-light: #e8f5f2;
  --secondary: #f4a261;
  --secondary-dark: #e76f51;
  --accent: #2a9d8f;
  --dark: #264653;
  --light: #f8f9fa;
  --white: #ffffff;
  --black: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;

  /* Fonts */
  --heading-font: "Playfair Display", serif;
  --body-font: "Poppins", sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-width: 1200px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--body-font);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

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

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

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 50px;
}

.section-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
  transform: translateY(-50%);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-description {
  color: var(--gray);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--secondary);
  color: var(--white);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-primary i {
  transition: var(--transition);
}

.btn-primary:hover i {
  transform: translateX(5px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: var(--primary);
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
}

.nav-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

.hamburger {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Menu Active State */
.mobile-menu-btn.active .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("/images/hero-bg.png"); /* ✅ Update this path */
  color: var(--white);
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--white);
}

.hero-content h1 span {
  color: var(--secondary);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--secondary);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
}

.hero-cta:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-video-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
}

.hero-video-btn i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-video-btn:hover i {
  background-color: var(--secondary);
  transform: scale(1.1);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  opacity: 0.7;
  animation: scrollBounce 2s infinite;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white);
  border-radius: 2px;
  margin-top: 5px;
  animation: wheelScroll 2s infinite;
}

.hero-scroll-indicator span {
  font-size: 14px;
  letter-spacing: 1px;
}

@keyframes wheelScroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: -50px;
  position: relative;
  z-index: 100;
  padding: 0 20px;
}

.action-btn {
  background-color: var(--white);
  width: 300px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.action-btn .icon-box {
  width: 80px;
  height: 80px;
  overflow: hidden;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.action-btn .icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.action-btn.book-appointment .icon-box {
  background-color: rgba(26, 127, 108, 0.1);
}

.action-btn.how-we-cure .icon-box {
  background-color: rgba(244, 162, 97, 0.1);
}

.action-btn.our-work .icon-box {
  background-color: rgba(42, 157, 143, 0.1);
}

.action-btn h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.action-btn p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 20px;
}

.hover-content {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  transition: var(--transition);
}

.action-btn:hover .hover-content {
  bottom: 0;
}

.action-btn:hover {
  transform: translateY(-10px);
}

.action-btn.book-appointment:hover .icon-box {
  background-color: var(--primary);
}

.action-btn.how-we-cure:hover .icon-box {
  background-color: var(--secondary);
}

.action-btn.our-work:hover .icon-box {
  background-color: var(--accent);
}

.action-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
}

.action-btn.book-appointment .action-cta {
  color: var(--primary);
}

.action-btn.how-we-cure .action-cta {
  color: var(--secondary);
}

.action-btn.our-work .action-cta {
  color: var(--accent);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  padding: var(--section-padding) 0;
  background-color: var(--white);
}

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

.process-step {
  background-color: var(--light);
  border-radius: 15px;
  padding: 30px;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--heading-font);
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.step-content p {
  color: var(--gray);
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonials {
  position: relative;
  padding: var(--section-padding) 0;
}

.testimonial-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/testimonial-bg.jpg") center/cover no-repeat;
  z-index: -1;
}

.testimonial-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.testimonial-slider {
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.testimonial-card {
  display: flex;
  flex-wrap: wrap;
}

.testimonial-card .patient-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.testimonial-card .patient-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.patient-info {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: var(--primary);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 10px;
}

.patient-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--white);
}

.patient-info p {
  font-size: 14px;
  opacity: 0.9;
}

.testimonial-content {
  flex: 1;
  min-width: 300px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
  opacity: 0.7;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  color: #222;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.testimonial-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.patient-stats {
  display: flex;
  gap: 20px;
}

.stat {
  text-align: center;
}

.stat .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--heading-font);
}

.stat .label {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-story-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
}

.read-story-btn:hover {
  color: var(--secondary);
}

.read-story-btn i {
  transition: var(--transition);
}

.read-story-btn:hover i {
  transform: translateX(5px);
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
  padding: var(--section-padding) 0;
  background-color: var(--light);
}

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

.feature-card {
  background-color: var(--white);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  overflow: hidden;
}

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

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  font-size: 15px;
}

/* ===== SPECIALTIES SECTION ===== */
.specialties {
  padding: var(--section-padding) 0;
  background-color: var(--white);
}

.specialty-tabs {
  background-color: var(--light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tab-header {
  display: flex;
  border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
  flex: 1;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--gray);
  background-color: transparent;
  transition: var(--transition);
  position: relative;
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  transition: var(--transition);
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  display: none;
  padding: 30px;
}

.tab-content.active {
  display: block;
}

.specialty-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.specialty-list a {
  display: block;
  padding: 12px 20px;
  background-color: var(--white);
  color: var(--dark);
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--light-gray);
}

.specialty-list a:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 40px auto 0;
  background-color: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 12px 30px;
  border: 2px solid var(--primary);
  border-radius: 50px;
  cursor: pointer;
}

.view-all-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.view-all-btn i {
  transition: var(--transition);
}

.view-all-btn:hover i {
  transform: translateX(5px);
}

/* ===== RESULTS COUNTER ===== */
.results-counter {
  padding: 80px 0;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--white);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.counter-item {
  padding: 30px;
}

.counter {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--heading-font);
}

.counter-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== GLOBAL CTA ===== */
.global-cta {
  padding: 100px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/cta-bg.jpg") center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--secondary);
  color: var(--white);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
}

.cta-btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cta-btn i {
  transition: var(--transition);
}

.cta-btn:hover i {
  transform: translateX(5px);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark);
  color: var(--light-gray);
  padding-top: var(--section-padding);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-logo img {
  height: 40px;
}

.about-text {
  margin-bottom: 20px;
  font-size: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-col.contact-col ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col.contact-col ul li i {
  color: var(--primary);
}

.newsletter-form {
  display: flex;
  align-items: center;
  margin-top: 20px;
  background-color: var(--white);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-sm);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--dark);
  background: transparent;
}

.newsletter-form input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.newsletter-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  height: 48px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: var(--secondary);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  font-size: 14px;
}

.legal-links a:hover {
  color: var(--secondary);
}

/* ===== POPUP MODAL ===== */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-content {
  background-color: var(--white);
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  position: relative;
  overflow: hidden;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.6rem;
  color: #ffffff;
  background: rgba(38, 70, 83, 0.35);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.close-btn:hover {
  color: #ffffff;
  background: rgba(38, 70, 83, 0.6);
  transform: rotate(90deg);
}

.popup-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 30px;
  text-align: center;
}

.popup-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--white);
}

.popup-header p {
  opacity: 0.9;
}

.popup form {
  padding: 30px;
}

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

.form-group i {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: var(--gray);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px 12px 50px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 127, 108, 0.2);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 10px;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.submit-btn i {
  transition: var(--transition);
}

.submit-btn:hover i {
  transform: translateX(5px);
}

.popup-footer {
  text-align: center;
  padding: 15px;
  background-color: var(--light);
  font-size: 14px;
  color: var(--gray);
}

.popup-footer i {
  color: var(--primary);
  margin-right: 5px;
}

/* ===== ANIMATIONS ===== */
.scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== CAROUSEL STYLES ===== */
.testimonial-slider {
  position: relative;
}

.testimonial-card {
  display: none;
}

.testimonial-card.active {
  display: flex;
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background-color: var(--primary);
  width: 30px;
  border-radius: 6px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.carousel-arrow:hover {
  background-color: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

/* Carousel arrows on mobile */
@media (max-width: 768px) {
  .carousel-arrow {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }

  .carousel-controls {
    bottom: 10px;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }

  .hero-content h1 {
    font-size: 3.2rem;
  }

  .testimonial-card {
    flex-direction: column;
  }

  .testimonial-card .patient-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .navbar .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: var(--transition);
    z-index: 999;
  }

  .navbar .nav-links.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
    margin-top: -30px;
  }

  .action-btn {
    width: 100%;
    max-width: 350px;
  }

  .tab-header {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: none;
    width: 50%;
  }
}

@media (max-width: 576px) {
  :root {
    --section-padding: 60px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .counter {
    font-size: 2.5rem;
  }

  .testimonial-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    justify-content: center;
  }
}
/* About us Page Styles */
.about-page {
  overflow-x: hidden;
}

/* Hero Section */
.about-hero {
  height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../images/about-hero-section.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.scroll-prompt {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-prompt span {
  margin-bottom: 15px;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid white;
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

/* Mission Section */
.mission-section {
  padding: 120px 0;
  background: var(--light);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.mission-content h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: var(--dark);
}

.mission-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mission-image img {
  width: 100%;
  display: block;
}

.certification-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  overflow: hidden;
}

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

.signature {
  margin-top: 40px;
}

.signature img {
  height: 50px;
  margin-bottom: 10px;
}

/* Timeline Section */
.timeline-section {
  padding: 100px 0;
  background: white;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-year {
  width: 120px;
  height: 120px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin: 0 40px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  flex: 1;
  padding: 30px;
  background: var(--light);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Founders Section */
.founders-section {
  padding: 120px 0;
  background: var(--light);
}

.founder-cards {
  margin-top: 60px;
}

.founder-card {
  display: flex;
  gap: 60px;
  margin-bottom: 100px;
}

.founder-card.reverse {
  flex-direction: row-reverse;
}

.founder-image {
  flex: 1;
  position: relative;
}

.image-wrapper {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.founder-badges {
  position: absolute;
  bottom: -20px;
  left: 30px;
  display: flex;
  gap: 15px;
}

.badge {
  background: var(--primary);
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.badge:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.founder-details {
  flex: 1;
  padding: 30px 0;
}

.founder-details h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.title {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 25px;
  display: block;
}

.bio {
  margin-bottom: 30px;
}

.education {
  margin-top: 30px;
}

.education h4 {
  margin-bottom: 15px;
}
.education ul {
  list-style: none;
}

.education li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
}

.education i {
  position: absolute;
  left: 0;
  color: var(--primary);
}

.founder-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.btn-social {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-social:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Certifications Section */
.certifications-section {
  padding: 100px 0;
  background: white;
}

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

.cert-card {
  background: var(--light);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.cert-card img {
  height: 80px;
  margin: 0 auto 25px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: var(--transition);
}

.cert-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.cert-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Team Section */
.team-section {
  padding: 120px 0;
  background: var(--light);
}

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

.team-card {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.team-image {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 30px;
  transform: translateY(100px);
  transition: var(--transition);
  opacity: 0;
}

.team-card:hover .team-overlay {
  transform: translateY(0);
  opacity: 1;
}

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

.team-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

/* CTA Section */
.about-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }

  .timeline::before {
    left: 60px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    text-align: left;
  }

  .timeline-year {
    margin: 0 0 20px 0;
  }

  .founder-card,
  .founder-card.reverse {
    flex-direction: column;
    gap: 40px;
  }

  .founder-badges {
    left: 20px;
    bottom: -15px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .about-hero {
    height: 70vh;
  }

  .timeline-year {
    width: 80px;
    height: 80px;
    font-size: 1.4rem;
  }

  .cta-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-label {
    padding-left: 30px;
  }

  .section-label::before {
    width: 20px;
  }

  .founder-details h3 {
    font-size: 1.8rem;
  }

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

/* ===== COMMON PAGE HERO SECTIONS ===== */
.blog-hero,
.contact-hero,
.products-hero,
.videos-hero,
.franchise-hero,
.about-hero {
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  text-align: center;
  padding-top: 80px;
}

.blog-hero .hero-content h1,
.contact-hero .hero-content h1,
.products-hero .hero-content h1,
.videos-hero .hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.blog-hero .subtitle,
.contact-hero .subtitle,
.products-hero .subtitle,
.videos-hero .subtitle,
.about-hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* ===== COMMON CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.category-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  background: var(--primary);
  color: var(--white);
}

.category-card:hover h3,
.category-card:hover p {
  color: var(--white);
}

.category-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.category-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
  transition: var(--transition);
}

.category-card p {
  color: var(--gray);
  font-size: 14px;
  transition: var(--transition);
}

/* ===== COMMON PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
}

.page-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--light-gray);
  color: var(--gray);
  font-weight: 600;
  transition: var(--transition);
}

.page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.page-btn:hover:not(.active) {
  background: var(--light);
}

.next-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition);
}

.next-btn:hover {
  background: var(--primary-light);
}

/* ===== COMMON SECTION LAYOUTS ===== */
section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 14px;
}

/* ===== COMMON GRID PATTERNS ===== */
.info-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-card,
.benefit-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.info-card:hover,
.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.info-icon,
.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
}

.info-card h3,
.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.info-card p,
.benefit-card p {
  color: var(--gray);
}

/* ===== COMMON CTA SECTIONS ===== */
.newsletter-cta,
.products-cta,
.videos-cta,
.contact-cta {
  padding: 100px 0;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--white);
  text-align: center;
}

.newsletter-cta h2,
.products-cta h2,
.videos-cta h2,
.contact-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.newsletter-cta p,
.products-cta p,
.videos-cta p,
.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form input,
.products-cta input,
.videos-cta input,
.contact-cta input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  font-family: var(--body-font);
  font-size: 16px;
}

.disclaimer {
  font-size: 13px;
  margin-top: 20px;
  opacity: 0.8;
}

/* ===== COMMON RESPONSIVE PATTERNS ===== */
@media (max-width: 992px) {
  .blog-hero .hero-content h1,
  .contact-hero .hero-content h1,
  .products-hero .hero-content h1,
  .videos-hero .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .blog-hero,
  .contact-hero,
  .products-hero,
  .videos-hero,
  .franchise-hero {
    height: 50vh;
  }

  .blog-hero .hero-content h1,
  .contact-hero .hero-content h1,
  .products-hero .hero-content h1,
  .videos-hero .hero-content h1,
  .contact-cta h2,
  .products-cta h2,
  .videos-cta h2,
  .newsletter-cta h2 {
    font-size: 2.5rem;
  }

  .newsletter-form,
  .newsletter-cta .newsletter-form,
  .contact-cta .newsletter-form {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .blog-hero .hero-content h1,
  .contact-hero .hero-content h1,
  .products-hero .hero-content h1,
  .videos-hero .hero-content h1 {
    font-size: 2rem;
  }

  .contact-cta h2,
  .products-cta h2,
  .videos-cta h2,
  .newsletter-cta h2 {
    font-size: 1.8rem;
  }

  .info-grid,
  .benefits-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }
}
