/* ==========================================================================
   TMSI — ETFE Enhancement Stylesheet
   Add-on to main.css. Load AFTER main.css.
   Features:
     1. Fixed left-side TMSI scroll indicator (vertical text + growing line)
     2. ETFE-Centered Solutions Layout (flagship + 4 circles: 2 left / 2 right)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1) TMSI SCROLL INDICATOR — fixed on left, vertical TMSI at bottom,
      yellow line grows upward as user scrolls
   -------------------------------------------------------------------------- */

.tmsi-scroll-indicator {
  position: fixed;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 36px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.tmsi-scroll-indicator.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.tmsi-line-wrapper {
  position: relative;
  width: 2px;
  flex: 1 1 auto;
  margin-bottom: 16px;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    rgba(253, 195, 14, 0) 0%,
    rgba(253, 195, 14, 0.08) 20%,
    rgba(253, 195, 14, 0.12) 100%
  );
}

.tmsi-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(var(--scroll-progress, 0) * 1%);
  background: linear-gradient(
    to top,
    #fdc30e 0%,
    #fdc30e 80%,
    rgba(253, 195, 14, 0.4) 100%
  );
  box-shadow: 0 0 12px rgba(253, 195, 14, 0.5);
  will-change: height;
  transition: height 0.08s linear;
}

.tmsi-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fdc30e;
  box-shadow: 0 0 14px rgba(253, 195, 14, 0.9);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tmsi-scroll-indicator[data-active="true"] .tmsi-line::before {
  opacity: 1;
  animation: tmsi-dot-pulse 1.6s ease-in-out infinite;
}

@keyframes tmsi-dot-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.4); }
}

.tmsi-vertical-text {
  width: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.tmsi-vertical-text svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .tmsi-scroll-indicator {
    display: none;
  }
}


/* --------------------------------------------------------------------------
   2) ETFE-CENTERED SOLUTIONS LAYOUT
      ETFE in the middle, 2 circles on the left (stacked), 2 on the right.
   -------------------------------------------------------------------------- */

.etfe-orbit-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  padding: 100px 0 120px;
  overflow: hidden;
}

/* Grid layout: left column (2 rows) | center (spans both rows) | right column */
.orbit-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  grid-template-rows: 160px 160px;
  gap: 40px 60px;
  align-items: center;
  justify-items: center;
  min-height: 420px;
}

/* Decorative ring sitting behind the center circle */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  border: 1px dashed rgba(253, 195, 14, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-rotate 80s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes orbit-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ----- Center (ETFE - flagship) ----- */
.orbit-center {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  z-index: 10;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(253, 195, 14, 0.25),
    0 0 0 6px rgba(253, 195, 14, 0.18),
    0 0 0 14px rgba(253, 195, 14, 0.06);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease;
  animation: orbit-float 6s ease-in-out infinite;
}

@keyframes orbit-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.orbit-center-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.orbit-center-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.orbit-center-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.82) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 20px;
  color: #fff;
  text-align: center;
}

.flagship-tag {
  display: inline-block;
  background: #fdc30e;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.orbit-center-overlay h3 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
}

.explore-cue {
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.orbit-center:hover {
  transform: translateY(-10px) scale(1.04);
  animation-play-state: paused;
}

.orbit-center:hover .orbit-center-inner img {
  transform: scale(1.08);
}

.orbit-center:hover .explore-cue {
  opacity: 1;
  transform: translateX(4px);
}

/* ----- 4 Orbiting items: 2 left, 2 right ----- */
.orbit-item {
  position: relative;
  z-index: 5;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 0 0 3px rgba(255, 255, 255, 1),
    0 0 0 4px rgba(82, 86, 94, 0.08);
  background: #fff;
  /* Transition lets the hover state smoothly take over from the drift animation */
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s ease;
}

/* Grid placement */
.orbit-item[data-pos="tl"] { grid-column: 1; grid-row: 1; }
.orbit-item[data-pos="bl"] { grid-column: 1; grid-row: 2; }
.orbit-item[data-pos="tr"] { grid-column: 3; grid-row: 1; }
.orbit-item[data-pos="br"] { grid-column: 3; grid-row: 2; }

/* Gentle vertical float (v1 style) — each with a different offset so they
   don't all bob in sync. */
.orbit-item[data-pos="tl"] { animation: orbit-float-v 5s ease-in-out 0s infinite; }
.orbit-item[data-pos="bl"] { animation: orbit-float-v 5s ease-in-out -1.5s infinite; }
.orbit-item[data-pos="tr"] { animation: orbit-float-v 5s ease-in-out -0.8s infinite; }
.orbit-item[data-pos="br"] { animation: orbit-float-v 5s ease-in-out -2.3s infinite; }

@keyframes orbit-float-v {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Yellow overlay — fades in on hover to turn the circle golden */
.orbit-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fdc30e 0%, #feb900 60%, #f5a000 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}

.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: saturate(0.92);
}

.orbit-item h4 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
  background: transparent;
  opacity: 0;
  transition: opacity 0.35s ease 0.1s;
  font-family: var(--font-primary);
  line-height: 1.25;
  z-index: 3;
  letter-spacing: 0.3px;
}

