/* ============================================================
   Bani Masoom — Company Website Styles
   Navy (#0D2137, #1B3A6B) + Gold (#C9973E) Engineering Theme
   ============================================================ */

:root {
    --bm-navy:        #0D2137;
    --bm-navy-light:  #1B3A6B;
    --bm-navy-mid:    #163055;
    --bm-gold:        #C9973E;
    --bm-gold-light:  #E8B96C;
    --bm-gold-pale:   #F5E6C8;
    --bm-white:       #FFFFFF;
    --bm-gray-light:  #F4F6F9;
    --bm-gray:        #6C7A8D;
    --bm-text:        #1A2332;
}

/* ── Base ── */
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--bm-text); }

main > .container {
    padding-top: 0;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.not-set { color: var(--bs-danger); font-style: italic; }

a.asc:after, a.desc:after {
    content: ''; left: 3px; display: inline-block;
    width: 0; height: 0; border: solid 5px transparent;
    margin: 4px 4px 2px 4px; background: transparent;
}
a.asc:after  { border-bottom: solid 7px var(--bs-body-color); border-top-width: 0; }
a.desc:after { border-top:    solid 7px var(--bs-body-color); border-bottom-width: 0; }
.grid-view th { white-space: nowrap; }
.hint-block { display: block; margin-top: 5px; color: var(--bs-secondary-color); }
.error-summary {
    color: var(--bs-danger-text-emphasis);
    background: var(--bs-danger-bg-subtle);
    border-left: 3px solid var(--bs-danger-border-subtle);
    padding: 10px 20px; margin: 0 0 15px 0;
}

/* ── Navbar ── */
.bm-navbar {
    background: var(--bm-navy) !important;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.bm-navbar .navbar-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1rem;
    color: var(--bm-white) !important;
    padding: 10px 0;
}
.bm-navbar .navbar-brand img { height: 44px; width: auto; }
.bm-navbar .brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.bm-navbar .brand-name { font-size: 0.9rem; font-weight: 700; color: var(--bm-white); }
.bm-navbar .brand-sub { font-size: 0.65rem; color: var(--bm-gold-light); font-weight: 400; letter-spacing: 0.5px; }
.bm-navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500; font-size: 0.88rem; padding: 1.2rem 1rem !important;
    transition: color 0.2s;
}
.bm-navbar .nav-link:hover,
.bm-navbar .nav-link.active { color: var(--bm-gold) !important; }
.bm-navbar .nav-link.active { border-bottom: 2px solid var(--bm-gold); }
.bm-navbar .btn-nav-cta {
    background: var(--bm-gold); color: var(--bm-navy) !important;
    border: none; border-radius: 4px; font-weight: 700;
    padding: 0.45rem 1.2rem !important; margin-left: 0.5rem;
}
.bm-navbar .btn-nav-cta:hover { background: var(--bm-gold-light); }

/* ── Hero Section ── */
.hero-section {
    background: linear-gradient(135deg, var(--bm-navy) 0%, var(--bm-navy-light) 60%, #1e4a8c 100%);
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden; margin-top: 0;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section .hero-inner { position: relative; z-index: 1; padding: 120px 0 80px; width: 100%; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,151,62,0.15); border: 1px solid rgba(201,151,62,0.4);
    color: var(--bm-gold-light); border-radius: 50px;
    padding: 6px 16px; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800; color: var(--bm-white);
    line-height: 1.15; margin-bottom: 1.2rem;
}
.hero-section h1 span { color: var(--bm-gold); }
.hero-section .lead { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-hero-primary {
    background: var(--bm-gold); color: var(--bm-navy);
    border: none; padding: 0.8rem 2rem; font-weight: 700;
    border-radius: 4px; font-size: 1rem;
    transition: all 0.3s; text-decoration: none; display: inline-block;
}
.btn-hero-primary:hover { background: var(--bm-gold-light); color: var(--bm-navy); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,151,62,0.4); }
.btn-hero-outline {
    background: transparent; color: var(--bm-white);
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.8rem 2rem; font-weight: 600;
    border-radius: 4px; font-size: 1rem;
    transition: all 0.3s; text-decoration: none; display: inline-block;
}
.btn-hero-outline:hover { border-color: var(--bm-white); background: rgba(255,255,255,0.1); color: var(--bm-white); }
.hero-certifications { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.cert-badge {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.6); font-size: 0.8rem;
}
.cert-badge i { color: var(--bm-gold); font-size: 1rem; }
.hero-image-col { display: flex; align-items: center; justify-content: center; }
.hero-graphic {
    width: 100%; max-width: 420px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 2rem;
    backdrop-filter: blur(10px);
}
.hero-stat-card {
    background: rgba(255,255,255,0.08); border-radius: 8px;
    padding: 1.2rem; margin-bottom: 1rem; text-align: center;
}
.hero-stat-card .stat-num { font-size: 2rem; font-weight: 800; color: var(--bm-gold); display: block; }
.hero-stat-card .stat-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }

