/* ==========================================================================
   M&F Transportation — Bootstrap 5 theme layer
   Loaded AFTER bootstrap.min.css. Overrides tokens + adds bespoke components.
   ========================================================================== */

:root{
  --mf-bg:#090909;
  --mf-panel:#0e1210;
  --mf-green:#22C55E;
  --mf-green-bright:#34e37a;
  --mf-green-dim:#163a26;
  --mf-border:#1c2b22;
  --mf-muted:#9aa39d;
  --mf-muted-2:#c7cdc9;

  /* Bootstrap variable overrides (Bootstrap 5.3 CSS-var theming) */
  --bs-body-bg:var(--mf-bg);
  --bs-body-color:#f4f6f5;
  --bs-border-color:var(--mf-border);
  --bs-primary:var(--mf-green);
  --bs-primary-rgb:34,197,94;
  --bs-link-color:var(--mf-green);
  --bs-link-hover-color:var(--mf-green-bright);
  --bs-font-sans-serif:'Nimbus Sans L','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
}

html,body{background:var(--mf-bg); overflow-x:hidden;}
body{-webkit-font-smoothing:antialiased;}
a{text-decoration:none;}
h1,h2,h3,h4{font-weight:800;letter-spacing:-0.01em;}
img{max-width:100%;display:block;}

.container{
  max-width: 1240px;
}

.eyebrow{
  color:var(--mf-green);
  font-size:14px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:.85rem;
  display:block;
}


/* ---------------- Buttons ---------------- */
.btn{
  font-size:.8125rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:.9rem 1.6rem;
  border-radius:.5rem;
}
.btn-mf-solid{
  background-color:var(--mf-green);
  border-color:var(--mf-green);
  color:#06210f;
}
.btn-mf-solid:hover,.btn-mf-solid:focus{
  background-color:var(--mf-green-bright);
  border-color:var(--mf-green-bright);
  color:#06210f;
}
.btn-mf-outline{
  background-color:rgba(255,255,255,.02);
  border-color:rgba(255,255,255,.25);
  color:#f4f6f5;
}
.btn-mf-outline:hover{
  border-color:#fff;
  color:#fff;
  background-color:rgba(255,255,255,.04);
}
.btn-mf-outline-green{
  background-color:transparent;
  border-color:var(--mf-green-dim);
  color:var(--mf-green);
}
.btn-mf-outline-green:hover{
  border-color:var(--mf-green);
  background-color:rgba(34,197,94,.08);
  color:var(--mf-green-bright);
}

/* ---------------- Navbar ---------------- */
.navbar-mf{
  background-color:rgba(9,9,9,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
  padding-top:.9rem;
  padding-bottom:.9rem;
}
.navbar-mf .navbar-brand img{height:60px;width:auto;}
.navbar-mf .nav-link{
  font-size:.8125rem;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--mf-muted-2);
  border-bottom:2px solid transparent;
  padding:.4rem .2rem;
  margin:0 1rem;
}
.navbar-mf .nav-link:hover{color:#fff;}
.navbar-mf .nav-link.active{color:#fff;border-color:var(--mf-green);}
.navbar-mf .navbar-toggler{border-color:var(--mf-border);}
/* Services dropdown */
.navbar-mf .nav-item {
    position: relative;
}

.navbar-mf .dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) ;

    min-width: 240px;
    padding: 10px;
    margin: 0;

    background: #0d1110;
    border: 1px solid rgba(74, 210, 130, 0.2);
    border-radius: 8px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: all 0.3s ease;
}

/* Small invisible bridge so dropdown doesn't disappear */
.navbar-mf .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

/* Show dropdown on Services hover */
.navbar-mf .nav-item:hover > .dropdown-menu,
.navbar-mf .nav-item:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* transform: translateX(-50%) translateY(0); */
}

/* Dropdown links */
.navbar-mf .dropdown-item {
    display: block;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border-radius: 5px;
    transition: all 0.25s ease;
}

