/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #546833;
  --accent-color: #cfa386;
  --secondary-color: #6b7c47;
  --text-dark: #2c2c2c;
  --text-light: #666;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --warm-white: #fefefe;
  --border-color: #e9ecef;
  --shadow: 0 4px 20px rgba(84, 104, 51, 0.08);
  --shadow-hover: 0 8px 30px rgba(84, 104, 51, 0.12);
  --transition: all 0.3s ease;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: transform 0.3s ease-in-out, background 0.3s ease,
    backdrop-filter 0.3s ease;
  transform: translateY(0);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.logo-image {
  height: 180px;
  width: auto;
  max-width: 1000px;
  object-fit: contain;
  transition: var(--transition);
}

.logo-image:hover {
  transform: scale(1.05);
}

.nav-logo h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: -5px;
}

.nav-logo span {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 130px 0 80px;
  background: linear-gradient(135deg, var(--white) 0%, var(--warm-white) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 104, 51, 0.02) 0%,
    rgba(207, 163, 134, 0.03) 100%
  );
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.highlight {
  color: var(--primary-color);
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  z-index: -1;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
  text-align: center;
}

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

.btn-primary:hover {
  background: #3d4a24;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
}

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

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
  width: 450px;
  height: 450px;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder i {
  font-size: 8rem;
  color: var(--primary-color);
  opacity: 0.8;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: var(--transition);
}

/* Hero Slideshow Styles */
.hero-slideshow-container {
  position: relative;
  width: 580px;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slideshow-track {
  display: flex;
  width: 700%; /* 7 slides * 100% */
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  width: 14.285714%; /* 100% / 7 slides */
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.slide-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

.slide-image:hover {
  transform: scale(1.05);
}

/* Slideshow Navigation */
.slideshow-navigation {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 2;
}

.slideshow-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(84, 104, 51, 0.9);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slideshow-btn:hover {
  background: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slideshow-btn:active {
  transform: scale(0.95);
}

.slideshow-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Slideshow Indicators */
.slideshow-indicators {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.indicator.active,
.indicator:hover {
  background: var(--primary-color);
  transform: scale(1.2);
}

.indicator:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Slideshow Auto-play Indicator */
.slideshow-container::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  opacity: 0.8;
  animation: pulse 2s infinite;
  z-index: 3;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 104, 51, 0.01) 0%,
    rgba(207, 163, 134, 0.02) 100%
  );
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(84, 104, 51, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}

.service-icon i {
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card ul {
  list-style: none;
  text-align: left;
}

.service-card li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  white-space: nowrap;
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--light-gray);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 104, 51, 0.01) 0%,
    rgba(207, 163, 134, 0.02) 100%
  );
  pointer-events: none;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-header {
  text-align: left;
  margin-bottom: 2rem;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.credentials-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
  display: inline;
  margin-left: 0.5rem;
}

.specialization-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0.5rem 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
}

.about-description p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.read-more-container {
  margin-top: 2rem;
  text-align: center;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.credential i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.2rem;
}

.credential h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.credential p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image-placeholder {
  width: 400px;
  height: 450px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-doctor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  transition: var(--transition);
}

.about-image-placeholder:hover .about-doctor-image {
  transform: scale(1.1);
}

