/* =========================================================================
   SHRI NATH AND COMPANY — main stylesheet
   Palette: navy #132238 · blue #1769AA · sky #55B7E8 · grey #64748B
            light #F4F7FB · accent #E8A23A
   ========================================================================= */

:root {
  --navy: #132238;
  --blue: #1769AA;
  --sky: #55B7E8;
  --grey: #64748B;
  --light: #F4F7FB;
  --white: #FFFFFF;
  --accent: #E8A23A;
  --ink: #1B2A3D;
  --line: #E2E8F0;
  --shadow: 0 10px 30px rgba(19, 34, 56, .08);
  --shadow-lg: 0 18px 48px rgba(19, 34, 56, .14);
  --radius: 14px;
  --radius-lg: 22px;
  --head: "Montserrat", system-ui, -apple-system, Segoe UI, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.02rem;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .brand-name, .section-title {
  font-family: var(--head);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

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

.container { max-width: 1200px; }

/* Accessibility --------------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
:focus-visible {
  outline: 3px solid rgba(23, 105, 170, .55);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 15px; top: -60px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons --------------------------------------------------------------- */
.btn { font-family: var(--head); font-weight: 600; border-radius: 50px; padding: .72rem 1.5rem; letter-spacing: .2px; transition: all .2s ease; }
.btn-lg { padding: .9rem 2rem; }

.btn-cta, .btn-primary-brand {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff; border: none; box-shadow: 0 8px 20px rgba(23,105,170,.3);
}
.btn-cta:hover, .btn-primary-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23,105,170,.4); }

