/*--------------------------------------------------------------
# Maintech – brand layer on top of the NiceShop template (main.css)
# Load AFTER main.css
--------------------------------------------------------------*/

/* Fonts with full Greek support */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", "Noto Sans", Arial, sans-serif;
  --heading-font: "Commissioner", "Roboto", sans-serif;
  --nav-font: "Commissioner", "Roboto", sans-serif;
}

/* Brand colours: navy (logo) + solar green */
:root {
  --brand-navy: #28286b;
  --brand-navy-dark: #1b1b4a;
  --brand-navy-deep: #131336;
  --brand-green: #56b13d;
  --brand-green-dark: #3b8527;
  --brand-mist: #f3f5f9;

  --background-color: #ffffff;
  --default-color: #4a4e5c;
  --heading-color: #1b1b4a;
  --accent-color: #28286b;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: rgba(255, 255, 255, 0.86);
  --nav-hover-color: #ffffff;
  --nav-dropdown-color: #3c4050;
  --nav-dropdown-hover-color: #3b8527;
}

.light-background {
  --background-color: #f3f5f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1b1b4a;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #7fd066;
  --surface-color: #26265e;
  --contrast-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
}

.text-green { color: var(--brand-green-dark) !important; }

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-mt,
.btn-mt-outline,
.btn-mt-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border: 2px solid transparent;
  transition: 0.25s;
  text-decoration: none;
}

.btn-mt {
  background: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  color: #fff;
}

.btn-mt:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}

.btn-mt-navy {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}

.btn-mt-navy:hover {
  background: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  color: #fff;
}

.btn-mt-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-mt-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand-navy);
}

.btn-mt-outline.on-light {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.btn-mt-outline.on-light:hover {
  background: var(--brand-navy);
  color: #fff;
}

/* Template primary button (forms) */
.btn-primary {
  --bs-btn-bg: var(--brand-green-dark);
  --bs-btn-border-color: var(--brand-green-dark);
  --bs-btn-hover-bg: var(--brand-navy);
  --bs-btn-hover-border-color: var(--brand-navy);
  --bs-btn-active-bg: var(--brand-navy);
  --bs-btn-active-border-color: var(--brand-navy);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header .top-bar {
  background-color: var(--brand-navy-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.header .top-bar .top-bar-item,
.header .top-bar .top-bar-item a {
  color: rgba(255, 255, 255, 0.8);
}

.header .top-bar .top-bar-item a:hover {
  color: #fff;
}

.header .top-bar .top-bar-item i {
  color: var(--brand-green);
}

.header .top-bar .mt-top-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  align-items: center;
}

.header .top-bar .mt-support {
  color: #fff;
  font-weight: 500;
}

.header .main-header .logo img {
  max-height: 54px;
  width: auto;
}

@media (max-width: 575px) {
  .header .main-header .logo img {
    max-height: 40px;
  }
}

.header .mt-header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 24px;
  color: var(--default-color);
}

.header .mt-header-contact .mt-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--brand-green), transparent 86%);
  color: var(--brand-green-dark);
  font-size: 18px;
}

.header .mt-header-contact small {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.header .mt-header-contact a {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 17px;
  color: var(--brand-navy);
}

.header .mt-header-contact a:hover {
  color: var(--brand-green-dark);
}

.header .header-actions .btn-mt {
  padding: 11px 22px;
  font-size: 14px;
}

.header .header-nav {
  background-color: var(--brand-navy);
}

@media (min-width: 1200px) {
  .navmenu > ul > li > a,
  .navmenu > ul > li > a:focus {
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 500;
    position: relative;
  }

  .navmenu > ul > li:first-child > a {
    padding-left: 0;
  }

  .navmenu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    background: var(--brand-green);
    transform: scaleX(0);
    transition: transform 0.25s;
  }

  .navmenu > ul > li:first-child > a::after {
    left: 0;
  }

  .navmenu > ul > li:hover > a::after,
  .navmenu > ul > li > a.active::after {
    transform: scaleX(1);
  }

  .navmenu .dropdown ul {
    border-radius: 0 0 6px 6px;
    border-top: 3px solid var(--brand-green);
  }

  .navmenu .dropdown ul a {
    font-size: 14px;
  }

  /* Services mega dropdown: two columns, grouped */
  .navmenu .mt-mega > ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    width: 600px;
    padding: 14px 8px;
  }

  .navmenu .mt-mega > ul li {
    min-width: 0;
  }

  .navmenu .mt-mega > ul a {
    white-space: normal;
    padding: 7px 16px;
  }
}