/* --- HOVER STATE --- (color + motion merged) */
.orbit-item:hover {
  /* Disable the float animation; transition on .orbit-item carries the move. */
  animation: none;
  transform: translateY(-8px) scale(1.08);
  box-shadow:
    0 20px 45px rgba(253, 195, 14, 0.35),
    0 0 0 3px #fdc30e,
    0 0 0 4px rgba(253, 195, 14, 0.2);
  z-index: 6;
}

.orbit-item:hover::before { opacity: 1; }
.orbit-item:hover img    { transform: scale(1.06); filter: saturate(1); }
.orbit-item:hover h4     { opacity: 1; }

/* ----- Responsive scaling ----- */
@media (max-width: 991px) {
  .orbit-container {
    max-width: 700px;
    grid-template-columns: 110px 1fr 110px;
    grid-template-rows: 120px 120px;
    gap: 30px 40px;
  }
  .orbit-ring { width: 280px; height: 280px; }
  .orbit-center {
    width: 220px;
    height: 220px;
  }
  .orbit-center-overlay h3 { font-size: 22px; }
  .orbit-item {
    width: 110px;
    height: 110px;
  }
  .orbit-item h4 { font-size: 12px; }
}

@media (max-width: 640px) {
  /* On phones, collapse to a vertical list with ETFE prominent at top */
  .orbit-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    margin-top: 20px;
  }
  .orbit-ring { display: none; }

  .orbit-center {
    animation: none;
    margin: 0 auto 16px;
    width: 220px;
    height: 220px;
  }

  .orbit-item {
    width: 100%;
    max-width: 340px;
    height: 76px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 8px 14px;
    gap: 14px;
    animation: none;
  }

  .orbit-item img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
  }

  .orbit-item h4 {
    position: relative;
    inset: auto;
    background: transparent;
    color: #2e3135;
    opacity: 1;
    transform: none;
    text-align: left;
    justify-content: flex-start;
    font-size: 15px;
  }

  .orbit-item:hover,
  .orbit-item[data-pos]:hover {
    transform: translateX(4px) !important;
  }
}


/* --------------------------------------------------------------------------
   3) ABOUT SECTION ICON-BOX CARDS (v1 style hover effect)
      Turns each Design/Engineering/Manufacturing/Installation box into a
      card that lights up in yellow on hover.
   -------------------------------------------------------------------------- */

.alt-services .icon-box {
  padding: 18px 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(82, 86, 94, 0.10);
  transition: border-color 0.3s ease,
              transform 0.3s ease,
              box-shadow 0.3s ease;
}

.alt-services .icon-box:hover {
  border-color: rgba(253, 195, 14, 0.65);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(253, 195, 14, 0.14);
}

.alt-services .icon-box h4 a {
  transition: color 0.3s ease;
}

.alt-services .icon-box:hover h4 a {
  color: var(--color-primary);
}


/* --------------------------------------------------------------------------
   4) RECENT PROJECTS HOVER LIFT
      Gives the Exterior Projects / Dilight cards the same "float + shadow"
      hover seen in the preview.
   -------------------------------------------------------------------------- */

.recent-blog-posts .post-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.recent-blog-posts .post-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