.navbar-mf .dropdown-item:hover,
.navbar-mf .dropdown-item.active {
    color: var(--mf-green);
    background: rgba(74, 210, 130, 0.08);
}

/* Optional arrow after Services */
/* .navbar-mf .nav-item:has(.dropdown-menu) > .nav-link::after {
    content: "⌄";
    margin-left: 6px;
    font-size: 14px;
    transition: transform 0.3s ease;
} */
 /* Services dropdown arrow */
.navbar-mf .nav-item:has(.dropdown-menu) > .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-mf .nav-item:has(.dropdown-menu) > .nav-link::after {
    content: "";
    width: 6px;
    height: 6px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: rotate(45deg) translateY(-2px);

    transition: transform 0.3s ease;
}

/* Rotate arrow when dropdown is open */
.navbar-mf .nav-item:has(.dropdown-menu):hover > .nav-link::after {
    transform: rotate(-135deg) translateY(-2px);
}


/* .navbar-mf .nav-item:hover > .nav-link::after {
    transform: rotate(180deg);
} */

/* ---------------- Section spacing ---------------- */
.section-py{padding-top:6.5rem;padding-bottom:6.5rem;}
.section-head{max-width:640px;margin:0 auto 3.5rem;text-align:center;}
.section-head h2{font-size:2.2rem;color:#fff;margin-bottom:1rem;}
.section-head p{color:var(--mf-muted);}

/* ---------------- Cards (services) ---------------- */
.card-mf{
  background-color:#11182780;
  border:1px solid var(--mf-border);
  border-radius:.9rem;
  padding:2rem 1.75rem;
  height:100%;
  transition:transform .25s ease,border-color .25s ease;
}
.card-mf:hover{transform:translateY(-4px);border-color:var(--mf-green-dim);}
.card-mf .icon-box{
  width:52px;height:52px;border-radius:.6rem;
  background:#0c1a13;border:1px solid var(--mf-border);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.4rem;
}
.card-mf .icon-box svg{width:24px;height:24px;color:var(--mf-green);stroke:var(--mf-green);}
.card-mf h3{font-size:1.2rem;color:#fff;margin-bottom:.6rem;}
.card-mf p{font-size:16px;color:var(--mf-muted);margin-bottom:1.2rem;}
.card-mf a{
  font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--mf-green);
}

/* ---------------- Why-choose icons ---------------- */
.why-item .h6{
  font-size:18px !important;
}

.why-icon{
  width:60px;height:60px;border-radius:50%;
  border:1px solid var(--mf-green-dim);
  background:rgba(34,197,94,.05);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1.25rem;
}
.why-icon svg{width:24px;height:24px;color:var(--mf-green);stroke:var(--mf-green);}


/* ---------------- Steps (how it works) ---------------- */
.step-mf{border-left:2px solid var(--mf-green-dim);padding-left:1.25rem;}
.step-mf .num{color:var(--mf-green);font-size:1.4rem;font-weight:800;display:block;margin-bottom:.4rem;}
.step-mf h4{font-size:1rem;color:#fff;margin-bottom:.4rem;}
.step-mf p{font-size:.85rem;color:var(--mf-muted);margin-bottom:0;}

/* ---------------- Hero (home) ---------------- */
.hero-home{
  position:relative;
  min-height:47rem;
  display:flex;align-items:center;
  overflow:hidden;
  background:#050505;
}
.hero-home-bg{
  position:absolute;inset:0;
  background-image:linear-gradient(90deg,#050505 0%,#050505 18%,rgba(5,5,5,.55) 42%,rgba(5,5,5,.15) 60%),url('../images/home-hero-bg.webp');
  background-size:cover;background-position:right center;background-repeat:no-repeat;
}
.hero-home-bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,.35) 100%);
}
.hero-home h1{font-size:3.5rem;line-height:1.05;text-transform:uppercase;margin-bottom:1.4rem;}
.hero-home h1 span{display:block;}
.hero-home .rule{width:56px;height:3px;background:var(--mf-green);margin-bottom:1.5rem;}

