/* ===========================
   Ocean Mist Theme • Cool & Clean
   Complete style.css (fresh theme)
   =========================== */
:root{
  /* Core palette (calm + modern) */
  --ink:#0f172a;           /* deep slate text */
  --muted:#6b7280;         /* muted gray */
  --bg:#ecfeff;            /* very pale aqua */
  --panel:#ffffff;         /* clean white surface */
  --line:#dbeafe;          /* soft blue divider */

  --primary:#0284c7;       /* sky blue */
  --primary-700:#0369a1;   /* deeper sky blue */
  --primary-ink:#e0f2fe;   /* text on primary */

  --accent:#0f766e;        /* teal for links */
  --accent-600:#0d9488;

  --call:#0f766e;          /* call-to-action teal */
  --wa:#22c55e;            /* WhatsApp green */

  --chip:#e0f2fe;          /* light blue chip */
  --ok:#ecfdf5;            /* success bg */
  --ok-line:#a7f3d0;
  --err:#fef2f2;           /* error bg */
  --err-line:#fecaca;

  --shadow:0 16px 40px rgba(15,23,42,.09), 0 4px 12px rgba(15,23,42,.04);
  --ring:0 0 0 3px rgba(2,132,199,.28);
}

/* ===========================
   Base
   =========================== */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font:16px/1.7 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  color:var(--ink);
  background:
    radial-gradient(900px 600px at -10% -15%, #bae6fd 0, rgba(186,230,253,0) 55%),
    radial-gradient(1200px 720px at 120% -10%, #ccfbf1 0, rgba(204,251,241,0) 55%),
    linear-gradient(180deg,#ecfeff,#f9fafb 45%,#eff6ff 100%);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{color:var(--accent);text-decoration:none}
a:hover{opacity:.9;text-decoration:underline}
img{max-width:100%;display:block}
:focus-visible{outline:none;box-shadow:var(--ring);border-radius:8px}

/* ===========================
   Buttons & Utilities
   =========================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 18px;border-radius:999px;border:1px solid transparent;
  cursor:pointer;font-weight:700;letter-spacing:.03em;
  transition:transform .06s ease, opacity .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  user-select:none;-webkit-user-select:none;
  background:rgba(255,255,255,0.9);border-color:var(--line);color:var(--ink);
}
.btn:hover{box-shadow:var(--shadow)}
.btn:active{transform:translateY(1px)}
.btn svg{width:18px;height:18px}

/* Primary – ocean gradient */
.btn--primary{
  background:linear-gradient(135deg, var(--primary), var(--primary-700));
  color:var(--primary-ink);
  border-color:#075985;
  text-shadow:0 1px 0 rgba(15,23,42,.6);
}
.btn--ghost{
  background:rgba(255,255,255,0.85);
  border:1px solid var(--line);
  color:var(--ink);
}
.btn--small{
  padding:7px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:14px;
}
.btn--call{background:var(--call);color:#ecfeff;border-color:var(--accent-600)}
.btn--wa{background:var(--wa);color:#ecfdf5;border-color:#16a34a}

.chip{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--chip);border:1px solid #bfdbfe;border-radius:999px;
  padding:6px 12px;font-size:13px;color:#0f172a;
}

.muted{color:var(--muted)}
.elevate{box-shadow:var(--shadow);background:var(--panel);border-radius:20px}

/* ===========================
   Layout Containers
   =========================== */
.page{max-width:1200px;margin:0 auto;padding:16px}
.contain{max-width:1200px;margin:0 auto;padding:0 16px}

/* Flash */
.flash{margin:12px 0;padding:12px 14px;border-radius:12px}
.flash--ok{background:var(--ok);border:1px solid var(--ok-line)}
.flash--err{background:var(--err);border:1px solid var(--err-line)}

/* ===========================
   Header (Two Rows)
   =========================== */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(239,246,255,.94);
  border-bottom:1px solid rgba(191,219,254,.9);
  backdrop-filter:saturate(140%) blur(16px);
}
.topbar{border-bottom:1px solid rgba(191,219,254,.9)}
.topbar__inner{
  max-width:1200px;margin:0 auto;padding:10px 16px;
  display:flex;align-items:center;gap:12px;
}
.logo img{
  display:block;height:auto;max-height:52px;width:auto;
  filter:drop-shadow(0 2px 8px rgba(15,23,42,.18));
}
.topbar__cta{display:flex;gap:10px;margin-left:auto}
.menu-toggle{
  display:none;margin-left:8px;border:1px solid var(--line);
  background:var(--panel);border-radius:999px;padding:10px 12px;
  color:var(--ink);
}

/* Navbar */
.navbar{background:transparent}
.navbar__list{
  max-width:1200px;margin:0 auto;padding:8px 16px 12px;
  display:flex;gap:6px;list-style:none;flex-wrap:wrap;
}
.navbar__list a{
  padding:8px 14px;border-radius:999px;border:1px solid transparent;
  color:#0f172a;
  background:rgba(255,255,255,0.9);
  font-size:14px;
}
.navbar__list a:hover{
  border-color:#bae6fd;
  background:#e0f2fe;
}
.navbar__list a.active,
.navbar__list a[aria-current="page"]{
  background:linear-gradient(135deg,#0ea5e9,#0369a1);
  color:#e0f2fe;border-color:#0ea5e9;
}

/* ===========================
   Hero / Banners
   =========================== */
.hero{
  position:relative;border:1px solid var(--line);
  border-radius:26px;overflow:hidden;margin:18px 0 26px;
  background:var(--panel);
  box-shadow:0 26px 60px rgba(15,23,42,.12);
}
.hero__img{
  width:100%;height:320px;object-fit:cover;
  background:
    linear-gradient(135deg,#0ea5e9,#22c55e 45%,#e0f2fe 100%),
    var(--panel);
}
.hero__overlay{
  position:absolute;inset:auto 0 0 0;
  background:linear-gradient(180deg,rgba(15,23,42,0) 0,rgba(15,23,42,.92) 100%);
  color:#e5e7eb;padding:22px 20px;
}
.hero__overlay h1{
  margin:0;font-size:30px;letter-spacing:.04em;
  text-transform:uppercase;
  text-shadow:0 2px 0 rgba(0,0,0,.85);
}

/* ===========================
   Cards / Grids
   =========================== */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}
.card{
  border:1px solid var(--line);border-radius:18px;padding:18px 18px;
  background:var(--panel);
  box-shadow:0 10px 30px rgba(15,23,42,.04);
  transition:transform .12s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 55px rgba(15,23,42,.12);
  border-color:#bfdbfe;
  background:linear-gradient(135deg,#ffffff,#eff6ff);
}
.card h1,.card h2,.card h3{margin:0 0 8px}
.card p{margin:0 0 12px}

.section-head{margin-bottom:12px}
.section-head .muted{color:var(--muted)}

.meta{
  display:flex;gap:10px;margin-top:10px;flex-wrap:wrap;
}
.tag{
  background:#e0f2fe;border:1px solid #bfdbfe;
  border-radius:999px;padding:6px 12px;font-size:13px;color:#0f172a;
}

/* ===========================
   Pagination
   =========================== */
.pager{
  display:flex;flex-wrap:wrap;gap:8px;
  margin:18px 0;align-items:center;
}
.pg{
  padding:8px 13px;border:1px solid var(--line);
  border-radius:999px;background:var(--panel);
  transition:background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease;
  font-size:14px;
}
.pg:hover{
  background:#e0f2fe;border-color:#bae6fd;
  box-shadow:var(--shadow);
}
.pg.active{background:#0284c7;color:#e0f2fe;border-color:#0369a1}
.pg.disabled{opacity:.45;pointer-events:none}
.dots{padding:8px 6px;color:var(--muted)}

/* ===========================
   Footer
   =========================== */
.site-footer{
  margin-top:32px;
  border-top:1px solid #0f172a;
  background:linear-gradient(180deg,#0f172a,#020617);
}
.footer__grid{
  max-width:1200px;
  margin:0 auto;
  padding:24px 16px 20px;
  display:grid;
  gap:22px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.footer__block h3{
  margin:0 0 10px;
  color:#e5e7eb;
}
.list{
  list-style:none;margin:0;padding:0;
  display:grid;gap:8px;
}
.list a{
  color:#e5e7eb;
  text-decoration:none;
  font-size:14px;
}
.list a:hover{text-decoration:underline}
.footer__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.footer__bottom{
  border-top:1px solid #020617;padding:14px 16px;text-align:center;
  color:#9ca3af;font-size:13px;background:#020617;
}

/* Footer: socials + quick links */
.socials-block{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-quick-links{
  margin-top:6px;
  font-size:14px;
  color:#e5e7eb;
  line-height:1.5;
}
.footer-quick-links a{
  color:#7dd3fc;
  text-decoration:none;
  white-space:nowrap;
}
.footer-quick-links a:hover{
  text-decoration:underline;
}

/* ===========================
   Contact Form
   =========================== */
.contact-form{position:relative}
.contact-form .row{display:grid;gap:12px;margin-bottom:12px}
.contact-form .row--two{grid-template-columns:repeat(2,minmax(0,1fr))}

.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;padding:11px 12px;
  border:1px solid var(--line);border-radius:10px;
  font:inherit;background:#f9fafb;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease,transform .05s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  outline:none;border-color:#0ea5e9;box-shadow:var(--ring);background:#ffffff;
}
.contact-form textarea{min-height:120px;resize:vertical}

/* FIXED SELECT DROPDOWN */
.contact-form select{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  padding-right:44px;
  background:#f9fafb
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='6 9 12 15 18 9'/></svg>")
    no-repeat right 12px center / 18px 18px;
}
.contact-form select::-ms-expand{display:none}
.contact-form .hp{
  position:absolute;left:-10000px;top:auto;
  width:1px;height:1px;overflow:hidden;
}
.contact-form .row--two > *{min-width:0}

/* ===========================
   Mobile Fixed CTA
   =========================== */
.mobile-cta{
  position:fixed;left:0;right:0;bottom:0;display:none;
  z-index:9999;background:#0b1120ee;
  backdrop-filter:saturate(140%) blur(14px);
  border-top:1px solid rgba(15,23,42,.8);
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow:0 -10px 26px rgba(0,0,0,.7);
}
.mobile-cta .mcta-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:49%;height:48px;margin:0;padding:0 14px;
  border-radius:999px;font-weight:700;border:0;text-align:center;
  font-size:14px;
}
.mobile-cta .mcta-call{background:var(--call);color:#ecfeff}
.mobile-cta .mcta-wa{background:var(--wa);color:#ecfdf5}

/* ===========================
   Subtle Animations
   =========================== */
a, .btn, .card, .pg{
  transition:transform .1s ease,background .15s ease,
             color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ===========================
   Videos
   =========================== */
.videos{margin:22px 0}
.videos h2{margin:0 0 12px;color:#0f172a}
.video-grid{
  display:grid;gap:14px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.video{
  position:relative;padding-top:56.25%;
  border-radius:18px;overflow:hidden;
  border:1px solid rgba(148,163,184,.7);background:#020617;
  box-shadow:var(--shadow);
}
.video iframe{
  position:absolute;inset:0;width:100%;height:100%;border:0;
}

/* ===========================
   Socials Icons
   =========================== */
.socials{
  display:flex;gap:12px;flex-wrap:wrap;align-items:center;
}
.socials .social{
  width:40px;height:40px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(148,163,184,.7);border-radius:999px;
  background:radial-gradient(circle at top,#1d4ed8,#020617);
  box-shadow:0 10px 26px rgba(15,23,42,.7);
}
.socials .social svg{width:18px;height:18px;fill:#e5e7eb}

/* ===========================
   Optional Dark Mode (Ocean Noir)
   =========================== */
.dark{
  --ink:#e5e7eb;
  --muted:#9ca3af;
  --bg:#020617;
  --panel:#020617;
  --line:#1f2937;
  --chip:#0f172a;
  --primary:#0ea5e9;
  --primary-700:#0369a1;
  --primary-ink:#e0f2fe;
  --accent:#38bdf8;
  --accent-600:#0ea5e9;
  --shadow:0 24px 60px rgba(0,0,0,.9), 0 6px 14px rgba(0,0,0,.7);
  --ring:0 0 0 3px rgba(14,165,233,.55);
  background:#020617;
}
.dark .site-header{
  background:rgba(15,23,42,.98);
  border-color:#020617;
}
.dark .navbar{background:transparent}
.dark .navbar__list a{
  color:#e5e7eb;
  background:#020617;
}
.dark .navbar__list a.active{
  background:linear-gradient(135deg,#0ea5e9,#0369a1);
  color:#e0f2fe;border-color:#0ea5e9;
}
.dark .hero{
  border-color:#1f2937;
  background:#020617;
}
.dark .hero__overlay{
  background:linear-gradient(180deg,rgba(15,23,42,0) 0,rgba(15,23,42,1) 100%);
}
.dark .card{
  background:#020617;
  border-color:#1f2937;
}
.dark .card:hover{
  background:radial-gradient(circle at top,#020617,#0b1120);
  border-color:#38bdf8;
}
.dark .site-footer{
  border-color:#020617;
}
.dark .footer__bottom{
  border-color:#020617;
}

/* ===========================
   Contact Box & Buttons
   For generated Vastu articles / CTAs
   =========================== */

.contact-box{
  margin:24px 0;
  padding:18px 20px;
  border-radius:18px;
  border:1px solid #dbeafe;
  background:linear-gradient(135deg,#ffffff,#eff6ff);
  box-shadow:0 10px 30px rgba(15,23,42,0.06);
  color:#0f172a;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.contact-box__title{
  margin:0 0 8px;
  font-size:1.1rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#0b1120;
}
.contact-box p{
  margin:6px 0;
  font-size:0.95rem;
  color:#475569;
}
.contact-box__note{
  margin-top:10px;
  font-size:0.88rem;
  color:#64748b;
}

/* Variants */
.contact-box--mini{
  background:#e0f2fe;
  border-color:#bae6fd;
}
.contact-box--full{
  background:#020617;
  border-color:#0f172a;
  color:#e5e7eb;
}
.contact-box--full .contact-box__title{color:#e0f2fe}
.contact-box--full p{color:#cbd5f5}

/* Action & social rows */
.kb-contact-actions,
.kb-contact-socials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 6px;
}
.kb-contact-socials{gap:8px}

/* Useful links list */
.kb-contact-links{
  list-style:none;
  padding-left:0;
  margin:6px 0 0;
}
.kb-contact-links li{margin:2px 0}
.kb-contact-links a{
  font-size:0.9rem;
  text-decoration:none;
  color:#0284c7;
}
.kb-contact-links a:hover{text-decoration:underline}
.contact-box--full .kb-contact-links a{color:#7dd3fc}
.kb-contact-links-label{
  margin-top:10px;
  font-size:0.9rem;
}

/* Core kb button */
.kb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:8px 14px;
  font-size:0.9rem;
  font-weight:600;
  border-radius:999px;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(15,23,42,0.16);
  transition:transform 0.08s ease,box-shadow 0.12s ease,background-color 0.12s ease,color 0.12s ease;
}
.kb-btn__icon{
  width:18px;height:18px;flex-shrink:0;
}
.kb-btn__label{white-space:nowrap}

/* Primary actions */
.kb-btn-call{
  background:var(--call);
  color:#ecfeff;
  border-color:#0d9488;
}
.kb-btn-wa{
  background:var(--wa);
  color:#ecfdf5;
  border-color:#16a34a;
}
.kb-btn-email{
  background:#0284c7;
  color:#e0f2fe;
  border-color:#0369a1;
}

/* Social buttons */
.kb-btn-social{
  background:#f3f4f6;
  color:#0f172a;
  border-color:#d4d4d8;
  box-shadow:0 4px 12px rgba(15,23,42,0.08);
}
.contact-box--full .kb-btn-social{
  background:rgba(15,23,42,0.75);
  color:#e5e7eb;
  border-color:rgba(148,163,184,0.7);
}

/* Hover / active */
.kb-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 28px rgba(15,23,42,0.22);
}
.kb-btn:active{
  transform:translateY(0);
  box-shadow:none;
}

/* Small responsive tweak */
@media (max-width:640px){
  .kb-btn{
    width:100%;
    justify-content:center;
  }
  .kb-contact-actions,
  .kb-contact-socials{
    flex-direction:column;
    gap:8px;
  }
}

/* ===========================
   Generic Vastu Highlight Cards
   =========================== */

.vk-card{
  position:relative;
  margin:1.5rem 0;
  padding:1.5rem 1.75rem;
  border-radius:18px;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  box-shadow:0 18px 40px rgba(15,23,42,0.04);
  overflow:hidden;
}
.vk-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at top left,rgba(14,165,233,0.16),transparent 60%);
  opacity:.9;
}

/* Online Vastu Advice card */
.vk-card--online{
  background:linear-gradient(135deg,#e0f2fe 0%,#f9fafb 100%);
  border-color:#bfdbfe;
}
.vk-card--online::before{
  background:radial-gradient(circle at top right,rgba(37,99,235,0.18),transparent 60%);
}

/* On-Site Vastu Visit card */
.vk-card--onsite{
  background:linear-gradient(135deg,#ecfdf5 0%,#f9fafb 100%);
  border-color:#a7f3d0;
}
.vk-card--onsite::before{
  background:radial-gradient(circle at top left,rgba(34,197,94,0.18),transparent 60%);
}

/* Extra highlight card */
.vk-card--highlight{
  background:#fefce8;
  border-color:#fde68a;
}
.vk-card--highlight::before{
  background:radial-gradient(circle at top center,rgba(234,179,8,0.22),transparent 60%);
}

.vk-card h2,
.vk-card h3{
  margin-top:0;
}
.vk-card p:last-child{margin-bottom:0}

/* ===========================
   Promo CTA Blocks with Contact Button
   =========================== */

.vk-promo-cta{
  margin:2.5rem 0;
  padding:1.75rem 1.75rem 1.9rem;
  border-radius:22px;
  background:linear-gradient(135deg,#0f172a 0%,#0369a1 40%,#22c55e 100%);
  color:#f9fafb;
  text-align:center;
  box-shadow:0 26px 70px rgba(15,23,42,0.6);
}
.vk-promo-cta h2{
  margin:0 0 0.75rem;
  font-size:1.35rem;
  line-height:1.35;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.vk-promo-cta p{
  margin:0 0 1.25rem;
  font-size:0.98rem;
  line-height:1.55;
  max-width:650px;
  margin-left:auto;
  margin-right:auto;
}

/* Promo button */
.vk-promo-cta__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.4rem;
  padding:0.75rem 1.75rem;
  border-radius:999px;
  background-color:#f9fafb;
  color:#0f172a;
  font-weight:600;
  font-size:0.98rem;
  text-decoration:none;
  box-shadow:0 12px 34px rgba(15,23,42,0.45);
  transition:transform 0.12s ease,box-shadow 0.12s ease,
             background-color 0.12s ease,color 0.12s ease;
  border:none;
}
.vk-promo-cta__btn:hover,
.vk-promo-cta__btn:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 18px 44px rgba(15,23,42,0.55);
  background-color:#e5e7eb;
  color:#0f172a;
}
.vk-promo-cta__btn:active{
  transform:translateY(0);
  box-shadow:0 10px 26px rgba(15,23,42,0.35);
}

/* ===========================
   Responsive Tweaks
   =========================== */
@media (max-width:900px){
  .topbar__inner{gap:10px}
  .topbar__cta{order:3;width:100%;justify-content:flex-end}
  .menu-toggle{display:inline-flex}
  .navbar{display:none}
  .navbar.open{display:block}
  .navbar__list{flex-direction:column}
  .logo img{max-height:46px}
  .hero__img{height:260px}

  .mobile-cta{display:flex;gap:2%}
  body{padding-bottom:80px}
}

@media (max-width:700px){
  .contact-form .row--two{grid-template-columns:1fr}
}

@media (max-width:640px){
  .vk-card{
    padding:1.25rem 1.25rem;
    border-radius:16px;
  }
  .vk-promo-cta{
    margin:2rem 0;
    padding:1.5rem 1.25rem 1.65rem;
    border-radius:18px;
  }
  .vk-promo-cta h2{font-size:1.15rem}
  .vk-promo-cta__btn{
    width:100%;
    max-width:320px;
  }
}