.navmenu .mt-nav-label {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  padding: 10px 16px 2px;
}

@media (max-width: 1199px) {
  .navmenu .mt-nav-label {
    padding: 12px 20px 2px;
  }

  .header .main-header .mobile-nav-toggle {
    margin-left: 12px;
  }
}

/*--------------------------------------------------------------
# Section titles
--------------------------------------------------------------*/
.section-title h2:after {
  background: var(--brand-green);
}

.mt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  margin-bottom: 12px;
}

.mt-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-green);
}

.dark-background .mt-eyebrow,
.mt-on-dark .mt-eyebrow {
  color: #8fdc77;
}

.mt-heading {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.mt-lead {
  font-size: 17px;
  line-height: 1.75;
}

/*--------------------------------------------------------------
# Hero slider
--------------------------------------------------------------*/
.mt-hero {
  padding: 0;
  position: relative;
  background: var(--brand-navy-deep);
}

.mt-hero .swiper-slide {
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.mt-hero .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(19, 19, 54, 0.92) 0%, rgba(27, 27, 74, 0.78) 45%, rgba(27, 27, 74, 0.25) 100%);
}

.mt-hero .mt-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #fff;
  padding: 80px 0 140px;
}

.mt-hero .mt-hero-content .mt-eyebrow {
  color: #8fdc77;
}

.mt-hero h1,
.mt-hero h2 {
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
}

.mt-hero p {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 34px;
}

.mt-hero .mt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mt-hero .swiper-pagination {
  bottom: 120px !important;
  text-align: left;
  left: 50% !important;
  transform: translateX(-50%);
  width: 100% !important;
  max-width: 1320px;
  padding: 0 calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.mt-hero .swiper-pagination-bullet {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.mt-hero .swiper-pagination-bullet-active {
  background: var(--brand-green);
}

@media (max-width: 1399px) {
  .mt-hero .swiper-pagination { max-width: 1140px; }
}

@media (max-width: 1199px) {
  .mt-hero .swiper-pagination { max-width: 960px; }
}

@media (max-width: 991px) {
  .mt-hero .swiper-slide { min-height: 560px; }
  .mt-hero .swiper-pagination { max-width: 720px; }
}

@media (max-width: 767px) {
  .mt-hero .swiper-slide { min-height: 520px; }
  .mt-hero .swiper-slide::before { background: linear-gradient(180deg, rgba(19, 19, 54, 0.88) 0%, rgba(27, 27, 74, 0.72) 100%); }
  .mt-hero .mt-hero-content { padding: 56px 0 140px; }
  .mt-hero p { font-size: 17px; }
  .mt-hero .swiper-pagination { max-width: 540px; bottom: 100px !important; }
}

/*--------------------------------------------------------------
# Stats (overlapping the hero)
--------------------------------------------------------------*/
.mt-stats {
  padding: 0 0 20px;
  position: relative;
  z-index: 5;
  background: transparent;
  overflow: visible;
}

.mt-stats .mt-stats-wrap {
  margin-top: -80px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(19, 19, 54, 0.14);
  overflow: hidden;
}

.mt-stat {
  padding: 30px 26px;
  display: flex;
  gap: 16px;
  align-items: center;
  height: 100%;
  border-right: 1px solid #e8ebf2;
}

.mt-stats .col-lg-3:last-child .mt-stat {
  border-right: 0;
}

@media (max-width: 991px) {
  .mt-stat { border-bottom: 1px solid #e8ebf2; }
  .mt-stats .col-6:nth-child(2n) .mt-stat { border-right: 0; }
}

@media (max-width: 575px) {
  .mt-stat { padding: 22px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
}

.mt-stat i {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--brand-green-dark);
  background: color-mix(in srgb, var(--brand-green), transparent 87%);
}

.mt-stat .mt-stat-num {
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
  white-space: nowrap;
}

.mt-stat .mt-stat-num small {
  font-size: 18px;
  font-weight: 700;
  margin-left: 3px;
}

.mt-stat p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.35;
}

/*--------------------------------------------------------------
# About (home + profile)
--------------------------------------------------------------*/
.mt-about-media {
  position: relative;
  isolation: isolate;
  padding: 0 0 30px 30px;
}

.mt-about-media img {
  border-radius: 10px;
  width: 100%;
  object-fit: cover;
}

.mt-about-media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 70%;
  background: var(--brand-green);
  border-radius: 10px;
  z-index: -1;
}

.mt-about-media .mt-badge-year {
  position: absolute;
  right: -10px;
  bottom: 60px;
  background: var(--brand-navy);
  color: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 15px 35px rgba(19, 19, 54, 0.3);
  text-align: center;
}

.mt-about-media .mt-badge-year strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: #8fdc77;
}

