@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  /* Colors */
  --primary: #0F4C75; /* Trustworthy deep blue */
  --primary-light: #3282B8; /* Modern blue */
  --secondary: #BBE1FA; /* Soft blue */
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC; /* Light grey/blue */
  --text-main: #1E293B; /* Slate dark */
  --text-muted: #64748B;
  --border: #E2E8F0;
  --accent: #EAB308; /* Premium warm accent */
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 76, 117, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 76, 117, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 76, 117, 0.12);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background-color: var(--surface-alt);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--surface);
  box-shadow: 0 4px 14px rgba(15, 76, 117, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 117, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--surface);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}


.logo-main {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.3s ease;
  position: relative;
}

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

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-alt) 0%, var(--surface) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

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

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  object-fit: cover;
  width: 100%;
  max-height: 600px;
}

.hero-shape {
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: var(--secondary);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  z-index: 1;
  opacity: 0.5;
  filter: blur(40px);
}

.experience-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.exp-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Features/Trust Indicators */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.service-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.service-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: var(--primary-light);
}

/* Doctors Section */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.doctor-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.doctor-img-wrapper {
  height: 350px;
  background-color: var(--surface-alt);
  position: relative;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.doctor-content {
  padding: 2.5rem;
  text-align: center;
}

.doctor-name {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.doctor-role {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.doctor-quals {
  font-size: 0.9rem;
  color: var(--text-main);
  background: var(--surface-alt);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

/* CTA Section */
.cta-section {
  background-color: var(--primary);
  color: var(--surface);
  text-align: center;
  padding: 6rem 0;
  border-radius: var(--radius-lg);
  margin: 4rem auto;
  max-width: 1200px;
  width: 90%;
  position: relative;
  overflow: hidden;
}

.cta-title {
  color: var(--surface);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

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

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

/* Footer */
.footer {
  background-color: var(--text-main);
  color: var(--surface);
  padding: 5rem 0 2rem;
}

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

.footer-logo .logo-main {
  color: var(--surface);
}

.footer-logo .logo-sub {
  color: var(--text-muted);
}

.footer-desc {
  margin-top: 1.5rem;
  color: #94A3B8;
  max-width: 300px;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--surface);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: #94A3B8;
  transition: color 0.3s ease;
}

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

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #94A3B8;
}

.footer-contact i {
  color: var(--secondary);
  font-size: 1.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: #94A3B8;
  font-size: 0.875rem;
}

/* Utilities */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Services Page specific */
.services-tabs-container {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.services-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.service-tab-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-tab-btn:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-tab-btn:last-child {
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.service-tab-btn.active, .service-tab-btn:hover {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}

.services-content-area {
  flex-grow: 1;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.service-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.service-pane.active {
  display: block;
}

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

.pane-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pane-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.pane-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.pane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.pane-box {
  background: var(--surface-alt);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.pane-box h4 {
  color: var(--primary-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pane-box ul {
  list-style: none;
}

.pane-box ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.pane-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* Problems to Solutions section */
.problem-solution-card {
  display: flex;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.problem-side, .solution-side {
  padding: 2rem;
  flex: 1;
}

.problem-side {
  background: var(--surface-alt);
  border-right: 1px solid var(--border);
}

.ps-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.problem-side .ps-label {
  color: #EF4444; /* Soft Red for problem */
}

.solution-side .ps-label {
  color: #10B981; /* Soft Green for solution */
}

.ps-title {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-main);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.contact-info-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .services-tabs-container { flex-direction: column; }
  .services-sidebar { width: 100%; }
  .service-tab-btn:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .service-tab-btn:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .services-content-area { padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: -1;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .mobile-toggle { display: block; }
  
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-content { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  
  .experience-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: 90%;
    justify-content: center;
  }
  
  .features-grid { margin-top: 2rem; }
  
  .pane-grid { grid-template-columns: 1fr; }
  
  .problem-solution-card { flex-direction: column; }
  .problem-side { border-right: none; border-bottom: 1px solid var(--border); }
  
  .contact-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-desc { margin: 1.5rem auto; }
  .footer-contact li { justify-content: center; }
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

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

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.reviewer-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}

.review-stars {
  color: #FBBC04; /* Google Gold */
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}
.google-badge img {
  width: 20px;
  height: 20px;
}