/* Gentle zoom on the image while the card lifts */
.recent-blog-posts .post-item .post-img img {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.recent-blog-posts .post-item:hover .post-img img {
  transform: scale(1.05);
}


/* --------------------------------------------------------------------------
   5) MOBILE HEADER / LOGO FIX
      Prevents the logo from being clipped at the left edge on small screens
      and makes the navbar + logo breathe a little on mobile.
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  /* Guarantee no horizontal overflow anywhere on the page */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .header {
    padding: 12px 0;
  }

  .header .container-fluid,
  .header .container-xl {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Let the logo shrink nicely instead of overflowing its container */
  .header .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 60px); /* reserve space for the hamburger */
    overflow: hidden;
  }

  .header .logo img {
    max-height: 50px;
    width: auto;
    max-width: 100%;
    display: block;
  }

  /* Make sure the hamburger trigger stays above everything and is easy to tap */
  .mobile-nav-show {
    padding: 6px 4px;
    font-size: 26px;
  }
}


/* --------------------------------------------------------------------------
   6) WHY TMSI CARDS — combined hover animation
      Keeps the default template behavior (icon pill turns yellow, heading
      underline turns yellow) AND adds the v1 lift + shadow.
   -------------------------------------------------------------------------- */

.services .service-item {
  border-radius: 10px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}

/* Smooth out the icon + heading changes so they happen together with the lift */
.services .service-item .icon i,
.services .service-item .icon::before,
.services .service-item h3 {
  transition: all 0.35s ease;
}


/* --------------------------------------------------------------------------
   8) ABOUT PAGE — TMSI GOALS SECTION MODERNIZATION
      Transforms the flat icon-boxes on the dark-overlaid background into
      elegant frosted-glass cards with a lift-and-glow hover effect.
   -------------------------------------------------------------------------- */

/* Strengthen the background overlay for better card contrast */
.aboutT::before {
  background: linear-gradient(135deg,
              rgba(26, 26, 26, 0.72) 0%,
              rgba(42, 63, 82, 0.68) 100%) !important;
}

.aboutT .content h3 {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 16px;
}

.aboutT .content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background: #fdc30e;
  border-radius: 2px;
}

.aboutT .content p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.aboutT .content p strong {
  color: #fdc30e;
  font-weight: 700;
}

/* Goals icon boxes — frosted cards arranged in a forced 2×2 grid */

/* Override the Bootstrap .row so the 4 boxes always sit 2 across + 2 below,
   regardless of how narrow the parent column gets. */
.aboutT .icon-boxes .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0;
}

/* Drop the Bootstrap column widths — the grid handles sizing now. */
.aboutT .icon-boxes .row > .icon-box {
  width: 100%;
  max-width: 100%;
  flex: none;
  padding: 26px 22px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* On phones, fall back to a single column so each card breathes */
@media (max-width: 575px) {
  .aboutT .icon-boxes .row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Decorative accent bar that slides in on hover */
.aboutT .icon-boxes .icon-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #fdc30e;
  transform: translateX(-4px);
  transition: transform 0.4s ease;
}

.aboutT .icon-boxes .icon-box:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(253, 195, 14, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25),
              0 0 0 1px rgba(253, 195, 14, 0.15);
}

.aboutT .icon-boxes .icon-box:hover::before {
  transform: translateX(0);
}

.aboutT .icon-boxes .icon-box i {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              color 0.3s ease;
  display: inline-block;
}

.aboutT .icon-boxes .icon-box:hover i {
  transform: scale(1.12) rotate(-6deg);
}

.aboutT .icon-boxes .icon-box h4 {
  color: #fff !important;
  transition: color 0.3s ease;
}

.aboutT .icon-boxes .icon-box:hover h4 {
  color: #fdc30e !important;
}

.aboutT .icon-boxes .icon-box p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   9) ABOUT PAGE — TMSI VALUES SECTION POLISH
      Adds a soft lift + yellow border accent on hover to the Respect /
      Integrity / Fairness / Innovation cards.
   -------------------------------------------------------------------------- */

.services .icon-box {
  /* Keep the original template's fill-on-hover effect but add a gentle lift */
  transform: translateY(0);
  will-change: transform;
  border: 1px solid transparent;
}

.services .icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(68, 88, 144, 0.18);
}

/* Bounce the icon up on hover, synced with the card lift */
.services .icon i {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              color 0.3s ease-in-out;
}

.services .icon-box:hover .icon i {
  transform: translateY(-4px) scale(1.08);
}