.mt-about-media .mt-badge-year span {
  font-size: 13px;
}

@media (max-width: 575px) {
  .mt-about-media { padding: 0 0 20px 20px; }
  .mt-about-media .mt-badge-year { right: 10px; bottom: 40px; padding: 14px 18px; }
}

.mt-link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

@media (max-width: 575px) {
  .mt-link-cards { grid-template-columns: 1fr; }
}

.mt-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.25s;
}

.mt-link-card i {
  font-size: 24px;
  color: var(--brand-green-dark);
}

.mt-link-card small {
  display: block;
  font-family: var(--default-font);
  font-weight: 400;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.mt-link-card:hover {
  border-color: var(--brand-green);
  box-shadow: 0 10px 25px rgba(19, 19, 54, 0.08);
  color: var(--brand-navy);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Feature cards (renewables block)
--------------------------------------------------------------*/
.mt-feature {
  background: var(--surface-color);
  border-radius: 10px;
  padding: 32px 28px;
  height: 100%;
  border: 1px solid #e6e9f1;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.mt-feature::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: var(--brand-green);
  transition: width 0.35s;
}

.mt-feature:hover {
  box-shadow: 0 18px 40px rgba(19, 19, 54, 0.1);
  transform: translateY(-4px);
}

.mt-feature:hover::after {
  width: 100%;
}

.mt-feature .mt-feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: var(--brand-navy);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.mt-feature h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}

.mt-feature h3 a {
  color: var(--heading-color);
}

.mt-feature h3 a:hover {
  color: var(--brand-green-dark);
}

/* Check list */
.mt-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.mt-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.55;
}

.mt-checklist li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-green-dark);
  font-size: 17px;
}

.mt-feature .mt-checklist li {
  font-size: 14.5px;
}

/*--------------------------------------------------------------
# Service cards
--------------------------------------------------------------*/
.mt-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(19, 19, 54, 0.07);
  transition: 0.3s;
  color: var(--default-color);
}

.mt-service-card .mt-service-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.mt-service-card .mt-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.mt-service-card .mt-service-img .mt-service-icon {
  position: absolute;
  left: 22px;
  bottom: -24px;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--brand-green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(59, 133, 39, 0.35);
}

.mt-service-card .mt-service-img {
  overflow: visible;
}

