:root {
  --primary: #0056b3;
  --primary-dark: #004494;
  --secondary: #f8f9fa;
  --dark: #1a1a2e;
  --text: #333;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 86, 179, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: var(--text);
  line-height: 1.6;
  background: var(--secondary);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

header {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

nav {
  padding: 15px 0;
}

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

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

.logo i {
  font-size: 1.8rem;
}

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

.nav-links a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: 0.3s;
}

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
  display: inline-block;
}

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

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

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

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

.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--secondary) 100%);
}

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

.hero-text h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

.image-wrapper i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10rem;
  color: var(--primary);
  /* opacity: 0.1; */
}

.image-bg {
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0.05;
}

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

.fade-in {
  animation: fadeInUp 1s ease-out forwards;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.services {
  background: var(--white);
}

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

.service-card {
  background: var(--secondary);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

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

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.about {
  background: var(--secondary);
}

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

.about-text h2 {
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 25px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.stat h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 5px;
}

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

.about-image {
  display: flex;
  justify-content: center;
}

.image-circle {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--primary) 0%, #0080ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-circle i {
  font-size: 8rem;
  color: var(--white);
  /* opacity: 0.3; */
}

.doctors {
  background: var(--white);
}

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

.doctor-card {
  background: var(--secondary);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
}

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

.doctor-image {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.doctor-image i {
  font-size: 2.5rem;
  color: var(--white);
  opacity: 0.8;
}

.doctor-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.designation {
  color: var(--text);
  font-weight: 500;
  margin-bottom: 5px;
}

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

.testimonials {
  background: var(--secondary);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.testimonial-icon {
  margin-bottom: 20px;
}

.testimonial-icon i {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 25px;
  font-style: italic;
}

.patient-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.patient-info strong {
  color: var(--primary);
  font-size: 1.1rem;
}

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

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-light);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

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

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

.footer-logo i {
  font-size: 1.6rem;
}

.footer-section p {
  color: #aaa;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  color: #aaa;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li i {
  color: var(--primary);
  margin-right: 10px;
  width: 20px;
}

.footer-section a {
  color: #aaa;
  transition: 0.3s;
}

.footer-section a:hover {
  color: var(--primary);
}

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

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

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

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

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .phone-link span {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .image-wrapper {
    width: 300px;
    height: 300px;
  }

  .image-circle {
    width: 280px;
    height: 280px;
  }
}
