﻿/* =========================
   RURAL BENGAL • CALM VIBRANT THEME (FULL - CLEAN)
   ========================= */

:root {
    --bg1: #efe2c3;
    --bg2: #f4e8cc;
    --bg3: #e9d39a;
    --card: #f7edcf;
    --card2: #f2e2b6;
    --text: #3a2313;
    --muted: #6b4a2d;
    --line: rgba(58,35,19,.18);
    --green: #3f7f4c;
    --red: #b33a2b;
    --orange: #d97706;
    --maroon: #6a2a1a;
    --shadow: 0 12px 22px rgba(58,35,19,.14);
    --shadow2: 0 10px 18px rgba(58,35,19,.12);
}

/* RESET */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    color: var(--text);
    background: radial-gradient(820px 380px at 15% 10%, rgba(63,127,76,.18), transparent 60%), radial-gradient(820px 380px at 85% 18%, rgba(217,119,6,.16), transparent 60%), radial-gradient(700px 340px at 55% 0%, rgba(179,58,43,.12), transparent 60%), linear-gradient(180deg,var(--bg1),var(--bg2),var(--bg3));
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* LAYOUT */
.container {
    width: min(1100px,92%);
    margin-inline: auto;
}

/* HEADER */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(244,232,204,.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(63,127,76,.22), rgba(217,119,6,.16));
    border: 1px solid rgba(58,35,19,.18);
    box-shadow: 0 10px 16px rgba(58,35,19,.12);
}

.brand-name {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .2px;
    color: var(--text);
    font-size: 18px;
}

.brand-sub {
    font-size: 12px;
    color: var(--muted);
    font-weight: 650;
}

.brand-main {
    font-size: 30px;
    font-weight: 1000;
    letter-spacing: .6px;
}

@media (min-width:860px) {
    .brand-main {
        font-size: 44px;
    }

    .brand-name {
        font-size: 24px;
    }
}

/* NAV */
.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

    .nav a {
        font-size: 14px;
        padding: 8px 12px;
        border-radius: 14px;
        border: 1px solid rgba(58,35,19,.16);
        color: var(--muted);
        background: rgba(247,237,207,.75);
        font-weight: 800;
        transition: transform .15s ease, box-shadow .15s ease;
    }

        .nav a:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 16px rgba(58,35,19,.10);
        }

        .nav a.active {
            color: var(--text);
            border-color: rgba(63,127,76,.28);
            background: linear-gradient(90deg, rgba(63,127,76,.18), rgba(217,119,6,.12));
        }

/* HERO */
.hero {
    padding: 26px 0 14px;
}

    .hero .container {
        padding: 18px;
        border-radius: 20px;
        background: linear-gradient(180deg,#f8efd6,#f1e1b8);
        border: 1px solid var(--line);
        box-shadow: var(--shadow2);
    }

.hero-grid {
    display: grid;
    gap: 16px;
    align-items: stretch;
}

h1 {
    font-size: 28px;
    margin: 0 0 10px;
    line-height: 1.15;
}

.hero-title {
    font-size: 18px;
    line-height: 1.12;
    letter-spacing: -.3px;
    margin: 0 0 10px;
    font-weight: 800;
}

.lead {
    color: var(--muted);
    margin: 0 0 14px;
    line-height: 1.55;
    font-weight: 650;
}

/* LEFT HERO COLUMN AS FLEX (so map can stretch) */
@media (min-width:860px) {
    .hero-grid > div:first-child {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }
}

/* VIDEO */
.video-wrap {
    margin: 14px 0 16px;
    position: relative;
    padding-top: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

    .video-wrap iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* CTA */
.cta-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(58,35,19,.16);
    font-weight: 900;
    transition: transform .15s ease;
}

    .btn.primary {
        color: #2b1a0e;
        border-color: rgba(63,127,76,.40);
        background: linear-gradient(90deg, rgba(63,127,76,.40), rgba(247,237,207,.70));
        box-shadow: 0 12px 18px rgba(63,127,76,.14);
    }

        .btn.primary:hover {
            transform: translateY(-1px);
        }

    .btn.outline {
        color: #2b1a0e;
        border-color: rgba(179,58,43,.32);
        background: linear-gradient(90deg, rgba(179,58,43,.22), rgba(217,119,6,.18));
        box-shadow: 0 12px 18px rgba(179,58,43,.10);
    }

        .btn.outline:hover {
            transform: translateY(-1px);
        }

/* BADGES */
.badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.badge {
    font-size: 12px;
    color: var(--text);
    border: 1px solid rgba(58,35,19,.14);
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(63,127,76,.14), rgba(217,119,6,.10));
    font-weight: 800;
}

/* RIGHT HERO CARD */
.hero-card {
    background: linear-gradient(180deg,var(--card),var(--card2));
    border: 1px solid rgba(63,127,76,.18);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow2);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .hero-card h3 {
        margin: 0;
        font-size: 22px;
        color: var(--text);
    }

