/*
Theme Name: RN Homeopathy Clinic
Theme URI: https://www.drajaymehra.com
Author: Dr. Ajay Mehra
Description: Custom one-page WordPress theme for RN Homeopathy & Skin Clinic, Safidon.
Version: 1.0
Text Domain: rn-homeopathy
*/

:root {
  --blue: #0b5ed7;
  --blue-dark: #063b86;
  --blue-soft: #eaf3ff;
  --leaf: #aeb64f;
  --leaf-soft: #f5f7df;
  --sky: #f5faff;
  --text: #172033;
  --muted: #5f6f89;
  --white: #ffffff;
  --line: #d8e6f7;
  --success: #18a058;
  --danger: #d73b3e;
  --shadow: 0 18px 45px rgba(7, 63, 145, 0.12);
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 32px)); margin: auto; }

.topbar { background: var(--blue-dark); color: var(--white); font-size: 14px; padding: 9px 0; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.topbar span { opacity: 0.95; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.navbar { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--blue-dark); }
.site-logo { width: 58px; height: 58px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 5px; box-shadow: 0 10px 24px rgba(6, 59, 134, 0.12); }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 650; margin-top: -2px; }

nav ul { list-style: none; display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 750; color: #28364d; }
nav a:hover { color: var(--blue); }
.menu-btn { display: none; border: 0; background: var(--blue-soft); color: var(--blue-dark); font-size: 24px; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: 0.25s ease; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 25px rgba(11, 94, 215, 0.25); }
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-dark); }
.btn-outline { border-color: var(--line); color: var(--blue-dark); background: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-whatsapp { background: var(--success); color: var(--white); box-shadow: 0 12px 25px rgba(24, 160, 88, 0.22); }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 12% 8%, rgba(174, 182, 79, 0.16), transparent 30%), radial-gradient(circle at 88% 18%, rgba(11, 94, 215, 0.15), transparent 32%), linear-gradient(180deg, #ffffff, #f5faff 72%, #ffffff); padding: 92px 0 70px; }
.hero::after { content: ""; position: absolute; right: -160px; top: 80px; width: 420px; height: 420px; background: rgba(11, 94, 215, 0.08); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--blue-soft); color: var(--blue-dark); border-radius: 999px; font-size: 14px; font-weight: 800; margin-bottom: 18px; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.05; color: var(--blue-dark); letter-spacing: -2px; margin-bottom: 22px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 650px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 620px; }
.trust-card { background: var(--white); border: 1px solid var(--line); padding: 16px; border-radius: 18px; box-shadow: 0 10px 24px rgba(7, 63, 145, 0.07); }
.trust-card strong { display: block; color: var(--blue-dark); font-size: 24px; line-height: 1.1; }
.trust-card span { color: var(--muted); font-size: 13px; font-weight: 650; }

.doctor-card { position: relative; background: rgba(255, 255, 255, 0.86); border: 1px solid var(--line); border-radius: 34px; padding: 24px; box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.doctor-photo { min-height: 410px; border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(234,243,255,0.95)); display: grid; place-items: center; text-align: center; color: var(--blue-dark); padding: 34px; border: 1px solid rgba(159, 198, 248, 0.75); }
.hero-logo { width: 158px; height: auto; object-fit: contain; margin: 0 auto 20px; background: var(--white); border-radius: 28px; padding: 12px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(6, 59, 134, 0.12); }
.doctor-photo h2 { font-size: 34px; line-height: 1.15; margin-bottom: 10px; }
.doctor-photo p { margin: 0; font-size: 15px; color: var(--muted); }
.hero-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-badges span { font-size: 12px; font-weight: 800; color: var(--blue-dark); background: var(--blue-soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; }
.floating-info { position: absolute; left: -18px; bottom: 28px; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: var(--white); padding: 16px 18px; border-radius: 18px; max-width: 250px; box-shadow: 0 14px 30px rgba(6, 59, 134, 0.28); }
.floating-info strong { display: block; margin-bottom: 4px; }

section { padding: 76px 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 42px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); color: var(--blue-dark); letter-spacing: -1px; line-height: 1.12; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.premium-band { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: var(--white); border-radius: 32px; padding: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; box-shadow: var(--shadow); }
.premium-band div { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 20px; }
.premium-band strong { display: block; font-size: 28px; line-height: 1.1; margin-bottom: 6px; }
.premium-band span { color: rgba(255,255,255,0.78); font-size: 14px; }

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }
.about-box, .content-card, .service-card, .review-card, .blog-card, .diet-card, .do-card, .contact-card, .process-card, .faq-card { background: var(--white); border: 1px solid var(--line); padding: 24px; border-radius: var(--radius); box-shadow: 0 10px 28px rgba(7, 63, 145, 0.06); transition: 0.25s ease; }
.about-box { background: var(--blue-soft); padding: 28px; }
.about-box h3, .content-card h3, .service-card h3, .review-card h3, .process-card h3, .faq-card h3, .diet-card h3, .blog-card h3 { color: var(--blue-dark); margin-bottom: 10px; }
.about-list { display: grid; gap: 13px; margin-top: 22px; }
.about-list div { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-weight: 600; }
.check { color: var(--blue); font-weight: 900; }

