/* ==========================================================================
   THYROCARE PATHOLOGY LAB - PREMIUM STYLING SYSTEM
   Location: Arjunganj, Lucknow
   Author: Antigravity AI
   ========================================================================== */

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

:root {
  /* Brand Color Palette */
  --primary-color: #0c2340;     /* Deep Corporate Navy */
  --primary-hover: #173b6c;
  --secondary-color: #1a365d;   /* Classic Royal Blue */
  --secondary-hover: #2a4365;
  --accent-color: #dc2626;      /* Official Thyrocare Crimson Red */
  --accent-hover: #b91c1c;
  --accent-rgb: 220, 38, 38;
  
  /* Semantic Neutral Colors */
  --bg-light: #f8fafc;          /* Light Slate Blue/Grey */
  --bg-card: #ffffff;
  --text-dark: #0f172a;         /* Charcoal/Slate 900 */
  --text-medium: #334155;       /* Slate 700 */
  --text-light: #64748b;        /* Slate 500 */
  --border-color: #e2e8f0;      /* Slate 200 */
  
  /* Success & Trust Signals */
  --success-color: #10b981;     /* Emerald Green */
  --success-bg: rgba(16, 185, 129, 0.1);
  --warning-color: #f59e0b;     /* Amber */
  
  /* Premium Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 10px 20px -10px rgba(15, 23, 42, 0.06);
  --shadow-accent: 0 10px 20px -3px rgba(220, 38, 38, 0.35);
  --shadow-nav: 0 4px 30px rgba(15, 23, 42, 0.03);
  
  /* Typography System */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. RESET & BASE ELEMENTS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

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

/* ==========================================================================
   2. KEYFRAMES & MICRO-INTERACTIONS
   ========================================================================== */

/* Slide down navigation */
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Basic Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Slide in from left */
@keyframes fadeInLeft {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Slide in from right */
@keyframes fadeInRight {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Status Indicator pulsing */
@keyframes statusPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Floating animation for cards/graphics */
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Floating animation for cards/graphics (Opposite phase) */
@keyframes floatingOpposite {
  0% { transform: translateY(-10px); }
  50% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* CTA Pulse */
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* Shake animation for validation errors */
@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Scale pop for success */
@keyframes scalePop {
  0% { transform: scale(0.85); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

/* Float tag tags */
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* SCROLL TRIGGER ANIMATION BASE */
.animate-on-scroll {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.anim-slide-up {
  transform: translateY(40px);
}

.anim-slide-left {
  transform: translateX(-40px);
}

.anim-slide-right {
  transform: translateX(40px);
}

.anim-zoom {
  transform: scale(0.92);
}

/* Active trigger classes applied via JS */
.animate-on-scroll.animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ==========================================================================
   3. REUSABLE COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  gap: 0.625rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(220, 38, 38, 0.45);
}

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

.btn-secondary:hover {
  background-color: rgba(12, 35, 64, 0.05);
  transform: translateY(-2px);
}

.btn-white {
  background-color: white;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

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

.btn-full {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(22, 54, 93, 0.08);
  color: var(--secondary-color);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.badge-accent {
  background-color: rgba(220, 38, 38, 0.1);
  color: var(--accent-color);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.highlight {
  color: var(--accent-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(220, 38, 38, 0.12);
  z-index: -1;
  border-radius: 4px;
}

/* ==========================================================================
   4. ANNOUNCEMENT & HEADER NAVIGATION
   ========================================================================== */
.announcement-bar {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.825rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.ann-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ann-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.ann-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.775rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}

.header {
  position: fixed;
  top: 37px; /* Account for announcement bar */
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: var(--shadow-nav);
  animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: top 0.3s ease;
}

/* Adjust header top when scrolled */
body.scrolled .header {
  top: 0;
}

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

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

.logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.25);
  transition: transform var(--transition-fast);
}

.logo:hover .logo-symbol {
  transform: rotate(10deg) scale(1.05);
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

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

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-medium);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.phone-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--primary-color);
}

.phone-badge svg {
  color: var(--accent-color);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-color);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  padding: 210px 0 110px 0;
  background: radial-gradient(circle at 80% 20%, rgba(26, 54, 93, 0.04), transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(220, 38, 38, 0.02), transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.hero-content {
  animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero h1 span.accent {
  color: var(--accent-color);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-btn-group {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.btn-pulse-accent {
  animation: ctaPulse 2s infinite ease-in-out;
}

.btn-pulse-accent:hover {
  animation-play-state: paused;
}

.hero-trust-row {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.trust-item svg {
  color: var(--success-color);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(226, 232, 240, 0.8);
  animation: floating 6s ease-in-out infinite;
}

.hero-img-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.decor-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.decor-circle-1 {
  width: 320px;
  height: 320px;
  background-color: rgba(26, 54, 93, 0.15);
  top: -50px;
  right: -50px;
}

.decor-circle-2 {
  width: 250px;
  height: 250px;
  background-color: rgba(220, 38, 38, 0.08);
  bottom: -40px;
  left: -40px;
}

/* Floating UI Badges */
.floating-badge {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  z-index: 10;
}

.badge-pos-1 {
  top: 50px;
  left: -50px;
  animation: floating 5s ease-in-out infinite;
}

.badge-pos-2 {
  bottom: 60px;
  right: -30px;
  animation: floatingOpposite 5s ease-in-out infinite;
}

.floating-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(220, 38, 38, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge-icon.success-badge {
  background-color: rgba(16, 185, 129, 0.10);
  color: var(--success-color);
}

.floating-badge-text h5 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-color);
}

.floating-badge-text p {
  font-size: 0.775rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ==========================================================================
   6. TRUST STATISTICS SECTION
   ========================================================================== */
.stats-section {
  padding: 50px 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box {
  position: relative;
}

.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: var(--border-color);
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box:hover .stat-val {
  color: var(--accent-color);
  transform: scale(1.05);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.stat-lbl {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text-light);
}

/* ==========================================================================
   7. LIVE PATHOLOGY TEST CATALOG
   ========================================================================== */
.catalog-section {
  padding: 100px 0;
}

.search-box-wrapper {
  max-width: 700px;
  margin: -2rem auto 2.5rem auto;
  position: relative;
  z-index: 10;
  background-color: white;
  padding: 0.625rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.search-input-inner {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
}

.search-icon-svg {
  color: var(--text-light);
  margin-right: 1rem;
  flex-shrink: 0;
}

.catalog-search-field {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-family: var(--font-main);
  color: var(--text-dark);
}

.catalog-search-field::placeholder {
  color: #94a3b8;
}

.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  background-color: white;
  border: 1px solid var(--border-color);
  color: var(--text-medium);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.875rem;
}

.filter-pill:hover {
  background-color: var(--bg-light);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.filter-pill.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.test-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.test-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.test-card:hover::after {
  opacity: 1;
}

.test-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(220, 38, 38, 0.08);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.test-card:hover .test-icon-box {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--accent-color);
  color: white;
}

.test-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  line-height: 1.3;
}

.test-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.5;
}

.test-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1.15rem;
}

.test-cost {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-dark);
  font-size: 1.25rem;
}

.test-duration {
  font-size: 0.775rem;
  color: var(--text-light);
  font-weight: 700;
  background-color: var(--bg-light);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
}

.no-catalog-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0;
  color: var(--text-light);
  font-size: 1.15rem;
  display: none;
}

/* ==========================================================================
   8. POPULAR HEALTH PACKAGES
   ========================================================================== */
.packages-section {
  padding: 100px 0;
  background-color: #f1f5f9;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.package-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.package-item.popular-selected {
  border: 2px solid var(--accent-color);
  position: relative;
}

.popular-banner {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.package-head {
  padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}

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

.package-details-subtitle {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 700;
}

.package-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.price-actual {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.price-original {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 1.15rem;
}

.discount-tag {
  color: var(--success-color);
  font-weight: 700;
  font-size: 0.875rem;
}

.package-body-content {
  padding: 0 2.5rem 2.5rem 2.5rem;
  flex-grow: 1;
}

.package-feature-list {
  list-style: none;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.package-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.925rem;
}

.package-feature-list li svg {
  color: var(--success-color);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.package-foot-action {
  padding: 0 2.5rem 2.5rem 2.5rem;
  margin-top: auto;
}

/* ==========================================================================
   9. INTERACTIVE BOOKING & PORTAL MOCK
   ========================================================================== */
.booking-section {
  padding: 100px 0;
  background-color: var(--bg-card);
  position: relative;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: flex-start;
}

.booking-form-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 3rem;
}

.booking-form-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.booking-form-card p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2.25rem;
}

.booking-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.span-all-columns {
  grid-column: 1 / -1;
}

.input-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.field-element {
  width: 100%;
  padding: 0.875rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  background-color: var(--bg-light);
}

.field-element:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
  background-color: white;
}

.field-element.validation-error {
  border-color: var(--accent-color);
  animation: fieldShake 0.4s ease-in-out;
  background-color: rgba(220, 38, 38, 0.03);
}

.select-arrow-custom {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.15rem;
  padding-right: 3rem;
}

/* Success View */
.success-card-feedback {
  display: none;
  text-align: center;
  padding: 3rem 0;
  animation: scalePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-check-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem auto;
}

.success-card-feedback h3 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.success-card-feedback p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* Patient Portal Mock */
.portal-card-mock {
  background: radial-gradient(circle at 10% 10%, rgba(26, 54, 93, 0.05), transparent 45%), var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.portal-card-mock h4 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.portal-card-mock p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.portal-tabs-row {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.tab-trigger-btn {
  background: none;
  border: none;
  padding: 0.75rem 0.5rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition-fast);
  position: relative;
}

.tab-trigger-btn.active-tab {
  color: var(--accent-color);
}

.tab-trigger-btn.active-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

.portal-tab-pane {
  display: none;
}

.portal-tab-pane.active-pane {
  display: block;
}

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

/* ==========================================================================
   10. WHY CHOOSE THYROCARE (BENEFITS)
   ========================================================================== */
.why-choose-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  align-items: center;
}

.why-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.why-feature-box {
  display: flex;
  gap: 1rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.why-feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 54, 93, 0.15);
}

.why-feat-icon-container {
  color: var(--accent-color);
  flex-shrink: 0;
}

.why-feat-text h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.why-feat-text p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.why-media-frame {
  position: relative;
}

.why-media-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.why-media-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ==========================================================================
   11. PHOTO GALLERY (LOCAL CENTER IMAGES)
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(12, 35, 64, 0.9) 0%, rgba(12, 35, 64, 0.4) 70%, transparent 100%);
  color: white;
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay-text {
  opacity: 1;
}

.gallery-overlay-text h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.gallery-overlay-text p {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Grid Layout Spans */
.span-col-3 { grid-column: span 3; }
.span-col-2 { grid-column: span 2; }
.span-row-2 { grid-row: span 2; }

/* Lightbox styles */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox-content-box {
  max-width: 900px;
  max-height: 80vh;
  position: relative;
  animation: scalePop 0.4s ease forwards;
}

.lightbox-content-box img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.lightbox-close-btn {
  position: absolute;
  top: -3.5rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform var(--transition-fast);
}

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

.lightbox-caption-txt {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
}

/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

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

.accordion-row {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 1.15rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
  overflow: hidden;
}

.accordion-row:hover {
  border-color: rgba(26, 54, 93, 0.25);
}

.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  user-select: none;
}

.accordion-trigger h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.accordion-arrow-icon {
  color: var(--text-light);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.accordion-row.open-item .accordion-arrow-icon {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.accordion-row.open-item {
  border-color: var(--primary-color);
}

.accordion-content-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-row.open-item .accordion-content-panel {
  max-height: 280px;
}

.accordion-content-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   13. CONTACT & LOCATION GOOGLE MAP
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-card);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
}

.contact-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-block {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.contact-icon-frame {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(220, 38, 38, 0.08);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-block-text h4 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.contact-block-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.map-wrapper-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  height: 420px;
  position: relative;
}

.map-embed-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   14. FOOTER & LOCAL SEO TAGS BLOCK
   ========================================================================== */
.footer-wrap {
  background-color: #0c1829;
  color: #94a3b8;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.85fr 1.15fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo-block {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-logo-block .logo-symbol {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.footer-desc-txt {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title-header {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  font-weight: 700;
}

.footer-link-list {
  list-style: none;
}

.footer-link-list li {
  margin-bottom: 0.875rem;
}

.footer-link-list a {
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-link-list a:hover {
  color: white;
  transform: translateX(5px);
}

/* Floating SEO tag cloud */
.seo-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.keyword-tag {
  font-size: 0.725rem;
  background-color: rgba(255, 255, 255, 0.04);
  color: #64748b;
  padding: 0.3rem 0.625rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
  cursor: default;
  display: inline-block;
  animation: tagFloat 4s ease-in-out infinite;
}

/* Stagger tag animations slightly */
.keyword-tag:nth-child(2n) {
  animation-duration: 3s;
}
.keyword-tag:nth-child(3n) {
  animation-duration: 5s;
}

.keyword-tag:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.back-to-top-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  opacity: 0;
  pointer-events: none;
  z-index: 99;
}

.back-to-top-trigger.show-btn {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top-trigger:hover {
  background-color: var(--accent-hover);
  transform: translateY(-4px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   15. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid, .booking-grid, .why-grid, .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .hero {
    padding: 170px 0 80px 0;
  }
  
  .hero h1 {
    font-size: 3.25rem;
  }
  
  .hero-media {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
  }
  
  .span-col-3, .span-col-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .announcement-bar {
    display: none;
  }
  
  .header {
    top: 0;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 2.5rem 0;
    gap: 1.75rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-menu.active-menu {
    display: flex;
    animation: fadeIn 0.3s ease;
  }
  
  .nav-cta-group {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-box:nth-child(2n)::after {
    display: none;
  }
  
  .why-features-list {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .span-col-3, .span-col-2, .span-row-2 {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .booking-fields-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-btn-group {
    flex-direction: column;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-box::after {
    display: none !important;
  }
  
  .section-header h2 {
    font-size: 1.875rem;
  }
  
  .booking-form-card, .portal-card-mock {
    padding: 2rem 1.5rem;
  }
  
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
