/* =====================================================
   BRAINSTORM CONSTRUCTION PVT. LTD.
   Global stylesheet — professional blue palette
   Fonts: DM Sans (body) · Manrope (display)
===================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

:root {
    --cream: #f5f8fb;
    --white: #ffffff;

    --dark: #243447;
    --dark2: #31465b;

    --blue: #4f7fa8;
    --blue-dark: #386586;

    --blue-light: #e8f0f6;
    --blue-soft: #dce9f2;

    --grey: #687685;
    --border: #d8e1e8;

    --nav-h: 72px;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #263445;
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { width: 100%; display: block; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: auto; }
.container-sm { width: min(880px, 92%); margin: auto; }

section { padding: 65px 0; scroll-margin-top: 82px; }
section.tight { padding: 48px 0; }

.bg-white   { background: var(--white); }
.bg-cream   { background: var(--cream); }
.bg-soft    { background: #eaf0f5; }
.bg-light   { background: var(--blue-light); }

/* ---------- headings ---------- */

.section-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.1;
    color: var(--dark);
    font-weight: 800;
}

.section-title span { color: var(--blue); }

.section-description { color: var(--grey); font-size: 17px; line-height: 1.65; }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .section-description { margin-top: 13px; }

h1, h2, h3, h4, h5 { font-family: "Manrope", sans-serif; color: var(--dark); }

.split-head {
    display: flex; align-items: end; justify-content: space-between;
    gap: 30px; margin-bottom: 32px;
}
.split-head .section-description { max-width: 470px; }

.lead { font-size: 18px; line-height: 1.7; color: #4a5b6c; }

.muted { color: var(--grey); }

/* =====================================================
   BUTTONS
===================================================== */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 22px; border-radius: 7px;
    font-family: inherit; font-size: 15px; font-weight: 700;
    transition: .3s ease; cursor: pointer; border: none;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover {
    background: var(--blue-dark); transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79,127,168,.22);
}

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark2); transform: translateY(-3px); }

.btn-outline { border: 1px solid rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--dark); transform: translateY(-3px); }

.btn-ghost { border: 1px solid var(--border); color: var(--dark); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-3px); }

.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.text-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--blue-dark); font-weight: 700; font-size: 15px; transition: .25s;
}
.text-link:hover { gap: 13px; }

/* =====================================================
   TOP BAR + NAVBAR
===================================================== */

.topbar {
    background: var(--dark);
    color: #cfdce6;
    font-size: 13px;
    height: 36px;
    display: flex;
    align-items: center;
}
.topbar-inner {
    width: min(1180px, 92%); margin: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 22px; }
.topbar-left i, .topbar-right i { color: #9fc3d9; margin-right: 6px; }
.topbar-right { display: flex; gap: 14px; align-items: center; }

.navbar {
    height: var(--nav-h);
    background: rgba(255,255,255,.98);
    position: sticky; top: 0; width: 100%; z-index: 1000;
    border-bottom: 1px solid #e0e7ed;
    transition: .3s ease;
}
.navbar.scrolled { box-shadow: 0 6px 22px rgba(30,50,65,.08); }

.nav-container {
    height: 100%; width: min(1180px, 92%); margin: auto;
    display: flex; align-items: center; justify-content: space-between;
}

.logo { width: 175px; height: 64px; display: flex; align-items: center; flex-shrink: 0; }
.logo img { width: 175px; height: 62px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 24px; }

.nav-links > li { position: relative; }

.nav-links a.nav-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 15px; font-weight: 600; color: #334353;
    position: relative; padding: 25px 0;
}
.nav-links a.nav-item::after {
    content: ""; position: absolute; bottom: 17px; left: 0;
    width: 0; height: 2px; background: var(--blue); transition: .3s;
}
.nav-links a.nav-item:hover::after,
.nav-links a.nav-item.active::after { width: 100%; }
.nav-links a.nav-item.active { color: var(--blue-dark); }

.nav-links .caret { font-size: 11px; opacity: .7; transition: transform .25s; }
.has-drop:hover .caret { transform: rotate(180deg); }