.mt-service-card .mt-service-img .mt-img-clip {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mt-service-card .mt-service-body {
  padding: 38px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mt-service-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mt-service-card p {
  font-size: 14.5px;
  margin-bottom: 18px;
  flex-grow: 1;
}

.mt-service-card .mt-more {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-green-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mt-service-card .mt-more i {
  transition: transform 0.25s;
}

.mt-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(19, 19, 54, 0.14);
  color: var(--default-color);
}

.mt-service-card:hover img {
  transform: scale(1.06);
}

.mt-service-card:hover .mt-more i {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
# CTA band with photo
--------------------------------------------------------------*/
.mt-cta {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  isolation: isolate;
}

@media (max-width: 991px) {
  .mt-cta { background-attachment: scroll; padding: 70px 0; }
}

.mt-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(19, 19, 54, 0.94) 0%, rgba(40, 40, 107, 0.85) 55%, rgba(40, 40, 107, 0.55) 100%);
  z-index: -1;
}

.mt-cta h2 {
  color: #fff;
}

.mt-cta p {
  color: rgba(255, 255, 255, 0.86);
}

.mt-cta .mt-cta-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mt-cta .mt-cta-box + .mt-cta-box {
  margin-top: 16px;
}

.mt-cta .mt-cta-box h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 6px;
}

.mt-cta .mt-cta-box a {
  color: #8fdc77;
  font-weight: 600;
}

.mt-cta .mt-cta-box a:hover {
  color: #fff;
}

/* Slim CTA strip */
.mt-cta-strip {
  background: var(--brand-green-dark);
  color: #fff;
  padding: 40px 0;
}

.mt-cta-strip h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.mt-cta-strip p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.mt-cta-strip .btn-mt-navy:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand-navy);
}

/*--------------------------------------------------------------
# Quality / certificate strip
--------------------------------------------------------------*/
.mt-quality {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px;
  border-radius: 10px;
  background: var(--surface-color);
  border: 1px solid #e3e7ef;
}

.mt-quality img {
  width: 90px;
  flex-shrink: 0;
}

.mt-quality h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.mt-quality p {
  margin: 0;
}

@media (max-width: 767px) {
  .mt-quality { flex-direction: column; align-items: flex-start; }
}

/*--------------------------------------------------------------
# News cards
--------------------------------------------------------------*/
.mt-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(19, 19, 54, 0.07);
  transition: 0.3s;
}

.mt-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(19, 19, 54, 0.13);
}

.mt-post-card .mt-post-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.mt-post-card .mt-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.mt-post-card:hover .mt-post-img img {
  transform: scale(1.05);
}

.mt-post-card .mt-post-cat {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--brand-green-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.mt-post-card .mt-post-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mt-post-meta {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.mt-post-meta i {
  color: var(--brand-green-dark);
  margin-right: 4px;
}

.mt-post-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.mt-post-card h3 a {
  color: var(--heading-color);
}

.mt-post-card h3 a:hover {
  color: var(--brand-green-dark);
}

.mt-post-card p {
  font-size: 14.5px;
  flex-grow: 1;
}

.mt-post-card .mt-more {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-green-dark);
}

/*--------------------------------------------------------------
# Page title (inner pages)
--------------------------------------------------------------*/
.page-title.mt-page-title {
  padding: 70px 0;
  background: linear-gradient(95deg, rgba(19, 19, 54, 0.93) 0%, rgba(40, 40, 107, 0.8) 60%, rgba(40, 40, 107, 0.6) 100%),
    var(--mt-title-bg, url("../img/maintech/breadcrumb.jpg")) center / cover no-repeat;
  color: #fff;
}

.page-title.mt-page-title h1 {
  color: #fff;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
}

.page-title.mt-page-title .breadcrumbs ol {
  color: rgba(255, 255, 255, 0.75);
}

.page-title.mt-page-title .breadcrumbs ol a {
  color: #8fdc77;
}

.page-title.mt-page-title .breadcrumbs ol a:hover {
  color: #fff;
}

.page-title.mt-page-title .breadcrumbs ol li + li::before {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 767px) {
  .page-title.mt-page-title { padding: 44px 0; }
}

/*--------------------------------------------------------------
# Service detail
--------------------------------------------------------------*/
.mt-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
}

.mt-content h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 30px 0 14px;
}

