/* ============================================================
   Ripple Builders - Classic Bangladeshi Builder & Tradesman Site
   Optimized for: Laptops, Desktops, iPhone (iOS) & Samsung (Android)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Tiro+Bangla:ital@0;1&display=swap');

:root {
    --primary-green: #114b33;
    --dark-green: #0d3826;
    --light-green: #1b6345;
    --accent-red: #991b1b;
    --bright-red: #dc2626;
    --accent-amber: #b45309;
    --gold-yellow: #facc15;
    --bg-page: #dde5dd;
    --border-gray: #cbd5e1;
    --text-dark: #1e293b;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top: env(safe-area-inset-top, 0px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(17, 75, 51, 0.15);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Hind Siliguri', Tahoma, Verdana, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #222222;
    background-color: var(--bg-page);
    background-image: linear-gradient(90deg, rgba(17, 75, 51, 0.05) 1px, transparent 1px),
                      linear-gradient(rgba(17, 75, 51, 0.05) 1px, var(--bg-page) 1px);
    background-size: 20px 20px;
    overflow-x: hidden;
    padding-bottom: 60px; /* Space for mobile floating bar on phones */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: #0b5394;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Page Frame / Classic Boxed Container for Laptops & Desktops */
.site-wrapper {
    max-width: 1080px;
    margin: 15px auto;
    background-color: #ffffff;
    border: 2px solid #829487;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    position: relative;
}

/* 1. TOP OFFICIAL STRIP */
.top-header-strip {
    background-color: var(--primary-green);
    color: #f0fdf4;
    padding: 7px 15px;
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--accent-amber);
    flex-wrap: wrap;
    gap: 8px;
}

.top-left-info span {
    margin-right: 18px;
    display: inline-block;
}

.top-left-info i-badge {
    background-color: var(--accent-amber);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 600;
}

.top-right-contact {
    color: #fef08a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-right-contact a {
    color: #fef08a;
    font-weight: bold;
}

.lang-switch-box {
    display: inline-flex;
    align-items: center;
    background: #092e1f;
    border: 1px solid #238059;
    border-radius: 3px;
    padding: 2px 4px;
    gap: 3px;
    margin-left: 6px;
}

.lang-switch-box span.lang-label {
    font-size: 11px;
    color: #cbd5e1;
    margin-right: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 8px;
    min-height: 28px;
    border-radius: 2px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: #1e6b4b;
    color: #fef08a;
}

.lang-btn.active {
    background: var(--bright-red);
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 2. MAIN HEADER */
.main-header {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8f4 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-gray);
    flex-wrap: wrap;
    gap: 15px;
}

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

.brand-emblem {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #1e6b4b, #0c3825);
    border: 3px solid var(--accent-amber);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.brand-emblem .letters {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--gold-yellow);
    letter-spacing: 1px;
    font-family: Georgia, serif;
}

.brand-emblem .sub {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    color: #e2e8f0;
    margin-top: 3px;
    letter-spacing: 0.5px;
}

.brand-text h1 {
    font-size: 25px;
    color: var(--primary-green);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: Georgia, 'Times New Roman', serif;
}

.brand-text .bengali-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-red);
    display: block;
    margin-top: 2px;
}

.brand-text .tagline {
    font-size: 12.5px;
    color: #475569;
    margin-top: 2px;
    font-weight: 500;
}

.header-action-card {
    background-color: #fefce8;
    border: 2px dashed #ca8a04;
    padding: 8px 14px;
    border-radius: 4px;
    text-align: right;
}

.action-card-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    display: block;
}

.action-card-phone {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: 0.5px;
    display: block;
}

.action-card-sub {
    font-size: 11px;
    color: #555555;
    display: block;
}