/* --------------------------------------------------------------------------
   10) ABOUT PAGE — HISTORY "ETFE — A New Era" STYLING
       Makes the new ETFE milestone heading stand out as a highlight.
   -------------------------------------------------------------------------- */

.about .our-story h4 {
  transition: color 0.3s ease;
}

.about .our-story p strong {
  color: var(--color-primary);
  font-weight: 700;
}


/* ==========================================================================
   SERVICES PAGE ENHANCEMENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   12) SERVICES — TAB NAV (Design / Engineering / Manufacturing / Installation)
   -------------------------------------------------------------------------- */

.features .nav-tabs .nav-link {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              color 0.3s ease,
              background-color 0.3s ease;
  overflow: hidden;
}

.features .nav-tabs .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #fdc30e;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 2px;
}

.features .nav-tabs .nav-link:hover:not(.active) {
  transform: translateY(-3px);
  color: #fdc30e !important;
}

.features .nav-tabs .nav-link:hover::before {
  width: 60%;
}

.features .nav-tabs .nav-link.active::before {
  width: 100%;
}

/* Content tabs fade-in when switched */
.features .tab-pane {
  transition: opacity 0.4s ease;
}

.features .tab-pane.active.show {
  animation: tab-fade-in 0.6s ease both;
}

@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* --------------------------------------------------------------------------
   13) SERVICES — 4 CARDS (Design/Engineering/Manufacturing/Installation summary)
   -------------------------------------------------------------------------- */

.services-cards > .container > .row > [class*="col-"] {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-cards > .container > .row > [class*="col-"]:hover {
  transform: translateY(-6px);
}

.services-cards h3 {
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-cards h3 i {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              color 0.3s ease;
  margin-left: 6px;
}

.services-cards > .container > .row > [class*="col-"]:hover h3 {
  color: #fdc30e;
}

.services-cards > .container > .row > [class*="col-"]:hover h3 i {
  transform: translateX(8px);
  color: #fdc30e;
}


/* --------------------------------------------------------------------------
   14) ETFE SERVICE SECTION (replaces Architectural Lighting)
   -------------------------------------------------------------------------- */

.etfe-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fdc30e;
  margin-bottom: 12px;
  position: relative;
  padding-left: 36px;
  align-self: flex-start;
}

.etfe-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: #fdc30e;
  transform: translateY(-50%);
}

.etfe-service-section h3,
.etfe-lighting-section h3 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 16px;
}

.etfe-service-section h3::after,
.etfe-lighting-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #fdc30e;
  border-radius: 2px;
}

/* Image showcase with floating stat badge */
.etfe-showcase-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s ease;
  background-color: #9cc9e5;
background-image: url("../img/serv/serv6.jpg");
  background-size: 100% 100%, cover;
  background-position: center;
  background-repeat: no-repeat;
}

.etfe-showcase-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.etfe-float-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(253, 195, 14, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: badge-float 4s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.etfe-float-badge-value {
  font-size: 36px;
  font-weight: 900;
  color: #fdc30e;
  font-family: var(--font-primary);
  line-height: 1;
  letter-spacing: -1px;
}

.etfe-float-badge-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  font-weight: 600;
}

/* List items get a subtle slide-in on hover */
.etfe-service-section ul li,
.etfe-lighting-section ul li {
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 4px 0;
}

.etfe-service-section ul li:hover,
.etfe-lighting-section ul li:hover {
  transform: translateX(6px);
  color: #1a1a1a;
}


/* --------------------------------------------------------------------------
   15) ETFE LIGHTING SECTION (replaces Expanded MESH)
   -------------------------------------------------------------------------- */

.etfe-lighting-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 540px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s ease;
  background-color: #0a1520;
background-image: url("../img/serv/serv7.jpg");
  background-size: cover;
  background-position: center;
}

.etfe-lighting-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(253, 195, 14, 0.2);
}

/* Animated glow ring overlay — adds "illumination" feel */
.etfe-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle,
              rgba(255, 247, 199, 0.4) 0%,
              rgba(253, 195, 14, 0.25) 30%,
              rgba(253, 195, 14, 0.08) 55%,
              rgba(253, 195, 14, 0) 75%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
  mix-blend-mode: screen;
  z-index: 1;
}

@keyframes glow-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 1;
  }
}

