/*
Theme Name: DRW Theme 1
Description: Dr. Randeep Wadhawan Medical Theme
Version: 2.0
Author: Dr. Randeep Wadhawan
*/

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

/* ========================================
   CSS CUSTOM PROPERTIES
======================================== */
:root {
  --primary: #165f83;
  --primary-light: #1a7aa3;
  --secondary: #2e9999;
  --medical-navy: #0d1f2d;
  --medical-teal: #2e9999;
  --medical-light: #eaf6f9;
  --accent: #e6f7f7;
  --accent-fg: #165f83;
  --foreground: #162531;
  --muted-bg: #f3f5f7;
  --muted-fg: #737f8a;
  --border: #dde3e8;
  --card-bg: #ffffff;
  --bg: #ffffff;
  --shadow-md: 0 4px 24px -4px rgba(22,95,131,0.12), 0 2px 8px -2px rgba(22,95,131,0.08);
  --shadow-lg: 0 12px 40px -8px rgba(22,95,131,0.18), 0 4px 12px -4px rgba(22,95,131,0.1);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--foreground);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

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

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

ul {
  list-style: none;
}

/* ========================================
   ADMIN BAR
======================================== */
#wpadminbar {
  display: none;
}

/* ========================================
   LAYOUT
======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9375rem;
}

.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9375rem;
}

.btn-secondary:hover {
  background: #268a8a;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9375rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn-outline-primary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--foreground);
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9375rem;
}

.btn-outline-primary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========================================
   TYPOGRAPHY UTILITIES
======================================== */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  display: block;
  margin-bottom: 0.5rem;
}

/* ========================================
   SHADOW UTILITIES
======================================== */
.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* ========================================
   WHATSAPP FLOAT BUTTON
======================================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
}

/* ========================================
   TOP BAR
======================================== */
.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.4rem 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
}

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

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.top-bar-phone:hover {
  color: rgba(255,255,255,0.8);
}

.wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #25d366;
  color: #fff;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.wa-pill:hover {
  background: #1ebe5d;
  color: #fff;
}

/* ========================================
   HEADER / NAV
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo .name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
  line-height: 1.2;
}

.site-logo .creds {
  font-size: 0.6rem;
  color: var(--muted-fg);
  line-height: 1.3;
  font-family: 'DM Sans', sans-serif;
}

.site-logo .title {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted-fg);
  font-family: 'DM Sans', sans-serif;
}

/* Desktop Nav */
.primary-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1280px) {
  .primary-nav {
    display: flex;
  }
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-item > .nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: 'DM Sans', sans-serif;
}

.nav-item > a:hover,
.nav-item > .nav-link:hover {
  color: var(--primary);
  background: var(--accent);
}

.nav-item:hover > a,
.nav-item:hover > .nav-link {
  color: var(--primary);
  background: var(--accent);
}

.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
}

.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--foreground);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Header actions */
.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1280px) {
  .header-actions {
    display: flex;
  }
}

/* Mobile toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 1280px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle:hover {
  background: var(--muted-bg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1rem 0;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-item > .mobile-nav-top > a {
  display: block;
  flex: 1;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
}

.mobile-nav-item > .mobile-nav-top > a:hover {
  color: var(--primary);
}

.mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--muted-fg);
  flex-shrink: 0;
}

.mobile-sub-toggle svg {
  transition: transform 0.2s;
}

.mobile-sub-toggle svg.rotate-180 {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  background: var(--muted-bg);
  padding: 0.5rem 0;
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu a {
  display: block;
  padding: 0.625rem 2.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.mobile-submenu a:hover {
  color: var(--primary);
  background: var(--accent);
}

.mobile-book-btn {
  padding: 1rem 1.5rem;
}

/* ========================================
   FOOTER
======================================== */
footer.site-footer {
  background: var(--medical-navy);
  color: rgba(255,255,255,0.7);
  font-family: 'DM Sans', sans-serif;
}

.footer-top {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-brand-creds {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.6);
}

.footer-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.footer-social-icon:hover {
  background: var(--primary);
  color: #fff;
}

.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--secondary);
}

.footer-timing-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-timing-row:last-child {
  border-bottom: none;
}

.footer-timing-day {
  color: rgba(255,255,255,0.5);
}

.footer-timing-time {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* Links section */
.footer-links-section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

@media (min-width: 640px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-links-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.footer-link-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.footer-link-col a {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.15s;
  line-height: 1.4;
}

.footer-link-col a:hover {
  color: rgba(255,255,255,0.9);
}

/* Footer bottom */
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.7);
}

/* ========================================
   PAGE HERO
======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--medical-navy) 0%, var(--primary) 60%, var(--medical-teal) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   CARD STYLES
======================================== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-fg);
}

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

/* ========================================
   FORM STYLES
======================================== */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: rgba(255,255,255,0.8);
}

.form-label-dark {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--foreground);
}

.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9375rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-input:focus {
  border-color: rgba(255,255,255,0.4);
}

.form-input-dark {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}

.form-input-dark:focus {
  border-color: var(--primary);
}

/* ========================================
   ACCORDION (FAQ)
======================================== */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.15s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s;
}

.faq-item.open .faq-question {
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========================================
   COMPARISON TABLE
======================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table th {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 2px solid var(--border);
  color: var(--foreground);
}

.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--muted-fg);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--foreground);
}

.comparison-table td.highlight {
  color: var(--primary);
  font-weight: 600;
}

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

/* ========================================
   RESPONSIVE UTILITIES
======================================== */
@media (max-width: 1279px) {
  .top-bar-left {
    display: none;
  }
}

@media (max-width: 767px) {
  .top-bar .container {
    justify-content: center;
  }
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Section spacing */
.section-py {
  padding: 6rem 0;
}

.section-py-md {
  padding: 5rem 0;
}

.section-py-sm {
  padding: 4rem 0;
}

/* Text utilities */
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-fg); }

.h2-section {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-intro {
  font-size: 1rem;
  color: var(--muted-fg);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.65;
}

/* Check item */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--foreground);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(46,153,153,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--secondary);
}

.check-icon svg {
  width: 12px;
  height: 12px;
}

/* Internal links pills */
.link-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.link-pill:hover {
  border-color: rgba(22,95,131,0.4);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.link-pill svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Star rating */
.stars {
  display: flex;
  gap: 2px;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
