/* Dr. Vikas Dhingra Psychiatrist - Stylesheet */

:root {
  --primary-blue: #1E88E5;
  --primary-dark: #1565C0;
  --secondary-green: #4CAF50;
  --accent-slate: #0F172A;
  --bg-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-dark: #1F2937;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(30,136,229,0.1);
  --shadow-lg: 0 10px 25px rgba(30,136,229,0.15);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent-slate);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-accent {
  background-color: var(--secondary-green);
  color: #FFFFFF;
}

.btn-accent:hover {
  background-color: #388E3C;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #15803D;
}

.btn-outline {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: #FFFFFF;
}

.btn-light {
  background-color: #FFFFFF;
  color: var(--primary-blue);
}

.btn-light:hover {
  background-color: #F1F5F9;
}

.btn-full {
  width: 100%;
}

/* Top Bar */
.top-bar {
  background-color: var(--accent-slate);
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 20px;
}

.top-phone {
  color: #64B5F6;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-blue);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 0.5px;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--secondary-green);
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  gap: 20px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #F8FAFC 0%, #E3F2FD 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: #BBDEFB;
  color: var(--primary-dark);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary-blue);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.hero-feature-item i {
  color: var(--primary-blue);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.hero-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(30, 136, 229, 0.95);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
}

.badge-text {
  font-size: 0.8rem;
  opacity: 0.9;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.stat-card {
  background-color: #FFFFFF;
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Trust Bar */
.trust-bar {
  background-color: var(--accent-slate);
  color: #FFFFFF;
  padding: 30px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-item i {
  font-size: 2rem;
  color: var(--secondary-green);
}

.trust-item h4 {
  color: #FFFFFF;
  font-size: 1rem;
}

.trust-item p {
  font-size: 0.8rem;
  color: #94A3B8;
}

/* Section Styling */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  margin-bottom: 44px;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background-color: #E3F2FD;
  color: var(--primary-blue);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* About Us */
.about-visual {
  position: relative;
}

.rounded-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.experience-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--secondary-green);
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.experience-card i {
  font-size: 2.2rem;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 30px;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.highlight-box i {
  color: var(--primary-blue);
}

.about-actions {
  display: flex;
  gap: 16px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: #FFFFFF;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.service-icon {
  width: 52px;
  height: 52px;
  background-color: #E3F2FD;
  color: var(--primary-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-bullets {
  margin-top: auto;
}

.service-bullets li {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.service-bullets i {
  color: var(--secondary-green);
  margin-right: 6px;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-slate);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--primary-blue);
}

.faq-question i {
  transition: transform 0.3s;
  color: var(--primary-blue);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

/* Booking Form */
.booking-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
}

.quote-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-slate);
}

.form-control, .form-select {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.3s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.why-card {
  background-color: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.why-icon {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

/* Conditions Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.area-chip {
  background-color: #E3F2FD;
  color: var(--primary-dark);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #BBDEFB;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #FFC107;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.reviewer-name {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 0.9rem;
}

/* Contact Card */
.contact-card {
  background-color: #FFFFFF;
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: #E3F2FD;
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-link {
  color: var(--primary-blue);
  font-weight: 700;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  padding: 70px 0;
}

.cta-title {
  color: #FFFFFF;
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 70px 0 20px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}

/* Floating Action Bars */
.floating-wa-btn {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.3s;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
}

.sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  z-index: 1000;
}

.sticky-btn {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sticky-call {
  background-color: var(--primary-blue);
  color: #FFFFFF;
}

.sticky-wa {
  background-color: #25D366;
  color: #FFFFFF;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-grid, .grid-2-col, .footer-grid {
    grid-template-columns: 1fr;
  }

  .desktop-only {
    display: none;
  }

  .quote-form .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: span 1;
  }

  .experience-card {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    box-shadow: var(--shadow-md);
    padding: 20px;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta .btn {
    display: none;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .sticky-action-bar {
    display: flex;
  }

  body {
    padding-bottom: 50px;
  }

  .floating-wa-btn {
    bottom: 70px;
    right: 16px;
  }
}