/* ETFE Lighting icon-boxes with animated hover */
.etfe-lighting-section .icon-box {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(82, 86, 94, 0.10);
  transition: border-color 0.3s ease,
              transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s ease;
  display: flex !important;
  align-items: flex-start;
  gap: 18px;
}

.etfe-lighting-section .icon-box:hover {
  border-color: rgba(253, 195, 14, 0.65);
  transform: translateX(6px);
  box-shadow: 0 12px 28px rgba(253, 195, 14, 0.18);
}

/* Icons get a circular yellow-tinted background plate */
.etfe-lighting-section .icon-box i {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(253, 195, 14, 0.15), rgba(253, 195, 14, 0.05));
  border: 1px solid rgba(253, 195, 14, 0.25);
  font-size: 26px;
  color: #fdc30e;
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
}

.etfe-lighting-section .icon-box:hover i {
  transform: scale(1.08) rotate(-6deg);
  background: linear-gradient(135deg, #fdc30e, #feb900);
  color: #fff;
  border-color: #fdc30e;
}

.etfe-lighting-section .icon-box h4 {
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.etfe-lighting-section .icon-box:hover h4 a {
  color: #fdc30e;
}

.etfe-lighting-section .icon-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #52565e;
}

/* Button animation */
.etfe-lighting-section .btn-warning {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s ease;
}

.etfe-lighting-section .btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(253, 195, 14, 0.4);
}


/* --------------------------------------------------------------------------
   16) MAINTENANCE SECTION (Madinah Metro Case Study)
   -------------------------------------------------------------------------- */

.case-study-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fdc30e;
  margin-bottom: 12px;
  position: relative;
  padding-left: 36px;
  align-self: flex-start;
}

.case-study-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: #fdc30e;
  transform: translateY(-50%);
}

.maintenance-featured h3 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
}

.maintenance-featured h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #fdc30e;
  border-radius: 2px;
}

/* The prominent Madinah Metro highlight card */
.madinah-highlight {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a3f52 100%);
  border-radius: 14px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(42, 63, 82, 0.25);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s ease;
}

.madinah-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle,
              rgba(253, 195, 14, 0.25) 0%,
              transparent 70%);
  transform: translate(40%, -40%);
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite;
}

.madinah-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(42, 63, 82, 0.35);
}

.madinah-highlight-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(253, 195, 14, 0.15);
  border: 1px solid rgba(253, 195, 14, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.madinah-highlight-icon i {
  font-size: 28px;
  color: #fdc30e;
}

.madinah-highlight-body {
  position: relative;
  z-index: 1;
}

.madinah-highlight-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fdc30e;
  margin: 0 0 8px;
  letter-spacing: 0.3px;
}

.madinah-highlight-body p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Maintenance section icon-boxes */
.maintenance-featured .icon-box {
  margin-top: 16px;
  padding: 18px 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(82, 86, 94, 0.10);
  transition: border-color 0.3s ease,
              transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s ease;
  display: flex !important;
  align-items: flex-start;
  gap: 18px;
}

.maintenance-featured .icon-box:hover {
  border-color: rgba(253, 195, 14, 0.65);
  transform: translateX(6px);
  box-shadow: 0 10px 24px rgba(253, 195, 14, 0.14);
}

.maintenance-featured .icon-box i {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(253, 195, 14, 0.15), rgba(253, 195, 14, 0.05));
  border: 1px solid rgba(253, 195, 14, 0.25);
  font-size: 24px;
  color: #fdc30e;
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
}

.maintenance-featured .icon-box:hover i {
  transform: scale(1.08) rotate(-6deg);
  background: linear-gradient(135deg, #fdc30e, #feb900);
  color: #fff;
  border-color: #fdc30e;
}

.maintenance-featured .icon-box h4 {
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.maintenance-featured .icon-box:hover h4 a {
  color: #fdc30e;
}

.maintenance-featured .icon-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #52565e;
}

/* Madinah Metro image — Zaha-Hadid-inspired curved canopy */
.madinah-metro-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.5s ease;
  background-color: #e3b978;
background-image: url("../img/serv/serv5.jpg");
  background-size: cover;
  background-position: center bottom;
}

.madinah-metro-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.metro-stats-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 26px;
  border-radius: 12px;
  border: 1px solid rgba(253, 195, 14, 0.4);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: badge-float 4s ease-in-out -2s infinite;
}