.mt-content p {
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.mt-content .mt-figure {
  margin: 30px 0;
}

.mt-content .mt-figure img,
.mt-content .mt-figure-grid img {
  width: 100%;
  border-radius: 10px;
}

.mt-figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.mt-figure-grid a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.mt-figure-grid a img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.mt-figure-grid a:hover img {
  transform: scale(1.05);
}

.mt-note {
  background: var(--brand-mist);
  border-left: 4px solid var(--brand-green);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

.mt-note p:last-child {
  margin-bottom: 0;
}

/* Detailed service list (numbered blocks) */
.mt-blocks {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.mt-block {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid #e3e7ef;
  border-radius: 10px;
  background: #fff;
}

.mt-block .mt-block-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-green), transparent 86%);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.mt-block h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.mt-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* Sidebar */
.mt-sidebar {
  position: sticky;
  top: 180px;
}

@media (max-width: 991px) {
  .mt-sidebar { position: static; }
}

.mt-side-box {
  background: var(--brand-mist);
  border-radius: 10px;
  padding: 26px;
  margin-bottom: 24px;
}

.mt-side-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e1e5ee;
}

.mt-side-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mt-side-nav li + li {
  margin-top: 6px;
}

.mt-side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: #fff;
  border-radius: 6px;
  color: var(--heading-color);
  font-size: 14.5px;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.mt-side-nav a i {
  font-size: 13px;
  color: var(--brand-green-dark);
  transition: transform 0.25s;
}

.mt-side-nav a:hover,
.mt-side-nav a.active {
  border-left-color: var(--brand-green);
  color: var(--brand-navy);
}

.mt-side-nav a.active {
  background: var(--brand-navy);
  color: #fff;
}

.mt-side-nav a.active i {
  color: #8fdc77;
}

.mt-side-nav a:hover i {
  transform: translateX(3px);
}

.mt-side-cta {
  background: linear-gradient(150deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 30px 26px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.mt-side-cta::after {
  content: "\F5A1";
  font-family: "bootstrap-icons";
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-size: 130px;
  color: rgba(255, 255, 255, 0.05);
}

.mt-side-cta h4 {
  color: #fff;
  font-size: 20px;
}

.mt-side-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
}

.mt-side-cta .mt-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.mt-side-cta .mt-phone i {
  color: #8fdc77;
}

.mt-downloads a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 6px;
  color: var(--heading-color);
  font-size: 14.5px;
  font-weight: 500;
}

.mt-downloads a + a {
  margin-top: 8px;
}

.mt-downloads a i {
  font-size: 22px;
  color: #c8372d;
}

.mt-downloads a:hover {
  color: var(--brand-green-dark);
}

/* Construction phases */
.mt-phases {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  counter-reset: phase;
}

.mt-phases li {
  margin-bottom: 18px;
}

.mt-phases .mt-phase-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 15px;
  margin-bottom: 8px;
}

.mt-phases .mt-phase-top span:last-child {
  color: var(--brand-green-dark);
  font-family: var(--heading-font);
}

.mt-phases .mt-bar {
  height: 8px;
  background: #e5e9f1;
  border-radius: 4px;
  overflow: hidden;
}

.mt-phases .mt-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-green-dark), var(--brand-green));
  border-radius: 4px;
}

/*--------------------------------------------------------------
# Profile: activity tiles
--------------------------------------------------------------*/
.mt-activity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e3e7ef;
  height: 100%;
  transition: 0.25s;
}

.mt-activity i {
  font-size: 26px;
  color: var(--brand-green-dark);
}

.mt-activity h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
}

.mt-activity:hover {
  border-color: var(--brand-green);
  box-shadow: 0 10px 25px rgba(19, 19, 54, 0.08);
}

/*--------------------------------------------------------------
# Branches
--------------------------------------------------------------*/
.mt-branch {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e3e7ef;
  height: 100%;
}

.mt-branch i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.mt-branch.is-hq i {
  background: var(--brand-green-dark);
}

.mt-branch h3 {
  font-size: 17px;
  margin: 0;
  font-weight: 700;
}

.mt-branch small {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.mt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.mt-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--brand-mist);
  border-radius: 30px;
  font-size: 14px;
  color: var(--heading-color);
}

