:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #10b981;
  --accent: #f59e0b;
  --background: #f8fafc;
  --foreground: #0f172a;
  --muted: #64748b;
  --white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.8);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

section {
  padding: 80px 0;
}

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

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

.section-title p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 45px;
  background: white;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.logo-text {
  line-height: 1.1;
}

.logo-text .small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.logo-text .main {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

header.scrolled .logo-text .small {
  color: var(--muted);
}

header.scrolled .logo-text .main {
  color: var(--primary);
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
}

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

header.scrolled .nav-links a {
  color: var(--foreground);
}

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

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

.cta-btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
  transition: color 0.3s ease;
}

header.scrolled .mobile-menu-btn {
  color: var(--foreground);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(14, 165, 233, 0.6), rgba(15, 23, 42, 0.8)), url('assets/hero-mother-child-5DF__6yg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
}

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

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

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

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

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

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

/* About Section */
.about-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-img {
  flex: 1;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-text {
  flex: 1.2;
}

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

.about-text .lead {
  font-size: 1.1rem;
  color: var(--foreground);
  margin-bottom: 20px;
}

/* Doctor Section */
.doctor-section {
  background: #f1f5f9;
}

.doctor-flex {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 50px;
}

.doctor-img {
  flex: 1;
  position: relative;
}

.doctor-img img {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.doctor-info {
  flex: 1.2;
}

.doctor-info h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.doctor-info .specialty {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: #f0fdf4;
  color: var(--secondary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.info-text h4 {
  margin-bottom: 5px;
}

.info-text p {
  color: var(--muted);
}

.map-container {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  background: var(--foreground);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about p {
  color: #94a3b8;
  margin-top: 20px;
}

.footer-links h4 {
  margin-bottom: 20px;
}

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

.footer-links ul li a {
  color: #94a3b8;
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: #334155;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  color: #64748b;
  font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .about-flex, .doctor-flex, .contact-grid {
    flex-direction: column;
    text-align: center;
  }
  .doctor-flex {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .logo-text .small {
    display: none;
  }
  .cta-btn span {
    display: none;
  }
  .cta-btn {
    padding: 10px 15px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .map-container {
    height: 300px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo-text .main {
    font-size: 1rem;
  }
  .logo img {
    height: 30px;
  }
  header {
    padding: 15px 0;
  }
}