.metro-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metro-stat-value {
  font-size: 32px;
  font-weight: 900;
  color: #fdc30e;
  font-family: var(--font-primary);
  line-height: 1;
  letter-spacing: -1px;
}

.metro-stat-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
  font-weight: 600;
  text-align: center;
  max-width: 110px;
  line-height: 1.3;
}

.metro-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   EXTERIOR PROJECTS PAGE — UNIFIED MODERN GRID
   Section 18-22: Sticky category nav, unified cards, quotation CTA buttons
   ========================================================================== */

/* --------------------------------------------------------------------------
   18) STICKY CATEGORY QUICK-NAV
   -------------------------------------------------------------------------- */

.ex-category-nav {
  position: sticky;
  top: 0;
  z-index: 998;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(82, 86, 94, 0.08);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  padding: 14px 0;
}

.ex-category-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ex-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #52565e;
  text-decoration: none;
  letter-spacing: 0.5px;
  background: rgba(82, 86, 94, 0.05);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.ex-cat-link i {
  font-size: 12px;
  color: #fdc30e;
  transition: transform 0.3s ease;
}

.ex-cat-link:hover {
  background: #fdc30e;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(253, 195, 14, 0.35);
}

.ex-cat-link:hover i {
  color: #1a1a1a;
  transform: scale(1.15) rotate(-10deg);
}

@media (max-width: 767px) {
  .ex-cat-link {
    padding: 6px 12px;
    font-size: 11px;
  }
  .ex-cat-link span {
    display: none;
  }
  .ex-cat-link i {
    font-size: 14px;
  }
}


/* --------------------------------------------------------------------------
   19) CATEGORY SECTIONS & HEADERS
   -------------------------------------------------------------------------- */

.ex-category-section {
  padding: 80px 0;
  scroll-margin-top: 70px;  /* offset for sticky nav when jumping to anchor */
}

.ex-category-section.ex-alt-bg {
  background: linear-gradient(180deg, #fafbfc 0%, #f5f6f7 100%);
}

.ex-cat-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.ex-cat-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fdc30e;
  margin-bottom: 14px;
  padding: 5px 14px;
  border: 1px solid rgba(253, 195, 14, 0.4);
  border-radius: 20px;
  background: rgba(253, 195, 14, 0.08);
}

.ex-cat-header h2 {
  font-size: 38px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  font-family: var(--font-primary);
  letter-spacing: -0.5px;
}

.ex-cat-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #fdc30e;
  border-radius: 2px;
}

.ex-cat-header p {
  color: #52565e;
  font-size: 15px;
  line-height: 1.7;
  margin: 10px 0 0;
}


/* --------------------------------------------------------------------------
   20) PROJECT CARD GRID — unified modern card design
   -------------------------------------------------------------------------- */

.ex-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ex-project-grid.ex-grid-1col {
  grid-template-columns: 1fr 1fr;
}

.ex-project-grid.ex-grid-parking {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1199px) {
  .ex-project-grid.ex-grid-parking {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .ex-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ex-project-grid.ex-grid-1col {
    grid-template-columns: 1fr;
  }
  .ex-project-grid.ex-grid-parking {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ex-project-grid,
  .ex-project-grid.ex-grid-parking {
    grid-template-columns: 1fr;
  }
}

/* ----- Card ----- */
.ex-project-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(82, 86, 94, 0.06);
}

.ex-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
  border-color: rgba(253, 195, 14, 0.3);
}

/* ----- Wide card (for PTFE 2-column) ----- */
.ex-project-card-wide {
  flex-direction: row;
  align-items: stretch;
}

.ex-project-card-wide .ex-project-media {
  flex: 0 0 42%;
  min-height: 260px;
}

.ex-project-card-wide .ex-project-body {
  flex: 1 1 auto;
}

@media (max-width: 767px) {
  .ex-project-card-wide {
    flex-direction: column;
  }
  .ex-project-card-wide .ex-project-media {
    flex: 0 0 auto;
  }
}

/* ----- Media (image) ----- */
.ex-project-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8eef3, #d4dde5);
}

.ex-project-media img,
.ex-project-media a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}

.ex-project-media a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.ex-project-card:hover .ex-project-media img {
  transform: scale(1.08);
}

