/* ==========================================================================
   Shree Vishwa Waman Ayurvedic Clinic & Panchakarma Center
   Theme: Pure White & Ayurvedic Green
   Font: Poppins
   ========================================================================== */

:root {
  /* White & Green Theme */
  --bg-page: #f7faf8;
  --bg-card: #ffffff;
  --bg-subtle: #edf7f1;
  --bg-accent: #e6f4ec;

  --color-green-dark: #0f3f2a;
  --color-green-primary: #14532d;
  --color-green-emerald: #059669;
  --color-green-mint: #10b981;
  --color-border: rgba(20, 83, 45, 0.12);
  --color-border-hover: rgba(5, 150, 105, 0.35);

  --color-text-dark: #11281e;
  --color-text-body: #375346;
  --color-text-muted: #6a8578;
  --color-gold: #b45309;

  /* Font */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 63, 42, 0.04);
  --shadow-md: 0 8px 20px -4px rgba(15, 63, 42, 0.08);
  --shadow-lg: 0 14px 32px -6px rgba(15, 63, 42, 0.11);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--color-text-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Ambient Glows */
.botanical-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.glow-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(247, 250, 248, 0) 70%);
  top: -100px;
  left: -60px;
}

.glow-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(20, 83, 45, 0.12) 0%, rgba(247, 250, 248, 0) 70%);
  bottom: -100px;
  right: -60px;
}

.herbal-pattern-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(20, 83, 45, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

/* Container */
.page-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-emblem {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-green-primary) 0%, var(--color-green-emerald) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(20, 83, 45, 0.2);
  flex-shrink: 0;
}

.brand-details {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-green-dark);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-green-emerald);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.doctor-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold);
}

.clinic-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-green-primary);
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green-mint);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.herbal-badge {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--color-border);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-green-primary);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-green-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.highlight-text {
  background: linear-gradient(135deg, var(--color-green-primary) 0%, var(--color-green-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--color-text-body);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.hero-description strong {
  color: var(--color-green-dark);
  font-weight: 600;
}

/* Countdown Section */
.countdown-section {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-green-primary), var(--color-green-mint));
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.timer-box {
  background: var(--bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.timer-box:hover {
  background: #ffffff;
  border-color: var(--color-green-emerald);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.timer-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-green-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.25rem;
}

.timer-number.tick {
  animation: tickPulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes tickPulse {
  0% { transform: scale(1.08); color: var(--color-green-emerald); }
  100% { transform: scale(1); color: var(--color-green-dark); }
}

.timer-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* Progress Box */
.progress-box {
  background: var(--bg-accent);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-green-primary);
  margin-bottom: 0.4rem;
}

.progress-track {
  height: 6px;
  background: rgba(20, 83, 45, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-green-primary) 0%, var(--color-green-mint) 100%);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

/* Notify Form */
.notify-box {
  width: 100%;
  max-width: 580px;
  margin-bottom: 2.25rem;
}

.notify-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 0.75rem;
}

.notify-form {
  width: 100%;
}

.input-group {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.input-group:focus-within {
  border-color: var(--color-green-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.input-group input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-family);
  font-size: 0.92rem;
  color: var(--color-text-dark);
  background: transparent;
  min-width: 0;
}

.input-group input::placeholder {
  color: var(--color-text-muted);
}

.submit-btn {
  background: linear-gradient(135deg, var(--color-green-primary) 0%, var(--color-green-emerald) 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.3rem;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.form-feedback {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.2rem;
}

.form-feedback.success {
  color: var(--color-green-primary);
  font-weight: 600;
}

.form-feedback.error {
  color: #dc2626;
  font-weight: 500;
}

/* Service Pills */
.services-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  width: 100%;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-green-dark);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  font-size: 1.1rem;
}

/* Contact Strip */
.contact-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  width: 100%;
  max-width: 720px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-body);
}

.contact-item .icon {
  font-size: 1.05rem;
}

.contact-item a {
  color: var(--color-green-emerald);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.site-footer strong {
  color: var(--color-green-primary);
}

/* Responsive */
@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .input-group {
    flex-direction: column;
    padding: 0.5rem;
  }

  .input-group input {
    padding: 0.5rem;
    text-align: center;
  }

  .submit-btn {
    width: 100%;
  }

  .contact-strip {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}