/* dropdown */
.dropdown {
    position: absolute; top: calc(100% - 6px); left: -18px;
    min-width: 262px; background: #fff;
    border: 1px solid #e3eaf0; border-radius: 10px;
    box-shadow: 0 18px 40px rgba(30,50,65,.12);
    padding: 9px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: .25s ease; z-index: 60;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown a {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 12px; border-radius: 7px;
    font-size: 14.5px; font-weight: 600; color: #3a4a5b; transition: .2s;
}
.dropdown a i { color: var(--blue); font-size: 14px; width: 18px; }
.dropdown a:hover { background: var(--blue-light); color: var(--blue-dark); padding-left: 16px; }

.nav-btn {
    background: var(--blue); color: #fff; padding: 11px 17px;
    border-radius: 6px; font-size: 14px; font-weight: 700;
    transition: .3s; white-space: nowrap;
}
.nav-btn:hover { background: var(--blue-dark); transform: translateY(-2px); }

.menu-btn { display: none; font-size: 23px; cursor: pointer; color: var(--dark); }

/* =====================================================
   HERO (home)
===================================================== */

.hero {
    min-height: calc(100vh - var(--nav-h)); padding: 90px 0;
    position: relative; display: flex; align-items: center; color: #fff;
    background:
        linear-gradient(90deg, rgba(13,35,55,.82) 0%, rgba(20,48,72,.68) 38%,
                        rgba(28,55,78,.32) 70%, rgba(28,55,78,.10) 100%),
        url("/images/hero-home.jpg") center/cover no-repeat;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 45%, rgba(10,28,43,.22));
}
/* the hero holds the headline on the left and a small enquiry form on the right */
.hero-inner {
    width: min(1180px, 92%);
    margin: auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-small {
    font-size: 15px; font-weight: 600; letter-spacing: 1px;
    margin-bottom: 17px; color: #dcecf7; text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(32px, 4.5vw, 58px); max-width: 830px; line-height: 1.04;
    font-weight: 800; margin-bottom: 20px; color: #fff;
    text-shadow: 0 3px 18px rgba(0,0,0,.20);
}
.hero h1 span { color: #b8d9ed; }
.hero-text {
    max-width: 650px; font-size: 18px; line-height: 1.6; color: #edf5fa;
    margin-bottom: 26px; text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.hero-buttons { display: flex; gap: 13px; flex-wrap: wrap; }
.hero .btn-primary { background: #477b9e; box-shadow: 0 8px 22px rgba(12,39,59,.25); }
.hero .btn-primary:hover { background: #356681; }
.hero .btn-outline { background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }

.hero-strip {
    display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18);
}
.hero-strip div {
    display: flex; align-items: center; gap: 9px;
    font-size: 14.5px; font-weight: 600; color: #e4eef5;
}
.hero-strip i { color: #b8d9ed; }

/* =====================================================
   PAGE BANNER (inner pages)
===================================================== */

.page-banner {
    position: relative; color: #fff; padding: 78px 0 66px;
    background:
        linear-gradient(90deg, rgba(18,40,60,.90) 0%, rgba(28,58,84,.72) 60%, rgba(32,62,88,.55) 100%),
        url("/images/page-banner.jpg") center/cover no-repeat;
}
.page-banner h1 {
    font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08;
    color: #fff; font-weight: 800; max-width: 860px;
}
.page-banner h1 span { color: #b8d9ed; }
.page-banner p { max-width: 660px; margin-top: 14px; color: #dce9f2; font-size: 17px; line-height: 1.65; }

.breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
    font-size: 13.5px; color: #b9d2e4; margin-bottom: 15px; font-weight: 600;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 10px; opacity: .7; }
.breadcrumb .current { color: #fff; }

/* =====================================================
   STATS BAR
===================================================== */

.stats-bar { background: var(--dark); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
    content: ""; position: absolute; right: 0; top: 6px;
    width: 1px; height: 46px; background: rgba(255,255,255,.16);
}
.stat-item h3 { font-size: 36px; font-weight: 800; color: #fff; line-height: 1; }
.stat-item h3 span { color: #b8d9ed; font-size: 26px; }
.stat-item p { font-size: 14px; color: #c9dae6; margin-top: 8px; }

/* =====================================================
   CARDS — services
===================================================== */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.service-card {
    display: block; padding: 25px 21px;
    border: 1px solid var(--border); border-radius: 10px;
    background: #fafdff; transition: .35s ease;
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; width: 100%; height: 4px;
    background: var(--blue); top: 0; left: -100%; transition: .4s;
}
.service-card:hover::before { left: 0; }
.service-card:hover {
    transform: translateY(-7px); box-shadow: 0 15px 35px rgba(48,75,98,.10);
    border-color: #bfd1df;
}
.service-icon {
    width: 52px; height: 52px; background: var(--blue-light); color: var(--blue-dark);
    display: grid; place-items: center; border-radius: 8px;
    font-size: 22px; margin-bottom: 18px; transition: .3s;
}
.service-card:hover .service-icon { background: var(--blue); color: #fff; transform: rotate(-4deg); }
.service-card h3 { font-size: 20px; margin-bottom: 9px; }
.service-card p { color: var(--grey); line-height: 1.55; font-size: 15px; }
.service-card .text-link { margin-top: 14px; }

/* wide service row (services hub) */
.service-row {
    display: grid; grid-template-columns: 420px 1fr; gap: 34px;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; margin-bottom: 22px; transition: .35s;
}
.service-row:hover { box-shadow: 0 18px 42px rgba(40,60,80,.10); border-color: #bfd1df; }
.service-row .row-img { position: relative; min-height: 300px; overflow: hidden; }
.service-row .row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-row:hover .row-img img { transform: scale(1.06); }
.service-row .row-tag {
    position: absolute; left: 16px; top: 16px; background: rgba(36,52,71,.86);
    color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
    padding: 6px 12px; border-radius: 5px; text-transform: uppercase;
}
.service-row .row-body { padding: 30px 30px 30px 0; display: flex; flex-direction: column; justify-content: center; }
.service-row h3 { font-size: 25px; margin-bottom: 10px; }
.service-row.reverse { grid-template-columns: 1fr 420px; }
.service-row.reverse .row-body { padding: 30px 0 30px 30px; order: -1; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
    background: var(--blue-light); color: var(--blue-dark);
    font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 20px;
}

/* =====================================================
   PROJECT CARDS
===================================================== */

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.project-card {
    position: relative; height: 330px; overflow: hidden;
    border-radius: 11px; color: #fff; display: block;
}
.project-card.large { grid-column: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.07); }

.project-overlay {
    position: absolute; inset: 0; padding: 24px;
    display: flex; flex-direction: column; justify-content: end;
    background: linear-gradient(transparent 20%, rgba(20,34,46,.80) 100%);
}
.project-category {
    color: #b9d5e8; font-size: 12.5px; letter-spacing: 1.8px;
    font-weight: 700; margin-bottom: 7px; text-transform: uppercase;
}
.project-overlay h3 { font-size: 23px; margin-bottom: 6px; color: #fff; line-height: 1.2; }
.project-meta { display: flex; flex-wrap: wrap; gap: 14px; color: #dbe6ee; font-size: 13.5px; }
.project-meta i { color: #a9cde5; margin-right: 5px; }

.project-arrow {
    position: absolute; right: 18px; top: 18px;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--dark);
    display: grid; place-items: center; transition: .3s;
}
.project-card:hover .project-arrow { background: var(--blue); color: #fff; transform: rotate(-45deg); }

.status-pill {
    position: absolute; left: 18px; top: 18px; z-index: 2;
    font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
    padding: 6px 11px; border-radius: 5px; color: #fff;
}
.status-pill.ongoing { background: #d08a2e; }
.status-pill.completed { background: #3f8a63; }

/* filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
    border: 1px solid var(--border); background: #fff; color: #46586a;
    padding: 9px 17px; border-radius: 30px;
    font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: .25s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue-dark); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* =====================================================
   ABOUT / IMAGE-TEXT SPLIT
===================================================== */

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split.equal { grid-template-columns: 1fr 1fr; }

.split-media { position: relative; border-radius: 12px; overflow: hidden; min-height: 460px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.split-media:hover img { transform: scale(1.04); }

.media-badge {
    position: absolute; right: 20px; bottom: 20px;
    background: var(--blue); color: #fff; padding: 16px 21px;
    border-radius: 8px; box-shadow: 0 12px 25px rgba(31,55,75,.15);
}
.media-badge strong { display: block; font-family: "Manrope", sans-serif; font-size: 30px; }
.media-badge span { font-size: 13px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 20px 0; }
.info-box { display: flex; gap: 11px; align-items: flex-start; }
.info-box i { color: var(--blue); font-size: 21px; margin-top: 3px; }
.info-box strong { display: block; font-size: 15px; margin-bottom: 3px; }
.info-box span { color: var(--grey); font-size: 14px; }

/* =====================================================
   NUMBERED LIST (approach)
===================================================== */

.num-list { margin-top: 22px; }
.num-item {
    display: flex; gap: 18px; padding: 15px 0;
    border-bottom: 1px solid var(--border);
    transition: transform .3s ease, padding-left .3s ease, border-color .3s ease;
}
.num-item:hover { transform: translateX(6px); padding-left: 6px; border-color: var(--blue); }
.num-badge {
    min-width: 38px; height: 38px; border-radius: 50%;
    background: var(--blue); color: #fff; display: grid; place-items: center;
    font-weight: 700; flex-shrink: 0; transition: .3s;
}
.num-item:hover .num-badge { transform: scale(1.12) rotate(5deg); background: var(--blue-dark); }
.num-item h3 { font-size: 19px; margin-bottom: 4px; }
.num-item p { color: var(--grey); line-height: 1.55; font-size: 15px; }

/* =====================================================
   PROCESS CARDS
===================================================== */

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }

.process-card {
    position: relative; min-height: 380px; padding: 0 20px 22px;
    border: 1px solid var(--border); border-radius: 12px; background: #fff;
    overflow: hidden; transition: .35s ease;
}
.process-card::before {
    content: ""; position: absolute; top: 0; left: 0;
    width: 40px; height: 3px; background: var(--blue); z-index: 3; transition: width .4s ease;
}
.process-card:hover { transform: translateY(-8px); border-color: #a9c2d5; box-shadow: 0 16px 38px rgba(40,60,75,.12); }
.process-card:hover::before { width: 100%; }

.process-image { width: calc(100% + 40px); height: 145px; margin-left: -20px; overflow: hidden; position: relative; }
.process-image::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 45%, rgba(25,43,58,.20));
}
.process-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.process-card:hover .process-image img { transform: scale(1.08); }

.process-number {
    margin: 17px 0 12px; font-family: "Manrope", sans-serif;
    font-size: 38px; font-weight: 800; line-height: 1; color: #9dbbd0; transition: .35s;
}
.process-card:hover .process-number { color: var(--blue); transform: translateX(4px); }
.process-card h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.3; }
.process-card p { font-size: 14.5px; color: var(--grey); line-height: 1.55; }

/* full process timeline */
.timeline { position: relative; margin-top: 10px; }
.timeline::before {
    content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px;
    width: 2px; background: linear-gradient(var(--blue-soft), var(--blue), var(--blue-soft));
}
.timeline-item { position: relative; padding: 0 0 34px 76px; }
.timeline-dot {
    position: absolute; left: 0; top: 0;
    width: 56px; height: 56px; border-radius: 50%;
    background: #fff; border: 2px solid var(--blue);
    color: var(--blue-dark); display: grid; place-items: center;
    font-family: "Manrope", sans-serif; font-weight: 800; font-size: 19px; z-index: 2;
    transition: .3s;
}
.timeline-item:hover .timeline-dot { background: var(--blue); color: #fff; transform: scale(1.06); }
.timeline-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 24px 26px; transition: .3s;
}
.timeline-item:hover .timeline-card { box-shadow: 0 14px 34px rgba(40,60,80,.09); border-color: #c2d4e1; }
.timeline-card h3 { font-size: 22px; margin-bottom: 6px; }
.timeline-duration {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--blue-light); color: var(--blue-dark);
    font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 20px; margin-bottom: 12px;
}
.timeline-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 16px; }
.timeline-cols h5 {
    font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--blue-dark); margin-bottom: 9px;
}

/* =====================================================
   TICK LISTS
===================================================== */

.tick-list li {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 8px 0; font-size: 15.5px; line-height: 1.55; color: #44576a;
}
.tick-list li i { color: var(--blue); font-size: 15px; margin-top: 4px; flex-shrink: 0; }
.tick-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }

.dash-list li {
    position: relative; padding: 7px 0 7px 20px;
    color: var(--grey); font-size: 15px; line-height: 1.6;
}
.dash-list li::before {
    content: ""; position: absolute; left: 0; top: 16px;
    width: 8px; height: 2px; background: var(--blue);
}

/* =====================================================
   FEATURE / PILLAR BOXES
===================================================== */

.feature-box {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 26px 24px; transition: .35s;
}
.feature-box:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(40,60,80,.09); border-color: #bfd1df; }
.feature-box .fi {
    width: 50px; height: 50px; border-radius: 10px;
    background: var(--blue-light); color: var(--blue-dark);
    display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; transition: .3s;
}
.feature-box:hover .fi { background: var(--blue); color: #fff; }
.feature-box h3 { font-size: 19px; margin-bottom: 8px; }
.feature-box p { color: var(--grey); font-size: 15px; line-height: 1.6; }

.pillar-block {
    display: grid; grid-template-columns: 78px 1fr; gap: 24px;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 28px; margin-bottom: 18px; transition: .3s;
}
.pillar-block:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(40,60,80,.08); }
.pillar-num {
    width: 78px; height: 78px; border-radius: 12px;
    background: var(--blue-light); color: var(--blue-dark);
    display: grid; place-items: center; font-size: 27px;
}
.pillar-block h3 { font-size: 23px; margin-bottom: 8px; }

/* =====================================================
   TABLES
===================================================== */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; }

table.data {
    width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px;
}
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #e7edf2; }
table.data thead th {
    background: var(--dark); color: #fff; font-family: "Manrope", sans-serif;
    font-size: 14px; font-weight: 700; letter-spacing: .4px; white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: #f7fbfd; }
table.data td strong { color: var(--dark); }
table.data .yes { color: #3f8a63; font-weight: 700; }
table.data .no { color: #b0563f; font-weight: 700; }
table.data td:first-child { font-weight: 600; color: var(--dark); }

/* =====================================================
   ACCORDION (FAQ)
===================================================== */

.accordion { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid #e7edf2; }
.acc-head {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 700; color: var(--dark);
    padding: 19px 56px 19px 22px; position: relative; transition: .25s; line-height: 1.4;
}
.acc-head:hover { color: var(--blue-dark); background: #f8fbfd; }
.acc-head::after {
    content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--blue-light); color: var(--blue-dark);
    display: grid; place-items: center; font-size: 12px; transition: .3s;
}
.acc-item.open .acc-head::after { content: "\f068"; background: var(--blue); color: #fff; }
.acc-item.open .acc-head { color: var(--blue-dark); }

.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body-inner { padding: 0 56px 20px 22px; color: var(--grey); font-size: 15.5px; line-height: 1.7; }

/* =====================================================
   TESTIMONIALS
===================================================== */

.testi-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: .3s;
}
.testi-card:hover { box-shadow: 0 16px 36px rgba(40,60,80,.09); border-color: #c2d4e1; }
.stars { color: #e0a63c; font-size: 14px; letter-spacing: 2px; }
.testi-card blockquote { color: #47596b; font-size: 15.5px; line-height: 1.75; font-style: italic; }
.testi-foot { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 8px; border-top: 1px solid #eef2f6; }
.testi-foot img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testi-foot strong { display: block; font-size: 15px; color: var(--dark); }
.testi-foot span { font-size: 13px; color: var(--grey); }

.slider-wrap { position: relative; }
.slider-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; }
.slider-track::-webkit-scrollbar { height: 6px; }
.slider-track::-webkit-scrollbar-thumb { background: var(--blue-soft); border-radius: 10px; }
.slider-track > * { flex: 0 0 min(370px, 84%); scroll-snap-align: start; }
.slider-nav { display: flex; gap: 9px; margin-top: 18px; }
.slider-nav button {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--border); background: #fff; color: var(--dark);
    cursor: pointer; transition: .25s; font-size: 14px;
}
.slider-nav button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* before / after */
.ba-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-images figure { position: relative; }
.ba-images img { height: 230px; object-fit: cover; }
.ba-images figcaption {
    position: absolute; left: 12px; top: 12px;
    background: rgba(36,52,71,.86); color: #fff;
    font-size: 11.5px; font-weight: 800; letter-spacing: 1.3px;
    padding: 5px 10px; border-radius: 4px; text-transform: uppercase;
}
.ba-card .ba-body { padding: 20px 22px; }

/* =====================================================
   TEAM
===================================================== */

.team-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; transition: .35s; text-align: left;
}
.team-card:hover { transform: translateY(-7px); box-shadow: 0 18px 40px rgba(40,60,80,.11); border-color: #bfd1df; }
.team-photo { height: 280px; overflow: hidden; position: relative; background: var(--blue-light); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-body { padding: 20px 22px 24px; }
.team-body h3 { font-size: 19px; margin-bottom: 3px; }
.team-role { color: var(--blue-dark); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.team-body p { color: var(--grey); font-size: 14.5px; line-height: 1.6; }
.team-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.team-meta span {
    font-size: 12.5px; background: var(--blue-light); color: var(--blue-dark);
    padding: 5px 10px; border-radius: 5px; font-weight: 600;
}

/* =====================================================
   BLOG
===================================================== */

.post-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: .35s; height: 100%;
}
.post-card:hover { transform: translateY(-7px); box-shadow: 0 18px 40px rgba(40,60,80,.10); border-color: #bfd1df; }
.post-thumb { height: 200px; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-cat {
    align-self: flex-start; background: var(--blue-light); color: var(--blue-dark);
    font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
    padding: 5px 11px; border-radius: 4px; text-transform: uppercase;
}
.post-card h3 { font-size: 19px; line-height: 1.35; }
.post-card p { color: var(--grey); font-size: 14.5px; line-height: 1.6; }
.post-meta { display: flex; gap: 15px; color: var(--grey); font-size: 13px; margin-top: auto; padding-top: 10px; }
.post-meta i { color: var(--blue); margin-right: 5px; }

.article { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 38px; }
.article h2 { font-size: 27px; margin: 30px 0 12px; }
.article h3 { font-size: 21px; margin: 24px 0 10px; }
.article p { color: #4a5b6c; line-height: 1.85; font-size: 16.5px; margin-bottom: 15px; }
.article ul, .article ol { margin: 0 0 18px 20px; }
.article li { color: #4a5b6c; line-height: 1.8; font-size: 16px; margin-bottom: 8px; list-style: disc; }
.article ol li { list-style: decimal; }
.article blockquote {
    border-left: 3px solid var(--blue); background: var(--blue-light);
    padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 20px 0;
    color: var(--dark2); font-size: 16.5px; line-height: 1.7;
}
.article img { border-radius: 10px; margin: 20px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.article table th, .article table td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; }
.article table th { background: var(--blue-light); color: var(--dark); font-family: "Manrope", sans-serif; }

/* =====================================================
   FORMS
===================================================== */

.form-card {
    background: #fff; padding: 28px; border-radius: 12px;
    box-shadow: 0 10px 35px rgba(40,55,70,.07); border: 1px solid #e8eef3;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.three { grid-template-columns: repeat(3, 1fr); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--dark); }
.form-group label .req { color: #c0563d; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; border: 1px solid #d5dfe7; border-radius: 6px;
    padding: 12px 13px; font-family: inherit; font-size: 15px;
    outline: none; background: #fbfdff; color: #263445; transition: .25s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,127,168,.10);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .err { color: #c0563d; font-size: 13px; margin-top: 5px; display: block; }
.form-group input.is-invalid, .form-group select.is-invalid, .form-group textarea.is-invalid { border-color: #d78a76; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.alert {
    display: flex; gap: 12px; align-items: flex-start;
    border-radius: 9px; padding: 15px 18px; font-size: 15px; line-height: 1.6; margin-bottom: 20px;
}
.alert i { margin-top: 3px; }
.alert-success { background: #e8f5ee; border: 1px solid #bfe0cd; color: #2f6a4a; }
.alert-error { background: #fdecea; border: 1px solid #f2c7bf; color: #a24734; }
.alert-info { background: var(--blue-light); border: 1px solid #c4dbea; color: var(--dark2); }

.form-note { font-size: 13px; color: var(--grey); margin-top: 12px; line-height: 1.6; }

/* radio cards */
.radio-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card label {
    display: block; cursor: pointer; border: 1px solid var(--border);
    background: #fbfdff; border-radius: 10px; padding: 16px 15px; transition: .25s; height: 100%;
}
.radio-card label strong { display: block; font-family: "Manrope", sans-serif; font-size: 16px; color: var(--dark); margin-bottom: 4px; }
.radio-card label span { font-size: 13px; color: var(--grey); line-height: 1.5; display: block; }
.radio-card label .rate { color: var(--blue-dark); font-weight: 700; font-size: 13.5px; margin-top: 8px; display: block; }
.radio-card input:checked + label {
    border-color: var(--blue); background: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(79,127,168,.12);
}

/* result panel */
.result-panel {
    background: linear-gradient(135deg, #1f4058 0%, #2b5470 55%, #34627e 100%);
    color: #fff; border-radius: 14px; padding: 32px; position: relative; overflow: hidden;
}
.result-panel::before {
    content: ""; position: absolute; width: 260px; height: 260px;
    top: -140px; right: -70px; background: rgba(255,255,255,.06); border-radius: 50%;
}
.result-amount {
    font-family: "Manrope", sans-serif; font-size: clamp(34px, 5vw, 52px);
    font-weight: 800; line-height: 1.05; color: #fff; margin: 6px 0 4px;
}
.result-range { color: #cfe2ee; font-size: 15px; }
.result-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; position: relative; z-index: 2; }
.result-fact { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; padding: 14px 16px; }
.result-fact strong { display: block; font-family: "Manrope", sans-serif; font-size: 20px; color: #fff; }
.result-fact span { font-size: 12.5px; color: #c6dcea; }

.bar-row { margin-bottom: 13px; position: relative; z-index: 2; }
.bar-row .bar-head { display: flex; justify-content: space-between; font-size: 13.5px; color: #dceaf3; margin-bottom: 6px; gap: 12px; }
.bar-track { height: 8px; background: rgba(255,255,255,.14); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, #8fc0dd, #cde5f2); border-radius: 6px; }

/* =====================================================
   CTA BAND
===================================================== */

.cta-band {
    padding: 56px 0; color: #fff;
    background:
        linear-gradient(90deg, rgba(38,61,79,.92), rgba(61,91,114,.72)),
        url("/images/cta-bg.jpg") center/cover;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.12; margin-bottom: 9px; color: #fff; }
.cta-band p { font-size: 17px; color: #e0e9ef; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* partners */
.partner-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.partner-chip {
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    padding: 13px 20px; font-weight: 700; color: #46586a; font-size: 14.5px; transition: .25s;
}
.partner-chip:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-3px); }

/* contact blocks */
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-item > i { color: var(--blue); font-size: 20px; width: 26px; margin-top: 3px; }
.contact-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--grey); font-size: 15px; line-height: 1.6; }
.contact-item a:hover { color: var(--blue-dark); }

.map-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); line-height: 0; }
.map-frame iframe { width: 100%; height: 380px; border: 0; }

.whatsapp-float {
    position: fixed; right: 22px; bottom: 76px; z-index: 900;
    width: 48px; height: 48px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center;
    font-size: 22px; box-shadow: 0 8px 22px rgba(37,211,102,.35); transition: .3s;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); }

.scroll-top {
    position: fixed; right: 22px; bottom: 22px;
    width: 43px; height: 43px; border: none; border-radius: 50%;
    background: var(--blue); color: #fff; cursor: pointer; z-index: 900;
    opacity: 0; visibility: hidden; transition: .3s;
    box-shadow: 0 8px 20px rgba(40,60,75,.15);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); background: var(--blue-dark); }

/* =====================================================
   FOOTER
===================================================== */

footer {
    position: relative; overflow: hidden; color: #fff; padding: 54px 0 18px;
    background: linear-gradient(135deg, #1f4058 0%, #294f69 55%, #315d78 100%);
}
footer::before {
    content: ""; position: absolute; width: 280px; height: 280px;
    top: -150px; right: -80px; background: rgba(255,255,255,.05); border-radius: 50%; pointer-events: none;
}
footer::after {
    content: ""; position: absolute; width: 220px; height: 220px;
    bottom: -130px; left: -70px; background: rgba(255,255,255,.04); border-radius: 50%; pointer-events: none;
}

.footer-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 42px;
    padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-about { max-width: 370px; }
.footer-logo { width: 190px; height: 62px; display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.footer-about p { color: #d7e4ec; line-height: 1.7; font-size: 14.5px; }

.footer-cin {
    margin-top: 14px; font-size: 12.5px; color: #a9c4d5; line-height: 1.7;
    border-left: 2px solid rgba(255,255,255,.2); padding-left: 11px;
}

footer h3 {
    position: relative; font-size: 16px; font-weight: 700; color: #fff;
    margin-bottom: 18px; padding-bottom: 9px;
}
footer h3::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 28px; height: 2px; background: #9fc3d9; border-radius: 5px;
}

footer li { margin-bottom: 10px; }
footer li a { color: #cbdbe5; font-size: 14px; transition: color .25s ease, padding-left .25s ease; }
footer li a:hover { color: #fff; padding-left: 6px; }

.footer-contact li { display: flex; gap: 10px; color: #cbdbe5; font-size: 14px; line-height: 1.65; }
.footer-contact li i { color: #9fc3d9; margin-top: 4px; width: 15px; flex-shrink: 0; }
.footer-contact li a:hover { padding-left: 0; }

.footer-social { display: flex; gap: 9px; margin-top: 19px; }
.footer-social a {
    width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%; display: grid; place-items: center;
    color: #e2edf3; background: rgba(255,255,255,.06); font-size: 14px; transition: .3s;
}
.footer-social a:hover { background: #fff; border-color: #fff; color: #294f69; transform: translateY(-4px); }

.footer-bottom {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding-top: 18px; color: #b9ccd8; font-size: 12.5px; flex-wrap: wrap;
}
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a:hover { color: #fff; }

/* =====================================================
   ANIMATIONS
===================================================== */

.reveal { opacity: 0; transform: translateY(32px); transition: .8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-32px); transition: .8s ease; }
.fade-left.active { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(32px); transition: .8s ease; }
.fade-right.active { opacity: 1; transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal, .fade-left, .fade-right { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* =====================================================
   UTILITIES
===================================================== */

.mt-0 { margin-top: 0; }  .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 26px; } .mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 18px; } .mb-3 { margin-bottom: 26px; }
.text-center { text-align: center; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 12px; }

.callout {
    background: var(--blue-light); border: 1px solid #c8dcea;
    border-radius: 12px; padding: 24px 26px;
}
.callout h3 { font-size: 20px; margin-bottom: 8px; }
.callout p { color: #4a5b6c; font-size: 15.5px; line-height: 1.7; }

.side-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 12px; padding: 24px; margin-bottom: 18px;
}
.side-card h3 { font-size: 18px; margin-bottom: 14px; }

.empty-state {
    text-align: center; padding: 60px 20px; background: #fff;
    border: 1px dashed var(--border); border-radius: 12px; color: var(--grey);
}
.empty-state i { font-size: 34px; color: var(--blue-soft); margin-bottom: 14px; display: block; }

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1080px) {
    .nav-links { gap: 16px; }
    .nav-links a.nav-item { font-size: 14px; }
    .service-row, .service-row.reverse { grid-template-columns: 1fr; }
    .service-row .row-body, .service-row.reverse .row-body { padding: 26px; order: 0; }
    .service-row .row-img { min-height: 240px; }
}

@media (max-width: 1000px) {
    .grid-4, .process-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card.large { grid-column: span 2; }
    .split, .split.equal { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 0; }
    .split-media { min-height: 380px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .radio-cards { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .stat-item:nth-child(2)::after { display: none; }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 760px) {
    section { padding: 48px 0; }
    .topbar { display: none; }
    .navbar { height: 66px; }
    .logo, .logo img { width: 145px; height: 56px; }
    .menu-btn { display: block; }

    .nav-links {
        position: absolute; top: 66px; left: 0; width: 100%;
        background: #fff; flex-direction: column; align-items: stretch;
        gap: 0; padding: 8px 4%; display: none;
        box-shadow: 0 12px 20px rgba(30,50,65,.10);
        max-height: calc(100vh - 66px); overflow-y: auto;
    }
    .nav-links.show { display: flex; }
    .nav-links a.nav-item { width: 100%; padding: 12px 0; justify-content: space-between; }
    .nav-links a.nav-item::after { bottom: 5px; }

    .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; border-left: 2px solid var(--blue-soft);
        border-radius: 0; padding: 0 0 8px 12px; margin: 0 0 6px 4px;
        min-width: 0; display: none;
    }
    .has-drop.open .dropdown { display: block; }
    .has-drop:hover .dropdown { opacity: 1; visibility: visible; }
    .nav-btn { display: none; }

    .hero { min-height: auto; padding: 70px 0 60px; background-position: 62% center; }
    .hero h1 { font-size: 38px; }
    .hero-small { font-size: 12px; letter-spacing: 1px; }
    .hero-text { font-size: 16px; }
    .hero-strip { gap: 14px 20px; }

    .page-banner { padding: 52px 0 46px; }

    .grid-4, .grid-3, .grid-2, .process-grid, .projects-grid,
    .info-grid, .form-row, .form-row.three, .radio-cards,
    .tick-list.two-col, .timeline-cols, .result-facts, .ba-images {
        grid-template-columns: 1fr;
    }
    .project-card.large { grid-column: span 1; }
    .project-card { height: 265px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item::after { display: none !important; }
    .stat-item h3 { font-size: 29px; }

    .split-head { display: block; }
    .split-head .section-description { margin-top: 13px; }

    .split-media { min-height: 300px; height: 300px; }
    .pillar-block { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
    .pillar-num { width: 60px; height: 60px; font-size: 22px; }

    .timeline::before { left: 21px; }
    .timeline-item { padding-left: 60px; }
    .timeline-dot { width: 44px; height: 44px; font-size: 16px; }
    .timeline-card { padding: 20px; }

    .article { padding: 24px 20px; }
    .form-card { padding: 22px; }
    .cta-inner { display: block; }
    .cta-actions { margin-top: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom { display: block; line-height: 1.9; }
    .footer-bottom nav { margin-top: 6px; }
    .acc-head { font-size: 16px; padding-right: 50px; }
    .whatsapp-float { bottom: 72px; right: 18px; }
    .scroll-top { right: 18px; }
}

/* =====================================================
   ENQUIRY SUCCESS CARD (after AJAX submit)
===================================================== */

.enquiry-block [hidden] { display: none !important; }

.success-card {
    background: #fff;
    border: 1px solid #c8dcea;
    border-radius: 12px;
    padding: 34px 30px;
    text-align: center;
    box-shadow: 0 14px 40px rgba(40, 55, 70, .09);
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), #8fc0dd);
}

.success-card.is-visible { animation: successIn .45s ease both; }

@keyframes successIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.success-icon {
    width: 68px;
    height: 68px;
    margin: 4px auto 18px;
    border-radius: 50%;
    background: #e8f5ee;
    border: 2px solid #bfe0cd;
    color: #3f8a63;
    display: grid;
    place-items: center;
    font-size: 27px;
    animation: successPop .5s .1s ease both;
}

@keyframes successPop {
    0%   { transform: scale(.5); opacity: 0; }
    60%  { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.success-card h3 {
    font-size: 25px;
    line-height: 1.25;
    margin-bottom: 10px;
    color: var(--dark);
}

.success-card > p {
    color: var(--grey);
    font-size: 16px;
    line-height: 1.7;
    max-width: 460px;
    margin: 0 auto;
}

.success-steps {
    display: grid;
    gap: 10px;
    margin: 24px auto 6px;
    max-width: 420px;
    text-align: left;
}

.success-steps li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14.5px;
    color: #4a5b6c;
    line-height: 1.55;
}

.success-steps li i {
    color: var(--blue);
    font-size: 14px;
    margin-top: 3px;
    width: 17px;
    flex-shrink: 0;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    justify-content: center;
    margin-top: 26px;
}

.success-card .form-note { margin-top: 16px; }
.success-card .form-note a { color: var(--blue-dark); font-weight: 700; }

@media (max-width: 760px) {
    .success-card { padding: 26px 20px; }
    .success-card h3 { font-size: 21px; }
    .success-actions .btn { width: 100%; }
}

/* =====================================================
   CARD ROWS — flex so a trailing partial row centres
   instead of leaving a hole on the right.
   Full rows render identically to the old CSS grid.
===================================================== */

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 17px;
}

.cards > * { flex: 0 1 100%; }

.cards.cols-4 > * { flex-basis: calc((100% - 3 * 17px) / 4 - 0.02px); }

.cards.cols-3 { gap: 20px; }
.cards.cols-3 > * { flex-basis: calc((100% - 2 * 20px) / 3 - 0.02px); }

.cards.cols-2 { gap: 22px; }
.cards.cols-2 > * { flex-basis: calc((100% - 22px) / 2 - 0.02px); }

/* shorter media panel where the copy beside it is brief */
.split-media.compact { min-height: 390px; }

@media (max-width: 1000px) {
    .cards.cols-4 > *,
    .cards.cols-3 > * { flex-basis: calc((100% - 17px) / 2 - 0.02px); }
    .split-media.compact { min-height: 340px; }
}

@media (max-width: 760px) {
    .cards > * { flex-basis: 100%; }
    .split-media.compact { min-height: 280px; height: 280px; }
}

/* =====================================================
   PAGE SPLIT — a two-column page section.
   Set the ratio where it is used, e.g.
       <div class="page-split" style="--col-split: .85fr 1.15fr;">
   The ratio only applies on desktop; below 1000px it always
   becomes a single column.
   (Not to be confused with .tick-list.two-col, which is a
   two-column bullet list.)
===================================================== */

.page-split {
    display: grid;
    grid-template-columns: var(--col-split, 1fr 1fr);
    gap: 44px;
    align-items: start;
}

@media (max-width: 1000px) {
    .page-split {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

/* Grid and flex children refuse to shrink below their content by default,
   so a wide table or long word can push the whole page sideways on a phone.
   This lets them shrink; the wide item scrolls inside its own box instead. */
.page-split > *,
.split > *,
.cards > *,
.grid-2 > *, .grid-3 > *, .grid-4 > * {
    min-width: 0;
}

/* =====================================================
   MOBILE FIXES
   These come last on purpose. The .cards.cols-N rules above
   use two class names, so a plain ".cards > *" override is
   not specific enough to beat them - the selectors here match
   that specificity so phones really do get one card per row.
===================================================== */

@media (max-width: 760px) {

    /* one card per row on a phone */
    .cards.cols-4 > *,
    .cards.cols-3 > *,
    .cards.cols-2 > * {
        flex-basis: 100%;
    }

    /* hero heading has to fit a 375px screen without clipping */
    .hero h1 { font-size: 34px; line-height: 1.1; }
    .hero { padding: 56px 0 50px; }
    .hero-small { font-size: 11.5px; letter-spacing: 1px; }

    /* long words (emails, CIN numbers, URLs) must wrap, not spill */
    h1, h2, h3, h4, p, li, td, th, a, span { overflow-wrap: break-word; }

    /* buttons go full width so they are easy to tap */
    .hero-buttons .btn,
    .cta-actions .btn,
    .flex-wrap > .btn { width: 100%; }

    /* keep the floating buttons clear of the content */
    .whatsapp-float { bottom: 78px; right: 14px; width: 46px; height: 46px; font-size: 21px; }
    .scroll-top { bottom: 20px; right: 14px; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 30px; }
    .section-title { font-size: 27px; }
    .container, .container-sm { width: 92%; }
    .btn { padding: 12px 16px; font-size: 14.5px; }
}

/* The in-menu "Get Free Quote" button only exists for phones. */
.nav-cta-mobile { display: none; }

@media (max-width: 760px) {
    /* hamburger needs a proper 44px tap area */
    .menu-btn {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-right: -8px;
    }

    .nav-cta-mobile { display: block; width: 100%; padding: 12px 0 8px; }
    .nav-cta-mobile .btn { width: 100%; }

    /* every menu row is comfortably tappable */
    .nav-links a.nav-item { padding: 13px 0; min-height: 44px; align-items: center; }
    .dropdown a { padding: 12px; min-height: 42px; }
}

/* iOS zooms the page in when you tap an input whose text is under 16px,
   which throws the layout off. Keep form text at 16px on phones. */
@media (max-width: 760px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 13px 13px;
    }
}

/* =====================================================
   PAGE BANNER — text on the left, small form on the right
===================================================== */

.banner-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 44px;
    align-items: center;
}

/* banners without a form, and centred banners, use the full width */
.page-banner:not(.has-form) .banner-inner { grid-template-columns: 1fr; }

.page-banner.is-center { text-align: center; }
.page-banner.is-center .banner-inner { grid-template-columns: 1fr; justify-items: center; }
.page-banner.is-center .breadcrumb { justify-content: center; }
.page-banner.is-center h1 { margin-left: auto; margin-right: auto; }
.page-banner.is-center p { margin-left: auto; margin-right: auto; }

/* a banner carrying a form needs a little more breathing room */
.page-banner.has-form { padding: 60px 0; }
.page-banner.has-form h1 { font-size: clamp(30px, 3.6vw, 44px); }
.page-banner.has-form p { font-size: 16.5px; }

/* =====================================================
   MINI ENQUIRY FORM (banner and popup)
===================================================== */

.enquiry-mini .form-card {
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(10, 28, 43, .22);
}

.enquiry-mini .mini-head { margin-bottom: 16px; }
.enquiry-mini .mini-head h3 { font-size: 20px; margin-bottom: 5px; }
.enquiry-mini .mini-head p { font-size: 13.5px; color: var(--grey); line-height: 1.55; }

.enquiry-mini .form-group { margin-bottom: 11px; }
.enquiry-mini .form-group label { font-size: 13px; margin-bottom: 5px; }
.enquiry-mini .form-group input,
.enquiry-mini .form-group select { padding: 10px 12px; font-size: 14.5px; }

.enquiry-mini .form-note { font-size: 12px; margin-top: 10px; }

.enquiry-mini .success-card { padding: 26px 22px; }
.enquiry-mini .success-card h3 { font-size: 20px; }
.enquiry-mini .success-card > p { font-size: 14.5px; }
.enquiry-mini .success-icon { width: 54px; height: 54px; font-size: 21px; margin-bottom: 14px; }
.enquiry-mini .success-actions .btn { width: 100%; }

/* =====================================================
   ENQUIRY POPUP
===================================================== */

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(13, 30, 44, .62);
    backdrop-filter: blur(3px);
    display: grid;
    place-items: center;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .28s ease;
}

.popup-overlay[hidden] { display: none; }
.popup-overlay.is-open { opacity: 1; }

.popup-box {
    position: relative;
    width: min(860px, 100%);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 30px 70px rgba(10, 28, 43, .35);
    transform: translateY(18px) scale(.98);
    transition: transform .3s ease;
    margin: auto;
}

.popup-overlay.is-open .popup-box { transform: translateY(0) scale(1); }

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    font-size: 15px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .22s;
}
.popup-close:hover { background: var(--dark); border-color: var(--dark); color: #fff; transform: rotate(90deg); }

.popup-aside {
    background: linear-gradient(150deg, #1f4058 0%, #294f69 55%, #315d78 100%);
    color: #fff;
    padding: 30px 28px;
}
/* the logo artwork is dark navy, so it needs a light chip behind it
   to stay readable on the dark blue panel */
.popup-logo {
    width: 162px;
    height: 54px;
    margin-bottom: 18px;
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
}
.popup-logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.popup-aside h4 { font-size: 22px; color: #fff; line-height: 1.25; margin-bottom: 10px; }
.popup-aside p { color: #d3e3ee; font-size: 14.5px; line-height: 1.65; }
.popup-aside ul { margin-top: 16px; display: grid; gap: 8px; }
.popup-aside li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: #e3eef5; }
.popup-aside li i { color: #9fc3d9; font-size: 13px; margin-top: 3px; }

.popup-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 7px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    transition: .22s;
}
.popup-call:hover { background: #fff; color: #294f69; }

.popup-main { padding: 26px 24px; }

/* inside the popup the form has no card of its own */
.popup-main .enquiry-mini .form-card { padding: 0; box-shadow: none; border: none; background: transparent; }
.popup-main .enquiry-mini .success-card { padding: 6px 0; box-shadow: none; border: none; }
.popup-main .enquiry-mini .success-card::before { display: none; }

/* stop the page behind the popup from scrolling */
body.popup-open { overflow: hidden; }

/* =====================================================
   BANNER + POPUP — TABLET AND MOBILE
===================================================== */

@media (max-width: 1000px) {
    .banner-inner { grid-template-columns: 1fr; gap: 30px; }
    .banner-form { max-width: 460px; }
    .page-banner.has-form { padding: 48px 0; }

    .popup-box { grid-template-columns: 1fr; }
    .popup-aside { padding: 24px 22px; }
    .popup-aside ul { display: none; }
    .popup-aside p { font-size: 14px; }
}

@media (max-width: 760px) {
    .banner-form { max-width: 100%; }
    .enquiry-mini .form-card { padding: 18px; }

    .popup-overlay { padding: 12px; align-items: start; }
    .popup-box { margin-top: 20px; }
    .popup-logo { width: 130px; height: 42px; margin-bottom: 12px; }
    .popup-aside { padding: 20px 18px 18px; }
    .popup-aside h4 { font-size: 19px; }
    .popup-call { margin-top: 14px; }
    .popup-main { padding: 20px 18px 22px; }

    /* the mini form keeps 16px inputs so iOS does not zoom */
    .enquiry-mini .form-group input,
    .enquiry-mini .form-group select { font-size: 16px; padding: 12px; }
}

/* =====================================================
   HOME HERO — enquiry form beside the headline
===================================================== */

/* the headline column can be narrower now that a form sits next to it */
.hero-inner .hero h1,
.hero-inner .hero-text { max-width: 100%; }

.hero-form { position: relative; z-index: 2; }

@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr 330px; gap: 34px; }
}

@media (max-width: 1000px) {
    /* stack: headline first, then the form */
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero { min-height: 0; padding: 70px 0 60px; }
    .hero-form { max-width: 460px; }
}

@media (max-width: 760px) {
    .hero-form { max-width: 100%; }
    .hero { padding: 48px 0 46px; }
    .hero-strip { display: none; }   /* keeps the phone hero from getting very tall */
}
