:root {
  --primary-blue: #0b3d91;
  --dark-blue: #041e42;
  --light-blue: #e6f0fa;
  --accent-red: #d32f2f;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-white: #ffffff;
  --bg-gray: #f8fafc;
  --border-color: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 24px rgba(11, 61, 145, 0.15);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-blue);
  font-weight: 600;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Utilities */
.text-center { text-align: center; }
.section-padding { padding: 100px 0; }
.text-blue { color: var(--primary-blue); }
.text-red { color: var(--accent-red); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--bg-white);
}

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

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

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

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

.logo i {
  color: var(--accent-red);
  font-size: 1.8rem;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--dark-blue);
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--light-blue) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11,61,145,0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary-blue);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.badge i {
  color: var(--primary-blue);
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  border: 8px solid var(--bg-white);
}

.floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--glass-border);
}

.floating-icon {
  width: 50px;
  height: 50px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.5rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

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

.stat-item {
  background: var(--bg-white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-blue);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* Services */
.services-section {
  background-color: var(--bg-white);
}

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

.service-card {
  background: var(--bg-gray);
  padding: 40px 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

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

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

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

/* Timeline */
.timeline-section {
  background-color: var(--light-blue);
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--primary-blue);
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-content {
  width: 90%;
  background: var(--bg-white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--bg-white);
  border: 4px solid var(--primary-blue);
  border-radius: 50%;
  z-index: 1;
}

.timeline-year {
  color: var(--accent-red);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.timeline-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-inst {
  color: var(--text-muted);
}

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

.testimonial-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: var(--light-blue);
  opacity: 0.5;
}

.stars {
  color: #FFB800;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--text-main);
  line-height: 1.8;
}

.patient-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

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

/* FAQ Section */
.faq-section {
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-blue);
}

.faq-question i {
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-muted);
}

.faq-answer p {
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* CTA / Appointment */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--bg-white);
  text-align: center;
  padding: 80px 0;
}

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

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

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--bg-white);
  padding: 80px 0 24px;
}

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

.footer-col h3 {
  color: var(--bg-white);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo i {
  color: var(--accent-red);
}

.footer-col p {
  color: #a0aec0;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: #a0aec0;
}

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

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #a0aec0;
  font-size: 0.9rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content, .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .timeline::before {
    left: 0;
  }
  
  .timeline-item {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 40px;
  }
  
  .timeline-item:nth-child(even) {
    padding-left: 40px;
  }
  
  .timeline-item::after {
    left: 0;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
}