.services, .reviews { background: var(--sky); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card:hover, .review-card:hover, .blog-card:hover, .diet-card:hover, .contact-card:hover, .process-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(7, 63, 145, 0.11); }
.icon { width: 52px; height: 52px; border-radius: 18px; background: linear-gradient(135deg, var(--blue-soft), var(--leaf-soft)); color: var(--blue); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.service-card p, .blog-card p, .diet-card p, .do-card li, .review-card p, .contact-card p, .process-card p, .faq-card p { color: var(--muted); }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--blue-dark)); font-weight: 900; margin-bottom: 16px; }

.disease-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.tab-btn { border: 1px solid var(--line); background: var(--white); color: var(--blue-dark); padding: 11px 16px; border-radius: 999px; font-weight: 800; cursor: pointer; }
.tab-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.disease-panel { display: none; grid-template-columns: 1fr 1fr; gap: 20px; }
.disease-panel.active { display: grid; }
.do-card ul { margin-left: 20px; display: grid; gap: 10px; }
.do-card.good { border-top: 5px solid var(--success); }
.do-card.bad { border-top: 5px solid var(--danger); }

.diet-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.blog-meta { color: var(--blue); font-size: 13px; font-weight: 800; margin-bottom: 10px; display: block; }
.stars { color: #f4a900; letter-spacing: 2px; margin-bottom: 12px; }
.review-card strong { display: block; color: var(--blue-dark); margin-top: 14px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--blue-soft); border-radius: 18px; border: 1px solid var(--line); }
.contact-item strong { display: block; color: var(--blue-dark); }
.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 14px; font: inherit; outline: none; background: var(--white); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.08); }
textarea { min-height: 130px; resize: vertical; }
.map-embed { width: 100%; min-height: 260px; border: 0; border-radius: 20px; margin-top: 16px; }

.cta-strip { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); border-radius: 32px; padding: 42px; display: flex; justify-content: space-between; align-items: center; gap: 24px; box-shadow: var(--shadow); }
.cta-strip h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin-bottom: 8px; }
.cta-strip p { opacity: 0.9; }

footer { background: #061b3a; color: var(--white); padding: 58px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; gap: 26px; margin-bottom: 36px; }
.footer-logo { width: 86px; height: auto; background: var(--white); border-radius: 18px; padding: 8px; margin-bottom: 14px; }
footer h3 { margin-bottom: 14px; }
footer p, footer a, footer li { color: rgba(255, 255, 255, 0.78); font-size: 14px; }
footer ul { list-style: none; display: grid; gap: 9px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; color: rgba(255, 255, 255, 0.65); font-size: 13px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; background: var(--success); color: var(--white); border-radius: 50%; display: grid; place-items: center; font-size: 28px; box-shadow: 0 14px 30px rgba(24, 160, 88, 0.35); z-index: 1200; }

@media (max-width: 980px) {
  nav { position: absolute; left: 0; right: 0; top: 78px; background: var(--white); border-bottom: 1px solid var(--line); display: none; padding: 18px 24px; }
  nav.active { display: block; }
  nav ul { flex-direction: column; align-items: flex-start; }
  .menu-btn { display: block; }
  .nav-cta { display: none; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .floating-info { position: static; margin-top: 16px; max-width: 100%; }
  .card-grid, .diet-grid, .premium-band, .process-grid, .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .topbar .container { display: grid; }
  .brand span { font-size: 14px; }
  .brand small { font-size: 11px; }
  .site-logo { width: 50px; height: 50px; }
  .hero { padding-top: 54px; }
  .trust-row, .card-grid, .diet-grid, .disease-panel, .form-row, .footer-grid, .premium-band, .process-grid, .faq-grid { grid-template-columns: 1fr; }
  .doctor-photo { min-height: 280px; }
  section { padding: 56px 0; }
  .cta-strip { padding: 28px; border-radius: 24px; }
}
