/* Modern Web Design System for MRI Jammu */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #004578;
  --primary-rgb: 0, 69, 120;
  --primary-dark: #002d50;
  --primary-light: #e6f2f9;
  --accent: #11a0ab;
  --accent-rgb: 17, 160, 171;
  --accent-dark: #0d8089;
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  
  /* Fonts */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -2px rgba(13, 71, 161, 0.08);
  --shadow-md: 0 12px 24px -4px rgba(13, 71, 161, 0.06), 0 4px 12px -2px rgba(13, 71, 161, 0.04);
  --shadow-lg: 0 20px 40px -8px rgba(13, 71, 161, 0.12), 0 8px 20px -4px rgba(13, 71, 161, 0.06);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-medium);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: left;
  max-width: 800px;
  margin: 0 0 48px 0;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
  text-align: left;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-medium);
  line-height: 1.6;
  text-align: left;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(10, 92, 112, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 92, 112, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Header & Nav */
.header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

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

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

.logo svg {
  width: 38px;
  height: 38px;
  fill: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}

.mobile-close-btn-container {
  display: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 8px 0;
}

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

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 40px 0 50px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f7f9 0%, #e8f3f5 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--bg-light);
  transform: skewY(-2deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

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

.hero-usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-usp-item svg {
  color: var(--accent);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(10, 92, 112, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.mri-diagram {
  position: relative;
  z-index: 2;
  background: var(--bg-white);
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 440px;
  transition: var(--transition);
}

.mri-diagram:hover {
  transform: translateY(-5px);
}

/* Feature Boxes */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--border);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

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

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

/* Section Headers */
.section-header {
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.service-card-body {
  padding: 24px;
}

.service-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-title svg {
  color: var(--primary);
}

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

/* Technology Area */
.tech-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #052c36 100%);
  color: var(--bg-light);
}

.tech-section h2, .tech-section h3, .tech-section p {
  color: var(--bg-light);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.tech-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--border);
  padding: 40px;
  transition: var(--transition);
}

.tech-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.tech-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-strength {
  background: var(--accent);
  color: var(--bg-white);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.tech-desc {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

.tech-benefits {
  list-style: none;
}

.tech-benefits li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.tech-benefits li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* How to Book / Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  background-color: var(--bg-white);
  padding: 24px;
  border-radius: var(--border);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.step-num {
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--bg-white);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.15rem;
}

.step-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

/* Location Coverage */
.location-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.location-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.location-item {
  background: var(--bg-light);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.location-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background-color: var(--primary-light);
  color: var(--primary);
}

.location-item svg {
  color: var(--primary);
}

/* Booking & Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--border);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-info-details p, .contact-info-details a {
  font-size: 0.95rem;
  color: var(--text-medium);
}

.contact-info-details a:hover {
  color: var(--primary);
}

.booking-form-wrapper {
  background: var(--bg-white);
  border-radius: var(--border);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 92, 112, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.faq-icon {
  background-color: var(--bg-light);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-content {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--text-medium);
  border-top: 1px solid transparent;
}

.faq-item.active {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.faq-item.active .faq-icon {
  background-color: var(--primary);
  color: var(--bg-white);
}

.faq-item.active .faq-icon svg {
  transform: rotate(45deg);
}

.faq-item.active .faq-body {
  max-height: 300px; /* arbitrary height to slide down */
}

.faq-item.active .faq-content {
  border-color: var(--border);
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--bg-light);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}

.footer-about p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 12px;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--bg-white);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu a {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-menu a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-bottom a:hover {
  color: var(--bg-white);
  text-decoration: underline;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  font-family: var(--font-body);
}

.whatsapp-bubble {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.whatsapp-bubble:hover {
  transform: scale(1.08);
}

.whatsapp-bubble svg {
  width: 32px;
  height: 32px;
}

.whatsapp-chat-box {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 340px;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.whatsapp-chat-box.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-chat-header {
  background-color: #075e54;
  color: var(--bg-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.whatsapp-avatar svg {
  width: 24px;
  height: 24px;
  color: var(--bg-white);
}

.whatsapp-agent-info h4 {
  color: var(--bg-white);
  font-size: 0.95rem;
}

.whatsapp-agent-info span {
  font-size: 0.75rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.whatsapp-agent-info span::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #25d366;
  border-radius: 50%;
  display: inline-block;
}

.whatsapp-chat-body {
  padding: 20px;
  background-color: #ece5dd;
  max-height: 250px;
  overflow-y: auto;
}

.whatsapp-message {
  background-color: var(--bg-white);
  padding: 10px 14px;
  border-radius: 0 12px 12px 12px;
  font-size: 0.875rem;
  color: var(--text-dark);
  max-width: 90%;
  margin-bottom: 4px;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.whatsapp-message-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.whatsapp-chat-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
  background-color: var(--bg-light);
}

.whatsapp-chat-input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.whatsapp-chat-send {
  background-color: #128c7e;
  color: var(--bg-white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.whatsapp-chat-send:hover {
  background-color: #075e54;
}

/* About / Info Two Column Layout */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .about-two-col {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-desc {
    margin: 0 0 30px;
  }
  
  .hero-btn-group {
    justify-content: flex-start;
  }
  
  .hero-usps {
    justify-content: flex-start;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  
  .section-header h2 {
    font-size: 1.85rem;
  }
  
  .booking-form-wrapper {
    padding: 24px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Patient Feedback and Reviews Section */
.feedback-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.feedback-nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.google-rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.google-icon {
  width: 18px;
  height: 18px;
}

.badge-stars {
  display: flex;
  gap: 2px;
}

.badge-stars svg, .feedback-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

.feedback-scroll-btns {
  display: flex;
  gap: 8px;
}

.scroll-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.scroll-arrow-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
}

.feedback-scroll-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}

.feedback-scroll-track::-webkit-scrollbar {
  height: 6px;
}

.feedback-scroll-track::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.feedback-card {
  flex: 0 0 350px;
  scroll-snap-align: start;
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

@media (max-width: 600px) {
  .feedback-card {
    flex: 0 0 85vw;
  }
}

.feedback-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feedback-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.feedback-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-medium);
  font-style: italic;
  margin-bottom: 20px;
}

.feedback-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.feedback-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feedback-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.feedback-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Enhanced Disease & Review Badge Styles */
.feedback-disease-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.feedback-disease-badge svg {
  color: #16a34a;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.star-rating-input {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
}

.star-rating-input .star-btn {
  width: 28px;
  height: 28px;
  cursor: pointer;
  fill: #cbd5e1;
  transition: transform 0.15s ease, fill 0.15s ease;
}

.star-rating-input .star-btn.active {
  fill: #f59e0b;
}

.star-rating-input .star-btn:hover {
  transform: scale(1.18);
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001; /* Above whatsapp widget */
  padding: 10px;
}

.mobile-bottom-bar .container {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 0;
}

.mobile-bottom-bar .btn {
  flex: 1;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.mobile-bottom-bar .btn-whatsapp {
  background-color: #25D366;
  color: white;
}

.mobile-bottom-bar .btn-call {
  background-color: var(--primary);
  color: white;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: block;
  }
  
  body {
    padding-bottom: 70px;
  }

  .whatsapp-widget {
    display: none !important;
  }
}

/* Top Marquee Banner */
.marquee-container {
  background-color: var(--primary-dark);
  color: white;
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.marquee-content span {
  display: inline-flex;
  align-items: center;
}

.marquee-dot {
  display: none;
}

.marquee-duplicate {
  display: none;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Why Use Our Platform */
.why-platform-section {
  background-color: var(--bg-light);
}

.why-platform-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.why-platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--bg-white);
  padding: 20px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-platform-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.why-platform-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.why-platform-item:hover .why-platform-icon {
  background-color: var(--primary);
  color: var(--bg-white);
}

.why-platform-icon svg {
  width: 22px;
  height: 22px;
}

.why-platform-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}


/* Horizontal Scroll Container (Info Section) */
.horizontal-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding: 16px 4px 24px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(0, 69, 120, 0.2);
  border-radius: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.scroll-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.scroll-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 69, 120, 0.2);
}

.scroll-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.scroll-card p {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.5;
}

@media (min-width: 1025px) {
  .horizontal-scroll-container {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding-bottom: 0;
  }
  .scroll-card {
    flex: 1 1 calc(25% - 20px);
    max-width: 280px;
  }
}

/* ===== RESPONSIVE: TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .nav-menu {
    gap: 18px;
  }

  .why-platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== RESPONSIVE: MOBILE & TABLET (max-width: 768px) ===== */
@media (max-width: 768px) {

  /* -- Marquee: scrolling right-to-left on mobile -- */
  .marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 6px 0;
    justify-content: flex-start;
    font-size: 0.85rem;
  }

  .marquee-content {
    display: inline-flex;
    white-space: nowrap;
    flex-wrap: nowrap;
    animation: marquee-scroll 18s linear infinite;
    gap: 0;
  }

  .marquee-dot {
    display: inline;
    margin: 0 16px;
    opacity: 0.5;
  }

  .marquee-duplicate {
    display: inline-flex !important;
  }

  /* -- Mobile Nav Menu (slide from right) -- */
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .mobile-close-btn-container {
    display: flex !important;
    justify-content: flex-end;
    border-bottom: none !important;
    margin-bottom: 20px;
  }

  .close-menu-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0 10px;
    margin-right: -10px;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
  }

  .nav-cta .btn {
    display: none;
  }

  /* -- Hero -- */
  .hero {
    padding: 28px 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-btn-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-btn-group .btn {
    width: auto;
    padding: 10px 20px;
    font-size: 0.95rem;
    justify-content: center;
  }

  .hero-usps {
    gap: 12px;
  }

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

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* -- Features -- */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  /* -- Services -- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* -- Tech Grid -- */
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* -- Footer -- */
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    white-space: normal;
    line-height: 1.4;
    text-align: left;
  }

  .hero {
    padding: 24px 0 32px;
  }

  /* -- Nav Header -- */
  .nav-container {
    height: 56px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .logo svg {
    width: 30px;
    height: 30px;
  }

  /* -- Accreditation Section -- */
  .accreditation-item {
    font-size: 1.1rem !important;
  }

  .accreditation-item svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* -- Hero Form Grid -- */
  .hero-form-grid {
    grid-template-columns: 1fr;
  }

  .hero-form-section {
    padding: 28px 0 36px;
  }

  /* -- Why Platform Grid -- */
  .why-platform-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .why-platform-item {
    padding: 16px 18px;
  }

  .why-platform-item p {
    font-size: 0.92rem;
  }
}

/* ===== RESPONSIVE: SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .feedback-card {
    flex: 0 0 90vw;
  }

  .marquee-content {
    animation-duration: 14s;
  }
}


/* ===== UNIFIED BLOG & ARTICLE STYLES ===== */
.article-hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 48px 0 40px;
  color: #ffffff;
}
.article-hero-section .badge {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 12px;
}
.article-hero-section h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}
.article-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-meta-row svg {
  color: var(--accent);
  width: 16px;
  height: 16px;
}
.breadcrumb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.breadcrumb-row a {
  color: rgba(255,255,255,0.9);
}
.breadcrumb-row a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Article Layout */
.article-body-section {
  padding: 60px 0 80px;
  background: var(--bg-light);
}
.article-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.article-main {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}
.article-main h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
.article-main h2:first-of-type {
  margin-top: 0;
}
.article-main h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}
.article-main p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.75;
  margin-bottom: 16px;
}
.article-main ul, .article-main ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.article-main ul { list-style: disc; }
.article-main ol { list-style: decimal; }
.article-main li {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Step Process Box */
.step-card {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.step-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.15rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Custom Grids in Articles */
.scan-category-grid,
.trend-card-grid,
.transform-grid,
.benefit-feature-grid,
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.scan-cat-card,
.trend-card,
.transform-card,
.benefit-item,
.challenge-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

/* Sidebar */
.article-aside {
  position: sticky;
  top: 84px;
}
.aside-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.aside-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.toc-nav a:last-child { border-bottom: none; }
.toc-nav a:hover { color: var(--primary); padding-left: 4px; }
.toc-nav svg { width: 12px; height: 12px; flex-shrink: 0; }

.aside-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 24px;
}
.aside-cta h4 { color: #ffffff; margin-bottom: 10px; }
.aside-cta p { font-size: 0.88rem; color: rgba(255,255,255,0.88); line-height: 1.6; margin-bottom: 14px; }
.aside-cta .btn { width: 100%; justify-content: center; }
.aside-cta .btn + .btn { margin-top: 8px; }

/* Article FAQ */
.article-faq-section {
  border-top: 2px solid var(--primary-light);
  margin-top: 40px;
  padding-top: 32px;
}

@media (max-width: 992px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 576px) {
  .article-main { padding: 24px 18px; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