.about-image-fallback {
  width: 100%;
  height: 100%;
  background: var(--light-gray);
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.about-image-fallback i {
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.8;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.experience-badge .years {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.experience-badge .label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.2rem;
  color: var(--white);
}

.contact-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.contact-details p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(84, 104, 51, 0.08);
}

/* Calendly Widget Responsive Styles */
.calendly-inline-widget {
  width: 100% !important;
  min-width: 320px !important;
  height: 700px !important;
  border-radius: 15px;
  overflow: hidden;
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(101, 103, 116, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer-logo h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.footer-logo span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  opacity: 0.9;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 100px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-container {
    justify-content: center;
    position: relative;
  }

  .logo-image {
    height: 160px;
    max-width: 400px;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-container {
    width: 320px;
    height: 320px;
  }

  .hero-image-placeholder i {
    font-size: 6rem;
  }

  /* Hero Slideshow Mobile Styles */
  .hero-slideshow-container {
    width: 390px;
    height: 320px;
  }

  .slideshow-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .about-title {
    font-size: 2rem;
  }

  .about-subtitle {
    font-size: 0.95rem;
  }

  .about-image-placeholder {
    width: 250px;
    height: 250px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .team-section {
    padding: 60px 0;
  }

  .team-card {
    flex: 0 0 280px;
    padding: 1.5rem;
  }

  .team-image {
    width: 100px;
    height: 100px;
  }

  .team-image-fallback i {
    font-size: 2.5rem;
  }

  .team-info h3 {
    font-size: 1.2rem;
  }

  .team-degree {
    font-size: 0.9rem;
  }

  .team-specialization {
    font-size: 0.85rem;
  }

  .google-reviews-container {
    padding: 1.5rem;
    min-height: 250px;
  }

  .google-reviews-container #shapo-widget-c08293a43862e74436f9 {
    max-width: 100%;
  }

  .review-cta-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }

  .review-cta-icon {
    width: 70px;
    height: 70px;
  }

  .review-cta-icon i {
    font-size: 2rem;
  }

  .review-cta-text h3 {
    font-size: 1.3rem;
  }

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

  /* Tablet Calendar Fixes */
  .calendar-grid {
    gap: 0.4rem;
  }

  .calendar-day {
    font-size: 0.85rem;
    min-height: 40px;
  }

  .time-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .time-slot {
    padding: 0.7rem 0.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo-image {
    height: 150px;
    max-width: 360px;
  }

  .footer-logo-image {
    height: 40px;
    max-width: 200px;
  }

  .hero {
    padding: 130px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  /* Hero Slideshow Small Mobile Styles */
  .hero-slideshow-container {
    width: 320px;
    height: 280px;
  }

  .slideshow-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .slideshow-navigation {
    padding: 0 0.5rem;
    bottom: 2.5rem;
  }

  .slideshow-indicators {
    bottom: 4rem;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .services,
  .about,
  .contact {
    padding: 60px 0;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .calendly-inline-widget {
    height: 500px !important;
    min-width: 250px !important;
  }

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

  .about-subtitle {
    font-size: 0.9rem;
  }

  .about-image-placeholder {
    width: 280px;
    height: 280px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-section {
    padding: 50px 0;
  }

  .team-card {
    flex: 0 0 250px;
    padding: 1.2rem;
  }

  .team-image {
    width: 80px;
    height: 80px;
  }

  .team-image-fallback i {
    font-size: 2rem;
  }

  .team-info h3 {
    font-size: 1.1rem;
  }

  .team-degree {
    font-size: 0.85rem;
  }

  .team-specialization {
    font-size: 0.8rem;
  }

  .team-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .calendly-inline-widget {
    height: 600px !important;
    min-width: 280px !important;
  }

  .google-reviews-container {
    padding: 1rem;
    min-height: 200px;
  }

  .review-cta-content {
    padding: 1.5rem;
    gap: 1rem;
  }

  .review-cta-icon {
    width: 60px;
    height: 60px;
  }

  .review-cta-icon i {
    font-size: 1.8rem;
  }

  .review-cta-text h3 {
    font-size: 1.2rem;
  }

  .review-cta-text p {
    font-size: 0.9rem;
  }

  .btn-review {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Mobile Calendar Fixes */
  .calendar-container {
    padding: 1rem;
    margin: 0 -15px 2rem;
    border-radius: 0;
  }

  .calendar-grid {
    gap: 0.2rem;
    min-width: 280px;
  }

  .calendar-day {
    font-size: 0.8rem;
    min-height: 35px;
  }

  .time-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
  }

  .time-slot {
    padding: 0.6rem 0.4rem;
    font-size: 0.8rem;
  }

  .service-options {
    gap: 0.8rem;
  }

  .service-option {
    padding: 1rem;
  }

  .booking-steps {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step {
    padding: 0.6rem 1rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Scroll Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease-out;
}

.fade-in-scale.animate {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animations for service cards */
.service-card:nth-child(1) {
  transition-delay: 0.1s;
}
.service-card:nth-child(2) {
  transition-delay: 0.2s;
}
.service-card:nth-child(3) {
  transition-delay: 0.3s;
}
.service-card:nth-child(4) {
  transition-delay: 0.4s;
}

/* Performance optimization for animations */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in-scale {
  will-change: transform, opacity;
}

/* Parallax effect for hero section */
.hero {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Enhanced floating animation */
@keyframes floatEnhanced {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-10px) rotate(90deg) scale(1.05);
  }
  50% {
    transform: translateY(-20px) rotate(180deg) scale(1.1);
  }
  75% {
    transform: translateY(-10px) rotate(270deg) scale(1.05);
  }
}

.floating-element {
  animation: floatEnhanced 8s ease-in-out infinite;
}

/* Smooth reveal animation for sections */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Loading animation for better UX */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.6s ease-out;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 104, 51, 0.01) 0%,
    rgba(207, 163, 134, 0.02) 100%
  );
  pointer-events: none;
}

.google-reviews-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(84, 104, 51, 0.08);
  min-height: 300px;
}

.google-reviews-container #shapo-widget-c08293a43862e74436f9 {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Review CTA Section */
.review-cta-container {
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
}

.review-cta-content {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.review-cta-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  pointer-events: none;
}

.review-cta-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.review-cta-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.review-cta-text {
  flex: 1;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.review-cta-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.review-cta-text p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.5;
}

.btn-review {
  background: var(--accent-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.btn-review:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-review i {
  font-size: 1.1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(84, 104, 51, 0.08);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-rating {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar i {
  color: var(--white);
  font-size: 1.2rem;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.author-info span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(84, 104, 51, 0.08);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.stat-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.stat-content p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background: var(--light-gray);
  position: relative;
}

.gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 104, 51, 0.01) 0%,
    rgba(207, 163, 134, 0.02) 100%
  );
  pointer-events: none;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 1rem 2rem;
  border: 2px solid var(--border-color);
  background: var(--white);
  color: var(--text-light);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

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

.tab-content {
  display: none;
}

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

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.before-after-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(84, 104, 51, 0.08);
}

.before-after-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.image-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 200px;
}

.before-image,
.after-image {
  position: relative;
  overflow: hidden;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: var(--light-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}

.placeholder-image:hover {
  background: var(--accent-color);
}

.placeholder-image i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.before-after-item h4 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.before-after-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Advanced Booking Form */
.booking-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  background: var(--light-gray);
  color: var(--text-light);
  transition: var(--transition);
}

.step.active {
  background: var(--primary-color);
  color: var(--white);
}

.step-number {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.step.active .step-number {
  background: var(--accent-color);
  color: var(--primary-color);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.service-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.service-option:hover,
.service-option.selected {
  border-color: var(--primary-color);
  background: var(--accent-color);
}

.service-option .service-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-option.selected .service-icon {
  background: var(--primary-color);
  color: var(--white);
}

.service-option .service-icon i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.service-option.selected .service-icon i {
  color: var(--white);
}

.service-info {
  flex: 1;
}

.service-info h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.service-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.service-info .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.calendar-container {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(84, 104, 51, 0.08);
  overflow-x: auto;
  max-width: 100%;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-nav {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.calendar-nav:hover {
  background: var(--primary-color);
  color: var(--white);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  max-width: 100%;
  overflow-x: auto;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.calendar-day:hover {
  background: var(--accent-color);
}

.calendar-day.selected {
  background: var(--primary-color);
  color: var(--white);
}

.calendar-day.disabled {
  color: var(--text-light);
  cursor: not-allowed;
}

.time-slots {
  margin-bottom: 2rem;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.5rem;
  max-width: 100%;
}

.time-slot {
  padding: 0.8rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.time-slot:hover,
.time-slot.selected {
  border-color: var(--primary-color);
  background: var(--accent-color);
}

.step-buttons {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.appointment-summary {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border: 1px solid rgba(84, 104, 51, 0.08);
}

.appointment-summary h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.summary-item.total {
  font-weight: 600;
  color: var(--text-dark);
  border-top: 1px solid var(--border-color);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

/* Awards Section */
.awards {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.awards::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 104, 51, 0.01) 0%,
    rgba(207, 163, 134, 0.02) 100%
  );
  pointer-events: none;
}

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

.award-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(84, 104, 51, 0.08);
}

.award-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.award-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.award-icon i {
  font-size: 2rem;
  color: var(--white);
}

.award-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.award-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Enhanced Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer-logo h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.footer-logo span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

.social-link:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-section .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-section .contact-item i {
  margin-top: 0.2rem;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

/* Footer Logo Styles */
.footer-logo-image {
  height: 100px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.footer-logo-image:hover {
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(30deg);
}

/* Team Section Styles */
.team-section {
  padding: 80px 0;
  background: var(--light-gray);
  position: relative;
}

.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 104, 51, 0.01) 0%,
    rgba(207, 163, 134, 0.02) 100%
  );
  pointer-events: none;
}

.team-container {
  position: relative;
  margin-top: 3rem;
}

.team-cards-wrapper {
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.team-cards {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
  padding: 1rem 0;
}

.team-card {
  flex: 0 0 320px;
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(84, 104, 51, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 4px solid var(--accent-color);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* Individual Doctor Image Adjustments */
.doctor-malvika {
  object-position: center center; /* Focus on top/face area */
  transform: scale(1.3); /* 20% zoom in */
}

.doctor-vishal {
  object-position: center 70%; /* Focus 30% from top */
  transform: scale(1.5); /* 10% zoom in */
}

.doctor-nimmi {
  object-position: center 25%; /* Focus 20% from top */
  transform: scale(1.5); /* 30% zoom in */
}

.doctor-musheera {
  object-position: center 10% right 10%;
  transform: scale(1.2);
}

.doctor-mazvin {
  object-position: center 20%;
  transform: scale(1.3);
}

.doctor-aswin {
  object-position: top 10%;
  transform: scale(1.2);
}

.team-image-fallback {
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  display: none;
  align-items: center;
  justify-content: center;
}

.team-image-fallback i {
  font-size: 3rem;
  color: var(--white);
}

.team-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.team-degree {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.team-degree-inline {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-left: 0.3rem;
}

.team-experience {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-color);
  margin: 0.3rem 0;
}

.team-services {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0.5rem 0 0 0;
  text-align: center;
  font-style: italic;
}

.team-specialization {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

.team-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.team-nav-btn:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

.team-nav-btn:disabled {
  background: var(--border-color);
  color: var(--text-light);
  cursor: not-allowed;
  transform: none;
}

/* Auto-scroll animation */
@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.team-cards.auto-scroll {
  animation: autoScroll 30s linear infinite;
}

.team-cards.auto-scroll:hover {
  animation-play-state: paused;
}

/* Doctor Profile Page Styles */
.doctor-profile {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--white) 0%, var(--warm-white) 100%);
  position: relative;
  min-height: 100vh;
}

.doctor-profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 104, 51, 0.02) 0%,
    rgba(207, 163, 134, 0.03) 100%
  );
  pointer-events: none;
}

.profile-header {
  margin-bottom: 3rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  transition: var(--transition);
  background: var(--white);
}

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

.profile-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  min-height: calc(100vh - 200px);
}

.profile-image-section {
  position: sticky;
  top: 120px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-image-container {
  position: relative;
  margin-bottom: 2rem;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 6px solid var(--accent-color);
  box-shadow: var(--shadow-hover);
  transition: var(--transition);
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(84, 104, 51, 0.2);
}

.profile-image-fallback {
  width: 300px;
  height: 300px;
  background: var(--white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  border: 6px solid var(--accent-color);
  box-shadow: var(--shadow-hover);
}

.profile-image-fallback i {
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.8;
}

.profile-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 100px;
}

.profile-badge .experience {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
}

.profile-badge .label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.profile-details {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(84, 104, 51, 0.08);
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--light-gray);
}

.profile-details::-webkit-scrollbar {
  width: 6px;
}

.profile-details::-webkit-scrollbar-track {
  background: var(--light-gray);
  border-radius: 3px;
}

.profile-details::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.profile-details::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.profile-header-info {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.profile-name {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.profile-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 500;
  line-height: 1.4;
}

.profile-description {
  margin-bottom: 3rem;
}

.profile-description p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  text-align: justify;
}

.profile-credentials {
  margin-bottom: 3rem;
}

.profile-credentials h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.profile-credentials h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.credential-item {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(84, 104, 51, 0.08);
  transition: var(--transition);
  text-align: center;
}

.credential-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  background: var(--white);
}

.credential-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.credential-icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.credential-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.credential-content p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.credential-content p:last-child {
  margin-bottom: 0;
}

.profile-specializations {
  margin-bottom: 3rem;
}

.profile-specializations h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.profile-specializations h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.specialization-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  text-align: center;
}

.specialization-item:hover {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.specialization-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.specialization-item:hover i {
  color: var(--white);
}

.specialization-item span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.specialization-item:hover span {
  color: var(--white);
}

.profile-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.profile-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  border-radius: 50px;
  font-weight: 600;
}

.profile-cta .btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.profile-cta .btn-primary:hover {
  background: #3d4a24;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.profile-cta .btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.profile-cta .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Doctor Profile Page Responsive Design */
@media (max-width: 1024px) {
  .profile-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
  }

  .profile-image-section {
    position: static;
    order: -1;
    align-items: center;
  }

  .profile-badge {
    display: none;
  }

  .profile-image {
    width: 250px;
    height: 250px;
  }

  .profile-image-fallback {
    width: 250px;
    height: 250px;
  }

  .profile-image-fallback i {
    font-size: 4rem;
  }

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

  .specializations-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .doctor-profile {
    padding: 100px 0 60px;
  }

  .profile-header {
    margin-bottom: 2rem;
  }

  .back-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .profile-content {
    gap: 2rem;
  }

  .profile-image {
    width: 200px;
    height: 200px;
  }

  .profile-image-fallback {
    width: 200px;
    height: 200px;
  }

  .profile-image-fallback i {
    font-size: 3.5rem;
  }

  .profile-details {
    padding: 2rem 1.5rem;
    max-height: none;
    overflow-y: visible;
  }

  .profile-name {
    font-size: 2.2rem;
  }

  .profile-title {
    font-size: 1.1rem;
  }

  .profile-description p {
    font-size: 1rem;
    text-align: left;
  }

  .profile-credentials h3,
  .profile-specializations h3 {
    font-size: 1.6rem;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .credential-item {
    padding: 1.5rem;
  }

  .specializations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .specialization-item {
    padding: 1.2rem;
  }

  .specialization-item i {
    font-size: 2rem;
  }

  .specialization-item span {
    font-size: 0.9rem;
  }

  .profile-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .profile-cta .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .doctor-profile {
    padding: 90px 0 50px;
  }

  .profile-header {
    margin-bottom: 1.5rem;
  }

  .back-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .profile-image-fallback {
    width: 150px;
    height: 150px;
  }

  .profile-image-fallback i {
    font-size: 2.5rem;
  }

  .profile-details {
    padding: 1.5rem 1rem;
    max-height: none;
    overflow-y: visible;
  }

  .profile-name {
    font-size: 1.8rem;
  }

  .profile-title {
    font-size: 1rem;
  }

  .profile-description p {
    font-size: 0.95rem;
  }

  .profile-credentials h3,
  .profile-specializations h3 {
    font-size: 1.4rem;
  }

  .credential-item {
    padding: 1.2rem;
  }

  .credential-icon {
    width: 50px;
    height: 50px;
  }

  .credential-icon i {
    font-size: 1.5rem;
  }

  .credential-content h4 {
    font-size: 1.1rem;
  }

  .credential-content p {
    font-size: 0.9rem;
  }

  .specializations-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .specialization-item {
    padding: 1rem;
  }

  .specialization-item i {
    font-size: 1.8rem;
  }

  .specialization-item span {
    font-size: 0.85rem;
  }

  .profile-cta .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Floating Phone Widget */
.phone-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(84, 104, 51, 0.3);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
  color: var(--white);
  animation: pulsePhone 2s infinite;
}

.phone-widget i {
  font-size: 1.8rem;
  color: var(--white);
}

/* Tooltip */
.phone-widget::after {
  content: "Call Us";
  position: absolute;
  right: 70px;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.phone-widget:hover::after {
  opacity: 1;
}

.phone-widget:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(84, 104, 51, 0.4);
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--primary-color) 100%
  );
}

.phone-widget:active {
  transform: translateY(-3px) scale(1.05);
}

@keyframes pulsePhone {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(84, 104, 51, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(84, 104, 51, 0.5),
      0 0 0 10px rgba(84, 104, 51, 0.1);
  }
}

/* Responsive Phone Widget */
@media (max-width: 768px) {
  .phone-widget {
    width: 55px;
    height: 55px;
    bottom: 25px;
    right: 25px;
  }

  .phone-widget i {
    font-size: 1.6rem;
  }

  /* Adjust tooltip for tablet */
  .phone-widget::after {
    right: 65px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .phone-widget {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .phone-widget i {
    font-size: 1.4rem;
  }

  /* Adjust tooltip for mobile */
  .phone-widget::after {
    right: 60px;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}
