/* ===================================================
   J & S Afrika Contractors Ltd. — Custom Stylesheet
   Brand: Deep Navy #000000 | Gold #FFCA1C | Slate #111111
=================================================== */
:root {
  --primary:   #FFCA1C;
  --dark:      #000000;
  --slate:     #111111;
  --light-bg:  #F8FAFC;
  --text-muted:#64748B;
  --white:     #ffffff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', 'Open Sans', sans-serif; font-size: 16px; line-height: 1.7; color: #374151; background: #fff; }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--dark); line-height: 1.25; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: #cc9e00; }
img { max-width: 100%; height: auto; }

/* TOP BAR */
.top-bar { background: var(--slate); color: rgba(255,255,255,.75); font-size: 13px; padding: 7px 0; }
.top-bar a { color: rgba(255,255,255,.75); }
.top-bar a:hover { color: var(--primary); }
.top-bar .fa { margin-right: 5px; color: var(--primary); }

/* NAVBAR */
.ftco-navbar-light { background: var(--dark) !important; padding: 0; box-shadow: 0 2px 20px rgba(0,0,0,.3); position: sticky; top: 0; z-index: 999; }
.navbar-brand { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; color: #fff !important; padding: 12px 0; }
.navbar-brand .brand-accent { color: var(--primary); }
.navbar-brand small { display: block; font-size: 10px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ftco-navbar-light .navbar-nav .nav-link { color: rgba(255,255,255,.85) !important; font-size: 13px; font-family: 'Montserrat', sans-serif; font-weight: 600; padding: 20px 14px !important; transition: color .2s; }
.ftco-navbar-light .navbar-nav .nav-link:hover,
.ftco-navbar-light .navbar-nav .nav-item.active .nav-link { color: var(--primary) !important; }
.ftco-navbar-light .navbar-nav .nav-item.active > .nav-link { border-bottom: 3px solid var(--primary); }
.ftco-navbar-light .dropdown-menu { background: var(--dark); border: none; border-top: 3px solid var(--primary); border-radius: 0 0 6px 6px; min-width: 210px; padding: 6px 0; }
.ftco-navbar-light .dropdown-item { color: rgba(255,255,255,.8); font-size: 13px; font-family: 'Montserrat', sans-serif; font-weight: 500; padding: 10px 20px; }
.ftco-navbar-light .dropdown-item:hover { background: rgba(255,255,255,.05); color: var(--primary); }
.btn-quote { background: var(--primary); color: var(--dark) !important; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; padding: 9px 20px !important; border-radius: 4px; margin-left: 10px; transition: background .2s; }
.btn-quote:hover { background: #cc9e00; }
.navbar-toggler { color: #fff; border-color: rgba(255,255,255,.3); }

/* HERO */
.hero-wrap { position: relative; background-size: cover; background-position: center; min-height: 92vh; display: flex; align-items: center; }
.hero-wrap .overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,.88) 0%, rgba(15,23,42,.55) 60%, rgba(245,158,11,.1) 100%); }
.hero-wrap .container { position: relative; z-index: 2; }
.hero-tag { display: inline-block; background: var(--primary); color: var(--dark); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; margin-bottom: 18px; }
.hero-wrap h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.hero-wrap h1 span { color: var(--primary); }
.hero-wrap .hero-sub { color: rgba(255,255,255,.8); font-size: 17px; max-width: 560px; margin-bottom: 32px; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--dark); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; padding: 13px 28px; border-radius: 4px; transition: all .2s; }
.btn-primary:hover { background: #cc9e00; border-color: #cc9e00; transform: translateY(-2px); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.55); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; padding: 11px 28px; border-radius: 4px; background: transparent; cursor: pointer; transition: all .2s; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.hero-stats { margin-top: 52px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 48px; }
.hero-stats .stat-number { font-family: 'Montserrat', sans-serif; font-size: 34px; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.hero-stats .stat-label { color: rgba(255,255,255,.6); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* SECTIONS */
.ftco-section { padding: 90px 0; }
.subheading { display: inline-block; color: var(--primary); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.heading-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
.bg-light-custom { background: var(--light-bg); }

/* FEATURE STRIP */
.feature-strip { background: var(--slate); padding: 24px 0; }
.feat-item { display: flex; align-items: center; gap: 12px; }
.feat-icon { width: 42px; height: 42px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-icon .fa { color: var(--dark); font-size: 17px; }
.feat-title { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff; font-size: 13px; }
.feat-sub { color: rgba(255,255,255,.55); font-size: 12px; }

/* ABOUT */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 8px; width: 100%; height: 480px; object-fit: cover; }
.badge-years { position: absolute; bottom: -20px; right: -20px; background: var(--primary); color: var(--dark); width: 120px; height: 120px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 800; box-shadow: 0 8px 28px rgba(245,158,11,.4); text-align: center; }
.badge-years .num { font-size: 34px; line-height: 1; }
.badge-years .txt { font-size: 10px; text-transform: uppercase; line-height: 1.3; }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; font-size: 15px; }
.check-list .fa { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.cert-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--light-bg); border: 1px solid #e2e8f0; border-radius: 6px; padding: 7px 12px; font-size: 12px; font-weight: 600; color: var(--dark); margin: 3px; }
.cert-badge .fa { color: var(--primary); }
.mission-card { border-left: 4px solid var(--primary); padding: 20px 24px; background: var(--light-bg); border-radius: 0 6px 6px 0; margin-bottom: 16px; }
.mission-card h4 { font-size: 13px; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.mission-card p { color: var(--text-muted); margin: 0; font-size: 15px; }

/* SERVICE CARDS */
.service-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06); transition: transform .25s, box-shadow .25s; height: 100%; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.service-card .s-img { height: 210px; overflow: hidden; position: relative; }
.service-card .s-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .s-img img { transform: scale(1.07); }
.service-card .s-body { padding: 22px; }
.service-card .s-body h3 { font-size: 17px; margin-bottom: 8px; }
.service-card .s-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.service-card .s-body ul { padding: 0; list-style: none; margin-bottom: 14px; }
.service-card .s-body ul li { font-size: 13px; color: var(--text-muted); padding: 3px 0 3px 16px; position: relative; }
.service-card .s-body ul li::before { content: '›'; color: var(--primary); position: absolute; left: 0; font-weight: 700; font-size: 16px; line-height: 1.3; }
.link-gold { color: var(--primary); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; }
.link-gold .fa { transition: transform .2s; margin-left: 4px; }
.link-gold:hover .fa { transform: translateX(4px); }

/* STATS */
.stats-section { background: var(--dark); padding: 70px 0; }
.stat-box { text-align: center; padding: 16px; }
.stat-box .icon-wrap { width: 52px; height: 52px; background: rgba(245,158,11,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.stat-box .icon-wrap .fa { color: var(--primary); font-size: 20px; }
.stat-box .number { font-family: 'Montserrat', sans-serif; font-size: 48px; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.stat-box .label { color: rgba(255,255,255,.65); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* PROJECT CARDS */
.project-card { border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.project-card .p-img { height: 250px; overflow: hidden; }
.project-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .p-img img { transform: scale(1.08); }
.project-card .p-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.9) 0%, rgba(15,23,42,.05) 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.project-card .p-cat { display: inline-block; background: var(--primary); color: var(--dark); font-size: 10px; font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; margin-bottom: 6px; }
.project-card h3 { color: #fff; font-size: 16px; margin-bottom: 3px; }
.project-card .p-loc { color: rgba(255,255,255,.6); font-size: 12px; }
.project-card .p-link { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.project-card:hover .p-link { opacity: 1; transform: translateY(0); }
.project-card .p-link .fa { color: var(--dark); }

/* WHY US */
.why-card { background: #fff; border-radius: 8px; padding: 28px 24px; height: 100%; box-shadow: 0 2px 12px rgba(0,0,0,.05); border-left: 4px solid transparent; transition: border-color .25s, box-shadow .25s, transform .25s; }
.why-card:hover { border-left-color: var(--primary); box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-4px); }
.why-card .w-icon { width: 52px; height: 52px; background: rgba(245,158,11,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-card .w-icon .fa { color: var(--primary); font-size: 22px; }
.why-card h3 { font-size: 16px; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* TESTIMONIALS */
.testimony-section { background: var(--dark); }
.testimony-wrap { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 26px; margin: 0 8px; }
.testimony-wrap .fa-quote-left { color: var(--primary); font-size: 24px; margin-bottom: 14px; }
.testimony-wrap p.t-text { color: rgba(255,255,255,.85); font-style: italic; font-size: 14px; margin-bottom: 18px; }
.testimony-wrap .t-name { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; }
.testimony-wrap .t-role { color: rgba(255,255,255,.5); font-size: 12px; }

/* BLOG */
.blog-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); height: 100%; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.1); }
.blog-card .b-img { height: 200px; overflow: hidden; }
.blog-card .b-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .b-img img { transform: scale(1.06); }
.blog-card .b-body { padding: 22px; }
.blog-cat-tag { display: inline-block; background: rgba(245,158,11,.1); color: var(--primary); font-size: 10px; font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; margin-bottom: 8px; }
.blog-card h3 { font-size: 15px; margin-bottom: 8px; }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card .b-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.blog-card p { color: var(--text-muted); font-size: 13px; }

/* PARTNERS */
.partner-logo { display: flex; align-items: center; justify-content: center; padding: 14px 20px; background: #fff; border-radius: 8px; border: 1px solid #e2e8f0; height: 70px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; color: var(--slate); text-align: center; transition: border-color .2s, box-shadow .2s; }
.partner-logo:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(245,158,11,.15); }

/* CTA */
.cta-section { background: var(--primary); padding: 70px 0; }
.cta-section h2 { color: var(--dark); font-size: 2rem; margin-bottom: 10px; }
.cta-section p { color: rgba(15,23,42,.7); font-size: 16px; }
.btn-dark { background: var(--dark); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; padding: 13px 30px; border-radius: 4px; border: none; font-size: 14px; transition: background .2s; }
.btn-dark:hover { background: var(--slate); color: #fff; }

/* PAGE HEADER */
.page-header { background: var(--dark); padding: 30px 0 25px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: url('../images/bg_1.jpg') center/cover; opacity: .07; }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: 2.2rem; margin-bottom: 8px; }
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,.55); font-size: 13px; }
.breadcrumb-item.active { color: var(--primary); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* FOOTER */
.ftco-footer { background: var(--dark); padding: 70px 0 0; }
.ftco-footer-widget h2 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
.ftco-footer-widget p { color: rgba(255,255,255,.55); font-size: 14px; }
.ftco-footer-widget ul { list-style: none; padding: 0; }
.ftco-footer-widget ul li { margin-bottom: 8px; }
.ftco-footer-widget ul li a { color: rgba(255,255,255,.55); font-size: 14px; transition: color .2s, padding-left .2s; }
.ftco-footer-widget ul li a:hover { color: var(--primary); padding-left: 4px; }
.ftco-footer-widget ul li a .fa { margin-right: 6px; color: var(--primary); }
.ftco-footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: 13px; margin-right: 4px; transition: background .2s; }
.ftco-footer-social a:hover { background: var(--primary); color: var(--dark); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact-item .fa { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { color: rgba(255,255,255,.6); font-size: 14px; }
.footer-bottom { background: rgba(0,0,0,.3); margin-top: 48px; padding: 16px 0; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: 12px; margin: 0; }

/* CONTACT */
.contact-info-card { background: var(--dark); border-radius: 8px; padding: 30px 26px; color: #fff; }
.contact-info-card h3 { color: #fff; margin-bottom: 22px; font-size: 18px; }
.c-item { display: flex; gap: 12px; margin-bottom: 18px; }
.c-item .c-icon { width: 38px; height: 38px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-item .c-icon .fa { color: var(--dark); font-size: 14px; }
.c-item .c-label { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 2px; }
.c-item .c-val { color: rgba(255,255,255,.8); font-size: 14px; }
.contact-form-card { background: #fff; border-radius: 8px; padding: 36px; box-shadow: 0 4px 28px rgba(0,0,0,.08); }
.form-control { border: 1px solid #e2e8f0; border-radius: 6px; padding: 11px 14px; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245,158,11,.12); outline: none; }
.form-group label { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--dark); margin-bottom: 5px; display: block; }
.select-wrap { position: relative; }
.select-wrap .arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 13px; color: rgba(255,255,255,.65); }
.hours-row .day { font-weight: 600; color: rgba(255,255,255,.85); }
.hours-row .open-badge { color: #6ee7b7; font-size: 11px; font-weight: 700; }

/* FAQ */
.faq-item { border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.faq-q { background: none; border: none; width: 100%; text-align: left; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: var(--dark); padding: 17px 48px 17px 20px; position: relative; cursor: pointer; transition: color .2s; }
.faq-q.open { color: var(--primary); }
.faq-q::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 300; color: var(--primary); }
.faq-q.open::after { content: '−'; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--text-muted); font-size: 14px; border-top: 1px solid #f1f5f9; padding-top: 14px; }

/* VALUE ITEMS */
.value-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.v-icon { width: 46px; height: 46px; background: rgba(245,158,11,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.v-icon .fa { color: var(--primary); font-size: 18px; }
.value-item h4 { font-size: 15px; margin-bottom: 3px; }
.value-item p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* FILTER BUTTONS */
.filter-btn { background: none; border: 2px solid #e2e8f0; color: var(--text-muted); font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; padding: 7px 18px; border-radius: 4px; cursor: pointer; transition: all .2s; margin: 3px; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--dark); }

/* MODAL */
.modal-content { border: none; border-radius: 8px; overflow: hidden; }
.modal-header { background: var(--dark); padding: 18px 22px; border: none; }
.modal-title { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; }
.modal-header .close { color: rgba(255,255,255,.7); opacity: 1; }
.modal-body { padding: 28px; }

/* LOADER */
#ftco-loader { background: var(--dark); position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
#ftco-loader .circular .path { stroke: var(--primary); }
#ftco-loader .circular .path-bg { stroke: rgba(255,255,255,.1); }

/* SCROLL TOP */
#scroll-top { position: fixed; bottom: 26px; right: 26px; width: 42px; height: 42px; background: var(--primary); color: var(--dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(245,158,11,.4); opacity: 0; visibility: hidden; transition: all .3s; z-index: 800; cursor: pointer; border: none; }
#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { background: #cc9e00; }

/* ANIMATIONS */
.ftco-animate { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.ftco-animate.animated { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 991px) {
  .ftco-navbar-light .navbar-collapse { background: var(--dark); padding: 12px; }
  .btn-quote { margin: 8px 0 0; }
  .badge-years { right: 0; }
}
@media (max-width: 767px) {
  .ftco-section { padding: 60px 0; }
  .hero-wrap { min-height: 80vh; }
  .hero-stats { flex-wrap: wrap; gap: 28px; }
  .about-img-wrap img { height: 300px; }
  .badge-years { width: 95px; height: 95px; bottom: -14px; right: 14px; }
  .badge-years .num { font-size: 26px; }
  .contact-form-card { padding: 22px; }
}