.herophoto {
    width: 100%;
    aspect-ratio: 3/4;
    max-height: 320px;
    border-radius: 16px;
    overflow: hidden;
    margin: 8px 0 6px;
    background: rgba(0,0,0,.06);
    display: grid;
    place-items: center;
}

    .herophoto img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

/* CHECKLIST */
.hero-card .checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    color: var(--muted);
    font-weight: 600;
}

    .hero-card .checklist li {
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(255,255,255,.55);
        border: 1px solid rgba(0,0,0,.06);
        display: flex;
        align-items: flex-start;
        gap: 10px;
        line-height: 1.25;
    }

        .hero-card .checklist li::before {
            content: "✓";
            font-weight: 800;
            flex: 0 0 auto;
            margin-top: 2px;
        }

.hero-card .mini-note {
    margin-top: auto;
    font-size: 13px;
    color: var(--muted);
    padding: 14px;
    border-radius: 16px;
    background: rgba(0,0,0,.04);
    border: 1px dashed rgba(0,0,0,.14);
}

/* MAP (fills remaining left space) */
.map-card {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(58,35,19,.14);
    box-shadow: 0 10px 16px rgba(58,35,19,.10);
    display: flex;
    flex-direction: column;
}

    .map-card h3 {
        margin: 0 0 10px;
        font-size: 18px;
    }

.map-link {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    flex: 1;
    min-height: 280px;
}

    .map-link iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
        pointer-events: none;
    }

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,.20);
    opacity: 0;
    transition: opacity .2s ease;
}

.map-link:hover .map-overlay {
    opacity: 1;
}

/* SECTIONS */
.section {
    padding: 18px 0;
}

    .section.alt {
        background: linear-gradient(180deg, rgba(63,127,76,.14), rgba(247,237,207,.10));
        border-top: 1px solid rgba(58,35,19,.10);
        border-bottom: 1px solid rgba(58,35,19,.10);
    }

.section-head h1, .section-head h2 {
    margin: 0 0 6px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-weight: 600;
}

/* GRID / CARDS */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
}

    .grid.two {
        grid-template-columns: 1fr;
    }

.card {
    background: linear-gradient(180deg,var(--card),var(--card2));
    border: 1px solid rgba(58,35,19,.14);
    border-radius: 24px;
    padding: 20px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    box-shadow: 0 10px 16px rgba(58,35,19,.10);
}


    .card h3 {
        margin: 0 0 6px;
    }

    .card p {
        margin: 0 0 10px;
        color: var(--muted);
        line-height: 1.55;
        font-weight: 600;
    }

.card-photo {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    background: linear-gradient(#fff,#f6f2d8);
    padding: 12px;
    border-radius: 18px;
    margin-top: 10px;
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(58,35,19,.10);
    padding: 16px 0;
    margin-top: 10px;
    background: rgba(244,232,204,.85);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-title {
    font-weight: 950;
}

.footer-text {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

/* =========================
   FLOATING ACTION BUTTONS (FIXED)
   Uses CSS GRID centering + force FA ::before to behave
   ========================= */

.fab {
    position: fixed;
    right: 14px;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid; /* strongest centering */
    place-items: center; /* center both axis */

    padding: 0;
    margin: 0;
    z-index: 30;
    box-shadow: 0 16px 26px rgba(58,35,19,.18);
    border: 1px solid rgba(58,35,19,.14);
    overflow: hidden; /* prevents any pseudo overflow */
}

.fab-whatsapp {
    bottom: 94px;
    background: linear-gradient(180deg,#3f7f4c,#356b41);
}

.fab-call {
    bottom: 22px;
    background: linear-gradient(180deg,#b33a2b,#9c2f23);
}

/* make the <i> a clean square icon box */
.fab i {
    display: block;
    width: 1em;
    height: 1em;
    margin: 0;
    padding: 0;
    font-size: 34px; /* base icon size */
    line-height: 1;
    color: #f8efd6;
}

/* whatsapp slightly bigger */
.fab-whatsapp i {
    font-size: 40px;
}

/* FORCE FontAwesome pseudo element to center properly */
.fab i::before {
    display: block !important;
    width: 1em !important;
    height: 1em !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* RESPONSIVE */
@media (min-width:860px) {
    .hero-grid {
        grid-template-columns: 1.25fr .85fr;
        align-items: stretch;
    }

    .grid {
        grid-template-columns: repeat(3,1fr);
    }

        .grid.two {
            grid-template-columns: 1fr 1fr;
        }
}

@media (max-width:859px) {
    .map-link {
        min-height: 260px;
    }
}

@media (max-width:600px) {
    .herophoto {
        max-height: 260px;
    }
}