.mt-chips span i {
  color: var(--brand-green-dark);
}

.mt-map-img {
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(19, 19, 54, 0.12);
  width: 100%;
}

/*--------------------------------------------------------------
# Projects gallery
--------------------------------------------------------------*/
.mt-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding: 0;
  list-style: none;
}

.mt-filters button {
  border: 1px solid #d9deea;
  background: #fff;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 30px;
  transition: 0.25s;
}

.mt-filters button span {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 4px;
}

.mt-filters button:hover {
  border-color: var(--brand-green);
  color: var(--brand-green-dark);
}

.mt-filters button.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}

.mt-gallery-item {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e5e9f1;
}

.mt-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}

.mt-gallery-item::after {
  content: "\F52A";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  background: rgba(27, 27, 74, 0.55);
  opacity: 0;
  transition: opacity 0.3s;
}

.mt-gallery-item:hover img {
  transform: scale(1.07);
}

.mt-gallery-item:hover::after {
  opacity: 1;
}

.mt-gallery-col.is-hidden {
  display: none;
}

/*--------------------------------------------------------------
# News article
--------------------------------------------------------------*/
.mt-article .mt-article-img {
  border-radius: 10px;
  width: 100%;
  margin-bottom: 26px;
}

.mt-article h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
}

.mt-article h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 30px 0 12px;
}

.mt-article p {
  line-height: 1.8;
}

.mt-article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.mt-article-gallery figure {
  margin: 0;
}

.mt-article-gallery a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.mt-article-gallery.portrait a {
  aspect-ratio: 3 / 4;
}

.mt-article-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.mt-article-gallery a:hover img {
  transform: scale(1.05);
}

.mt-article-gallery figcaption {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-top: 8px;
}

.mt-recent a {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--heading-color);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
}

.mt-recent a + a {
  margin-top: 14px;
}

.mt-recent img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.mt-recent small {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-top: 3px;
}

.mt-recent a:hover {
  color: var(--brand-green-dark);
}

.mt-recent a.active {
  color: var(--brand-green-dark);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact-2 .contact-info-box .icon-box {
  background: color-mix(in srgb, var(--brand-green), transparent 86%);
}

.contact-2 .contact-info-box .icon-box i {
  color: var(--brand-green-dark);
}

.contact-2 .contact-info-box .info-content a {
  color: var(--heading-color);
}

.contact-2 .contact-info-box .info-content a:hover {
  color: var(--brand-green-dark);
}

.mt-consent {
  font-size: 14px;
}

.mt-consent a {
  color: var(--brand-green-dark);
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer.dark-background {
  --background-color: #131336;
  --surface-color: #1b1b4a;
}

.footer .footer-about .logo img {
  max-height: 58px;
  width: auto;
}

.footer .footer-widget h4 {
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-widget h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--brand-green);
}

.footer .footer-links a:hover {
  color: #8fdc77;
}

.footer .mt-footer-cert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 13px;
  opacity: 0.85;
}

.footer .mt-footer-cert img {
  width: 48px;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
}

.footer .mt-footer-cert a {
  color: inherit;
}

/*--------------------------------------------------------------
# Misc
--------------------------------------------------------------*/
#preloader:before {
  border-color: var(--brand-green) transparent var(--brand-green) transparent;
}

.scroll-top {
  background-color: var(--brand-green-dark);
}

.scroll-top:hover {
  background-color: var(--brand-navy);
}

::selection {
  background: var(--brand-green);
  color: #fff;
}

.contact-2 .contact-form-wrapper h2:after {
  background-color: var(--brand-green);
}

.contact-2 .contact-form-wrapper .btn-submit {
  background-color: var(--brand-green-dark);
}

.contact-2 .contact-form-wrapper .btn-submit:hover {
  background-color: var(--brand-navy);
}

/* Images carry width/height attributes (reserves space, avoids layout shift);
   let CSS widths scale them proportionally. */
img {
  height: auto;
}