/* Subtle yellow overlay appearing on hover */
.ex-project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253, 195, 14, 0) 0%, rgba(253, 195, 14, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ex-project-card:hover .ex-project-media::after {
  opacity: 1;
}

/* Zoom button */
.ex-zoom-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fdc30e;
  font-size: 16px;
  opacity: 0;
  transform: translateY(-8px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 3;
  border: 1px solid rgba(253, 195, 14, 0.3);
}

.ex-project-card:hover .ex-zoom-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ----- Body ----- */
.ex-project-body {
  padding: 22px 22px 24px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.ex-project-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fdc30e;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: rgba(253, 195, 14, 0.1);
  border-radius: 14px;
  align-self: flex-start;
}

.ex-project-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.3;
  transition: color 0.3s ease;
  font-family: var(--font-primary);
}

.ex-project-card:hover .ex-project-title {
  color: #fdc30e;
}

.ex-project-client {
  font-size: 13px;
  color: #fdc30e;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}

.ex-project-meta {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  flex: 1 1 auto;
}

.ex-project-meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #52565e;
}

.ex-project-meta li i {
  color: #fdc30e;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.ex-project-meta li strong {
  color: #1a1a1a;
  font-weight: 700;
}

/* Compact meta (for parking grid) */
.ex-project-meta-compact li {
  font-size: 12.5px;
  padding: 3px 0;
}

.ex-project-card-compact .ex-project-title {
  font-size: 16px;
}

.ex-project-card-compact .ex-project-body {
  padding: 16px 18px 18px;
}

/* ----- Read more ----- */
.ex-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fdc30e;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(253, 195, 14, 0.08);
  align-self: flex-start;
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-top: auto;
}

.ex-readmore i {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ex-readmore:hover {
  background: #fdc30e;
  color: #1a1a1a;
  transform: translateX(4px);
}

.ex-readmore:hover i {
  transform: translateX(3px);
}

.ex-external-link {
  display: block;
  width: 100%;
  height: 100%;
}


/* --------------------------------------------------------------------------
   21) "REQUEST A QUOTATION" CTA BUTTON
   -------------------------------------------------------------------------- */

.ex-quote-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.ex-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 18px 32px 18px 22px;
  background: linear-gradient(135deg, #128c7e 0%, #25d366 55%, #25d366 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.3),
    0 0 0 0 rgba(37, 211, 102, 0.4);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease,
              background 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle shine sweep animation on idle */
.ex-quote-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg,
              transparent 0%,
              rgba(255, 255, 255, 0.22) 50%,
              transparent 100%);
  transform: skewX(-20deg);
  animation: btn-shine 4s ease-in-out infinite;
}

@keyframes btn-shine {
  0%   { left: -60%; }
  50%  { left: 140%; }
  100% { left: 140%; }
}

.ex-quote-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 18px 40px rgba(37, 211, 102, 0.45),
    0 0 0 8px rgba(37, 211, 102, 0.12);
  color: #fff;
}

.ex-quote-btn-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ex-quote-btn:hover .ex-quote-btn-icon {
  transform: rotate(-8deg) scale(1.05);
}

.ex-quote-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.ex-quote-btn-label {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-family: var(--font-primary);
}

.ex-quote-btn-sub {
  font-size: 12px;
  opacity: 0.88;
  margin-top: 3px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.ex-quote-btn-arrow {
  font-size: 18px;
  margin-left: 6px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ex-quote-btn:hover .ex-quote-btn-arrow {
  transform: translateX(6px);
}

@media (max-width: 575px) {
  .ex-quote-btn {
    padding: 14px 20px 14px 16px;
    gap: 14px;
    border-radius: 14px;
  }
  .ex-quote-btn-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .ex-quote-btn-label {
    font-size: 14px;
  }
  .ex-quote-btn-sub {
    font-size: 11px;
  }
}


/* --------------------------------------------------------------------------
   22) Respect reduced motion preference (expanded)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .orbit-ring,
  .orbit-center,
  .orbit-item,
  .aboutT .icon-boxes .icon-box,
  .services .icon-box,
  .etfe-float-badge,
  .metro-stats-card,
  .etfe-glow-ring,
  .madinah-highlight::before,
  .ex-quote-btn::before,
  .ex-project-card {
    animation: none !important;
    transition: none !important;
  }
  .tmsi-line {
    transition: none;
  }
}