/* ── Stats Bar ── */
.stats-bar { background: var(--bm-gold); padding: 3rem 0; }
.stats-bar .stat-item { text-align: center; }
.stats-bar .stat-number { font-size: 2.5rem; font-weight: 800; color: var(--bm-navy); display: block; line-height: 1; }
.stats-bar .stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--bm-navy-light); font-weight: 600; margin-top: 4px; }
.stats-bar .stat-divider { width: 1px; background: rgba(13,33,55,0.2); height: 50px; margin: auto; }

/* ── Section Commons ── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 60px 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--bm-navy); margin-bottom: 0.5rem; }
.section-subtitle { color: var(--bm-gray); font-size: 1rem; max-width: 600px; margin: 0 auto 3rem; }
.section-label { display: inline-block; color: var(--bm-gold); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.section-divider { width: 50px; height: 3px; background: var(--bm-gold); margin: 0.8rem auto 1rem; border-radius: 2px; }
.section-divider.left { margin-left: 0; }

/* ── Service Cards ── */
.services-section { background: var(--bm-gray-light); }
.service-card {
    background: var(--bm-white); border-radius: 10px; padding: 2rem;
    border: 1px solid #e8edf2; transition: all 0.3s; height: 100%;
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    cursor: pointer;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,33,55,0.12); border-color: var(--bm-gold); color: inherit; }
.service-icon { width: 56px; height: 56px; background: var(--bm-gold-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--bm-gold); margin-bottom: 1.2rem; transition: all 0.3s; }
.service-card:hover .service-icon { background: var(--bm-gold); color: var(--bm-white); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--bm-navy); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; color: var(--bm-gray); margin-bottom: 1rem; line-height: 1.6; }
.service-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}
.service-card-pec { font-size: 0.75rem; color: var(--bm-gray); margin-bottom: 0.8rem; }
.service-card .card-link { color: var(--bm-gold); font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 4px; margin-top: auto; }

