/*
Theme Name: Jannat Buildtech
Theme URI: https://jannatgroupco.com
Author: Jannat Buildtech
Description: Official theme of Jannat Buildtech — Water Purifier, CCTV Camera & Fire Safety Solutions in Bangladesh. A concern presented via Jannat Group Co. (jannatgroupco.com).
Version: 1.0
License: Proprietary
Text Domain: jannat-buildtech
Tags: business, local-seo, safety
*/

/* ============================================================
   Base design system (same as the approved static design)
   ============================================================ */
:root {
  --navy: #16385a;
  --navy-2: #1f4a78;
  --green: #2e6b47;
  --green-dark: #235437;
  --green-light: #7fc79e;
  --blue: #1d4ed8;
  --red: #dc2626;
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #22303f;
  --muted: #5b6b7b;
  --line: #e3e9f0;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(11, 37, 69, 0.10);
  --font: "Segoe UI", "Hind Siliguri", Tahoma, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1160px, 92%); margin: 0 auto; }

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* Topbar */
.topbar { background: var(--navy); color: #c4d5c8; font-size: 0.8rem; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.4rem; padding: 0.35rem 0; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--green-light); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 12px rgba(11, 37, 69, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img.brand-logo { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 0.15rem; }
.main-nav > a { padding: 0.5rem 0.7rem; font-size: 0.92rem; font-weight: 600; color: var(--navy); border-radius: 8px; white-space: nowrap; }
.main-nav > a:hover { background: #eef3f9; color: var(--blue); }
.main-nav > a.active { background: var(--navy); color: #fff; }
.lang-btn { margin-left: 0.4rem; border: 2px solid var(--green); background: #fff; color: var(--green-dark); font-weight: 700; font-size: 0.85rem; padding: 0.4rem 0.8rem; border-radius: 999px; cursor: pointer; font-family: inherit; transition: 0.2s; }
.lang-btn:hover { background: var(--green); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--navy); cursor: pointer; line-height: 1; }

/* Hero */
.hero { position: relative; color: #fff; padding: 4.5rem 0 5rem;
  background: linear-gradient(120deg, rgba(11,37,69,0.95) 0%, rgba(35,84,55,0.9) 100%),
              repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px); }
.hero .kicker { display: inline-block; background: rgba(127, 199, 158, 0.14); border: 1px solid rgba(127, 199, 158, 0.5); color: #cde8d8; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.25; max-width: 720px; margin-bottom: 0.9rem; }
.hero h1 span { color: var(--green-light); }
.hero p.lead { max-width: 640px; color: #cfdcea; font-size: 1.05rem; margin-bottom: 1.8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.78rem 1.5rem; border-radius: 10px; font-weight: 700; font-size: 0.95rem; transition: 0.2s; border: none; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb955; transform: translateY(-2px); }
.stats { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.stat { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: 0.9rem 1.4rem; min-width: 140px; }
.stat b { display: block; font-size: 1.5rem; color: #fff; }
.stat span { font-size: 0.82rem; color: #cfdcea; }

/* Sections */
section.block { padding: 3.8rem 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 2.4rem; }
.sec-head .tag { color: var(--green-dark); font-weight: 800; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); margin: 0.3rem 0 0.5rem; }
.sec-head p { color: var(--muted); }
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: 0.25s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(11,37,69,0.16); }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; color: #fff; }
.icon-circle svg { width: 28px; height: 28px; }
.ic-blue { background: linear-gradient(135deg, var(--blue), var(--green)); }
.ic-orange { background: linear-gradient(135deg, var(--green-dark), var(--red)); }
.ic-navy { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.ic-teal { background: linear-gradient(135deg, var(--green), #4f9a6c); }
.card h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 0.45rem; }
.card p { font-size: 0.93rem; color: var(--muted); }
.card a.more { display: inline-block; margin-top: 0.9rem; color: var(--blue); font-weight: 700; font-size: 0.9rem; }
.card a.more:hover { color: var(--green-dark); }
.cat-card { text-align: center; }
.cat-card .icon-circle { margin: 0 auto 1rem; }
.feature-list li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.35rem 0; font-size: 0.95rem; color: var(--muted); }
.feature-list li::before { content: "✔"; color: var(--green); font-weight: 800; flex: 0 0 auto; margin-top: 0.05rem; }
.product-card { display: flex; flex-direction: column; gap: 0.5rem; }
.product-card .p-head { display: flex; align-items: center; gap: 0.8rem; }
.product-card .p-head .icon-circle { width: 46px; height: 46px; margin: 0; }
.product-card .p-head .icon-circle svg { width: 24px; height: 24px; }
.price-tag { display: inline-block; align-self: flex-start; background: #eef7f1; color: var(--green-dark); border: 1px solid #cfe6d8; font-weight: 700; font-size: 0.8rem; padding: 0.2rem 0.7rem; border-radius: 999px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--green-dark)); color: #fff; padding: 3rem 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.6rem; }
.cta-band p { color: #cfdcea; margin-bottom: 1.5rem; }

/* Page hero */
.page-hero { color: #fff; padding: 3.2rem 0; background: linear-gradient(120deg, rgba(11,37,69,0.96) 0%, rgba(35,84,55,0.85) 100%); }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.page-hero p { color: #cfdcea; max-width: 640px; margin-top: 0.5rem; }
.crumbs { font-size: 0.85rem; color: #9db4cf; margin-bottom: 0.6rem; }
.crumbs a { color: #cde8d8; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.6rem; }
.info-item { display: flex; gap: 0.9rem; margin-bottom: 1.2rem; }
.info-item .icon-circle { width: 44px; height: 44px; margin: 0; flex: 0 0 auto; }
.info-item .icon-circle svg { width: 22px; height: 22px; }
.info-item b { display: block; color: var(--navy); font-size: 0.95rem; }
.info-item span { font-size: 0.92rem; color: var(--muted); }
form .field { margin-bottom: 1rem; }
form label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.3rem; }
form input, form select, form textarea { width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 0.95rem; background: #fbfcfe; transition: 0.2s; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 1.6rem; }
.map-box iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Blog / article layout */
.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 1.6rem; padding: 3rem 0; align-items: start; }
.article-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.2rem; }
.article-content h2 { color: var(--navy); font-size: 1.4rem; margin: 1.8rem 0 0.7rem; }
.article-content h3 { color: var(--navy); font-size: 1.15rem; margin: 1.4rem 0 0.6rem; }
.article-content p { color: var(--muted); margin-bottom: 1rem; font-size: 1rem; }
.article-content ul, .article-content ol { margin: 0 0 1.2rem 1.4rem; color: var(--muted); }
.article-content ul li { list-style: disc; margin-bottom: 0.4rem; }
.article-content ol li { list-style: decimal; margin-bottom: 0.4rem; }
.article-content a { color: var(--green-dark); font-weight: 700; text-decoration: underline; }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; font-size: 0.92rem; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; }
.article-content th { background: #eef7f1; color: var(--navy); }
.article-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.4rem; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; margin-bottom: 1.2rem; }
.sidebar-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.8rem; }
.sidebar-card .feature-list li { font-size: 0.9rem; }
.post-card h3 a { color: var(--navy); }
.post-card .ex { font-size: 0.9rem; color: var(--muted); margin: 0.4rem 0 0.8rem; }

/* Footer */
.site-footer { background: var(--navy); color: #b8c7d9; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3rem 0 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; position: relative; padding-bottom: 0.5rem; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--green); border-radius: 3px; }
.site-footer a:hover { color: #fff; }
.footer-links li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #8fa6c0; }
.footer-brand p { font-size: 0.92rem; margin-top: 1rem; }
.footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 16px; margin-bottom: 1rem; }
.footer-logo img { height: 42px; width: auto; }
.footer-contact li { display: flex; gap: 0.6rem; font-size: 0.92rem; margin-bottom: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 0.2rem; color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.2rem 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.rights { text-align: center; width: 100%; }
.rights b { color: #fff; }
.rights .domain-note { display: block; font-size: 0.78rem; color: #7e94b0; margin-top: 0.25rem; letter-spacing: 0.3px; }
.rights .domain-note a { color: var(--green-light); }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37,211,102,0.45); transition: 0.2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: 0.7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: repeat(2, 1fr); } .article-wrap { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 0.8rem 4%; box-shadow: 0 12px 24px rgba(11,37,69,0.15); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); }
  .lang-btn { margin: 0.6rem 0 0; align-self: flex-start; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { gap: 0.6rem; }
  .stat { flex: 1 1 40%; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .btn-row .btn { width: 100%; justify-content: center; }
}

/* ---------- Proprietor ---------- */
.proprietor-card { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; max-width: 380px; margin: 0 auto; }
.proprietor-photo { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); display: block; margin: 0 auto .6rem; }
.proprietor-role { color: var(--green-dark); font-weight: 700; font-size: .9rem; display: block; }
.proprietor-msg h3 { color: var(--navy); margin-bottom: .6rem; }
.proprietor-msg p { color: var(--muted); margin-bottom: .9rem; }
.proprietor-sign { font-weight: 800; color: var(--navy) !important; font-size: 1.05rem; }
.proprietor-sign span { font-weight: 500; color: var(--muted); font-size: .88rem; }
.proprietor-strip { display: flex; align-items: center; gap: 1.4rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.proprietor-photo-sm { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); flex: 0 0 auto; }
@media (max-width: 700px) { .proprietor-strip { flex-direction: column; text-align: center; } }
