@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --primary: #2A82C9;
  --primary-dark: #1F3A64;
  --secondary: #EAF4FC;
  --accent: #2A82C9;
  --accent-hover: #1F3A64;
  --bg-white: #ffffff;
  --bg-light: #F4F9FD;
  --text-dark: #1F3A64;
  --text-gray: #475569;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 32px rgba(0,0,0,0.08);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-gray);
  line-height: 1.7;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 16px;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 143, 0, 0.4);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 136, 229, 0.2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  z-index: 1000;
  transition: var(--transition);
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

.logo {
  display: flex;
  align-items: center;
  color: var(--primary-dark);
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:not(.btn):hover::after, .nav-links a.active:not(.btn):::after {
  width: 100%;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-dark);
}

/* Hero Section */
.hero {
  padding: 180px 0 120px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-white) 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-content h2 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.hero-content h1 {
  font-size: 64px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-gray);
  max-width: 500px;
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: var(--transition);
}

.hero-image img:hover {
  transform: scale(1.02);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-white);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 3s ease-in-out infinite;
}

.hero-badge-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.hero-badge-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

.hero-badge-text h4 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 2px;
}

.hero-badge-text p {
  font-size: 14px;
  margin: 0;
  color: var(--text-gray);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Curved Divider */
.curved-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.curved-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.curved-divider .shape-fill {
  fill: var(--bg-white);
}

/* Sections */
.section {
  padding: 120px 0;
}

.section-bg-light {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 18px;
}

/* Services / Image Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.image-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

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

.image-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.image-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.image-card-content {
  padding: 30px;
}

.image-card-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.image-card-content p {
  margin-bottom: 20px;
}

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

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

/* Feature Tiles */
.feature-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-tile {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.feature-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-tile:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature-tile:hover::before {
  transform: scaleX(1);
}

.feature-tile svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
  fill: none;
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-tile h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--secondary);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 10px var(--bg-white), 0 0 0 12px var(--secondary);
  transition: var(--transition);
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: var(--accent);
}

.process-step h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

/* Doctor Section */
.doctor-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.doctor-image {
  position: relative;
}

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

.doctor-info h2 {
  font-size: 42px;
  margin-bottom: 24px;
}

.doctor-info p {
  margin-bottom: 20px;
  font-size: 18px;
}

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

.stat-card {
  background: var(--bg-white);
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--primary);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.stat-card h4 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--text-dark);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  fill: var(--secondary);
  opacity: 0.5;
}

.stars {
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  gap: 4px;
}

.stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--text-gray);
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 100px 0;
  text-align: center;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--bg-white);
  font-size: 48px;
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: #0A192F;
  color: rgba(255,255,255,0.7);
  padding: 100px 0 24px;
}

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

.footer-col h3 {
  color: var(--bg-white);
  font-size: 20px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-logo {
  color: var(--bg-white);
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-col p {
  margin-bottom: 20px;
  line-height: 1.8;
}

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

.footer-links a {
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
}

/* Page Headers */
.page-header {
  padding: 200px 0 100px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-white) 100%);
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 56px;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-gray);
}

/* Contact Page Specific */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form {
  background: var(--bg-white);
  padding: 50px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-dark);
}
.form-control {
  width: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
  background: #fcfcfc;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}
.contact-details h3 {
  font-size: 32px;
  margin-bottom: 24px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 30px;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.contact-card svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
  flex-shrink: 0;
}
.contact-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
}
.whatsapp-widget:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}
.whatsapp-widget svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container, .doctor-container, .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 52px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-badge {
    display: none;
  }
  
  .services-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-card {
    text-align: left;
  }
  
  .process-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .services-grid, .testimonials-grid, .stats-grid, .process-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .page-header h1 {
    font-size: 40px;
  }
}
