/* Astha Nirman Builders - Bangladeshi Builder & Tradesman Site Styles */
/* Theme: Deep Navy + Construction Orange */

:root {
    --navy: #0e2a47;
    --navy-dark: #0a1f36;
    --navy-light: #e8eef5;
    --orange: #e8760f;
    --orange-dark: #c2610a;
    --gold: #fbbf24;
    --paper: #f4f2ec;
    --red: #b91c1c;
    --red-dark: #991b1b;
    --text-dark: #1f2937;
    --border: #d1d5db;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans Bengali', 'Segoe UI', Tahoma, Arial, sans-serif;
    background: var(--paper);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
}

a { color: #1d4ed8; text-decoration: none; }
a:hover { text-decoration: underline; }

.site-wrapper { max-width: 1280px; margin: 0 auto; background: #fff; box-shadow: 0 0 18px rgba(0,0,0,.08); }

/* ═══════════ 1. TOP STRIP ═══════════ */
.top-header-strip {
    background: var(--navy-dark);
    color: #e5e7eb;
    font-size: 12.5px;
    padding: 6px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.top-left-info { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.top-left-info i-badge {
    background: var(--orange);
    color: #fff;
    font-style: normal;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 3px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.top-right-contact { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.top-right-contact a { color: var(--gold); font-weight: 700; }

.lang-switch-box { display: flex; align-items: center; gap: 4px; }
.lang-label { color: #cbd5e1; }
.lang-btn {
    background: transparent;
    border: 1px solid #64748b;
    color: #cbd5e1;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 9px;
    cursor: pointer;
    border-radius: 3px;
    transition: all .15s;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ═══════════ 2. HEADER ═══════════ */
.main-header {
    background: linear-gradient(135deg, var(--navy) 0%, #173d63 100%);
    color: #fff;
    padding: 22px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-bottom: 4px solid var(--orange);
}

.brand-container { display: flex; gap: 16px; align-items: center; }
.brand-emblem {
    background: var(--orange);
    width: 74px;
    height: 74px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,.35);
    flex-shrink: 0;
}
.brand-emblem .letters { font-size: 26px; font-weight: 900; letter-spacing: 1px; }
.brand-emblem .sub { font-size: 9.5px; font-weight: 700; opacity: .9; }

.brand-text h1 { font-size: 27px; font-weight: 900; letter-spacing: .5px; }
.brand-text .bengali-title { display: block; font-size: 17px; font-weight: 700; color: var(--gold); margin-top: 2px; }
.brand-text .tagline { display: block; font-size: 12px; color: #cbd5e1; margin-top: 4px; }

.header-action-card {
    background: var(--navy-dark);
    border: 1px solid #2c4f78;
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}
.action-card-label { font-size: 11.5px; color: #cbd5e1; font-weight: 600; }
.action-card-phone { font-size: 22px; font-weight: 900; color: var(--gold); }
.action-card-sub { font-size: 10.5px; color: #94a3b8; }

/* ═══════════ 3. NAV ═══════════ */
.main-nav { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; }
.main-nav ul li a {
    display: block;
    color: #e2e8f0;
    font-size: 13.5px;
    font-weight: 600;
    padding: 12px 18px;
    border-right: 1px solid rgba(255,255,255,.1);
    transition: background .15s;
}
.main-nav ul li a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.main-nav ul li a.active { background: var(--orange); color: #fff; font-weight: 700; }
.main-nav .nav-hire-special { background: var(--red); color: #fff; font-weight: 700; }
.main-nav .nav-hire-special:hover { background: var(--red-dark); }

.mobile-nav-toggle-bar { display: none; padding: 10px 14px; gap: 10px; }
.mobile-nav-btn {
    flex: 1;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.mobile-urgent-hiring-btn {
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.mobile-urgent-hiring-btn:hover { text-decoration: none; background: var(--red-dark); }

/* ═══════════ 4. TICKER ═══════════ */
.marquee-bar {
    display: flex;
    background: #fff7ed;
    border-bottom: 2px solid var(--orange);
    overflow: hidden;
    align-items: center;
}
.marquee-badge {
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 8px 14px;
    white-space: nowrap;
    flex-shrink: 0;
}
.marquee-content { overflow: hidden; flex: 1; }
.marquee-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    font-size: 13.5px;
    font-weight: 600;
    color: #7c2d12;
    animation: marquee 28s linear infinite;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ═══════════ 5. HERO ═══════════ */
.hero-block {
    background:
        linear-gradient(rgba(14,42,71,.92), rgba(14,42,71,.92)),
        repeating-linear-gradient(45deg, #0e2a47 0 22px, #123257 22px 44px);
    padding: 34px 20px;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; max-width: 1200px; margin: 0 auto; }

.hero-intro-card {
    background: rgba(255,255,255,.97);
    border-radius: 10px;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    border-top: 5px solid var(--orange);
}
.hero-tag {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hero-intro-card h2 { font-size: 26px; line-height: 1.35; color: var(--navy); font-weight: 800; }
.hero-bengali-desc { font-size: 14.5px; color: #475569; margin-top: 8px; }

.hero-feature-points { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.hero-feature-points li { font-size: 13.5px; padding-left: 26px; position: relative; color: #334155; }
.hero-feature-points li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--orange);
    font-weight: 900;
}

.hero-buttons-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-bangla-yellow, .btn-bangla-red {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    padding: 11px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: filter .15s, transform .1s;
}
.btn-bangla-yellow { background: var(--gold); color: #451a03; }
.btn-bangla-red { background: var(--red); color: #fff; }
.btn-bangla-yellow:hover, .btn-bangla-red:hover { filter: brightness(1.08); text-decoration: none; transform: translateY(-1px); }

/* Urgent card */
.hero-urgent-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.hero-urgent-card-header {
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: 14.5px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-urgent-card-body { padding: 16px; }

.urgent-position-chips { list-style: none; display: grid; gap: 7px; margin: 10px 0; }
.urgent-position-chips li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-left: 4px solid var(--orange);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.urgent-position-chips .vac-count { background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 12px; flex-shrink: 0; margin-left: 8px; }

.urgent-call-box {
    background: #fff7ed;
    border: 1px dashed var(--orange);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
}
.urgent-call-box .direct-phone { font-size: 21px; font-weight: 900; color: var(--red); }

/* ═══════════ 6. CONTENT BOXES ═══════════ */
.main-content { max-width: 1200px; margin: 0 auto; padding: 26px 20px; display: grid; gap: 26px; }

.standard-box, .hiring-box { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; scroll-margin-top: 70px; }

.box-title-bar {
    background: var(--navy);
    color: #fff;
    font-size: 16.5px;
    font-weight: 800;
    padding: 13px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.box-title-bar .sub-text { font-size: 12px; font-weight: 600; background: rgba(255,255,255,.15); padding: 3px 12px; border-radius: 20px; }
.box-title-bar.red-title { background: var(--red); }
.box-body { padding: 20px; }

/* About */
.about-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.about-prose p { font-size: 14px; margin-bottom: 12px; color: #334155; text-align: justify; }

.office-info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.office-info-table th, .office-info-table td { border: 1px solid var(--border); padding: 9px 11px; text-align: left; vertical-align: top; }
.office-info-table th { background: var(--navy-light); color: var(--navy); font-weight: 700; width: 42%; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; background: #fff; }
.service-card:hover { box-shadow: 0 6px 16px rgba(14,42,71,.14); transform: translateY(-3px); }
.service-card-head { background: var(--navy-light); border-bottom: 3px solid var(--orange); padding: 13px 15px; }
.service-card-head span { display: block; font-weight: 800; font-size: 14.5px; color: var(--navy); }
.service-card-head .bn-sub { font-size: 12px; font-weight: 600; color: var(--orange-dark); margin-top: 2px; }
.service-card-body { padding: 13px 15px; flex: 1; display: flex; flex-direction: column; }
.service-card-body p { font-size: 12.8px; color: #475569; margin-bottom: 10px; }
.service-work-list { list-style: none; margin-top: auto; }
.service-work-list li { font-size: 12.5px; padding: 5px 0 5px 20px; position: relative; border-top: 1px dashed #e2e8f0; color: #334155; }
.service-work-list li::before { content: "▸"; position: absolute; left: 2px; color: var(--orange); font-weight: 900; }

/* ═══════════ 7. HIRING ═══════════ */
.circular-intro { background: #fef9c3; border: 1px solid #eab308; border-left: 5px solid #eab308; border-radius: 5px; padding: 13px 15px; font-size: 13.5px; margin-bottom: 16px; color: #713f12; }

.job-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.filter-btn {
    background: #fff;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all .15s;
}
.filter-btn:hover { background: var(--navy-light); }
.filter-btn.active { background: var(--navy); color: #fff; }

.table-scroll-hint { display: none; font-size: 12px; color: #92400e; background: #fef3c7; border: 1px solid #f59e0b; padding: 6px 10px; border-radius: 5px; margin-bottom: 8px; }
.table-scroll-container { overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; }

.jobs-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; }
.jobs-table th { background: var(--navy); color: #fff; padding: 11px 12px; text-align: left; font-size: 12.5px; white-space: nowrap; }
.jobs-table td { padding: 11px 12px; border-top: 1px solid var(--border); vertical-align: top; color: #374151; }
.jobs-table tbody tr:nth-child(even) { background: #f8fafc; }
.jobs-table tbody tr:hover { background: var(--navy-light); }
.jobs-table .highlight-job { background: #fff7ed !important; border-left: 4px solid var(--red); }
.jobs-table td strong { color: var(--navy); display: block; margin-bottom: 4px; }

.tag-urgent, .tag-mason, .tag-carpenter {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 3px;
    margin: 2px 3px 2px 0;
}
.tag-urgent { background: var(--red); color: #fff; }
.tag-mason { background: #fef3c7; color: #92400e; border: 1px solid #f59e0b; }
.tag-carpenter { background: #dcfce7; color: #166534; border: 1px solid #22c55e; }

/* Hiring split */
.hiring-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }

.form-panel, .walkin-panel { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; align-self: start; }
.form-panel-title { background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; padding: 12px 15px; }
.walkin-panel-title { background: var(--orange); color: #fff; font-weight: 800; font-size: 14px; padding: 12px 15px; }
.form-panel form, .walkin-panel { padding: 16px; }
.walkin-panel { padding: 0; }
.walkin-panel > p, .walkin-panel > ul, .walkin-panel > div { margin-left: 16px; margin-right: 16px; }
.walkin-panel > p:first-of-type { margin-top: 14px; }

.form-field { margin-bottom: 13px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; color: var(--navy); }
.form-field .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    padding: 9px 11px;
    border: 1.5px solid var(--border);
    border-radius: 5px;
    background: #fff;
    transition: border-color .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,118,15,.15); }
.form-field textarea { resize: vertical; }
.form-help { font-size: 11.5px; color: #64748b; margin-top: 4px; }

.walkin-list { list-style: none; margin-top: 4px; margin-bottom: 14px; }
.walkin-list li { font-size: 13px; padding: 6px 0 6px 24px; position: relative; border-bottom: 1px dashed #e2e8f0; color: #334155; }
.walkin-list li::before { content: "📄"; position: absolute; left: 0; top: 6px; font-size: 13px; }

.contact-officer-card { background: var(--navy-light); border: 1px solid #cbd5e1; border-left: 4px solid var(--navy); border-radius: 6px; padding: 11px 13px; margin-bottom: 10px; }
.contact-officer-card .officer-name { font-size: 13.5px; font-weight: 800; color: var(--navy); }
.contact-officer-card .officer-role { font-size: 12px; color: #64748b; }
.contact-officer-card .officer-phone { display: inline-block; font-size: 16px; font-weight: 900; color: var(--red); margin-top: 4px; }

.success-message-box { margin-top: 12px; }
.success-message-box .ok-box {
    background: #dcfce7;
    border: 1px solid #16a34a;
    border-left: 5px solid #16a34a;
    color: #14532d;
    padding: 12px 14px;
    border-radius: 5px;
    font-size: 13.5px;
    font-weight: 600;
}

/* ═══════════ 8. PROJECTS ═══════════ */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.project-card:hover { box-shadow: 0 6px 16px rgba(14,42,71,.14); transform: translateY(-3px); }
.project-card h4 { font-size: 14.5px; color: var(--navy); padding: 12px 15px 0; }
.project-card p { font-size: 12.8px; color: #475569; padding: 6px 15px; }
.project-details-mini { font-size: 12px; color: #334155; background: #f8fafc; border-top: 1px dashed var(--border); padding: 9px 15px; margin-top: 8px; }

.project-badge-header { padding: 12px 15px; color: #fff; display: flex; flex-direction: column; gap: 3px; }
.project-badge-header.res-proj { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.project-badge-header.carp-proj { background: linear-gradient(135deg, #047857, #065f46); }
.project-badge-header.comm-proj { background: linear-gradient(135deg, #b45309, #92400e); }
.project-status-pill { background: rgba(255,255,255,.22); font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 12px; align-self: flex-start; text-transform: uppercase; letter-spacing: .5px; }
.proj-type { font-size: 11px; opacity: .85; font-weight: 600; }
.proj-name { font-size: 16px; font-weight: 800; }

/* ═══════════ 9. QUOTATION / CONTACT ═══════════ */
.contact-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }

.address-box-body { background: var(--navy-light); border: 1px solid #cbd5e1; border-radius: 8px; padding: 18px; }
.address-box-body h4 { color: var(--navy); font-size: 15.5px; margin-bottom: 12px; border-bottom: 2px solid var(--orange); padding-bottom: 8px; }
.address-item { margin-bottom: 14px; font-size: 13px; color: #334155; }
.address-item strong { display: block; color: var(--navy); margin-bottom: 3px; }
.bank-detail-box { background: #fefce8; border: 1px solid #eab308; border-radius: 6px; padding: 12px; font-size: 12.8px; color: #713f12; margin-top: 6px; }

/* ═══════════ 10. FOOTER ═══════════ */
.site-footer { background: var(--navy-dark); color: #e2e8f0; margin-top: 10px; }
.footer-columns { max-width: 1200px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.footer-col h4 { color: var(--gold); font-size: 15px; margin-bottom: 12px; border-bottom: 1px solid #2c4f78; padding-bottom: 8px; }
.footer-links-list { list-style: none; }
.footer-links-list li a { color: #cbd5e1; font-size: 13px; display: block; padding: 4px 0; }
.footer-links-list li a:hover { color: var(--gold); }

.footer-bottom-bar {
    border-top: 1px solid #2c4f78;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: #94a3b8;
    max-width: 1200px;
    margin: 0 auto;
}
.bd-flag-strip { display: flex; align-items: center; gap: 7px; }
.bd-flag-dot { width: 14px; height: 9px; background: #006a4e; display: inline-block; border-radius: 1px; position: relative; overflow: hidden; }
.bd-flag-dot::after { content: ""; position: absolute; left: 2.5px; top: 1.5px; width: 5px; height: 5px; background: #f42a41; border-radius: 50%; }

/* ═══════════ 11. MOBILE FLOATING BAR ═══════════ */
.mobile-floating-actions { display: none; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
    .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; }
    .about-split { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .main-nav ul { display: none; flex-direction: column; }
    .main-nav ul.open { display: flex; }
    .main-nav ul li a { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
    .mobile-nav-toggle-bar { display: flex; }
    .table-scroll-hint { display: block; }
    .hiring-split, .contact-split { grid-template-columns: 1fr; }
    .brand-text h1 { font-size: 22px; }
    .hero-intro-card h2 { font-size: 21px; }
    .top-header-strip { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; gap: 22px; }
    .main-header { padding: 16px 14px; }
    .brand-emblem { width: 60px; height: 60px; }
    .brand-emblem .letters { font-size: 21px; }
    .header-action-card { width: 100%; }
    .main-content { padding: 18px 12px; }
    .hero-block { padding: 22px 12px; }

    .mobile-floating-actions {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 60;
        background: var(--navy-dark);
        border-top: 2px solid var(--orange);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
        gap: 4px;
    }
    .m-float-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 11px;
        font-weight: 700;
        padding: 8px 4px;
        border-radius: 6px;
        color: #fff;
    }
    .m-float-btn:hover { text-decoration: none; filter: brightness(1.15); }
    .m-float-btn .m-icon { font-size: 19px; }
    .m-call-btn { background: var(--navy); }
    .m-apply-btn { background: var(--red); }
    .m-quote-btn { background: var(--orange); }
    body { padding-bottom: 64px; }
}