/* ---------------- Backdrop tinted sections ---------------- */
/* ---------------- Parallax pinned-background section (Services + Why) ---------------- */
/* .parallax-bg is positioned by assets/js/parallax.js: it scrolls normally
   until the section fills the viewport (then pins via position:fixed), and
   releases back to normal scrolling the instant the last screenful of
   content enters view (position:absolute, bottom:0) — no extra runway. */
.parallax-section{
  position:relative;
}
.parallax-bg{
  position:absolute;
  top:0;
  bottom:auto;
  left:0;
  width:100%;
  height:100vh;
  z-index:0;
  background:url('../images/parallax-bg.webp');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  pointer-events:none;
}
.parallax-content{
  position:relative;
  z-index:1;
}

/* ---------------- Map / image frames ---------------- */
.frame-rounded{border-radius:1.25rem;overflow:hidden;border:1px solid var(--mf-border);padding: 10px; padding-bottom: 0;}
.frame-green{border-radius:1.25rem;overflow:hidden;border:1px solid var(--mf-green-dim);box-shadow:0 0 0 1px rgba(34,197,94,.08),0 30px 60px -20px rgba(0,0,0,.6);}

/* ---------------- FAQ accordion ---------------- */
.faq-bg-container{
  background-image:linear-gradient(90deg,#050505 0%,#050505 18%,rgba(5,5,5,.55) 42%,rgba(5,5,5,.15) 60%),url('../images/Faq.png');
  background-size:cover;background-position:right center;background-repeat:no-repeat;
  object-fit:cover;
  height:300px;
  display:flex;align-items:center;justify-content:center;
}

.background-faq{
  background-image:linear-gradient(90deg,#050505 0%,#050505 18%,rgba(5,5,5,.55) 42%,rgba(5,5,5,.15) 60%),url('../images/faq.png');
  background-size:cover;background-position:right center;background-repeat:no-repeat;
}

.accordion-mf .accordion-item{
  background-color:transparent;
  border:1px solid var(--mf-green-dim);
  border-radius:.75rem!important;
  margin-bottom:1.1rem;
  overflow:hidden;
}
.accordion-mf .accordion-button{
  background-color:transparent;
  color:var(--mf-green);
  font-size:.8125rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  box-shadow:none;
  padding:1.4rem 1.5rem;
}
/* .accordion-mf .accordion-button::after{
  filter:invert(64%) sepia(45%) saturate(1074%) hue-rotate(93deg) brightness(97%) contrast(89%);
} */
.accordion-mf .accordion-button:not(.collapsed){
  color:#fff;
  background-color:rgba(34,197,94,.04);
  box-shadow:none;
}
.accordion-mf .accordion-body{
  color:var(--mf-muted);
  font-size:.85rem;
  padding:0 1.5rem 1.4rem 1.5rem;
}
.accordion-mf .faq-num{
  font-size:1.5rem;font-weight:800;color:#fff;min-width:2.5rem;
}
.truck-img{
  width:100%;
  height:400px;
  object-fit:cover;
  border-radius:1.25rem;
}
.accordion-button:not(.collapsed)::after{
  background-image: url("../svg/minus-icon.svg") !important;
  height: 16px !important;
  width: 16px !important;
  background-size: 10px !important;
}
.accordion-button::after{
  background-image: url("../svg/plus-icon.svg") !important;
  height: 16px !important;
  width: 16px !important;
  background-size: 10px !important;
}

/* ---------------- Contact CTA ---------------- */
.contact-btn{
  display:flex;align-items:center;justify-content:space-between;
  border:1px solid var(--mf-green-dim);
  border-radius:.5rem;
  padding:1rem 1.4rem;
  font-size:.8125rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  color:#f4f6f5;
  transition:border-color .2s ease,background .2s ease;
}
.contact-btn:hover{border-color:var(--mf-green);background-color:rgba(34,197,94,.05);color:#fff;}
.contact-btn svg{width:16px;height:16px;color:var(--mf-green);}

/* ---------------- Footer ---------------- */
.footer-brand{
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.5rem;
  gap:20px;
}
footer.footer-mf{background:#060606;border-top:1px solid rgba(255,255,255,.06);}
.footer-mf .footer-brand img{height:100px;margin-bottom:1.1rem;}
.footer-mf p{color:var(--mf-muted);font-size:.85rem;}
.footer-mf h5{font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff;margin-bottom:1.25rem;}
.footer-mf a.link-mf{display:block;color:var(--mf-muted);font-size:.875rem;margin-bottom:.85rem;}
.footer-mf a.link-mf:hover{color:var(--mf-green);}
.footer-mf .social-circle{
  width:34px;height:34px;border-radius:50%;
  border:1px solid rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;
  color:var(--mf-muted-2);
}
.footer-mf .social-circle:hover{border-color:var(--mf-green);color:var(--mf-green);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.06);font-size:.8rem;color:var(--mf-muted);}
.footer-bottom a{color:var(--mf-muted); text-transform: uppercase;}
.footer-bottom span{color:var(--mf-muted); text-transform: uppercase;}
.footer-bottom a:hover{color:var(--mf-green);}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
   .about-hero{
    background-image: url(../images/about-hero-banner.png);
    background-position: bottom right;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top:5rem;
    border-bottom:1px solid rgba(255,255,255,.05);
    margin-top: 80px;
   }
.about-hero-img{position:relative;overflow:hidden;min-height:37.5rem;}
.about-hero-img img{width:100%;height:100%;object-fit:cover;min-height:37.5rem;}
.about-hero-img::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.4) 12%,rgba(5,5,5,0) 30%);
}
.about-hero-text{
  padding-left: 130px !important;
}
.about-hero-text h1{font-size:4rem;line-height:1.05;color:#fff;margin-bottom:2rem;}
.about-hero-text h1 span{display:block;}
.about-hero-quote{
  border-left:2px solid var(--mf-green);
  padding-left:1.25rem;
  color:var(--mf-muted-2);
  font-size:.97rem;
  max-width:400px;
}

.timeline-mf{position:relative;}
.timeline-mf .item{
  position:relative;padding-left:1.5rem;
  /* border-left:1px solid var(--mf-border); */
  padding-bottom:3.5rem;
}
.timeline-mf .item:last-child{padding-bottom:0;}
.timeline-mf .item::before{
  content:"";position:absolute;left:-5px;top:2px;
  width:9px;height:9px;border-radius:50%;
  background:var(--mf-green);
  box-shadow:0 0 0 4px rgba(34,197,94,.15);
}
.timeline-mf .item .year{color:var(--mf-green);font-size:.875rem;font-weight:700;letter-spacing:.05em;display:block;margin-bottom:.4rem;}
.timeline-mf .item.muted .year{color:var(--mf-muted);}
.timeline-mf .item.muted h4{color:var(--mf-muted-2);}
.timeline-mf .item h4{font-size:1.1rem;color:#fff;margin-bottom:.6rem;}
.timeline-mf .item p{font-size:.85rem;color:var(--mf-muted);max-width:220px;margin-bottom:0;}

.watermark-logo{position:absolute;opacity:.05;pointer-events:none;z-index:0;}

.archive-frame{position:relative;border-radius:1rem;overflow:hidden;border:1px solid var(--mf-border);}
.archive-card{
  position:absolute;left:1.5rem;bottom:1.5rem;max-width:340px;
  background:rgba(6,10,8,.75);backdrop-filter:blur(6px);
  border:1px solid var(--mf-green-dim);border-radius:.6rem;
  padding:1.1rem 1.35rem;
}
.archive-card p{font-size:.8125rem;color:var(--mf-muted-2);margin-bottom:0;}

.stats-banner{position:relative;min-height:32.5rem;display:flex;align-items:center;background:#050505;overflow:hidden;}
.stats-banner img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.stats-banner::after{
  content:"";position:absolute;inset:0;z-index:1;
  /* background:linear-gradient(90deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,.55) 55%,rgba(0,0,0,.15) 100%); */
}
.stats-banner-content{position:relative;z-index:2;text-align:right;}
.stats-banner-content .line1{font-size:1.375rem;font-weight:700;color:#fff;}
.stats-banner-content .line2{font-size:1.375rem;font-weight:700;color:var(--mf-green);margin-bottom:1rem;}
.stats-banner-content .big-number{font-size:6rem;font-weight:800;color:#fff;line-height:1;margin-bottom:.85rem;}
.stats-banner-content .sub{font-size:1.05rem;color:var(--mf-muted-2);}

.standards-stats .num{font-size:6.5rem;font-weight:400;color:#fff;line-height:1;display:flex;align-items:baseline;justify-content:center;gap:.35rem;}
.standards-stats .num .unit{font-size:1.25rem;color:var(--mf-green);font-weight:700;}
.standards-stats .label{font-size:16px;letter-spacing:0;text-transform:uppercase;color:var(--mf-muted);margin-top:.6rem;}

/* service page */

.hero-services{
  position:relative;
  display:flex;align-items:center;overflow:hidden;background:#050505;
  margin-top: 80px;
  padding-bottom: 5rem;
}
.hero-services-bg{
  position:absolute;inset:0;
  background-image:url('../images/service-hero-banner.png');
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
.hero-services h1{font-size:3.25rem;line-height:1.06;text-transform:uppercase;margin-bottom:1.4rem;}
.hero-services h1 span{display:block;}
 
.service-tile{
  position:relative;border-radius:.9rem;overflow:hidden;border:1px solid var(--mf-border);
  min-height:21.25rem;display:flex;flex-direction:column;justify-content:flex-end;height:100%;
}
.service-tile.photo{background-size:cover;background-position:center;}
.service-tile.photo::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.35) 45%,rgba(0,0,0,.85) 100%);
}
.service-tile.dark{background:#141816;justify-content:flex-start;padding-top:2rem;}
.service-tile.dark.green-tint{background:linear-gradient(160deg,#0c1c13,#0a100c);border-color:var(--mf-green-dim);}
.service-tile-body{position:relative;z-index:2;padding:2rem;}
.service-tile h3{font-size:1.6rem;color:#fff;margin-bottom:.85rem;}
.service-tile p{font-size:16px;color:var(--mf-muted-2);max-width:360px;margin-bottom:1.3rem;line-height:1.6;}
.service-tile a{font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mf-green);}
.tile-image-strip{width:100%;height:110px;background-size:cover;background-position:center;margin-top:auto;}
.service-tile.with-inline{flex-direction:row;align-items:center;padding:0 2rem;}
.service-tile.with-inline .service-tile-body{padding:2rem 0;}
.tile-inline-image{width:220px;flex-shrink:0;align-self:center;margin-left:auto;border-radius:.6rem;overflow:hidden;}
 
.advantage-icon{
  width:44px;height:44px;border-radius:.5rem;border:1px solid var(--mf-green-dim);
  background:rgba(34,197,94,.05);display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.advantage-icon svg{width:20px;height:20px;color:var(--mf-green);stroke:var(--mf-green);}
 
.cta-banner{
  padding:6.5rem 0;text-align:center;
  background:linear-gradient(180deg,#090909,#0a0f0c 50%,#090909);
  position:relative;
}
.cta-banner h2{font-size:2.6rem;text-transform:uppercase;color:#fff;margin-bottom:1rem;position:relative;z-index:1;}

/* ==============================
   TIMELINE
================================= */

.timeline-mf {
    position: relative;
    padding-left: 45px;
}

/* Background vertical line */
.timeline-mf::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: rgba(75, 205, 140, 0.18);
}

/* Animated green line */
.timeline-mf::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 20px;
    width: 2px;
    height: var(--timeline-progress, 0%);
    background: var(--mf-green);
    box-shadow: 0 0 10px rgba(61, 220, 130, 0.6);
    transition: height 0.8s ease-in-out;
    z-index: 1;
}

.timeline-mf .item {
    position: relative;
    padding-bottom: 45px;
    opacity: 0.35;
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.timeline-mf .item:last-child {
    padding-bottom: 0;
}

/* Timeline Dot */
.timeline-mf .item::before {
    content: "";
    position: absolute;
    left: -35px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #25372e;
    border: 2px solid #183f2b;
    z-index: 3;
    transition: all 0.4s ease;
}

/* Active Item */
.timeline-mf .item.active {
    opacity: 1;
    transform: translateX(5px);
}

/* Active dot */
.timeline-mf .item.active::before {
    background: var(--mf-green);
    border-color: var(--mf-green);
    left: -40px;
    box-shadow:
        0 0 0 5px rgba(62, 210, 125, 0.12),
        0 0 12px rgba(62, 210, 125, 0.9);

    animation: timelineBlink 1s infinite;
}


/* Blinking animation */
@keyframes timelineBlink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow:
            0 0 0 5px rgba(62, 210, 125, 0.12),
            0 0 12px rgba(62, 210, 125, 0.9);
    }

    50% {
        opacity: 0.45;
        transform: scale(1.3);
        box-shadow:
            0 0 0 9px rgba(62, 210, 125, 0.04),
            0 0 20px rgba(62, 210, 125, 0.5);
    }
}


/* Text transitions */
.timeline-mf .year,
.timeline-mf h4,
.timeline-mf p {
    transition:
        color 0.4s ease,
        opacity 0.4s ease;
}

.timeline-mf .item.active .year {
    color: var(--mf-green);
}

.timeline-mf .item.active h4 {
    color: #fff;
}

.timeline-mf .item.active p {
    color: rgba(255,255,255,0.7);
}


/* ==============================
   IMAGE TRANSITION
================================= */

.archive-frame {
    overflow: hidden;
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.archive-frame.changing {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
}

.archive-frame img {
    width: 100%;
    display: block;
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.archive-frame img.image-changing {
    opacity: 0;
    transform: scale(1.05);
}


/* Archive card */
.archive-card {
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

/* ==========================================================================
   SERVICE DETAIL PAGES (shared template for all 4 services)
   ========================================================================== */
.service-hero{
  position:relative;min-height:40rem;display:flex;align-items:center;overflow:hidden;background:#050505;
}
.service-hero-bg{
  position:absolute;inset:0;
  background-size:cover;background-position:center;background-repeat:no-repeat;
  /* background: url(../images/service-hero-banner.png); */
}
.service-hero-bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.72) 32%,rgba(5,5,5,.32) 58%,rgba(5,5,5,.08) 100%);
}
.service-back-link{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  color:#fff;margin-bottom:1.75rem;
  transition:border-color .2s ease,background .2s ease;
}
.service-back-link:hover{border-color:var(--mf-green);background:rgba(34,197,94,.08);color:var(--mf-green);}
.service-hero h1{font-size:3rem;line-height:1.12;margin-bottom:1.5rem;}
.service-hero h1 span{display:block;}
 
.service-intro{padding:6.5rem 0;}
.service-intro-img{border-radius:.9rem;overflow:hidden;border:1px solid var(--mf-border); height:100%;}
.service-intro-img img{
  width:100%;
  height:570px;
  object-fit:cover;
}
.service-intro h2{font-size:2.4rem;color:#fff;line-height:1.15;margin-bottom:1.5rem;}
.service-intro h2 .accent{color:var(--mf-green);}
.service-intro > .row > .col-lg-6:last-child > p{color:var(--mf-muted-2);font-size:1rem;margin-bottom:2rem;}
 
.feature-panel{
  background:#141816;
  border:1px solid var(--mf-border);
  border-radius:.6rem;
  padding:1.5rem 1.75rem;
  margin-bottom:1.25rem;
}
.feature-panel h4{color:var(--mf-green);font-size:1.1rem;margin-bottom:.6rem;}
.feature-panel p{color:var(--mf-muted-2);font-size:.9rem;margin-bottom:0;}
 
.why-mf-section{padding:6.5rem 0;background:#141618;}
.why-mf-section h2{font-size:2.2rem;text-align:center;margin-bottom:3.5rem;}
.why-mf-section h2 .accent{color:var(--mf-green);}
.feature-box{
  border:1px solid var(--mf-green);
  border-top:2px solid var(--mf-green);
  /* border-radius:.6rem; */
  padding:2.25rem 1.5rem;
  text-align:center;
  height:100%;
}
.feature-box .icon-circle{
  width:52px;height:52px;border-radius:50%;
  /* border:1.5px solid var(--mf-green); */
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1.25rem;
}
.feature-box .icon-circle svg{width:40px;height:40px;color:var(--mf-green);stroke:var(--mf-green);}
.feature-box h4{font-size:1.05rem;color:#fff;margin-bottom:.85rem;}
.feature-box p{font-size:.85rem;color:var(--mf-muted);margin-bottom:0;}



/* ==========================================================================
     Contact Page
   ========================================================================== */
 .form-control{
  background-color: #353534;
  color: #fff;
 }
 .form-control::placeholder {
  color: grey;
 }
 .form-select{
  background-color: #353534;
  color: #fff;
 }
 .contact-info-card{
   background-color: #1C1B1B;
  color: #fff;
  padding:2rem;
  border-radius:.9rem;
 }
 .contact-form-card{
  background-color: #1C1B1B; 
  padding:2rem; 
  border-radius:.9rem; 
  border:1px solid var(--mf-border);
} 
.local-area-card{
  background-color: #1C1B1B; 
  padding:2rem; 
  border-radius:.9rem; 
  border:1px solid var(--mf-border);
  width: 50%;
}



@media (max-width:991.98px){
  .service-hero h1{font-size:2.2rem;}
  .service-intro h2{font-size:1.9rem;}
}


/* ---------------- Responsive tweaks ---------------- */
@media (max-width:991.98px){
  .hero-home h1{font-size:2.6rem;}
  .about-hero-text h1{font-size:2.75rem;}
  .hero-services h1{font-size:2.2rem;}
  .service-tile.with-inline{flex-direction:column;padding:2rem;}
  .tile-inline-image{width:100%;margin:1.25rem 0 0;}
  .stats-banner-content{text-align:center;}
  .contact-h1{font-size:2.1rem;}
  .contact-form-card,.contact-info-card{padding:1.5rem;}
.local-area-card{
  width:100%;
}
.service-intro-img img{
  height:400px;
}
.truck-img{
  height:300px;
}
.about-hero-text{
  padding-left: 0 !important;
}
.navbar-mf{
  padding-right:.9rem;
  padding-left:.9rem;
}
.standards-stats{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}
 .navbar-mf .dropdown-menu {
        position: static;
        transform: none;
        display: none;
        width: 100%;
        margin-top: 5px;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navbar-mf .nav-item:hover > .dropdown-menu {
        display: block;
    }

    .navbar-mf .nav-item:has(.dropdown-menu) > .nav-link::after {
        float: right;
    }
    .stats-banner, .stats-banner img.bg {
      height: auto;
      min-height: 250px;
    }
}