/* 3. CLASSIC NAVIGATION BAR */
.main-nav {
    background: linear-gradient(180deg, #1b6345 0%, var(--primary-green) 100%);
    border-top: 1px solid #238059;
    border-bottom: 3px solid var(--accent-red);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Mobile Nav Toggle Bar (Hidden on Laptop, Visible on Phones) */
.mobile-nav-toggle-bar {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
}

.mobile-nav-btn {
    background: #0d3826;
    border: 1px solid #238059;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

.mobile-nav-btn:active {
    background: var(--accent-red);
}

.mobile-urgent-hiring-btn {
    background: var(--bright-red);
    color: #ffffff !important;
    font-weight: bold;
    font-size: 12.5px;
    padding: 6px 10px;
    border-radius: 3px;
    border: 1px solid #facc15;
    text-decoration: none;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-nav li {
    border-right: 1px solid #247553;
}

.main-nav a {
    display: block;
    padding: 11px 18px;
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--accent-red);
    color: #fef08a;
}

.main-nav a.nav-hire-special {
    background-color: var(--accent-amber);
    color: #ffffff;
}

.main-nav a.nav-hire-special:hover {
    background-color: var(--accent-red);
    color: #ffffff;
}

/* 4. NEWS & HIRING TICKER BAR */
.marquee-bar {
    background-color: #fef9c3;
    border-bottom: 2px solid #ca8a04;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.marquee-badge {
    background-color: var(--bright-red);
    color: #ffffff;
    font-weight: 700;
    padding: 7px 14px;
    white-space: nowrap;
    border-right: 2px solid #ca8a04;
    font-size: 12.5px;
    flex-shrink: 0;
}

.marquee-content {
    padding: 6px 12px;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    color: #1c1917;
    font-weight: 600;
}

.marquee-content:hover .marquee-text {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* 5. HERO / BANNER SECTION */
.hero-block {
    padding: 16px 20px;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-gray);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 16px;
}

.hero-intro-card {
    background: linear-gradient(135deg, #11422d 0%, #185c3e 100%);
    border: 2px solid #0f3d2a;
    border-radius: 4px;
    padding: 22px;
    color: #ffffff;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-tag {
    display: inline-block;
    background-color: var(--gold-yellow);
    color: #1e293b;
    font-weight: 800;
    font-size: 11.5px;
    padding: 3px 10px;
    border-radius: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    width: fit-content;
}

.hero-intro-card h2 {
    font-size: 22px;
    color: #ffffff;
    font-family: Georgia, serif;
    line-height: 1.3;
    margin-bottom: 4px;
}

.hero-intro-card .hero-bengali-desc {
    font-size: 15.5px;
    color: #fef08a;
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-feature-points {
    list-style: none;
    margin-bottom: 18px;
    font-size: 13.5px;
}

.hero-feature-points li {
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.hero-feature-points li::before {
    content: "■";
    color: var(--gold-yellow);
    position: absolute;
    left: 0;
    font-size: 11px;
    top: 1px;
}

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

.btn-bangla-red {
    background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff;
    border: 1px solid #7f1d1d;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    min-height: 42px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
    transition: transform 0.1s ease;
}

.btn-bangla-red:hover,
.btn-bangla-red:active {
    background: #7f1d1d;
    color: #fef08a;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-bangla-yellow {
    background: linear-gradient(180deg, #fef08a 0%, #eab308 100%);
    color: #1e1e1e;
    border: 1px solid #a16207;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    min-height: 42px;
    transition: transform 0.1s ease;
}

.btn-bangla-yellow:hover,
.btn-bangla-yellow:active {
    background: #ca8a04;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Hero Right Box: Urgent Hiring Notice Card */
.hero-urgent-card {
    border: 2px solid var(--bright-red);
    background-color: #fffaf0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-urgent-card-header {
    background: linear-gradient(180deg, #b91c1c 0%, #991b1b 100%);
    color: #ffffff;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 14.5px;
    border-bottom: 2px solid #ca8a04;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-urgent-card-body {
    padding: 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.urgent-position-chips {
    list-style: none;
    margin: 10px 0;
}

.urgent-position-chips li {
    background-color: #ffffff;
    border: 1px solid var(--border-gray);
    border-left: 4px solid var(--bright-red);
    padding: 8px 10px;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.urgent-position-chips .vac-count {
    background-color: var(--bright-red);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.urgent-call-box {
    background-color: #ffffff;
    border: 2px dashed var(--bright-red);
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    margin-top: 10px;
}

.urgent-call-box strong {
    color: var(--accent-red);
    font-size: 13px;
    display: block;
}

.urgent-call-box .direct-phone {
    font-size: 19px;
    color: var(--primary-green);
    font-weight: 800;
    display: block;
    margin: 2px 0;
}

/* 6. CONTENT LAYOUT */
.main-content {
    padding: 20px;
}

/* Classic Standard Box Section */
.standard-box {
    border: 1px solid #94a3b8;
    background-color: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.box-title-bar {
    background: linear-gradient(180deg, #1b6345 0%, var(--primary-green) 100%);
    color: #ffffff;
    padding: 10px 14px;
    font-size: 15.5px;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-amber);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.box-title-bar.red-title {
    background: linear-gradient(180deg, #b91c1c 0%, #881337 100%);
    border-bottom: 2px solid var(--gold-yellow);
}

.box-title-bar span.sub-text {
    font-size: 12.5px;
    color: #fef08a;
    font-weight: normal;
}

.box-body {
    padding: 16px;
}

/* About Grid */
.about-split {
    display: grid;
    grid-template-columns: 1.6fr 1.1fr;
    gap: 18px;
}

.about-prose p {
    margin-bottom: 12px;
    text-align: justify;
    font-size: 13.5px;
}

.office-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.office-info-table th,
.office-info-table td {
    border: 1px solid var(--border-gray);
    padding: 8px 10px;
    text-align: left;
}

.office-info-table th {
    background-color: #f1f5f9;
    color: var(--primary-green);
    font-weight: 700;
    width: 38%;
}

.office-info-table td {
    background-color: #ffffff;
}

/* 7. SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-card {
    border: 1px solid #94a3b8;
    background-color: #f8fafc;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
}

.service-card-head {
    background: #e2e8f0;
    border-bottom: 2px solid var(--primary-green);
    padding: 9px 12px;
    font-weight: 700;
    color: var(--primary-green);
    font-size: 14.5px;
}

.service-card-head .bn-sub {
    font-size: 13px;
    color: var(--accent-red);
    display: block;
    font-weight: 600;
}

.service-card-body {
    padding: 12px;
    font-size: 13px;
    flex-grow: 1;
}

.service-card-body p {
    margin-bottom: 8px;
}

.service-work-list {
    list-style: square;
    padding-left: 18px;
    color: #334155;
    font-size: 12.5px;
}

.service-work-list li {
    margin-bottom: 4px;
}

/* 8. TRADESMAN HIRING SECTION & CIRCULAR */
.hiring-box {
    border: 2px solid var(--bright-red);
    background-color: #ffffff;
    margin-bottom: 24px;
}

.circular-intro {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 3px;
    font-size: 13.5px;
}

.circular-intro strong {
    color: var(--accent-red);
}

/* Table container & scroll hint for touch devices */
.table-scroll-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-gray);
    margin-bottom: 18px;
}

.table-scroll-hint {
    background: #eff6ff;
    border: 1px dashed #3b82f6;
    color: #1e40af;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    margin-bottom: 8px;
    border-radius: 3px;
    display: none;
}

/* Vacancy Table */
.jobs-table {
    width: 100%;
    min-width: 620px; /* Ensures table remains legible on iPhone & Samsung screens */
    border-collapse: collapse;
    font-size: 13px;
}

.jobs-table th {
    background-color: var(--primary-green);
    color: #ffffff;
    border: 1px solid #0d3826;
    padding: 9px 10px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
}

.jobs-table td {
    border: 1px solid #94a3b8;
    padding: 9px 10px;
    vertical-align: middle;
}

.jobs-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.jobs-table tr.highlight-job {
    background-color: #fefce8;
    font-weight: 600;
}

.tag-carpenter {
    background-color: #78350f;
    color: #ffffff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 2px;
    font-weight: 700;
    display: inline-block;
    margin-left: 6px;
}

.tag-urgent {
    background-color: var(--bright-red);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 2px;
    font-weight: 700;
    display: inline-block;
    margin-left: 4px;
}

/* Hiring Split: Interactive Form + Walk-in Guidelines */
.hiring-split {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
    margin-top: 14px;
}

.form-panel {
    border: 1px solid #94a3b8;
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 3px;
}

.form-panel-title {
    color: var(--primary-green);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 6px;
}

.form-field {
    margin-bottom: 12px;
}

.form-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 13px;
    color: #1e293b;
}

.form-field label .req {
    color: var(--bright-red);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #64748b;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    background-color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
}

.form-field select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 32px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary-green);
    outline: 2px solid #86efac;
}

.form-help {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 3px;
}

.success-message-box {
    display: none;
    margin-top: 12px;
    padding: 12px;
    background-color: #dcfce7;
    border: 1px solid #22c55e;
    color: #14532d;
    font-weight: 600;
    font-size: 13.5px;
    border-radius: 3px;
}

/* Walk-in rules & requirements panel */
.walkin-panel {
    border: 1px solid #ca8a04;
    background-color: #fefce8;
    padding: 15px;
    border-radius: 3px;
}

.walkin-panel-title {
    color: var(--accent-red);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 1px solid #fde047;
    padding-bottom: 6px;
}

.walkin-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 13px;
}

.walkin-list li {
    margin-bottom: 6px;
}

.contact-officer-card {
    background-color: #ffffff;
    border: 1px solid var(--border-gray);
    padding: 10px;
    margin-top: 10px;
    border-radius: 2px;
}

.contact-officer-card .officer-name {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 13.5px;
}

.contact-officer-card .officer-role {
    font-size: 12px;
    color: #475569;
}

.contact-officer-card .officer-phone {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-red);
    margin-top: 4px;
    display: inline-block;
    padding: 3px 0;
}

/* 9. PROJECTS SECTION */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.project-card {
    border: 1px solid #94a3b8;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 2px;
}

.project-badge-header {
    height: 120px;
    background: #334155;
    border: 1px solid #94a3b8;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    position: relative;
    margin-bottom: 10px;
}

.project-badge-header.res-proj {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.project-badge-header.carp-proj {
    background: linear-gradient(135deg, #78350f 0%, #b45309 100%);
}

.project-badge-header.comm-proj {
    background: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
}

.project-status-pill {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: var(--gold-yellow);
    color: #1e293b;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 2px;
    border: 1px solid #ca8a04;
}

.project-badge-header .proj-type {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e2e8f0;
}

.project-badge-header .proj-name {
    font-size: 15px;
    font-weight: 700;
    margin-top: 2px;
}

.project-card h4 {
    font-size: 14.5px;
    color: var(--primary-green);
    margin-bottom: 4px;
}

.project-card p {
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 8px;
}

.project-details-mini {
    font-size: 12px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 8px;
}

/* 10. CLIENT QUOTATION & CONTACT SECTION */
.contact-split {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 18px;
}

.address-box-body h4 {
    color: var(--primary-green);
    font-size: 15px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 4px;
}

.address-item {
    margin-bottom: 14px;
    font-size: 13px;
}

.address-item strong {
    color: var(--accent-red);
    display: block;
    margin-bottom: 2px;
}

.bank-detail-box {
    background-color: #f8fafc;
    border: 1px dashed #64748b;
    padding: 10px;
    font-size: 12.5px;
    margin-top: 12px;
}

/* 11. FOOTER */
.site-footer {
    background-color: var(--dark-green);
    color: #e2e8f0;
    border-top: 4px solid var(--accent-amber);
    padding: 24px 20px 14px 20px;
    font-size: 13px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--gold-yellow);
    font-size: 14.5px;
    margin-bottom: 10px;
    border-bottom: 1px solid #1e6b4b;
    padding-bottom: 5px;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 6px;
}

.footer-links-list a {
    color: #cbd5e1;
    font-size: 12.5px;
}

.footer-links-list a:hover {
    color: var(--gold-yellow);
}

.footer-bottom-bar {
    border-top: 1px solid #1e6b4b;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom-bar .bd-flag-strip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
}

.bd-flag-dot {
    width: 14px;
    height: 14px;
    background-color: #006a4e;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.bd-flag-dot::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #f42a41;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
}

/* Filter buttons for Job Table */
.job-filter-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #e2e8f0;
    border: 1px solid #94a3b8;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    font-family: inherit;
    min-height: 36px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-green);
    color: #ffffff;
    border-color: #0d3826;
}

/* Mobile Floating Action Bar (Sticky at bottom for iPhone & Samsung) */
.mobile-floating-actions {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d3826;
    border-top: 2px solid var(--gold-yellow);
    padding: 6px 8px calc(6px + var(--safe-bottom)) 8px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
    justify-content: space-around;
    gap: 6px;
}

.m-float-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 700;
    font-size: 11.5px;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    min-height: 44px;
}

.m-float-btn .m-icon {
    font-size: 16px;
    margin-bottom: 2px;
}

.m-float-btn.m-call-btn {
    background: #15803d;
    border: 1px solid #16a34a;
}

.m-float-btn.m-apply-btn {
    background: var(--bright-red);
    border: 1px solid #f87171;
}

.m-float-btn.m-quote-btn {
    background: #d97706;
    border: 1px solid #f59e0b;
}

.m-float-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

/* ============================================================
   RESPONSIVE OPTIMIZATION (iPhone, Samsung Galaxy, Tablets & Laptops)
   ============================================================ */

/* 1. Medium Screens & Tablets (max-width: 992px) */
@media (max-width: 992px) {
    .site-wrapper {
        margin: 10px auto;
        max-width: 96%;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 2. Standard Mobile & Phablet (max-width: 768px) - iPhone 14/15/16, Samsung S22/S23/S24 */
@media (max-width: 768px) {
    body {
        background-image: none; /* Cleaner mobile rendering */
    }

    .site-wrapper {
        margin: 0;
        border: none;
        box-shadow: none;
        width: 100%;
        max-width: 100%;
    }

    /* Top Strip Stacking */
    .top-header-strip {
        padding: 8px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .top-left-info span {
        margin-right: 0;
        margin-bottom: 2px;
        font-size: 11.5px;
    }

    .top-right-contact {
        width: 100%;
        justify-content: space-between;
        font-size: 12px;
    }

    .lang-switch-box {
        margin-left: 0;
    }

    .lang-btn {
        padding: 5px 10px;
        min-height: 32px; /* Touch friendly on fingers */
    }

    /* Header adjustments */
    .main-header {
        padding: 12px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .brand-container {
        gap: 12px;
    }

    .brand-emblem {
        width: 58px;
        height: 58px;
    }

    .brand-emblem .letters {
        font-size: 22px;
    }

    .brand-text h1 {
        font-size: 21px;
    }

    .brand-text .bengali-title {
        font-size: 15px;
    }

    .brand-text .tagline {
        font-size: 11.5px;
    }

    .header-action-card {
        width: 100%;
        text-align: left;
        padding: 10px 12px;
    }

    .action-card-phone {
        font-size: 21px;
    }

    /* Mobile Navigation with Drawer Toggle */
    .mobile-nav-toggle-bar {
        display: flex;
    }

    .main-nav ul {
        display: none; /* Hidden by default on phone */
        flex-direction: column;
        width: 100%;
        background: #0f3d2a;
    }

    .main-nav ul.mobile-menu-open {
        display: flex;
    }

    .main-nav li {
        border-right: none;
        border-bottom: 1px solid #1e6b4b;
        width: 100%;
    }

    .main-nav a {
        padding: 12px 16px;
        font-size: 14.5px;
    }

    /* Hero Section */
    .hero-block {
        padding: 14px 12px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-intro-card {
        padding: 16px 14px;
    }

    .hero-intro-card h2 {
        font-size: 19px;
    }

    .hero-buttons-row {
        flex-direction: column;
    }

    .btn-bangla-yellow,
    .btn-bangla-red {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Content Grids */
    .main-content {
        padding: 12px 10px;
    }

    .about-split,
    .services-grid,
    .hiring-split,
    .projects-grid,
    .contact-split,
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .box-body {
        padding: 12px 10px;
    }

    /* Form Fields - Important for iOS Safari: Prevents auto-zoom! */
    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 16px !important; /* iOS Safari threshold to prevent zoom */
        padding: 11px 10px;
        min-height: 44px; /* Apple Human Interface Guideline minimum tap target */
    }

    /* Table Scroll hint on phones */
    .table-scroll-hint {
        display: block;
    }

    /* Show Mobile Sticky Floating Bar */
    .mobile-floating-actions {
        display: flex;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* 3. Small Mobile Phones (max-width: 375px) - iPhone SE, Galaxy Fold */
@media (max-width: 375px) {
    .brand-text h1 {
        font-size: 18px;
    }

    .brand-text .bengali-title {
        font-size: 13.5px;
    }

    .hero-intro-card h2 {
        font-size: 17px;
    }

    .hero-urgent-card-header {
        font-size: 13px;
        padding: 8px 10px;
    }

    .urgent-call-box .direct-phone {
        font-size: 17px;
    }
}
