/* ============ bimolakoijam.in — global styles ============ */
/* Mobile-first, responsive on all screen sizes */

:root {
  --blue: #14545c;          /* deep INC blue */
  --blue-dark: #0b333a;
  --blue-light: #ebf3f2;
  --saffron: #e8a13d;       /* accent */
  --green: #0a9e4d;         /* accent */
  --ink: #1c2430;
  --muted: #5a6675;
  --line: #e3e8ef;
  --bg: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(11, 51, 58, .10);
  --font-head: "Merriweather", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: clamp(15px, 1vw + 11px, 17px); }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue-dark); line-height: 1.25; }
h1 { font-size: clamp(1.7rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

.container { width: min(1120px, 92%); margin-inline: auto; }
.section { padding: clamp(2.4rem, 6vw, 4.5rem) 0; }
.section.alt { background: var(--blue-light); }
.section-head { max-width: 720px; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--saffron); margin-bottom: .5rem; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.13rem); }

/* ---- tricolor ribbon ---- */
.tricolor { height: 4px; background: linear-gradient(90deg, var(--saffron) 33%, #fff 33% 66%, var(--green) 66%); }

/* ---- top bar ---- */
.topbar { background: var(--blue-dark); color: #d5e8e4; font-size: .8rem; padding: .4rem 0; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; justify-content: center; }
.topbar a { color: #fff; }
@media (min-width: 760px) { .topbar .container { justify-content: space-between; } }

/* ---- header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(11,51,58,.06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none !important; }
.brand-badge { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; flex: none; }
.brand-text b { display: block; font-family: var(--font-head); color: var(--blue-dark); font-size: 1.02rem; line-height: 1.2; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: .55rem; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2.6px; background: var(--blue-dark); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav ul { list-style: none; padding: .5rem 4%; }
.site-nav a { display: block; padding: .7rem .4rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a[aria-current="page"] { color: var(--blue); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; position: static; box-shadow: none; border: 0; }
  .site-nav ul { display: flex; gap: .2rem; padding: 0; }
  .site-nav a { border: 0; padding: .5rem .72rem; border-radius: 8px; font-size: .92rem; }
  .site-nav a:hover { background: var(--blue-light); text-decoration: none; }
  .site-nav a[aria-current="page"] { background: var(--blue); color: #fff; }
}

/* ---- hero ---- */
.hero { background: linear-gradient(90deg, rgba(11,51,58,.82) 0%, rgba(11,51,58,.40) 48%, rgba(11,51,58,0) 72%), url("../images/hero.jpg") 70% center/cover no-repeat, var(--blue-dark); color: #fff; overflow: hidden; }
.hero-sign { height: 56px; width: auto; margin-top: 1rem; filter: brightness(0) invert(1); opacity: .9; }
.hero .container { display: grid; gap: 2rem; padding: clamp(2.6rem, 7vw, 5.5rem) 0; align-items: center; }
.hero h1 { color: #fff; }
.hero .kicker { color: var(--saffron); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; margin-bottom: .8rem; }
.hero p.tagline { font-family: var(--font-head); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.35rem); color: #d8e9e6; margin: 1rem 0 1.6rem; }
.hero .slogan { font-size: .85rem; letter-spacing: .08em; color: #9fc4bd; text-transform: uppercase; margin-top: 1.2rem; }
.hero-portrait { justify-self: center; width: min(320px, 70vw); aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(135deg, #1d6b74, #0d2a5c); border: 3px solid rgba(255,255,255,.25); display: grid; place-items: center; text-align: center; color: #bcd9d3; padding: 1rem; font-size: .85rem; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 3px); }
@media (min-width: 860px) { .hero .container { grid-template-columns: 1.25fr .75fr; } .hero-portrait { justify-self: end; } }

/* ---- buttons ---- */
.btn { display: inline-block; padding: .72rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: .2s; text-decoration: none !important; }
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: #e07f00; }
.btn-ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; margin-left: .6rem; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }

/* ---- stat band ---- */
.stats { background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat { text-align: center; padding: 1.4rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--blue); }
.stat span { font-size: .82rem; color: var(--muted); }

/* ---- cards ---- */
.grid { display: grid; gap: 1.3rem; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5rem; }
.card .meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--saffron); font-weight: 700; margin-bottom: .45rem; display: block; }
.card p { color: var(--muted); font-size: .95rem; }
.icon-dot { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .9rem; }

/* ---- roadmap ---- */
.roadmap { counter-reset: step; display: grid; gap: 1.1rem; }
.roadmap .step { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.roadmap .step::before { counter-increment: step; content: counter(step); width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.roadmap .step h3 { margin-bottom: .3rem; }
.roadmap .step p { color: var(--muted); font-size: .95rem; }

/* ---- timeline (news) ---- */
.timeline { position: relative; display: grid; gap: 1.4rem; padding-left: 1.4rem; border-left: 3px solid var(--blue-light); }
.t-item { position: relative; }
.t-item::before { content: ""; position: absolute; left: calc(-1.4rem - 8.5px); top: .45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--saffron); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--saffron); }
.t-item time { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.t-item h3 { margin: .2rem 0 .3rem; }
.t-item p { color: var(--muted); font-size: .95rem; }
.t-item .src { font-size: .8rem; }

/* ---- quote block ---- */
.quote { background: var(--blue-dark); color: #fff; border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.8rem); position: relative; }
.quote p { font-family: var(--font-head); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.6; }
.quote cite { display: block; margin-top: 1rem; color: var(--saffron); font-style: normal; font-weight: 700; font-size: .88rem; }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 480px; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
th { background: var(--blue-light); color: var(--blue-dark); font-family: var(--font-head); }
tr:last-child td { border-bottom: 0; }

/* ---- gallery ---- */
.gallery-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.ph { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-light), #dcebe8); border: 1px dashed #b2cfc9; display: grid; place-items: center; color: var(--muted); font-size: .82rem; text-align: center; padding: 1rem; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ---- lists ---- */
.check-list { list-style: none; display: grid; gap: .55rem; }
.check-list li { padding-left: 1.7rem; position: relative; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.loc-grid { columns: 2; column-gap: 2rem; list-style: none; font-size: .93rem; color: var(--muted); }
.loc-grid li { padding: .3rem 0 .3rem 1.5rem; position: relative; break-inside: avoid; }
.loc-grid li::before { content: "💧"; position: absolute; left: 0; font-size: .8rem; }
@media (min-width: 760px) { .loc-grid { columns: 3; } }

/* ---- contact ---- */
.contact-grid { display: grid; gap: 1.3rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-item .icon-dot { margin: 0; flex: none; }
form .field { margin-bottom: 1rem; }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .3rem; }
input, textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
input:focus, textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--blue-dark)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: #cfe4e0; margin-bottom: 1.4rem; }

/* ---- footer ---- */
.site-footer { background: var(--blue-dark); color: #b6cfca; font-size: .9rem; }
.footer-grid { display: grid; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem) 0 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: .8rem; font-size: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a { color: #d5e8e4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1rem 0; text-align: center; font-size: .8rem; color: #8fb1ab; }
.footer-tag { font-family: var(--font-head); font-style: italic; color: #d8e9e6; margin-top: .6rem; }

/* ---- utilities ---- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.note { font-size: .82rem; color: var(--muted); background: var(--blue-light); border-radius: 10px; padding: .8rem 1rem; }

/* very small phones */
@media (max-width: 360px) {
  .btn { display: block; margin: .5rem 0 0 !important; text-align: center; }
  .roadmap .step { grid-template-columns: 40px 1fr; }
  .roadmap .step::before { width: 40px; height: 40px; font-size: 1rem; }
}

/* print */
@media print { .site-header, .topbar, .site-footer, .cta-band { display: none; } }

/* gallery items with real images keep natural aspect so captions stay visible */
.ph:has(img) { aspect-ratio: auto; border: none; padding: 0; background: none; }
.ph img { display: block; }

/* live embeds */
.embed-card { padding: 1rem; }
.embed-card h3 { margin: .3rem .5rem .8rem; }
.embed-card iframe { border-radius: 8px; }