/* ── Service Modal ── */
.svc-modal-header { background: var(--bm-navy); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 1.5rem; }
.svc-modal-icon-wrap { width: 44px; height: 44px; background: var(--bm-gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-modal-icon-wrap .bi { font-size: 1.3rem; color: var(--bm-navy); }

/* ── Filter Tabs ── */
.filter-tabs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.filter-tabs-wrap::-webkit-scrollbar { height: 3px; }
.filter-tabs-wrap::-webkit-scrollbar-thumb { background: var(--bm-gold); border-radius: 2px; }
.filter-tabs-wrap .filter-tabs { flex-wrap: nowrap; min-width: max-content; }

/* ── Project Cards ── */
.projects-section { background: var(--bm-white); }
.project-card { border-radius: 10px; overflow: hidden; border: 1px solid #e8edf2; transition: all 0.3s; height: 100%; display: flex; flex-direction: column; }
.project-card:hover { box-shadow: 0 12px 35px rgba(13,33,55,0.12); transform: translateY(-4px); }
.project-img-wrap { position: relative; height: 200px; overflow: hidden; background: linear-gradient(135deg, var(--bm-navy) 0%, var(--bm-navy-light) 100%); }
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.project-card:hover .project-img-wrap img { transform: scale(1.05); }
.project-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); }
.project-placeholder i { font-size: 3rem; margin-bottom: 0.5rem; }
.project-cat-badge { position: absolute; top: 12px; left: 12px; background: var(--bm-gold); color: var(--bm-navy); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.5px; }
.project-card-body { padding: 1.4rem; flex-grow: 1; display: flex; flex-direction: column; }
.project-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--bm-navy); margin-bottom: 0.4rem; }
.project-client { font-size: 0.8rem; color: var(--bm-gold); font-weight: 600; margin-bottom: 0.5rem; }
.project-desc { font-size: 0.85rem; color: var(--bm-gray); line-height: 1.6; flex-grow: 1; }
.project-meta { display: flex; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #f0f0f0; }
.project-meta span { font-size: 0.75rem; color: var(--bm-gray); display: flex; align-items: center; gap: 4px; }

/* ── Clients Strip ── */
.clients-section { background: var(--bm-navy); padding: 60px 0; }
.clients-section .section-title { color: var(--bm-white); }
.clients-section .section-subtitle { color: rgba(255,255,255,0.6); }
.client-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 1rem 1.5rem; text-align: center; transition: all 0.3s; }
.client-badge:hover { background: rgba(201,151,62,0.15); border-color: var(--bm-gold); }
.client-badge span { color: rgba(255,255,255,0.85); font-weight: 700; font-size: 1rem; display: block; }
.client-badge small { color: rgba(255,255,255,0.4); font-size: 0.7rem; display: block; margin-top: 2px; }

/* ── Why Choose Us ── */
.why-section { background: var(--bm-gray-light); }
.why-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; }
.why-icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--bm-gold-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--bm-gold); }
.why-item h4 { font-size: 1rem; font-weight: 700; color: var(--bm-navy); margin-bottom: 0.3rem; }
.why-item p { font-size: 0.88rem; color: var(--bm-gray); margin: 0; line-height: 1.6; }
.license-card { background: var(--bm-navy); border-radius: 10px; padding: 2rem; color: var(--bm-white); }
.license-card h3 { color: var(--bm-gold); font-size: 1.2rem; margin-bottom: 1rem; }
.license-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.88rem; }
.license-row:last-child { border-bottom: none; }
.license-row .key { color: rgba(255,255,255,0.6); }
.license-row .val { color: var(--bm-white); font-weight: 600; }

