/* =========================================================
   MEGATOM CONSULT — CUSTOM STYLESHEET v2
   Brand: Teal Green #076E65 / Yellow Orange #FFB100
   Type: Instrument Sans + Instrument Serif Italic
   ========================================================= */

:root{
  --teal:        #076E65;
  --teal-dark:   #053F3A;
  --teal-deep:   #042e2a;
  --orange:      #FFB100;
  --orange-deep: #E89A00;
  --surf:        #BDD9BF;
  --sand:        #FFEBC6;
  --pink:        #F194B4;
  --ink:         #0F2C28;
  --paper:       #FFFCF6;
  --white:       #ffffff;

  --font-body:   'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-accent: 'Instrument Serif', serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 50px -20px rgba(7,110,101,.35);
  --shadow-pop:  0 14px 30px -10px rgba(15,44,40,.25);

  --nav-h: 116px; /* navbar height — used for hero offset */
}

/* ---------- Base ---------- */
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection{ background: var(--orange); color: var(--teal-dark); }

h1,h2,h3,h4,h5{
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: -0.02em;
}
.accent{
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--orange-deep);
}
p{ color: #3c5854; line-height: 1.75; }
a{ text-decoration: none; }

.btn{
  border-radius: 50px;
  padding: .8rem 1.8rem;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  transition: all .25s ease;
}
.btn-brand{
  background: var(--orange);
  color: var(--teal-dark);
  border-color: var(--orange);
}
.btn-brand:hover{
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
}
.btn-outline-brand{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-brand:hover{
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
}
.btn-outline-teal{
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover{
  background: var(--teal);
  color: var(--white);
}

.section{ padding: 6.5rem 0; position: relative; }
.section-sm{ padding: 4rem 0; }
@media(max-width:768px){ .section{ padding: 4rem 0; } }

.eyebrow{
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  background: var(--surf);
  padding: .4rem 1rem; border-radius: 50px;
}
.eyebrow::before{
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}

/* petal utility */
.ratio-petal{ border-radius: 0 var(--radius-lg) 0 var(--radius-lg); overflow: hidden; }

.pattern-overlay{
  position: absolute; inset: 0; opacity: .10; pointer-events: none;
  background-image: url('../img/m9.png');
  background-repeat: repeat;
  background-size: 200px;
}



/* =========================================================
   HERO SLIDER  ← full redesign v2
   ========================================================= */

/* The slider starts directly under the fixed navbar */
.hero-slider{
  position: relative;
  /* push content below navbar */
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-slide{
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s;
  /* cover the nav offset too */
  top: 0;
}
.hero-slide.is-active{
  position: relative; /* in-flow so slider gets natural height */
  opacity: 1; visibility: visible; z-index: 2;
}
/* Inactive slides are absolutely layered behind */
.hero-slider{ position: relative; }
.hero-slide{ position: absolute; inset: 0; top: var(--nav-h); }
.hero-slide.is-active{
  position: relative;
  top: 0;
  opacity: 1; visibility: visible; z-index: 2;
}

.hero-slide-1{
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
}
.hero-slide-2{
  background: linear-gradient(135deg, #7a4800 0%, var(--orange-deep) 100%);
}
.hero-slide-3{
  background: linear-gradient(135deg, #5c1f3c 0%, #b5536e 100%);
}

.hero-slide .container{
  position: relative; z-index: 3;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
@media(max-width:991px){
  .hero-slide .container{ padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

/* text column */
.hero-content{ color: var(--white); }
.hero-content .eyebrow{
  background: rgba(255,255,255,.18); color: var(--white);
}
.hero-content .eyebrow::before{ background: var(--orange); }

.hero-title{
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.1;
  margin: 1.1rem 0 1.4rem;
}
.hero-sub{
  color: rgba(255,255,255,.88); font-size: 1.05rem;
  max-width: 520px; margin-bottom: 2rem;
}

/* image column */
.hero-img-wrap{
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.hero-img-frame{
  position: relative;
  width: 100%;
  max-width: 500px;
  /* arch / petal shape */
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  overflow: hidden;
  /* subtle glow matching the slide accent */
  box-shadow: -20px 20px 60px rgba(0,0,0,.35);
}
.hero-slide-1 .hero-img-frame{ box-shadow: -20px 20px 60px rgba(0,0,0,.3); }
.hero-slide-2 .hero-img-frame{ box-shadow: -20px 20px 60px rgba(120,60,0,.4); }
.hero-slide-3 .hero-img-frame{ box-shadow: -20px 20px 60px rgba(120,30,60,.4); }

.hero-img-frame img{
  display: block; width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  /* subtle desaturate so brand color pops */
  filter: brightness(.92) contrast(1.05);
}
/* translucent colour-tint overlay on image */
.hero-img-frame::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}

/* floating badge on the image */
.hero-badge{
  position: absolute;
  bottom: 1.8rem; left: -1.4rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: .85rem 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  display: flex; align-items: center; gap: .75rem;
  min-width: 200px;
  z-index: 4;
}
.hero-badge .hb-icon{
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sand); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.hero-badge .hb-text strong{ display: block; font-size: .95rem; color: var(--teal-dark); line-height: 1.2; }
.hero-badge .hb-text small{ color: #7a9490; font-size: .78rem; }

/* dots */
.hero-dots{
  position: absolute; left: 50%; bottom: 2rem;
  transform: translateX(-50%); z-index: 5; display: flex; gap: .6rem;
}
.hero-dots button{
  width: 34px; height: 5px; border-radius: 50px;
  background: rgba(255,255,255,.35);
  border: none; padding: 0; cursor: pointer; transition: background .3s ease;
}
.hero-dots button.is-active{ background: var(--white); width: 54px; }

/* arrows */
.hero-arrows{
  position: absolute; z-index: 5; bottom: 1.8rem; right: 2.2rem; display: flex; gap: .6rem;
}
.hero-arrows button{
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease; backdrop-filter: blur(4px);
}
.hero-arrows button:hover{ background: var(--white); color: var(--teal-dark); }

.hero-scroll-cue{
  position: absolute; left: 2.2rem; bottom: 2.2rem; z-index: 5;
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-cue::after{
  content: ""; width: 1px; height: 50px; background: rgba(255,255,255,.4);
}

/* slide-in animation for active slide content */
.hero-slide.is-active .hero-content{ animation: slideInLeft .8s ease both; }
.hero-slide.is-active .hero-img-wrap{ animation: slideInRight .9s ease both; }
@keyframes slideInLeft{
  from{ opacity:0; transform: translateX(-36px); }
  to{   opacity:1; transform: translateX(0); }
}
@keyframes slideInRight{
  from{ opacity:0; transform: translateX(36px); }
  to{   opacity:1; transform: translateX(0); }
}

/* ── Tablet ── */
@media(max-width:991px){
  .hero-img-frame{ max-width: 340px; }
  .hero-badge{ left: -0.5rem; min-width: 170px; padding: .7rem 1rem; }
}

/* ── Mobile ── */
@media(max-width:767px){
  .hero-slider{ padding-top: var(--nav-h); overflow: hidden; }
  .hero-slide .container{ padding-top: 2.5rem; padding-bottom: 4rem; }
  .hero-content .hero-title{ font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .hero-content .hero-sub{ font-size: .95rem; }
  .hero-img-wrap{
    justify-content: center;
    margin-top: 1.5rem;
    overflow: hidden;   /* prevent wide arch from bleeding out */
    width: 100%;
  }
  .hero-img-frame{
    max-width: min(260px, 68vw);
    border-radius: 50% 50% 0 0 / 55% 55% 0 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
  }
  .hero-badge{ display: none; }
  .hero-arrows{ display: none; }
  .hero-scroll-cue{ display: none; }
  .hero-dots{ bottom: .8rem; }
  .hero-dots button{ width: 26px; }
  .hero-dots button.is-active{ width: 40px; }
}

/* =========================================================
   PAGE BREADCRUMB BANNER
   ========================================================= */
.page-banner{
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--teal-dark), var(--teal));
  /* top = navbar height + extra breathing room so no text is hidden */
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
}
/* On mobile the navbar collapses to ~76px auto height */
@media(max-width:991px){
  .page-banner{ padding-top: calc(76px + 2.5rem); }
}
.page-banner .pattern-overlay{ opacity: .09; }
.page-banner-shape{
  position: absolute; left: -8%; bottom: -18%; width: 340px; height: 340px;
  border-radius: 0 100% 0 100%; background: rgba(255,255,255,.06);
}
.page-banner-shape.two{
  left: auto; right: -4%; top: -22%; bottom: auto; width: 240px; height: 240px;
  background: rgba(255,177,0,.16);
}
.page-banner h1{ color: var(--white); font-size: clamp(2rem,4vw,3rem); margin-bottom: .6rem; }
.breadcrumb-mt{
  display: flex; align-items: center; gap: .5rem; list-style: none; padding: 0; margin: 0;
  font-size: .92rem; color: rgba(255,255,255,.75);
}
.breadcrumb-mt a{ color: rgba(255,255,255,.85); font-weight: 600; }
.breadcrumb-mt a:hover{ color: var(--orange); }
.breadcrumb-mt li:not(:last-child)::after{ content: "/"; margin-left: .5rem; color: rgba(255,255,255,.4); }
.breadcrumb-mt li.current{ color: var(--orange); font-weight: 600; }
.page-banner-media{
  position: relative; z-index: 2; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft);
  border: 6px solid rgba(255,255,255,.15);
}
.page-banner-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   STATS STRIP
   ========================================================= */
.stat-block{ text-align: center; }
.stat-num{
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(2.2rem,4vw,3.4rem); color: var(--white); line-height: 1;
}
.stat-label{
  font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-top: .4rem;
}

/* =========================================================
   CARDS
   ========================================================= */
.icon-tile{
  width: 64px; height: 64px; border-radius: 0 100% 0 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sand); color: var(--teal); font-size: 1.6rem; flex-shrink: 0;
}
.card-mt{
  background: var(--white); border-radius: var(--radius-md);
  padding: 2.2rem 1.9rem; height: 100%;
  border: 1px solid rgba(7,110,101,.08);
  transition: all .3s ease;
  box-shadow: 0 4px 18px -12px rgba(15,44,40,.12);
}
.card-mt:hover{ transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: transparent; }
.card-mt h3, .card-mt h4{ font-size: 1.18rem; margin: 1.1rem 0 .6rem; }
.card-mt p{ font-size: .95rem; margin-bottom: 0; }

.card-service{
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  height: 100%; box-shadow: 0 4px 18px -12px rgba(15,44,40,.14);
  transition: all .3s ease; border: 1px solid rgba(7,110,101,.07);
}
.card-service:hover{ transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.card-service .cs-top{ padding: 2rem 1.8rem 0; }
.card-service .cs-body{ padding: 1.2rem 1.8rem 2rem; }
.card-service .cs-num{
  font-family: var(--font-accent); font-style: italic;
  font-size: 2.4rem; color: var(--surf); line-height: 1;
}

/* process steps */
.process-step{ text-align: center; padding: 0 1rem; }
.process-num{
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px dashed var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: var(--font-accent); font-style: italic; font-size: 1.6rem; color: var(--teal);
}

/* =========================================================
   TESTIMONIALS SWIPER
   ========================================================= */
.testimonials-section{ background: var(--surf); overflow: hidden; }

.swiper-testimonials{ padding-bottom: 3.5rem !important; overflow: visible !important; }

.testimonial-card{
  background: var(--white); border-radius: var(--radius-md); padding: 2.4rem;
  position: relative; height: 100%;
  box-shadow: 0 6px 24px -10px rgba(7,110,101,.15);
}
.testimonial-card .quote-mark{
  font-family: var(--font-accent); font-style: italic;
  font-size: 3.5rem; color: var(--orange); line-height: .5; display: block; margin-bottom: 1rem;
}
.testimonial-card p{ font-size: 1rem; line-height: 1.7; color: var(--ink); }
.testimonial-author{ display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.testimonial-author .avatar{
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.testimonial-author .avatar img{
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.testimonial-stars{ color: var(--orange); font-size: .85rem; margin-bottom: .6rem; }

/* Swiper nav overrides */
.swiper-testimonials .swiper-pagination-bullet{
  background: var(--teal-dark); opacity: .35;
}
.swiper-testimonials .swiper-pagination-bullet-active{
  background: var(--teal-dark); opacity: 1;
}
.swiper-nav-btns{ display: flex; gap: .6rem; justify-content: flex-end; }
.swiper-nav-btns button{
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--teal); background: transparent; color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s ease;
}
.swiper-nav-btns button:hover{ background: var(--teal); color: var(--white); }

/* =========================================================
   BLOG CARDS
   ========================================================= */
.blog-card{
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 4px 18px -12px rgba(15,44,40,.14);
  transition: all .3s ease; height: 100%;
  border: 1px solid rgba(7,110,101,.07);
}
.blog-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.blog-card-img{ height: 210px; position: relative; overflow: hidden; }
.blog-card-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img{ transform: scale(1.08); }
.blog-tag{
  position: absolute; top: 1rem; left: 1rem;
  background: var(--orange); color: var(--teal-dark);
  font-size: .72rem; font-weight: 700; padding: .3rem .8rem;
  border-radius: 50px; text-transform: uppercase; letter-spacing: .05em;
}
.blog-card-body{ padding: 1.5rem; }
.blog-meta{ font-size: .8rem; color: var(--teal); font-weight: 600; margin-bottom: .5rem; }
.blog-card h3{ font-size: 1.1rem; line-height: 1.4; }
.blog-card-body p{ font-size: .92rem; }

/* team */
.team-card{ text-align: center; }
.team-photo{
  border-radius: var(--radius-md); overflow: hidden; margin-bottom: 1.2rem;
  aspect-ratio: 4/4.6; position: relative;
}
.team-photo img{ width: 100%; height: 100%; object-fit: cover; }
.team-social{
  position: absolute; bottom: 1rem; left: 50%;
  transform: translateX(-50%) translateY(120%);
  display: flex; gap: .5rem;
  transition: transform .3s ease; opacity: 0;
}
.team-card:hover .team-social{ transform: translateX(-50%) translateY(0); opacity: 1; }
.team-social a{
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
}

/* FAQ */
.faq-mt .accordion-item{
  border: none; border-radius: var(--radius-sm) !important;
  overflow: hidden; margin-bottom: 1rem;
  box-shadow: 0 4px 16px -10px rgba(15,44,40,.15);
}
.faq-mt .accordion-button{ font-weight: 700; color: var(--teal-dark); padding: 1.3rem 1.5rem; }
.faq-mt .accordion-button:not(.collapsed){ background: var(--surf); color: var(--teal-dark); box-shadow: none; }
.faq-mt .accordion-button:focus{ box-shadow: none; }
.faq-mt .accordion-body{ color: #3c5854; padding: 0 1.5rem 1.3rem; }

/* CTA band */
.cta-band{
  background: var(--teal-dark); border-radius: var(--radius-lg); padding: 3.5rem;
  position: relative; overflow: hidden; color: var(--white);
}
.cta-band .pattern-overlay{ opacity: .07; }
.cta-band h2{ color: var(--white); }

/* form controls */
.form-control, .form-select{
  border-radius: 12px; padding: .85rem 1.1rem;
  border: 1.5px solid #e3ece9; font-size: .95rem;
}
.form-control:focus, .form-select:focus{
  border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(7,110,101,.12);
}
.form-label{ font-weight: 600; font-size: .88rem; color: var(--teal-dark); margin-bottom: .4rem; }

/* scroll reveal */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity: 1; transform: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.mt-footer{ background: var(--teal-deep); color: rgba(255,255,255,.78); padding: 4.5rem 0 0; }
.mt-footer h5{ color: var(--white); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.3rem; }
.mt-footer a{ color: rgba(255,255,255,.72); }
.mt-footer a:hover{ color: var(--orange); }
.mt-footer .footer-links li{ margin-bottom: .7rem; }
.mt-footer .mt-logo-text{ color: var(--white); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem;
  padding: 1.5rem 0; font-size: .85rem;
}
.social-pill{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.social-pill:hover{ background: var(--orange); border-color: var(--orange); color: var(--teal-dark); }
.footer-newsletter .form-control{
  border-radius: 50px 0 0 50px; border: none; padding: .75rem 1.2rem;
}
.footer-newsletter .btn{ border-radius: 0 50px 50px 0; }

/* back to top */
.back-to-top{
  position: fixed; right: 1.4rem; bottom: 1.4rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .3s ease;
  z-index: 999; border: none;
}
.back-to-top.show{ opacity: 1; visibility: visible; }
.back-to-top:hover{ background: var(--orange); color: var(--teal-dark); }

/* =========================================================
   NAVBAR — FULL REDESIGN (v3, with real client logo)
   ========================================================= */

/* ── Top accent stripe ── */
.mt-navbar::before{
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg,
    var(--teal-dark) 0%,
    var(--teal)      30%,
    var(--orange)    65%,
    var(--surf)      100%);
  flex-shrink: 0;
}

/* ── Main bar ── */
.mt-navbar{
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0;
  transition: box-shadow .35s ease, height .35s ease;
  border-bottom: 1px solid rgba(7,110,101,.10);
  box-shadow: 0 3px 24px rgba(7,110,101,.07);
  height: var(--nav-h); /* 116px */
  display: flex;
  flex-direction: column;
}

/* inner Bootstrap nav row occupies the remaining height */
.mt-navbar .navbar{
  flex: 1;
  padding: 0 !important;
  min-height: 0;
}

/* ── Scrolled (compact) state ── */
.mt-navbar.scrolled{
  height: 72px;
  box-shadow: 0 6px 28px -8px rgba(15,44,40,.18);
}
.mt-navbar.scrolled::before{ height: 3px; }

/* ── Logo ── */
.mt-logo{
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: .6rem 0;          /* breathing room inside the bar */
}
.mt-logo-img{
  height: 82px;              /* large enough so the square PNG looks prominent */
  width: auto;
  display: block;
  transition: transform .3s ease, height .35s ease;
  /* give the white-bg PNG a very subtle shadow so it "floats" */
  filter: drop-shadow(0 2px 6px rgba(7,110,101,.08));
}
.mt-navbar.scrolled .mt-logo-img{ height: 52px; }
.mt-logo:hover .mt-logo-img{ transform: scale(1.04); }
.mt-logo-text{ display: none; }   /* PNG wordmark replaces text */

/* ── Nav links ── */
.mt-nav .nav-link{
  font-weight: 600;
  color: var(--ink);
  padding: .85rem 1.15rem !important;
  position: relative;
  font-size: 1rem;
  letter-spacing: .015em;
  white-space: nowrap;
}
.mt-nav .nav-link::after{
  content: "";
  position: absolute;
  left: 1.15rem; right: 1.15rem;
  bottom: .4rem;
  height: 2.5px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.mt-nav .nav-link:hover{ color: var(--teal); }
.mt-nav .nav-link:hover::after,
.mt-nav .nav-link.active::after{ transform: scaleX(1); }
.mt-nav .nav-link.active{ color: var(--teal); }

/* ── Phone link (xl only) ── */
.mt-phone-link{
  font-size: .875rem;
  font-weight: 700;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 0 1rem;
  border-left: 1.5px solid rgba(7,110,101,.14);
  border-right: 1.5px solid rgba(7,110,101,.14);
  margin: 0 .5rem;
  white-space: nowrap;
}
.mt-phone-link:hover{ color: var(--teal); }
.mt-phone-link i{ color: var(--orange); }

/* ── CTA button ── */
.mt-cta{
  background: var(--teal) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: .8rem 1.8rem !important;
  font-weight: 700 !important;
  font-size: .975rem !important;
  margin-left: .6rem;
  box-shadow: 0 4px 16px rgba(7,110,101,.3);
  white-space: nowrap;
  transition: all .25s ease !important;
  border: 2px solid var(--teal) !important;
}
.mt-cta:hover{
  background: var(--orange) !important;
  color: var(--teal-dark) !important;
  border-color: var(--orange) !important;
  box-shadow: 0 6px 22px rgba(255,177,0,.4);
  transform: translateY(-2px);
}
.mt-cta::after{ display: none !important; }

/* ── Mobile toggler ── */
.mt-toggler{
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  font-size: 1.5rem;
  transition: background .2s ease;
}
.mt-toggler:hover{ background: var(--surf); }

/* ── Offcanvas (mobile menu) ── */
.offcanvas-mt{
  background: var(--teal-deep);
  color: var(--white);
  border-left: none !important;
  width: 310px !important;
}
.offcanvas-mt .offcanvas-header{
  padding: 1.6rem 1.6rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  align-items: center;
}
/* logo on dark bg: put it on a white pill so it reads clearly */
.offcanvas-logo-wrap{
  background: var(--white);
  border-radius: 12px;
  padding: .4rem .8rem;
  display: inline-flex;
  align-items: center;
}
.offcanvas-mt .offcanvas-logo-img{
  height: 52px;
  width: auto;
  display: block;
}
.offcanvas-mt .btn-close{ filter: invert(1); opacity: .7; }
.offcanvas-mt .offcanvas-body{ padding: 1.6rem; }
.offcanvas-mt .nav-link{
  color: rgba(255,255,255,.88);
  font-weight: 600;
  font-size: 1.08rem;
  padding: .9rem 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: color .2s ease, padding-left .2s ease;
}
.offcanvas-mt .nav-link i{
  width: 22px; text-align: center; color: var(--surf); font-size: 1rem;
}
.offcanvas-mt .nav-link:hover{
  color: var(--orange);
  padding-left: .5rem !important;
}
.offcanvas-mt .nav-link:hover i{ color: var(--orange); }
.offcanvas-mt .nav-link::after{ display: none; }

/* ── Responsive breakpoints ── */
@media(max-width:1199px){
  .mt-phone-link{ display: none !important; }
}
@media(max-width:991px){
  .mt-navbar{ height: auto; min-height: 76px; }
  .mt-navbar .navbar{ height: auto; padding: .6rem 0 !important; }
  .mt-logo-img{ height: 62px; }
  .mt-navbar.scrolled .mt-logo-img{ height: 46px; }
}

/* =========================================================
   MOBILE OVERFLOW & RESPONSIVE FIXES  (v3 patch)
   Prevents horizontal scroll on all screen sizes
   ========================================================= */

/* Global overflow guard — catches any stray element bleeding out */
html, body{
  overflow-x: hidden;
  max-width: 100%;
}
*, *::before, *::after{
  box-sizing: border-box;
}

/* Sections & containers should never exceed viewport */
.section, .section-sm{
  max-width: 100%;
  overflow-x: hidden;
}

/* ── Navbar fixes ── */
@media(max-width:991px){
  .mt-navbar .navbar{ flex-wrap: nowrap; }
  .mt-navbar .container{ max-width: 100%; }
}

/* ── Hero slider: slide animations can cause bleed on mobile ── */
@media(max-width:575px){
  .hero-slide .container{
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  /* Disable translateX slide-in on mobile — just fade */
  .hero-slide.is-active .hero-content,
  .hero-slide.is-active .hero-img-wrap{
    animation: fadeInOnly .8s ease both;
  }
  @keyframes fadeInOnly{
    from{ opacity: 0; }
    to{   opacity: 1; }
  }
}

/* ── About section floating badge card ── */
@media(max-width:575px){
  .position-absolute.bg-white.rounded-4{
    right: 0 !important;
    bottom: -.5rem !important;
    max-width: 180px !important;
    padding: .7rem !important;
  }
}

/* ── Page banner image hidden on mobile to save space ── */
@media(max-width:767px){
  .page-banner-media{ display: none; }
  .page-banner .col-lg-6:first-child{
    text-align: center;
  }
  .breadcrumb-mt{ justify-content: center; }
}

/* ── CTA band padding ── */
@media(max-width:575px){
  .cta-band{ padding: 2.2rem 1.5rem; }
  .cta-band h2{ font-size: 1.45rem; }
}

/* ── Footer newsletter input row ── */
@media(max-width:400px){
  .footer-newsletter{ flex-direction: column; gap: .6rem; }
  .footer-newsletter .form-control{ border-radius: 12px !important; }
  .footer-newsletter .btn{ border-radius: 12px !important; width: 100%; }
}

/* ── Testimonial swiper overflow ── */
.swiper-testimonials{
  overflow: hidden !important;   /* clip slides so they don't bleed sideways */
}
.swiper-wrapper{ overflow: visible; }   /* individual slides still peek nicely */

/* ── Team photo on mobile ── */
@media(max-width:575px){
  .team-photo{ aspect-ratio: 1/1; }
}

/* ── Services pricing card row ── */
@media(max-width:575px){
  .card-mt.d-flex.flex-row{
    flex-direction: column !important;
    gap: .5rem;
  }
}

/* ── Process steps ── */
@media(max-width:575px){
  .process-step{ padding: 0 .5rem; }
}

/* ── Breadcrumb banner heading ── */
@media(max-width:575px){
  .page-banner h1{ font-size: 1.7rem; }
}

/* ── Hero content buttons wrap ── */
@media(max-width:400px){
  .hero-content .d-flex.flex-wrap{
    flex-direction: column;
  }
  .hero-content .btn{
    width: 100%;
    text-align: center;
  }
}

/* ── Blog card image height mobile ── */
@media(max-width:575px){
  .blog-card-img{ height: 170px; }
}

/* ── Stat strip grid ── */
@media(max-width:400px){
  .stat-num{ font-size: 1.9rem; }
  .stat-label{ font-size: .75rem; }
}

/* ── Swiper nav buttons wrap on mobile ── */
@media(max-width:575px){
  .swiper-nav-btns{ justify-content: flex-start; }
}

/* ── Booking form date/time inputs ── */
@media(max-width:575px){
  .form-control[type="date"],
  .form-control[type="time"]{
    font-size: .85rem;
  }
}

/* ── Contact info cards ── */
@media(max-width:575px){
  .d-flex.gap-3.mt-4.mb-4 p.small,
  .d-flex.gap-3.mb-4 p.small{ word-break: break-word; }
}
