body,
h1,
h2,
h3,
h4,
h5 {
  color: var(--text-dark);
  font-family: Outfit, sans-serif;
}
.hero-container,
.nav-container {
  margin: 0 auto;
  max-width: 1400px;
}
.service-card p,
body {
  line-height: 1.7;
}
.loader-logo,
.logo,
.stat-number,
.step-number,
body,
h1,
h2,
h3,
h4,
h5 {
  font-family: Outfit, sans-serif;
}
.mobile-toggle span,
footer {
  background: var(--text-dark);
}
.footer-links ul,
.nav-menu {
  list-style: none;
}
.cta,
.footer-bottom,
.process-step,
.section-header,
.stat-item {
  text-align: center;
}
:root {
  --primary: #0f4c81;
  --primary-light: #1a6daf;
  --accent: #00b4d8;
  --accent-soft: #90e0ef;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6b6b6b;
  --background: #ffffff;
  --background-soft: #f8fafb;
  --background-cream: #fefdfb;
  --border-light: #e8eef2;
  --shadow-sm: 0 2px 8px rgba(15, 76, 129, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 76, 129, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 76, 129, 0.12);
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader {
  position: relative;
  width: 100px;
  height: 100px;
}
.hero::before,
.loader-logo,
.loader-ring,
.loader-text,
.nav-link::after {
  position: absolute;
}
.nav-link:hover::after,
.navbar {
  width: 100%;
}
.loader-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--primary);
  animation: 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite spin;
}
.loader-ring:nth-child(2) {
  border-top-color: var(--accent);
  animation-delay: -0.3s;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
}
.loader-ring:nth-child(3) {
  border-top-color: var(--accent-soft);
  animation-delay: -0.6s;
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-logo {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}
.loader-text,
.subtitle {
  color: var(--text-light);
}
.loader-text {
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  letter-spacing: 1px;
  white-space: nowrap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 2.2rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 2rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
}
h4 {
  font-size: 1.25rem;
}
.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}
.hero-tag,
.logo,
.nav-link:hover {
  color: var(--primary);
}
.navbar {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero,
.hero-container,
.hero-image,
.nav-link {
  position: relative;
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-container {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo,
.logo-icon {
  align-items: center;
  display: flex;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  gap: 0.5rem;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
.btn-primary,
.nav-link {
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
}
.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-link {
  color: var(--text-medium);
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: 0 0;
  border: none;
  cursor: pointer;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  transition: 0.3s;
}
.hero {
  padding: 140px 2rem 100px;
  background: linear-gradient(
    135deg,
    var(--background-soft) 0,
    var(--background-cream) 100%
  );
  overflow: hidden;
}
.hero::before {
  content: "";
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(
    circle,
    rgba(0, 180, 216, 0.08) 0,
    transparent 70%
  );
  pointer-events: none;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero h1,
.hero-tag {
  margin-bottom: 1.5rem;
}
.hero-container .subtitle {
  margin: 0 !important;
}
.hero-content {
  animation: 1s ease-out fadeInUp;
}
.hero-tag {
  display: inline-block;
  background: rgba(0, 180, 216, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.badge-icon,
.badge-text strong {
  font-size: 1.5rem;
  color: var(--primary);
}
.hero h1 {
  background: linear-gradient(
    135deg,
    var(--primary) 0,
    var(--primary-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.btn-secondary {
  background: 0 0;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}
.hero-image {
  animation: 1s ease-out fadeInRight;
}
.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-image-grid img,
.hero-badge,
.scroll-top {
  box-shadow: var(--shadow-md);
}
.hero-badge {
  position: absolute;
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: 3s ease-in-out infinite float;
}
.hero-badge.badge-1 {
  bottom: 20px;
  left: -40px;
}
.hero-badge.badge-2 {
  top: 40px;
  right: -40px;
}
.badge-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-text strong {
  display: block;
}
.about-text p,
.author-info p,
.badge-text span,
.doctor-info p,
.process-step p,
.service-card p {
  color: var(--text-light);
}
.badge-text span {
  font-size: 0.85rem;
}
section {
  padding: 100px 2rem;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 4rem;
}
.section-tag {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.stats {
  background: var(--primary);
  color: #fff;
  padding: 60px 2rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-soft);
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}
.process,
.services {
  background: var(--background-soft);
}
.services-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.doctor-card:hover,
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    rgba(0, 180, 216, 0.1),
    rgba(15, 76, 129, 0.1)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.about-text h2,
.about-text p,
.form-group {
  margin-bottom: 1.5rem;
}
.about,
.contact,
.testimonials {
  background: #fff;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text p {
  font-size: 1.05rem;
}
.about-features {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-item,
.social-links {
  display: flex;
  gap: 1rem;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.feature-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.feature-text p {
  font-size: 0.95rem;
  margin: 0;
}
.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.doctors-grid,
.process-steps {
  grid-template-columns: repeat(4, 1fr);
}
.about-image-grid img {
  width: 100%;
  border-radius: 16px;
}
.about-image-grid img:first-child {
  grid-column: 1/-1;
}
.doctors {
  background: var(--background-cream);
}
.doctors-grid {
  display: grid;
  gap: 2rem;
}
.doctor-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: 0.3s;
}
.doctor-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.doctor-info {
  padding: 1.5rem;
}
.doctor-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.doctor-specialty {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.footer-links a:hover,
.quote-icon {
  color: var(--accent-soft);
}
.doctor-info p {
  font-size: 0.9rem;
  line-height: 1.6;
}
.testimonial-card {
  background: var(--background-soft);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  position: relative;
}
.quote-icon {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 1rem;
}
.testimonial-text {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.stars {
  color: #ffb800;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.2rem;
}
.author-info h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.author-info p {
  font-size: 0.85rem;
  margin: 0;
}
.process-steps {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
.process-step {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 15px;
}
.process-step:last-child::after {
  display: none;
}
.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}
.footer-bottom,
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}
.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.process-step p {
  font-size: 0.95rem;
}
.cta {
  background: linear-gradient(
    135deg,
    var(--primary) 0,
    var(--primary-light) 100%
  );
  color: #fff;
  padding: 80px 2rem;
}
.btn-outline-white,
.btn-white {
  padding: 0.9rem 2rem;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}
.cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}
.btn-outline-white {
  background: 0 0;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info {
  display: grid;
  gap: 2rem;
}
.contact-item {
  display: flex;
  gap: 1.5rem;
}
.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(0, 180, 216, 0.1),
    rgba(15, 76, 129, 0.1)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.contact-details p {
  color: var(--text-light);
  margin: 0;
}
.contact-details a {
  color: var(--primary);
  text-decoration: none;
}
.contact-form {
  background: var(--background-soft);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
  transition: 0.3s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
footer {
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 2rem 30px;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.scroll-top,
.social-links a {
  display: flex;
  transition: 0.3s;
}
.footer-brand h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-brand p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}
.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}
.footer-links h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom {
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
}
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}
.scroll-top.active {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@media (max-width: 1200px) {
  .doctors-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: left 0.3s;
    gap: 1rem;
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-toggle {
    display: flex;
  }
  .about-content,
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-content,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .process-steps,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step::after {
    display: none;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .doctors-grid,
  .footer-content,
  .process-steps,
  .services-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  section {
    padding: 60px 1.5rem;
  }
  .hero {
    padding: 120px 1.5rem 60px;
  }
  .stats-grid {
    gap: 2rem;
  }
  .hero-badge {
    display: none;
  }
}
body,
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}