.btn-outline-brand { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline-brand:hover { background: var(--blue); color: #fff; }

.btn-accent { background: var(--accent); color: var(--navy); border: none; font-weight: 700; }
.btn-accent:hover { background: #d5912c; color: var(--navy); transform: translateY(-2px); }

.btn-ghost-light { border: 2px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-whatsapp { background: #25D366; color: #fff; border: none; }
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }

/* Top bar --------------------------------------------------------------- */
.topbar { background: var(--navy); color: #C7D6E8; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 42px; flex-wrap: nowrap; }
.topbar-left { min-width: 0; overflow: hidden; }
.topbar-addr { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.topbar-right { display: flex; align-items: center; gap: 22px; flex-shrink: 0; white-space: nowrap; }
.topbar a { color: #C7D6E8; display: inline-flex; align-items: center; }
.topbar a:hover { color: var(--sky); }
.topbar .gst-badge { display: inline-flex; align-items: center; color: var(--accent); }
@media (max-width: 1199.98px) { .topbar .gst-badge { display: none; } }

/* Header / nav ---------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: var(--shadow); }
.navbar { padding: .7rem 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
  font-family: var(--head); font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(23,105,170,.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.16rem; font-weight: 800; letter-spacing: .4px; color: var(--navy); }
.brand-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--grey); font-family: var(--body); }

.navbar-nav .nav-link {
  font-family: var(--head); font-weight: 600; color: var(--navy); padding: .55rem .9rem; position: relative; font-size: .98rem;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--blue); }
.navbar-nav .nav-link.active::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px;
}

.dropdown-menu-products { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; min-width: 280px; }
.dropdown-item { border-radius: 8px; padding: .55rem .8rem; font-weight: 500; color: var(--ink); font-size: .94rem; }
.dropdown-item i { color: var(--blue); }
.dropdown-item:hover, .dropdown-item.active { background: var(--light); color: var(--navy); }

.navbar-toggler { border: none; padding: .35rem .55rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23132238' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative; color: #fff; padding: 88px 0 96px;
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(85,183,232,.35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #17324f 45%, var(--blue) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px; opacity: .5; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-block; background: rgba(232,162,58,.16); color: var(--accent); border: 1px solid rgba(232,162,58,.4); padding: 6px 16px; border-radius: 50px; font-family: var(--head); font-weight: 600; font-size: .82rem; letter-spacing: 1px; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 800; margin: 20px 0 16px; }
.hero h1 .hl { color: var(--sky); }
.hero p.lead { color: #D6E4F2; font-size: 1.16rem; max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #CFE0F0; }
.hero-points li { font-size: .95rem; }
.hero-points i { color: var(--sky); margin-right: 6px; }

.hero-visual { position: relative; z-index: 2; }
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg);
  padding: 26px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-tile { background: rgba(19,34,56,.4); border-radius: 14px; padding: 18px 12px; text-align: center; }
.hero-tile i { font-size: 1.7rem; color: var(--sky); }
.hero-tile span { display: block; margin-top: 8px; font-family: var(--head); font-weight: 600; font-size: .82rem; color: #E7F1FA; }
.hero-strip { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; text-align: center; }
.hero-strip b { display: block; color: #fff; font-family: var(--head); font-size: 1.02rem; }
.hero-strip small { color: #B9CFE4; }

/* Generic sections ------------------------------------------------------ */
.section { padding: 78px 0; }
.section-alt { background: var(--light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.eyebrow { color: var(--blue); font-family: var(--head); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 10px 0 14px; }
.section-sub { color: var(--grey); font-size: 1.06rem; }
.title-rule { width: 64px; height: 4px; background: var(--accent); border-radius: 4px; margin: 16px auto 0; }

/* Page hero (interior pages) ------------------------------------------- */
.page-hero { background: linear-gradient(120deg, var(--navy), #1b3a5c); color: #fff; padding: 56px 0; position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; }
.page-hero p { color: #CBE0F2; margin: 0; max-width: 720px; }
.page-hero .breadcrumb { margin-bottom: 12px; }

.site-breadcrumb { background: var(--light); border-bottom: 1px solid var(--line); padding: 12px 0; font-size: .9rem; }
.site-breadcrumb .breadcrumb { margin: 0; background: transparent; }
.site-breadcrumb a { color: var(--blue); }

/* Category cards -------------------------------------------------------- */
.category-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-thumb { height: 150px; display: grid; place-items: center; color: #fff; position: relative; }
.category-thumb i { font-size: 3rem; opacity: .96; }
.cat-1 { background: linear-gradient(135deg,#1769AA,#132238); }
.cat-2 { background: linear-gradient(135deg,#55B7E8,#1769AA); }
.cat-3 { background: linear-gradient(135deg,#132238,#2b4a70); }
.cat-4 { background: linear-gradient(135deg,#E8A23A,#c9781f); }
.cat-5 { background: linear-gradient(135deg,#1769AA,#55B7E8); }
.cat-6 { background: linear-gradient(135deg,#2b4a70,#1769AA); }
.category-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.category-body h3 { font-size: 1.18rem; margin: 0; }
.category-body p { color: var(--grey); font-size: .96rem; margin: 0; flex: 1; }
.category-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.category-actions .btn { padding: .5rem 1.1rem; font-size: .9rem; }

/* Example chips --------------------------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { background: var(--light); border: 1px solid var(--line); color: var(--ink); border-radius: 50px; padding: 5px 14px; font-size: .84rem; }
.chip i { color: var(--sky); margin-right: 6px; }

/* Feature / why cards --------------------------------------------------- */
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(23,105,170,.1); color: var(--blue); font-size: 1.5rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--grey); font-size: .95rem; margin: 0; }

/* Stat band ------------------------------------------------------------- */
.stat-band { background: linear-gradient(120deg, var(--blue), var(--navy)); color: #fff; border-radius: var(--radius-lg); padding: 34px; }
.stat-band .stat b { font-family: var(--head); font-size: 1.5rem; display: block; }
.stat-band .stat span { color: #CFE0F2; font-size: .92rem; }

/* Info / steps ---------------------------------------------------------- */
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--navy); font-family: var(--head); font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.step p { color: var(--grey); font-size: .95rem; margin: 0; }

/* Business solutions highlight ----------------------------------------- */
.info-box { background: var(--light); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 20px 22px; }
.info-box h3 { font-size: 1.05rem; margin-bottom: 8px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 6px 0; color: var(--ink); }
.check-list i { color: var(--blue); margin-right: 10px; }

/* Forms ----------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px; }
.form-label { font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.required-star { color: #d33; }
.form-control, .form-select, .form-control:focus, .form-select:focus { border-radius: 10px; border: 1px solid var(--line); padding: .7rem .9rem; font-size: .98rem; }
.form-control:focus, .form-select:focus { border-color: var(--sky); box-shadow: 0 0 0 .2rem rgba(85,183,232,.25); }
textarea.form-control { min-height: 130px; }
.form-hint { font-size: .8rem; color: var(--grey); margin-top: 4px; }
.field-error { color: #c0392b; font-size: .82rem; margin-top: 5px; display: none; }
.field-error.show { display: block; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #c0392b; }
.consent-box { background: var(--light); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.consent-box .form-check { margin-bottom: 4px; }
.consent-box a { font-weight: 700; text-decoration: underline; }

/* Honeypot (must be invisible to humans) */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Flash / alerts */
.alert-flash { border-radius: 12px; border: none; }

/* Contact --------------------------------------------------------------- */
.contact-info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 100%; }
.contact-info-card .ci-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(23,105,170,.1); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 12px; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-info-card a, .contact-info-card p { color: var(--grey); font-size: .95rem; word-break: break-word; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* CTA band -------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; border-radius: var(--radius-lg); padding: 44px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #CFE0F2; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #B9C9DA; padding: 60px 0 0; margin-top: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.15rem; }
.footer-intro { font-size: .94rem; color: #AFC1D4; }
.footer-title { color: #fff; font-size: 1.02rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--accent); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #B9C9DA; font-size: .94rem; }
.footer-links a:hover { color: var(--sky); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .92rem; }
.footer-contact i { color: var(--sky); margin-top: 4px; }
.footer-contact a { color: #B9C9DA; }
.btn-whatsapp-sm { background: rgba(37,211,102,.14); color: #7fe39f !important; border: 1px solid rgba(37,211,102,.35); border-radius: 50px; padding: .5rem 1.1rem; font-size: .9rem; margin-top: 10px; display: inline-block; }
.btn-whatsapp-sm:hover { background: #25D366; color: #fff !important; }
.footer-legal-note { border-top: 1px solid rgba(255,255,255,.08); margin-top: 34px; padding-top: 18px; text-align: center; color: #90A4BB; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 8px; padding: 18px 0; font-size: .88rem; color: #8FA3B8; }
.footer-meta { color: #7E93A8; }

/* Floating actions ------------------------------------------------------ */
.floating-actions { position: fixed; right: 18px; bottom: 90px; display: flex; flex-direction: column; gap: 12px; z-index: 1040; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: var(--shadow-lg); transition: transform .2s ease; }
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-whatsapp { background: #25D366; }
.float-call { background: var(--blue); }

.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 12px; border: none; background: var(--navy); color: #fff; font-size: 1rem; z-index: 1035; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Utility --------------------------------------------------------------- */
.text-muted-2 { color: var(--grey) !important; }
.badge-badge { display: inline-block; background: rgba(23,105,170,.12); color: var(--blue); border-radius: 50px; padding: 4px 12px; font-size: .78rem; font-family: var(--head); font-weight: 600; }
.divider { height: 1px; background: var(--line); border: 0; opacity: 1; margin: 0; }

/* Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