/* ── Team Section ── */
.team-section { background: var(--bm-white); }
.team-card { text-align: center; padding: 2rem 1.5rem; border: 1px solid #e8edf2; border-radius: 10px; transition: all 0.3s; height: 100%; }
.team-card:hover { box-shadow: 0 8px 30px rgba(13,33,55,0.1); border-color: var(--bm-gold); transform: translateY(-4px); }
.team-avatar { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 1rem; background: linear-gradient(135deg, var(--bm-navy) 0%, var(--bm-navy-light) 100%); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--bm-gold-light); overflow: hidden; border: 3px solid var(--bm-gold-pale); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 1rem; font-weight: 700; color: var(--bm-navy); margin-bottom: 0.2rem; }
.team-card .designation { font-size: 0.82rem; color: var(--bm-gold); font-weight: 600; margin-bottom: 0.5rem; }
.team-card .pec-reg { font-size: 0.75rem; color: var(--bm-gray); margin-bottom: 0.8rem; }
.team-card .linkedin-btn { display: inline-flex; align-items: center; gap: 6px; background: #0077b5; color: var(--bm-white); padding: 5px 14px; border-radius: 4px; font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.team-card .linkedin-btn:hover { background: #005885; color: var(--bm-white); }

/* ── CTA Section ── */
.cta-section { background: linear-gradient(135deg, var(--bm-navy) 0%, var(--bm-navy-light) 100%); padding: 80px 0; }
.cta-section h2 { color: var(--bm-white); font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.btn-cta-gold { background: var(--bm-gold); color: var(--bm-navy); border: none; padding: 0.9rem 2.5rem; font-weight: 700; border-radius: 4px; font-size: 1rem; text-decoration: none; display: inline-block; transition: all 0.3s; }
.btn-cta-gold:hover { background: var(--bm-gold-light); color: var(--bm-navy); transform: translateY(-2px); }
.btn-cta-outline { background: transparent; color: var(--bm-white); border: 2px solid rgba(255,255,255,0.4); padding: 0.9rem 2.5rem; font-weight: 600; border-radius: 4px; font-size: 1rem; text-decoration: none; display: inline-block; transition: all 0.3s; }
.btn-cta-outline:hover { border-color: var(--bm-white); background: rgba(255,255,255,0.08); color: var(--bm-white); }

/* ── Footer ── */
.bm-footer { background: #080e18; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.bm-footer .footer-brand img { height: 48px; margin-bottom: 0.8rem; }
.bm-footer .footer-brand-name { font-size: 0.95rem; font-weight: 700; color: var(--bm-white); }
.bm-footer .footer-brand-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.3rem; }
.bm-footer .footer-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-top: 1rem; max-width: 280px; }
.bm-footer h5 { color: var(--bm-gold); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.2rem; }
.bm-footer ul { list-style: none; padding: 0; margin: 0; }
.bm-footer ul li { margin-bottom: 0.5rem; }
.bm-footer ul li a { color: rgba(255,255,255,0.6); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.bm-footer ul li a:hover { color: var(--bm-gold); }
.bm-footer .footer-contact-item { display: flex; gap: 10px; margin-bottom: 0.7rem; align-items: flex-start; }
.bm-footer .footer-contact-item i { color: var(--bm-gold); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.bm-footer .footer-contact-item span { font-size: 0.83rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.bm-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0; margin-top: 3rem; font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.bm-footer .footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.bm-footer .footer-bottom a:hover { color: var(--bm-gold); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: all 0.2s; text-decoration: none; }
.footer-social a:hover { background: var(--bm-gold); color: var(--bm-navy); }

/* ── Error page ── */
.site-error { padding-top: 80px; min-height: calc(100vh - 60px); display: flex; align-items: center; justify-content: center; text-align: center; }
.site-error-content { max-width: 500px; padding: 2rem; }

/* ── Page Hero (inner pages) ── */
.page-hero { background: linear-gradient(135deg, var(--bm-navy) 0%, var(--bm-navy-light) 100%); padding: 100px 0 60px; text-align: center; }
.page-hero h1 { color: var(--bm-white); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.page-hero .breadcrumb { justify-content: center; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.page-hero .breadcrumb-item.active { color: var(--bm-gold); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ── About Page ── */
.about-intro { padding: 80px 0; }
.about-img-block { background: linear-gradient(135deg, var(--bm-navy) 0%, var(--bm-navy-light) 100%); border-radius: 12px; padding: 3rem; color: var(--bm-white); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.about-img-block .big-stat { font-size: 4rem; font-weight: 900; color: var(--bm-gold); line-height: 1; }
.about-img-block .big-stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.about-list { list-style: none; padding: 0; margin: 0; }
.about-list li { display: flex; align-items: center; gap: 10px; padding: 0.5rem 0; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.about-list li i { color: var(--bm-gold); font-size: 1rem; }
.mv-card { background: var(--bm-gray-light); border-radius: 10px; padding: 1.8rem; border-left: 4px solid var(--bm-gold); margin-bottom: 1.5rem; }
.mv-card h4 { color: var(--bm-navy); font-weight: 700; margin-bottom: 0.6rem; }
.mv-card p { color: var(--bm-gray); font-size: 0.9rem; margin: 0; line-height: 1.7; }

/* ── Contact Page ── */
.contact-section { padding: 80px 0; }
.contact-info-card { background: var(--bm-navy); border-radius: 12px; padding: 2.5rem; color: var(--bm-white); height: 100%; }
.contact-info-card h3 { color: var(--bm-gold); margin-bottom: 2rem; font-weight: 700; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item-icon { width: 44px; height: 44px; background: rgba(201,151,62,0.15); border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--bm-gold); }
.contact-item-text h6 { color: var(--bm-white); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact-item-text span { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.contact-form-card { background: var(--bm-white); border-radius: 12px; padding: 2.5rem; border: 1px solid #e8edf2; }
.contact-form-card h3 { color: var(--bm-navy); font-weight: 700; margin-bottom: 1.5rem; }
.form-label { font-weight: 600; font-size: 0.85rem; color: var(--bm-navy); }
.form-control:focus { border-color: var(--bm-gold); box-shadow: 0 0 0 0.2rem rgba(201,151,62,0.2); }
.btn-submit { background: var(--bm-navy); color: var(--bm-white); border: none; padding: 0.75rem 2.5rem; font-weight: 700; border-radius: 4px; width: 100%; transition: background 0.3s; }
.btn-submit:hover { background: var(--bm-navy-light); color: var(--bm-white); }

/* ── Office Cards ── */
.office-card { background: var(--bm-white); border-radius: 12px; padding: 2rem 1.5rem; text-align: center; border: 1px solid #e8edf2; box-shadow: 0 2px 8px rgba(0,0,0,0.05); height: 100%; display: flex; flex-direction: column; align-items: center; transition: box-shadow 0.2s, transform 0.2s; }
.office-card:hover { box-shadow: 0 6px 20px rgba(13,33,55,0.12); transform: translateY(-3px); }
.office-badge-wrap { margin-bottom: 1rem; }
.office-badge { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 0.3em 0.8em; border-radius: 20px; }
.office-badge.head { background: var(--bm-gold); color: var(--bm-navy); }
.office-badge.regional { background: rgba(13,33,55,0.08); color: var(--bm-navy); }
.office-icon-wrap { width: 56px; height: 56px; background: rgba(201,151,62,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--bm-gold); margin-bottom: 1rem; }
.office-card h5 { font-weight: 800; color: var(--bm-navy); margin-bottom: 0.5rem; }
.office-card p { font-size: 0.85rem; color: var(--bm-gray); margin: 0; line-height: 1.6; }
.section-sub { color: var(--bm-gray); font-size: 1rem; }

/* ── Filter Tabs (standalone, non-scrollable contexts) ── */
.filter-tabs .nav-link { color: var(--bm-gray); border-radius: 4px; font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1.2rem; transition: all 0.2s; white-space: nowrap; }
.filter-tabs .nav-link.active, .filter-tabs .nav-link:hover { color: var(--bm-navy); background: var(--bm-gold-pale); }
.filter-tabs .nav-link.active { color: var(--bm-navy); background: var(--bm-gold); }

/* ── Service Detail ── */
.service-detail-icon { width: 72px; height: 72px; background: var(--bm-gold); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--bm-navy); margin-bottom: 1.2rem; }
.service-content-body { font-size: 0.95rem; line-height: 1.8; color: var(--bm-text); }
.service-content-body h3 { color: var(--bm-navy); font-weight: 700; margin-top: 1.5rem; }
.service-content-body ul { padding-left: 1.2rem; }
.service-content-body ul li { margin-bottom: 0.4rem; color: var(--bm-gray); }

/* ── Project Detail ── */
.project-detail-image { border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--bm-navy) 0%, var(--bm-navy-light) 100%); min-height: 350px; display: flex; align-items: center; justify-content: center; }
.project-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.project-specs-card { background: var(--bm-navy); border-radius: 10px; padding: 1.8rem; color: var(--bm-white); }
.project-specs-card h5 { color: var(--bm-gold); margin-bottom: 1.2rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.spec-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-key { color: rgba(255,255,255,0.55); flex-shrink: 0; margin-right: 1rem; }
.spec-row .spec-val { color: var(--bm-white); font-weight: 600; text-align: right; }

/* ── Admin Sidebar ── */
.admin-sidebar { background: var(--bm-navy); min-height: 100vh; width: 240px; position: fixed; left: 0; top: 0; z-index: 1000; }
.admin-sidebar .sidebar-brand { padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 10px; }
.admin-sidebar .sidebar-brand span { color: var(--bm-white); font-weight: 700; font-size: 0.88rem; line-height: 1.3; }
.admin-sidebar .sidebar-brand small { color: var(--bm-gold); font-size: 0.7rem; display: block; }
.sidebar-nav { padding: 1rem 0; }
.sidebar-nav .nav-section-title { color: rgba(255,255,255,0.3); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; padding: 0.8rem 1.5rem 0.3rem; }
.sidebar-nav .nav-link { color: rgba(255,255,255,0.7); padding: 0.6rem 1.5rem; font-size: 0.85rem; display: flex; align-items: center; gap: 10px; transition: all 0.2s; border-left: 3px solid transparent; }
.sidebar-nav .nav-link:hover, .sidebar-nav .nav-link.active { color: var(--bm-white); background: rgba(255,255,255,0.07); border-left-color: var(--bm-gold); }
.sidebar-nav .nav-link i { font-size: 1rem; width: 20px; text-align: center; }
.admin-topbar { background: var(--bm-white); height: 60px; border-bottom: 1px solid #e8edf2; display: flex; align-items: center; padding: 0 1.5rem; margin-left: 240px; position: fixed; top: 0; right: 0; left: 240px; z-index: 999; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.admin-main { margin-left: 240px; margin-top: 60px; padding: 2rem; min-height: calc(100vh - 60px); background: #f4f6f9; }
.admin-card { background: var(--bm-white); border-radius: 8px; padding: 1.5rem; border: 1px solid #e8edf2; }
.admin-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.admin-page-header h1 { font-size: 1.4rem; font-weight: 700; color: var(--bm-navy); margin: 0; }
.stat-card { background: var(--bm-white); border-radius: 8px; padding: 1.5rem; border: 1px solid #e8edf2; border-left: 4px solid var(--bm-gold); transition: box-shadow 0.2s; }
.stat-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.stat-card .stat-icon { font-size: 2rem; color: var(--bm-gold); margin-bottom: 0.5rem; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--bm-navy); }
.stat-card .stat-title { font-size: 0.82rem; color: var(--bm-gray); text-transform: uppercase; letter-spacing: 0.5px; }
.btn-bm-primary { background: var(--bm-navy); color: var(--bm-white); border: none; padding: 0.5rem 1.2rem; font-weight: 600; font-size: 0.85rem; border-radius: 4px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s; }
.btn-bm-primary:hover { background: var(--bm-navy-light); color: var(--bm-white); }
.btn-bm-gold { background: var(--bm-gold); color: var(--bm-navy); border: none; padding: 0.5rem 1.2rem; font-weight: 700; font-size: 0.85rem; border-radius: 4px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s; }
.btn-bm-gold:hover { background: var(--bm-gold-light); color: var(--bm-navy); }

/* ── Utilities ── */
.text-gold { color: var(--bm-gold) !important; }
.text-navy { color: var(--bm-navy) !important; }
.bg-navy { background: var(--bm-navy) !important; }
.bg-gold { background: var(--bm-gold) !important; }
.fw-800 { font-weight: 800 !important; }
.status-badge-active { background: #d4edda; color: #155724; padding: 2px 8px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.status-badge-inactive { background: #f8d7da; color: #721c24; padding: 2px 8px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile-first overrides
   ═══════════════════════════════════════════════════════ */

/* ── Tablet & below (≤991px) ── */
@media (max-width: 991.98px) {
    /* Navbar: fix invisible hamburger icon on dark bg */
    .bm-navbar .navbar-toggler { border-color: rgba(255,255,255,0.35); padding: 0.4rem 0.6rem; }
    .bm-navbar .navbar-toggler-icon { filter: invert(1); }

    /* Mobile nav dropdown background */
    .bm-navbar .navbar-collapse.show,
    .bm-navbar .navbar-collapse.collapsing {
        background: var(--bm-navy-mid);
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 0.5rem 0 1rem;
        margin: 0 -12px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .bm-navbar .nav-link { padding: 0.75rem 0.25rem !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .bm-navbar .nav-link.active { border-bottom-color: rgba(255,255,255,0.06); border-left: none; }
    .bm-navbar .btn-nav-cta { display: block; text-align: center; margin: 0.75rem 0 0; border-radius: 4px; }

    /* Hero: hide stat graphic on tablet */
    .hero-image-col { display: none; }

    /* Reduce section spacing */
    .section-pad { padding: 60px 0; }
    .section-pad-sm { padding: 45px 0; }
    .page-hero { padding: 90px 0 50px; }
    .about-intro { padding: 60px 0; }
    .cta-section { padding: 60px 0; }
    .clients-section { padding: 50px 0; }
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767.98px) {
    /* Hero */
    .hero-section .hero-inner { padding: 80px 0 50px; }
    .hero-cta-group { flex-direction: column; gap: 0.75rem; }
    .btn-hero-primary,
    .btn-hero-outline { text-align: center; width: 100%; max-width: 280px; }
    .hero-certifications { gap: 1rem; }

    /* Stats bar */
    .stats-bar { padding: 2.5rem 0; }
    .stats-bar .stat-divider { display: none; }
    .stats-bar .stat-number { font-size: 2rem; }

    /* Sections */
    .section-pad { padding: 50px 0; }
    .section-pad-sm { padding: 40px 0; }
    .page-hero { padding: 80px 0 40px; }
    .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    .about-intro { padding: 50px 0; }
    .contact-section { padding: 50px 0; }
    .cta-section { padding: 50px 0; }
    .clients-section { padding: 40px 0; }

    /* About */
    .about-img-block { padding: 2rem 1.5rem; }
    .about-img-block .big-stat { font-size: 3rem; }

    /* Service cards */
    .service-card { padding: 1.5rem; }

    /* Project card */
    .project-img-wrap { height: 180px; }

    /* License card */
    .license-card { padding: 1.5rem; }
    .license-row { font-size: 0.82rem; flex-wrap: wrap; gap: 0.25rem; }
    .license-row .val { text-align: left; }

    /* Why section */
    .why-item { gap: 0.75rem; }

    /* Footer */
    .bm-footer { padding: 50px 0 0; }
    .bm-footer .row.g-5 { --bs-gutter-y: 2rem; }

    /* CTA buttons */
    .btn-cta-gold,
    .btn-cta-outline { padding: 0.8rem 1.8rem; font-size: 0.95rem; }
}

/* ── Small mobile (≤575px) ── */
@media (max-width: 575.98px) {
    /* Hero */
    .hero-section .hero-inner { padding: 70px 0 40px; }
    .hero-badge { font-size: 0.72rem; padding: 5px 12px; }

    /* Stats bar */
    .stats-bar .stat-number { font-size: 1.7rem; }
    .stats-bar .stat-label { font-size: 0.72rem; }

    /* Sections */
    .section-pad { padding: 40px 0; }
    .page-hero { padding: 70px 0 30px; }

    /* Service card grid: 1-column on very small screens */
    /* (Bootstrap col-md-6 already does this at <576 with col-12 default) */
    .service-card { padding: 1.25rem; }

    /* Team card */
    .team-card { padding: 1.5rem 1rem; }

    /* Footer bottom text */
    .footer-bottom { font-size: 0.75rem; text-align: center; }
    .footer-bottom .col-md-6 { text-align: center !important; }

    /* Contact */
    .contact-info-card, .contact-form-card { padding: 1.5rem; }

    /* Project spec card */
    .project-specs-card { padding: 1.25rem; }
    .spec-row { font-size: 0.82rem; }
}
