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

:root {
  --primary: #7ba4cd;
  --primary-light: #dfe6fb;
  --primary-dark: #5a84ad;
  --secondary: #1a2b3c;
  --bg-color: #f8fafc;
  --white: #ffffff;
  --text-dark: #334155;
  --text-light: #64748b;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 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);
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.18);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  height: 80px;
}

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

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

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

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

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

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 5% 2rem;
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  animation: slideUp 0.8s ease-out;
}

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

.hero-text {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  animation: slideUp 1s ease-out;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  animation: fadeIn 1.2s ease-out;
}

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

/* Services Preview */
.section {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.02);
}

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

.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
}

/* About Inner Pages */
.page-header {
  padding: 8rem 5% 4rem;
  background: var(--secondary);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Contact */
.contact-container {
  display: flex;
  gap: 4rem;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.contact-info {
  flex: 1;
}

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

.contact-icon {
  background: var(--primary-light);
  color: var(--white);
  padding: 1rem;
  border-radius: 50%;
  font-size: 1.2rem;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 4rem 5% 2rem;
  text-align: center;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn {
  background-color: #25D366;
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* FAQ Accordion & Category Tabs */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem auto 1.5rem;
  max-width: 950px;
}

.faq-tab-btn {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.65rem 1.35rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-family: 'Inter', sans-serif;
}

.faq-tab-btn:hover, .faq-tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.faq-container {
  max-width: 900px;
  margin: 1.5rem auto 0;
  text-align: left;
}

.faq-category-group {
  transition: opacity 0.3s ease;
}

.faq-category-header {
  font-size: 1.35rem;
  color: var(--secondary);
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  line-height: 1.5;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
  color: var(--secondary);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  font-size: 0.98rem;
}

/* Clinic Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: brightness(1.18) contrast(1.08) saturate(1.15);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 100%);
  color: white;
  padding: 2rem 1.25rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Service Detail Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  border-radius: 24px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
  color: white;
  padding: 2rem;
  border-radius: 24px 24px 0 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.modal-header-icon {
  font-size: 3rem;
  background: rgba(255, 255, 255, 0.15);
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
  text-align: left;
}

.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.98rem;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.75rem;
}

.modal-meta-item strong {
  display: block;
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.modal-meta-item span {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.98rem;
}

.modal-footer {
  padding: 1.5rem 2rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 24px 24px;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-card {
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-cta {
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.service-card:hover .service-card-cta {
  color: var(--primary-dark);
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
  .about-content { flex-direction: column; }
  .contact-container { flex-direction: column; }
  .nav-links { display: none; } /* Simple mobile handling for now */
}

.site-logo {
  height: 90px;
  width: auto;
  mix-blend-mode: multiply;
  object-fit: contain;
  transform: scale(1.2); /* Slightly zoom in to reduce screenshot whitespace */
  transform-origin: left center;
  filter: hue-rotate(35deg) saturate(0.9); /* Shift turquoise to slate blue */
}

/* Service Category Tabs */
.service-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 auto 3rem;
  max-width: 1000px;
}

.service-tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 2px solid #e2e8f0;
  background: var(--white);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.service-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.service-tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(123, 164, 205, 0.4);
}

/* Comparative Treatment Analysis Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 3rem auto 0;
  max-width: 1200px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid #e2e8f0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  background: var(--secondary);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.comparison-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text);
  font-size: 0.95rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: #f8fafc;
}

.badge-green {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-blue {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-purple {
  display: inline-block;
  background: #f3e8ff;
  color: #6b21a8;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
}
