/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
  /* Colors */
  --primary-color: #00c5d8;
  --primary-dark: #00a3b3;
  --primary-light: #33d1e0;
  --primary-gradient: linear-gradient(135deg, #00c5d8 0%, #00e5ff 100%);
  --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-gradient: linear-gradient(135deg, #00c5d8 0%, #00e5ff 100%);
  --success-color: #10b981;

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafb;
  --bg-tertiary: #f0f4f8;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafb;

  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;

  --border-color: #e2e8f0;
  --border-light: #f0f4f8;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(0, 197, 216, 0.2);

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-display: "Outfit", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===========================
   Header Section
   =========================== */
.header {
  background: var(--bg-card);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
}

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

.logo {
  height: 60px;
  width: auto;
  transition: var(--transition-normal);
}

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

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(0, 197, 216, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 197, 216, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(0, 229, 255, 0.05) 0%,
      transparent 50%
    );
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  /* display: inline-flex;
  align-items: center;
  gap: 0.5rem; */
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
  animation: fadeInDown 0.8s ease, glow 2s ease-in-out infinite;
  font-weight: 600;
  text-align: center;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(0, 197, 216, 0.2), 0 0 10px rgba(0, 197, 216, 0.1),
      0 2px 8px rgba(0, 0, 0, 0.04);
  }

  50% {
    box-shadow: 0 0 15px rgba(0, 197, 216, 0.4), 0 0 25px rgba(0, 197, 216, 0.2),
      0 0 35px rgba(0, 197, 216, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  }
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s backwards;
  color: var(--text-primary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

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

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

.btn-hero {
  background: var(--primary-gradient);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-normal);
  display: inline-block;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 197, 216, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--primary-color);
  transition: var(--transition-normal);
  display: inline-block;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
  0% {
    top: 10px;
    opacity: 1;
  }

  100% {
    top: 30px;
    opacity: 0;
  }
}

/* ===========================
   Section Styles
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

/* ===========================
   Certificates Section
   =========================== */
.certificates {
  padding: var(--spacing-xl) 0;
  background: var(--bg-primary);
}

.certificates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.certificates-grid .certificate-card {
  flex: 1 1 300px;
  max-width: calc(50% - 1.25rem);
}

.certificate-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.certificate-card:hover::before {
  transform: scaleX(1);
}

.certificate-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.certificate-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  text-align: center;
}

.certificate-placeholder svg {
  stroke: var(--primary-color);
  opacity: 0.5;
}

.certificate-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.certificate-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.certificate-card:hover .certificate-image {
  transform: scale(1.02);
}

/* ===========================
   Why Thailand Section
   =========================== */
.why-thailand {
  padding: var(--spacing-xl) 0;
  background: var(--bg-secondary);
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.benefits-grid .benefit-card {
  flex: 1 1 300px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 197, 216, 0.1) 0%,
    rgba(0, 229, 255, 0.1) 100%
  );
  border-radius: 16px;
  transition: var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(0, 197, 216, 0.15) 0%,
    rgba(0, 229, 255, 0.15) 100%
  );
}

.benefit-icon i {
  font-size: 36px;
  color: var(--primary-color);
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

/* ===========================
   Services Section
   =========================== */
.services {
  padding: var(--spacing-xl) 0;
  position: relative;
  background: var(--bg-primary);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.services-grid .service-card {
  flex: 1 1 520px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 197, 216, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 197, 216, 0.1) 0%,
    rgba(0, 229, 255, 0.1) 100%
  );
  border-radius: 14px;
}

.service-icon i {
  font-size: 32px;
  color: var(--primary-color);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-top: 1.5rem;
}

.service-features li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

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

/* ===========================
   Doctors Section
   =========================== */
.doctors {
  padding: var(--spacing-xl) 0;
  background: var(--bg-secondary);
}

.doctors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.doctors-grid .doctor-card {
  flex: 1 1 260px;
}

.doctor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.doctor-image {
  width: 100%;
  max-width: 200px;
  height: 240px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--primary-gradient) border-box;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.doctor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 0;
}

.doctor-card:hover .doctor-image {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 197, 216, 0.3);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.doctor-card > * {
  position: relative;
  z-index: 1;
}

.doctor-specialty {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.doctor-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.doctor-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.doctor-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.doctor-link:hover {
  gap: 0.8rem;
  color: var(--primary-dark);
}

/* ===========================
   Technology Section
   =========================== */
.technology {
  padding: var(--spacing-xl) 0;
  background: var(--bg-primary);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.tech-grid .tech-card {
  flex: 1 1 350px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tech-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(0, 197, 216, 0.08) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: var(--transition-slow);
}

.tech-card:hover::after {
  opacity: 1;
  width: 300px;
  height: 300px;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.tech-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 197, 216, 0.1) 0%,
    rgba(0, 229, 255, 0.1) 100%
  );
  border-radius: 18px;
  transition: var(--transition-normal);
  position: relative;
  z-index: 1;
}

.tech-icon i {
  font-size: 40px;
  color: var(--primary-color);
}

.tech-card:hover .tech-icon {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(0, 197, 216, 0.15) 0%,
    rgba(0, 229, 255, 0.15) 100%
  );
}

.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.tech-card p {
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* ===========================
   StarMedic Services Section
   =========================== */
.starmedic-services {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(
    135deg,
    rgba(0, 197, 216, 0.05) 0%,
    rgba(0, 229, 255, 0.05) 100%
  );
  position: relative;
}

.services-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
}

.services-content > * {
  flex: 1 1 400px;
}

.services-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.services-list {
  list-style: none;
}

.services-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.list-icon {
  background: var(--success-color);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

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

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.visual-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.visual-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 197, 216, 0.1) 0%,
    rgba(0, 229, 255, 0.1) 100%
  );
  border-radius: 18px;
}

.visual-icon i {
  font-size: 40px;
  color: var(--primary-color);
}

.visual-card p {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-primary);
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  padding: var(--spacing-xl) 0;
  background: var(--bg-primary);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-wrapper .contact-info {
  flex: 1 1 300px;
}

.contact-wrapper .contact-form {
  flex: 1.2 1 360px;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

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

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 28px;
  color: white;
}

.contact-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.contact-value {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.file-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-submit {
  background: var(--primary-gradient);
  color: white;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-glow);
  margin-top: 1rem;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 197, 216, 0.3);
}

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

.btn-arrow {
  transition: var(--transition-fast);
  font-size: 1.3rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-link i {
  color: var(--primary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

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

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .services-content,
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    margin-bottom: 1rem;
  }

  .btn-hero,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .benefits-grid,
  .services-grid,
  .doctors-grid,
  .tech-grid,
  .certificates-grid {
    flex-direction: column;
  }

  .certificates-grid .certificate-card {
    max-width: 100%;
    min-height: auto;
  }

  .doctor-card {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    overflow: visible; /* Fix for disappearing content */
  }

  .doctor-image {
    height: 200px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .doctor-specialty {
    white-space: normal;
    text-align: center;
  }

  .contact-wrapper {
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    max-width: 100%;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
