/*======================================================
  1. VARIABLES, FONTS & RESET
======================================================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --first-color: hsl(220, 68%, 54%);
  --first-color-lighten: hsl(220, 68%, 97%);
  --title-color: hsl(220, 48%, 28%);
  --text-color: hsl(220, 12%, 45%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 99%);

  /*========== Typography ==========*/
  --body-font: "Poppins", sans-serif;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font Weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Z Index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: var(--body-font) !important;
}

/* Removed html { scroll-behavior: smooth; } to fix scroll lag */

body {
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  overflow-x: hidden;
  text-align: left;
  scroll-behavior: smooth;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- GLOBAL ANIMATIONS --- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*======================================================
  2. HEADER & NAVIGATION
======================================================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
  background-color: var(--white-color);
  z-index: var(--z-fixed);
}

.nav {
  height: var(--header-height);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.3s;
}

.nav__logo img {
  max-height: 40px;
  width: auto;
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  display: block;
}

.nav__toggle-menu,
.nav__toggle-close {
  font-size: 1.25rem;
  color: var(--title-color);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition:
    opacity 0.1s,
    transform 0.4s;
}

.nav__toggle-close {
  opacity: 0;
}

@media screen and (max-width: 1117px) {
  .nav__menu {
    background-color: var(--white-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition:
      top 0.4s,
      opacity 0.3s;
    z-index: var(--z-fixed);
  }

  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }
  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }
}

.show-menu {
  opacity: 1 !important;
  top: 3.5rem !important;
  pointer-events: initial !important;
}

.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.nav__link:hover {
  background-color: var(--first-color-lighten);
}

/* Dropdown Elements */
.dropdown__button {
  cursor: pointer;
}
.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__content,
.dropdown__group,
.dropdown__list {
  display: grid;
}
.dropdown__container {
  background-color: var(--first-color-lighten);
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}

.dropdown__content {
  row-gap: 1.75rem;
}
.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}
.dropdown__group:first-child {
  margin-top: 1.25rem;
}
.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}

.dropdown__icon i {
  font-size: 1.25rem;
  color: var(--first-color);
}
.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}
.dropdown__list {
  row-gap: 0.25rem;
}
.dropdown__link {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: color 0.3s;
}
.dropdown__link:hover {
  color: var(--title-color);
}

.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

/* Desktop Navigation */
@media screen and (min-width: 1118px) {
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__menu {
    position: static;
    height: auto;
    opacity: 1;
    pointer-events: initial;
    overflow: visible;
    padding: 0;
    background-color: transparent;
  }
  .nav__list {
    display: flex;
    column-gap: 3rem;
    height: 100%;
  }
  .nav li {
    display: flex;
  }
  .nav__link {
    padding: 0;
  }
  .nav__link:hover {
    background-color: initial;
  }
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }

  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color: var(--white-color);
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition:
      top 0.4s,
      opacity 0.3s;
  }
  .dropdown__content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
    max-width: 1120px;
    margin-inline: auto;
  }
  .dropdown__group {
    padding: 4rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }
  .dropdown__group:first-child,
  .dropdown__group:last-child {
    margin: 0;
  }
  .dropdown__list {
    row-gap: 0.75rem;
  }
  .dropdown__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
  }
  .dropdown__group:hover .dropdown__icon {
    transform: scale(1.1);
  }
  .dropdown__icon i {
    font-size: 2rem;
  }
  .dropdown__title {
    font-size: var(--normal-font-size);
  }
  .dropdown__link {
    font-size: var(--small-font-size);
  }
  .dropdown__link:hover {
    color: var(--first-color);
  }
  .dropdown__item {
    cursor: pointer;
  }
  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }
  .dropdown__item:hover > .dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}

/*======================================================
  3. FOOTER
======================================================*/
.footer {
  width: 100%;
  background: hsl(220, 100%, 99%);
  padding: 40px 20px;
  border-radius: 12px 12px 0 0;
}
.footer-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 20px 0;
  justify-items: start;
}
.footer-col h4 {
  color: var(--title-color);
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: var(--font-semi-bold);
}
.footer-col .links li {
  margin-bottom: 8px;
}
.footer-col .links li a {
  color: var(--text-color);
  font-size: 0.9rem;
  word-break: break-all;
  display: inline-block;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}
.footer-col .links li a:hover {
  color: var(--first-color);
  transform: translateX(5px);
}

.hrfooter {
  text-align: center;
  padding: 20px 0;
  background: #f9fafb;
  width: 100%;
  display: block;
  margin-top: auto;
}
.hrfooter hr {
  height: 1px;
  border: none;
  background: #dedede;
  width: 100%;
  margin: 10px auto;
}
.hrfooter p {
  font-size: 0.9rem;
  color: #333;
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.6;
}
.hrfooter a {
  color: #0b3d91;
  text-decoration: none;
}
.hrfooter a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 1118px) {
  .footer-row {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding: 40px 60px;
  }
  .footer-col {
    flex: 1;
  }
  .hrfooter {
    padding: 20px 60px;
  }
}

/*======================================================
  4. LOADER (PRELOADER)
======================================================*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--body-color);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.loader {
  width: 60px;
  aspect-ratio: 2;
  --_g: no-repeat
    radial-gradient(circle closest-side, var(--text-color) 90%, #0000);
  background:
    var(--_g) 0% 50%,
    var(--_g) 50% 50%,
    var(--_g) 100% 50%;
  background-size: calc(100% / 3) 50%;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
  20% {
    background-position:
      0% 0%,
      50% 50%,
      100% 50%;
  }
  40% {
    background-position:
      0% 100%,
      50% 0%,
      100% 50%;
  }
  60% {
    background-position:
      0% 50%,
      50% 100%,
      100% 0%;
  }
  80% {
    background-position:
      0% 50%,
      50% 50%,
      100% 100%;
  }
}
.loader-hide {
  opacity: 0;
  visibility: hidden;
}

/*======================================================
  5. GLOBAL REUSABLE CLASSES & STRUCTURE
======================================================*/
.site-main {
  padding-top: var(--header-height);
}
@media screen and (min-width: 1118px) {
  .site-main {
    padding-top: calc(var(--header-height) + 2rem);
  }
}

.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }
}

.bg-light {
  background-color: var(--first-color-lighten);
}

.text-center {
  text-align: center !important;
}
.text-left {
  text-align: left !important;
}

/* GPU Hardware Acceleration Added to Fix Scroll Lag */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px) translateZ(0);
  will-change: opacity, transform;
  transition:
    opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

.section {
  padding-block: 5rem 2rem;
}
.section__label {
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--first-color);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-align: left;
}
.section__title {
  font-size: 2.25rem;
  color: var(--title-color);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}
.section__description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: left;
}
.section__subtitle {
  font-size: 1.1rem;
  max-width: 600px;
}

/* Centering Overrides */
.recognitions,
.pledge,
.movement {
  text-align: left;
}
.recognitions .section__label,
.recognitions .section__title,
.recognitions .section__subtitle,
.recognitions .section__description,
.pledge .section__label,
.pledge .pledge__title,
.pledge .pledge__description,
.movement .section__label,
.movement .section__title,
.movement .section__subtitle,
.movement .section__description {
  text-align: center;
  margin-inline: auto;
  display: block;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: var(--font-medium);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background-color 0.4s ease,
    box-shadow 0.4s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.button:hover {
  background-color: hsl(220, 65%, 42%);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.15);
}
.button--small {
  padding: 0.75rem 1.5rem;
  font-size: var(--small-font-size);
}
.button--outline {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}
.button--outline:hover {
  background-color: #fff;
  color: var(--first-color);
}
.button--white {
  background-color: #fff;
  color: var(--title-color);
}
.button--white:hover {
  background-color: var(--first-color-lighten);
}
.button--outline-primary {
  color: var(--first-color);
  border-color: var(--first-color);
  background: transparent;
}
.button--outline-primary:hover {
  background-color: var(--first-color);
  color: var(--white-color);
}
.button--small-padding {
  padding: 0.5rem 1.25rem;
}
.button__icon-right {
  margin-left: 0.5rem;
}

.link-arrow {
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  transition:
    column-gap 0.3s,
    transform 0.3s ease;
}
.link-arrow:hover {
  column-gap: 0.5rem;
  transform: translateX(4px);
}

/*======================================================
  6. HOME PAGE SECTIONS
======================================================*/
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height) - 2rem);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 4rem 2rem;
  overflow: hidden;
  background-image: url("/assets/images/overlay-hero-section.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: fadeIn 1s ease-in-out;
}
.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__subtitle {
  color: var(--first-color-lighten);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero__title {
  color: var(--white-color);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero__description {
  color: var(--white-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}
.hero__small-text {
  color: var(--first-color-lighten);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

/* Recognitions */
.recognitions__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.recognitions__badge {
  background-color: var(--white-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px hsla(220, 68%, 12%, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: var(--font-medium);
  color: var(--title-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.recognitions__badge:hover {
  box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.1);
  transform: translateY(-5px) scale(1.03);
}
.recognitions__badge i {
  font-size: 1.5rem;
  color: var(--first-color);
}

/* Grids - FIXED: Added infrastructure__container here to prevent image stacking */
.about__container,
.equipment__container,
.sustainability__container,
.career__container,
.infrastructure__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}
.about__image-wrapper {
  order: -1;
}
.about__img,
.equipment__img,
.sustainability__img,
.career__img,
.about__img-real {
  border-radius: 12px;
  box-shadow: 0 12px 24px hsla(220, 68%, 12%, 0.1);
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}
.about__img:hover,
.equipment__img:hover,
.sustainability__img:hover,
.career__img:hover,
.about__img-real:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px hsla(220, 68%, 12%, 0.15);
}
.equipment__list,
.sustainability__list,
.infrastructure__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.equipment__item,
.sustainability__list li,
.infrastructure__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.equipment__item i,
.sustainability__list i,
.infrastructure__list i {
  font-size: 1.25rem;
  color: var(--first-color);
  margin-top: 2px;
}

/* Services */
.services__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.services__card {
  background-color: var(--white-color);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.05);
  border: 1px solid transparent;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.services__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.1);
  border-color: var(--first-color-lighten);
}
.services__icon {
  width: 60px;
  height: 60px;
  background-color: var(--first-color-lighten);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  transition:
    background-color 0.4s ease,
    transform 0.4s ease;
}
.services__card:hover .services__icon {
  background-color: var(--first-color);
  transform: scale(1.1) rotate(5deg);
}
.services__icon i {
  font-size: 1.8rem;
  color: var(--first-color);
  transition: color 0.4s ease;
}
.services__card:hover .services__icon i {
  color: var(--white-color);
}
.services__title {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-bottom: 1rem;
}

/* Pledge */
.pledge {
  background: url("/assets/images/pledge-landscape.jpg") center/cover no-repeat;
  position: relative;
  width: 100%;
}
.pledge__overlay {
  background-color: rgba(11, 36, 71, 0.85);
  padding-block: 8rem;
  width: 100%;
  height: 100%;
}
.pledge__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pledge__title {
  color: var(--white-color);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}
.pledge__description {
  color: var(--first-color-lighten);
  font-size: 1.1rem;
  max-width: 700px;
  line-height: 1.8;
}

/* Movement */
.movement__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.movement__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--first-color-lighten);
  border-radius: 12px;
  background-color: var(--white-color);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.movement__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.1);
  border-color: var(--first-color);
}
.movement__card i {
  font-size: 2.5rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}
.movement__card:hover i {
  transform: scale(1.15);
}
.movement__card h3 {
  color: var(--title-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* CTA */
.cta {
  padding-block: 4rem;
}
.cta__container {
  background-color: var(--first-color-lighten);
  padding: 4rem;
  border-radius: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.4s ease;
}
.cta__container:hover {
  box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.05);
}
.cta__title {
  color: var(--title-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.cta__description {
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.cta__buttons,
.cta__button {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/*======================================================
  7. CAPABILITIES & TRAUB MACHINING PAGE
======================================================*/
.hero--traub {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 4rem 2rem;
  overflow: hidden;
}
.hero--traub::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("/assets/images/traub-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.traub-specs__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.traub-specs__item {
  background: var(--white-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border-left: 4px solid var(--first-color);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.traub-specs__icon {
  width: 60px;
  height: 60px;
  background-color: var(--first-color-lighten);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition:
    transform 0.4s ease,
    background-color 0.4s ease;
}
.traub-specs__item:hover .traub-specs__icon {
  transform: scale(1.1);
  background-color: var(--first-color);
}
.traub-specs__icon i {
  font-size: 1.8rem;
  color: var(--first-color);
  transition: color 0.4s ease;
}
.traub-specs__item:hover .traub-specs__icon i {
  color: var(--white-color);
}

/*======================================================
  8. OTHER COMPONENTS (About Page Specific)
======================================================*/
.vision__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.vision__card {
  background-color: var(--white-color);
  padding: 3.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.vision__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.vision__icon {
  width: 90px;
  height: 90px;
  background-color: var(--first-color-lighten);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 0 1.5rem 0;
}
.vision__icon--transparent {
  background: transparent;
}
.vision__icon--transparent i {
  font-size: 3.5rem;
  color: var(--first-color);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.values__item {
  padding: 2.5rem 2rem;
  background-color: var(--white-color);
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.values__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.values__icon {
  font-size: 3rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  display: block;
}

.quality__content {
  background-color: var(--title-color);
  padding: 4rem;
  border-radius: 16px;
}
.quality__text {
  color: #fff;
  font-size: 1.25rem;
  max-width: 850px;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

.story__container {
  max-width: 950px;
}
.story__preview {
  margin-bottom: 1.5rem;
}
.story__btn-wrapper {
  margin-top: 1.5rem;
}
.story__extra-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s ease-in-out;
}
.story__extra-content.show {
  max-height: 2000px;
  opacity: 1;
  margin-bottom: 1rem;
}

.founders__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.founder__card {
  background-color: var(--white-color);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 12px 24px hsla(220, 68%, 12%, 0.05);
  display: flex;
  flex-direction: column;
}
.founder__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top center;
}
.founder__data {
  padding: 2.5rem;
}
.founder__name {
  font-size: 1.5rem;
  color: var(--title-color);
  margin-bottom: 0.25rem;
}
.founder__role {
  display: block;
  font-size: 0.9rem;
  color: var(--first-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.founder-quote {
  background-color: var(--white-color);
  padding: 4rem;
  border-radius: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 12px 32px hsla(220, 68%, 12%, 0.05);
  border-left: 8px solid var(--first-color);
}
.founder-quote__icon {
  font-size: 3rem;
  color: var(--first-color);
  opacity: 0.5;
  display: inline-block;
  margin-bottom: 1rem;
}
.founder-quote__text {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--title-color);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 900px;
}
.founder-quote__profile {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
}
.founder-quote__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--title-color);
  display: block;
}
.founder-quote__role {
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
  margin-top: 0.25rem;
}

/*======================================================
  9. OTHER COMPONENTS (Contact Page Specific)
======================================================*/
.hero--contact {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 4rem 2rem;
  overflow: hidden;
}
.hero__bg-animated {
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/contact-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
  animation: bgPan 20s ease-in-out infinite;
}
@keyframes bgPan {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.contact-hero__wrapper {
  position: relative;
  z-index: 2;
}
.contact-hero__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.contact-hero__label {
  color: var(--first-color-lighten);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  display: block;
  margin-bottom: 0.5rem;
}
.contact-hero__title {
  color: var(--white-color);
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}
.contact-hero__description {
  color: var(--white-color);
  margin-bottom: 0;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}
.address__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}
.address__data {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: center;
}
.address__item,
.contact__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.address__item i {
  font-size: 2rem;
  color: var(--first-color);
  background-color: var(--white-color);
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.05);
}
.address__title,
.contact__item-title {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-bottom: 0.5rem;
}
.address__map,
.map__section {
  width: 100%;
  min-height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 24px hsla(220, 68%, 12%, 0.1);
  line-height: 0;
}
.map__iframe {
  border: 0;
}
.address__text a,
.contact__item-text a {
  color: var(--text-color);
  transition: color 0.3s ease;
}
.address__text a:hover,
.contact__item-text a:hover {
  color: var(--first-color);
}

.contact__info-desc {
  margin-bottom: 3rem;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.contact__item {
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  animation: floatIcon 4s ease-in-out infinite;
}
.contact__item:nth-child(1) {
  animation-delay: 0s;
}
.contact__item:nth-child(2) {
  animation-delay: 0.2s;
}
.contact__item:nth-child(3) {
  animation-delay: 0.4s;
}

.contact__item:hover {
  transform: translateX(10px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-color: var(--first-color-lighten);
  animation-play-state: paused;
}
.contact__icon-box {
  width: 60px;
  height: 60px;
  background: var(--first-color-lighten);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    background 0.4s,
    transform 0.4s;
}
.contact__icon-box i {
  font-size: 1.8rem;
  color: var(--first-color);
  transition: color 0.4s;
}
.contact__item:hover .contact__icon-box {
  background: var(--first-color);
  transform: rotate(10deg) scale(1.1);
}
.contact__item:hover .contact__icon-box i {
  color: #fff;
}

.contact__form-container {
  background-color: var(--white-color);
  padding: 3.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px hsla(220, 68%, 12%, 0.08);
  position: relative;
  overflow: hidden;
}
.contact__form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--first-color), #4facfe);
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.form__group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form__box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--title-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form__input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  background-color: #f4f6fa;
  color: var(--title-color);
  font-family: var(--body-font);
  font-size: 0.95rem;
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
  outline: none;
}
.form__input:focus {
  background-color: var(--white-color);
  border-color: var(--first-color);
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.1);
  transform: translateY(-3px);
}
textarea.form__input {
  resize: vertical;
  min-height: 120px;
}
.select__wrapper {
  position: relative;
}
.select__wrapper select {
  appearance: none;
  cursor: pointer;
}
.select__icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--first-color);
  pointer-events: none;
}

.form__submit-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  padding: 1.25rem;
  font-size: 1rem;
  letter-spacing: 1px;
}
.form__submit-btn i {
  transition: transform 0.4s ease;
}
.form__submit-btn:hover i {
  transform: translateX(5px) translateY(-5px);
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.form__stagger-1 {
  animation: slideUpFade 0.6s ease forwards 0.2s;
  opacity: 0;
}
.form__stagger-2 {
  animation: slideUpFade 0.6s ease forwards 0.4s;
  opacity: 0;
}
.form__stagger-3 {
  animation: slideUpFade 0.6s ease forwards 0.6s;
  opacity: 0;
}
.form__stagger-4 {
  animation: slideUpFade 0.6s ease forwards 0.8s;
  opacity: 0;
}
.form__stagger-5 {
  animation: slideUpFade 0.6s ease forwards 1s;
  opacity: 0;
}

/*======================================================
  10. SUCCESS PAGE BLUEPRINT
======================================================*/
.success__card {
  background-color: var(--white-color);
  padding: 5rem 3rem 4rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
  max-width: 600px;
  width: 100%;
  position: relative;
  z-index: 10;
  transition: transform 0.4s ease;
}
.success__card:hover {
  transform: translateY(-5px);
}
.success__badge {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--first-color-lighten);
  color: var(--first-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.success__icon-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 1.5rem auto 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.success__icon {
  font-size: 5rem;
  color: var(--first-color);
  position: relative;
  z-index: 2;
  animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  80% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.success__pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--first-color);
  opacity: 0.2;
  animation: pulsingRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulsingRing {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  opacity: 0.4;
}
.glow-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--first-color);
  top: 10%;
  left: 20%;
  animation: floatIcon 6s ease-in-out infinite alternate;
}
.glow-orb-2 {
  width: 250px;
  height: 250px;
  background: #4facfe;
  bottom: 10%;
  right: 20%;
  animation: floatIcon 8s ease-in-out infinite alternate-reverse;
}

/*======================================================
  11. UTILITIES & OVERRIDES
======================================================*/
.mb-0 {
  margin-bottom: 0 !important;
}
.mt-1-5 {
  margin-top: 1.5rem !important;
}
.section__header--margin {
  margin-bottom: 2rem !important;
}

/*======================================================
  12. RESPONSIVE MEDIA QUERIES (ART DIRECTION & LAYOUT)
======================================================*/

/* --- TABLET / IPAD VIEW (Max width 1024px) --- */
@media screen and (max-width: 1024px) {
  .container {
    margin-inline: 2rem;
  }

  .about__container,
  .sustainability__container,
  .equipment__container,
  .career__container,
  .infrastructure__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services__container,
  .movement__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem; 
  }

  .services__card,
  .movement__card {
    padding: 1.5rem;
  }
  .services__title,
  .movement__card h3 {
    font-size: 1.1rem;
  }

  .recognitions__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .address__container,
  .founders__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .recognitions__badge {
    padding: 1rem 0.5rem;
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .about__img,
  .equipment__img,
  .sustainability__img,
  .career__img,
  .about__img-real {
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
  }

  .hero__title,
  .contact-hero__title {
    font-size: 3rem;
  }
  .pledge__title {
    font-size: 2.5rem;
  }

  .cta__container {
    padding: 2.5rem;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    justify-content: center;
  }
  .cta__content {
    text-align: center;
    width: 100%;
  }
  .cta__buttons,
  .cta__button {
    justify-content: center;
  }

  .hero {
    min-height: 100vh;
    background-image: url("/assets/images/overlay-hero-section-tablet.png");
  }
  .hero--about .hero__bg-img {
    background-image:
      url("/assets/images/about-hero-bg-tablet.jpg");
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact__item {
    animation: none;
  }
}

/* --- MOBILE PORTRAIT (Max width 768px) --- */
@media screen and (max-width: 768px) {
  .about__container,
  .sustainability__container,
  .equipment__container,
  .career__container,
  .infrastructure__container {
    gap: 3rem;
    text-align: left;
  }
  .about__image-wrapper {
    order: -1;
  }

  .about__img,
  .equipment__img,
  .sustainability__img,
  .career__img,
  .about__img-real {
    margin: 0 auto;
    aspect-ratio: 16/9;
  }

  .services__container,
  .movement__container,
  .vision__grid,
  .values__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero {
    min-height: calc(100vh - var(--header-height));
    padding-top: 4rem;
    background-image: url("/assets/images/overlay-hero-section-mobile.png");
  }
  .hero--about {
    min-height: calc(100vh - var(--header-height));
    padding-top: 4rem;
  }
  .hero--about .hero__bg-img {
    background-image:
      url("/assets/images/about-hero-bg-mobile.jpg");
  }

  .hero__content,
  .contact-hero__content {
    padding-inline: 1rem;
    max-width: 100%;
    align-items: flex-start;
  }
  .hero__buttons {
    justify-content: flex-start;
  }
  .form__group {
    grid-template-columns: 1fr;
  }
  .founder-quote {
    padding: 2.5rem 1.5rem;
    border-left-width: 5px;
  }
  .founder-quote__text {
    font-size: 1.2rem;
  }
}

/* --- SMALL MOBILE (Max width 360px) --- */
@media screen and (max-width: 360px) {
  .hero__title,
  .contact-hero__title {
    font-size: 2rem;
  }
  .hero__small-text {
    font-size: 0.65rem;
  }
  .button {
    width: 100%;
  }
  .hero__buttons {
    flex-direction: column;
  }
  .services__card {
    padding: 1.5rem;
  }
  .footer-row {
    grid-template-columns: 1fr;
  }
  .contact__form-container {
    padding: 2.5rem 1.5rem;
  }
  .success__card {
    padding: 4rem 1.5rem 3rem;
  }
}

/* --- LARGE SCREENS (Min width 1440px) --- */
@media screen and (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
  .hero__title {
    font-size: 4.5rem;
  }
}

/*======================================================
  HIGH-VOLUME PRODUCTION PAGE
======================================================*/
.hero--high-volume {
    position: relative; 
    width: 100%; 
    min-height: 60vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding-block: 4rem 2rem; 
    overflow: hidden;
}

.hero--high-volume::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/high-volume-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/*======================================================
  SECONDARY OPERATIONS PAGE
======================================================*/
.hero--secondary {
    position: relative; 
    width: 100%; 
    min-height: 50vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding-block: 4rem 2rem; 
    overflow: hidden;
}

.hero--secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:  url('/assets/images/secondary-ops-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/*======================================================
  NEW COMPONENT CLASSES (NO INLINE CSS)
======================================================*/
/* Layout & Spacing Utilities */
.mx-auto { margin-inline: auto !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }

/* Hero Text Enhancements */
.hero__content--wide { max-width: 950px; }
.text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.text-shadow-lg { text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.text-white { color: var(--white-color) !important; }
.text-light { color: var(--first-color-lighten) !important; }
.font-medium { font-weight: 500; }
.text-lg { font-size: 1.1rem; }

/* Traub Page - Workflow Step Cards */
.movement__card--step {
  text-align: left;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.movement__step-number {
  font-size: 5rem;
  font-weight: 700;
  color: var(--title-color);
  opacity: 0.15; /* Increased opacity to make numbers clearly visible */
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 1;
  line-height: 1;
  user-select: none;
}
.movement__card--step h3,
.movement__card--step p {
  position: relative;
  z-index: 2; /* Keeps text layered above the large number */
}

/* High-Volume Page - 3 Column Grid */
.values__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 1024px) {
  .values__grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 768px) {
  .values__grid--3 { grid-template-columns: 1fr; }
}

/* High-Volume Page - Light Quality Box */
.quality__content--light {
  background-color: var(--first-color-lighten);
  padding: 4rem;
  border-radius: 16px;
}
.quality__content--light .section__title {
  color: var(--title-color);
  margin-bottom: 1.5rem;
}
.quality__content--light .section__label {
  color: var(--first-color);
}
.quality__text-dark {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.quality__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.quality__grid-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--title-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.quality__grid-title i {
  color: var(--first-color);
}
.quality__grid-desc {
  font-size: 0.9rem;
  color: var(--text-color);
}
@media screen and (max-width: 768px) {
  .quality__grid { grid-template-columns: 1fr; }
  .quality__content--light { padding: 2.5rem 1.5rem; }
}

/* Secondary Ops Page - Pledge Background */
.pledge--assembly {
  background-image: url('/assets/images/assembly-landscape.jpg');
  margin-bottom: 5rem;
}

/* Surface Finishing Hero Background with Dark Readability Overlay */
.hero--finishing { 
  min-height: 60vh; 
  padding-block: 4rem 2rem; 
}
.hero--finishing::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: url("/assets/images/finishing-hero-bg.jpg") center/cover no-repeat; 
  z-index: 1; 
}

/* Certificates Hero Background with Dark Overlay */
.hero--certificates { 
  min-height: 60vh; 
  padding-block: 4rem 2rem; 
}
.hero--certificates::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient url("/assets/images/certificates-hero-bg.jpg") center/cover no-repeat; 
  z-index: 1; 
}

/* =========================================
   EDITORIAL CERTIFICATE PAGE (UPDATED)
   ========================================= */

/* --- NATIVE HERO ANIMATIONS --- */
@keyframes certFadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cert-fade-in {
    opacity: 0; 
    animation: certFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 1. Hero with Specific Background Image & Dark Overlay */
.cert-simple-header {
    position: relative;
    text-align: center;
    background-color: var(--title-color); /* Fallback */
}

.cert-simple-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/images/overlay-hero-section.png') center/cover no-repeat;
    z-index: 1;
    
}

.cert-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cert-simple-breadcrumb {
    color: var(--first-color-lighten);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.cert-simple-breadcrumb:hover {
    color: #fff;
    transform: translateX(-3px);
}

.cert-simple-title {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.cert-simple-subtitle {
    color: var(--text-color-light);
    font-size: 1.2rem;
}

/* White Outline Button for Hero */
.button--outline-white {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.button--outline-white:hover {
    background-color: #fff;
    color: var(--first-color);
}

/* 2. Central Action Box (Wider Width + Animations) */
.cert-simple-box {
    background: #fff;
    max-width: 950px;
    width: 100%;
    margin: 3rem auto;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid var(--first-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-simple-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.cert-simple-box:active {
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cert-simple-box i.main-icon {
    font-size: 3.5rem;
    color: var(--first-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.cert-simple-box p {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.cert-simple-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* 3. General Reading Content (Wider Width) */
.cert-simple-article {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem 4rem 1.5rem;
    text-align: left;
}

.cert-simple-article h2 {
    font-size: 2rem;
    color: var(--title-color);
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 0.75rem;
}

.cert-simple-article p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* 4. HIGHLIGHTS FLEX */
.cert-highlights-flex {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media screen and (min-width: 768px) {
    .cert-highlights-flex {
        flex-direction: row;
        justify-content: space-between;
    }
    .cert-highlight-card {
        flex: 1;
    }
}

.cert-highlight-card {
    background-color: var(--body-color);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.cert-highlight-card:active {
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cert-highlight-card i {
    font-size: 2.5rem;
    color: var(--first-color);
    margin-bottom: 1rem;
    display: block;
}

.cert-highlight-card h4 {
    font-size: 1.25rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.cert-highlight-card p {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 5. ALTERNATING IMAGE GRIDS */
.cert-split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

@media screen and (min-width: 768px) {
    .cert-split-section {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* --- ADDED IMAGE ANIMATIONS (Lift instead of Zoom) --- */
.cert-split-img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    max-height: 450px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-split-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.cert-split-img:active {
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

@media screen and (min-width: 768px) {
    .desktop-order-1 { order: 1; }
    .desktop-order-2 { order: 2; }
}

/* --- CAPABILITY FEATURE CARDS --- */
.cert-capability-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0 4rem 0;
}

@media screen and (min-width: 768px) {
    .cert-capability-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cert-capability-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 4px solid var(--first-color);
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.cert-capability-card:active {
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cert-capability-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cert-capability-header i {
    font-size: 2rem;
    color: var(--first-color);
    background: var(--body-color);
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.cert-capability-header h3 {
    font-size: 1.4rem;
    color: var(--title-color);
    margin: 0;
}

.cert-capability-intro {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cert-capability-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cert-capability-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cert-capability-list i {
    color: var(--first-color);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.cert-capability-list span {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* 6. STACKED BLOCKS */
.cert-stacked-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cert-stacked-item {
    background: #fff;
    padding: 2.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--first-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-stacked-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.cert-stacked-item:active {
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cert-stacked-item h3 {
    font-size: 1.4rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cert-stacked-item h3 i {
    color: var(--first-color);
    font-size: 1.8rem;
}

/* 7. CTA BANNER (ADDED HOVER/ACTIVE ANIMATIONS) */
.cert-cta-banner {
    background: linear-gradient(135deg, var(--title-color), var(--first-color));
    padding: 4rem 3rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    box-shadow: 0 12px 32px rgba(11, 36, 71, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-cta-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(11, 36, 71, 0.3);
}

.cert-cta-banner:active {
    transform: translateY(2px);
    box-shadow: 0 8px 24px rgba(11, 36, 71, 0.2);
}

@media screen and (min-width: 992px) {
    .cert-cta-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.cert-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
/* =========================================
   COOKIE DASHBOARD STATUS BADGES
   ========================================= */

.cookie-status-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

/* Red/Orange for Mandatory System Cookies */
.badge-required {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Green/Teal for Optional/Toggleable Cookies */
.badge-optional {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* =========================================
   COOKIE INVENTORY TABLE (RESPONSIVE)
   ========================================= */

.table-responsive {
    width: 100%;
    overflow-x: auto; /* Allows horizontal scrolling on mobile */
    margin-bottom: 3rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.cert-cookie-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    text-align: left;
    min-width: 800px; /* Forces table to maintain structure on small screens */
}

.cert-cookie-table th {
    background-color: var(--title-color);
    color: #fff;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.cert-cookie-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text-color);
    font-size: 0.95rem;
    vertical-align: top;
    line-height: 1.6;
}

.cert-cookie-table tr:last-child td {
    border-bottom: none;
}

.cert-cookie-table tr:hover td {
    background-color: #f9fbfb;
}

.cert-cookie-table td strong {
    color: var(--first-color);
    font-weight: 600;
    word-break: break-all; /* Prevents long cookie names from breaking layout */
}

/*======================================================
  VENDOR RATINGS SPECIFIC CLASSES
======================================================*/
.hero--vendor {
  position: relative;
  width: 100%;
  min-height: 50vh; 
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 4rem 2rem;
  overflow: hidden;
}

.hero--vendor::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/overlay-hero-section.png');
  background-size: cover;
  background-position: center;
  z-index: 1;

}

/* Centers the Hero Content cleanly */
.hero__content--centered {
  align-items: left !important;
  text-align: left !important;
}

/* Metric text utilities to replace inline CSS */
.metric-card {
  padding: 3rem 2rem !important;
}

.metric-value {
  font-size: 3.5rem;
  color: var(--first-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Courier New', monospace;
  font-weight: 700;
}

/* Minimal CSS for Inspection Tags */
.tag-card {
  background-color: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.tag-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.1);
}

.tag-header {
  background-color: var(--first-color-lighten);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tag-id {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: var(--title-color);
  font-size: 0.95rem;
}

.tag-badge {
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tag-quote {
  font-style: italic;
  color: var(--text-color);
  border-left: 3px solid var(--first-color);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  line-height: 1.7;
  flex-grow: 1;
}

/* Color modifiers for the testimonial badges */
.tag-badge--success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981; /* Green */
}

.tag-badge--info {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--first-color); /* Blue */
}

/*======================================================
  BLOG & RESOURCES PAGE SPECIFIC CLASSES
======================================================*/
.blog-card {
  background-color: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.1);
}

.blog-card__img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Perfect 16:9 Aspect Ratio */
  overflow: hidden;
}

.blog-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05); /* Smooth zoom effect on hover */
}

.blog-card__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--first-color-lighten);
}

.blog-card__category {
  color: var(--first-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card__title {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--first-color);
}

.blog-card__desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Pagination Styling */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.pagination__btn {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: var(--white-color);
  color: var(--title-color);
  font-weight: 600;
  border: 1px solid var(--first-color-lighten);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.pagination__btn:hover {
  background-color: var(--first-color-lighten);
  color: var(--first-color);
}

.pagination__btn--active {
  background-color: var(--first-color);
  color: var(--white-color);
  border-color: var(--first-color);
}

.pagination__btn--active:hover {
  background-color: var(--first-color);
  color: var(--white-color);
}
/*======================================================
  SINGLE BLOG POST SPECIFIC CLASSES
======================================================*/

/* 1. Main Reading Container */
.blog-body-container {
  max-width: 850px;
  margin: 0 auto;
}

/* 2. Enhanced Typography for Long-Form Reading */
.blog-body-container p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.blog-body-container h2 {
  font-size: 1.8rem;
  color: var(--title-color);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* 3. Inline Images inside the Blog Text */
.blog-inline-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 32px hsla(220, 68%, 12%, 0.1);
  margin-block: 2.5rem;
  max-height: 500px;
  object-fit: cover;
}

/* 4. Alternative Simple Quote Style (If not using .founder-quote) */
.blog-quote {
  border-left: 4px solid var(--first-color);
  padding-left: 1.5rem;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--title-color);
  margin-block: 2.5rem;
  font-weight: 500;
  line-height: 1.6;
}/*======================================================
  SINGLE BLOG LAYOUT UTILITIES (NO INLINE CSS)
======================================================*/

/* 1. Compact Hero Banner */
.hero--blog {
  min-height: 35vh;
  padding-block: 7rem 3rem;
}

/* 2. Text Constraints for Readability */
.blog-text-optimal {
  max-width: 1000px;
}

/* 3. Standard Vertical Spacing */
.margin-top-large {
  margin-top: 5rem;
}

/* 4. Expandable Content State Classes */
.blog-expandable {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 1.2s ease-in-out, opacity 0.8s ease-in-out;
}

.blog-expandable.is-expanded {
  max-height: 6000px; /* Provides plenty of room for expanded content */
  opacity: 1;
}

/* 5. Author Box */
.author-box {
  background-color: var(--first-color-lighten);
  padding: 2rem 3rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/*======================================================
  COMPONENT DEBURRING PAGE
======================================================*/
.hero--deburring {
    position: relative; 
    width: 100%; 
    min-height: 60vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding-block: 4rem 2rem; 
    overflow: hidden;
}

.hero--deburring::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/deburring-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Snake Order Layout Utility for Desktop */
@media screen and (min-width: 1024px) {
    .layout-img-right .about__image-wrapper {
        order: 2;
    }
    .layout-img-left .about__image-wrapper {
        order: -1;
    }
}

/* CTA Blue Strip Gradient Border */
.cta__container--striped {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--first-color-lighten);
    background-color: var(--white-color);
    box-shadow: 0 10px 30px hsla(220, 68%, 12%, 0.05);
}

.cta__container--striped::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--first-color), #4facfe);
}

/* Workflow List: Horizontal Row Layout & Hover Animations */
.workflow-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    text-align: left;
    padding: 1.5rem;
    background-color: var(--white-color);
    border-radius: 1rem;
    box-shadow: 0 4px 15px hsla(220, 68%, 12%, 0.05);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--first-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.workflow-row:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 25px hsla(220, 68%, 12%, 0.1);
}

.workflow-row-icon {
    font-size: 1.8rem;
    color: var(--first-color);
    background-color: var(--first-color-lighten);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.workflow-row:hover .workflow-row-icon {
    transform: scale(1.1) rotate(5deg);
}

.workflow-row-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--title-color);
}

/*======================================================
  PRECISION DRILLING PAGE & TECH SPECS UTILITIES
======================================================*/
.hero--drilling {
    position: relative; 
    width: 100%; 
    min-height: 60vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding-block: 4rem 2rem; 
    overflow: hidden;
}

.hero--drilling::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/drilling-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Engineering Tech Spec Box */
.tech-spec-box {
    background-color: var(--white-color);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 4px solid var(--first-color);
    border-radius: 0.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px hsla(220, 68%, 12%, 0.05);
    transition: transform 0.4s ease;
}

.tech-spec-box:hover {
    transform: translateY(-5px);
}

.tech-spec-list {
    margin-top: 1.5rem;
}

.tech-spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    padding-block: 0.85rem;
    font-size: 0.95rem;
}

.tech-spec-list li:last-child {
    border-bottom: none;
}

.tech-spec-label {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-spec-label i {
    color: var(--first-color);
    font-size: 1.1rem;
}

.tech-spec-value {
    font-weight: 600;
    color: var(--title-color);
    font-family: 'Courier New', Courier, monospace; /* Adds an engineering/blueprint feel */
    font-size: 1rem;
}

/* 2-Column Grid for Technical Deep Dives */
.tech-grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media screen and (min-width: 768px) {
    .tech-grid-2col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*======================================================
  TAPPING & THREADING PAGE
======================================================*/
.hero--threading {
    position: relative; 
    width: 100%; 
    min-height: 60vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding-block: 4rem 2rem; 
    overflow: hidden;
}

.hero--threading::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/threading-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Snake Order Layout Utility for Desktop */
@media screen and (min-width: 1024px) {
    .layout-img-right .about__image-wrapper,
    .layout-img-right .infrastructure__image-wrapper {
        order: 2;
    }
    .layout-img-left .about__image-wrapper,
    .layout-img-left .infrastructure__image-wrapper {
        order: -1;
    }
}

/* Striped CTA Border */
.cta__container--striped {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--first-color-lighten);
    background-color: var(--white-color);
    box-shadow: 0 10px 30px hsla(220, 68%, 12%, 0.05);
}

.cta__container--striped::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--first-color), #4facfe);
}

/* Technology Comparison Cards */
.tech-compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media screen and (min-width: 768px) {
    .tech-compare-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tech-card {
    background-color: var(--white-color);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 24px hsla(220, 68%, 12%, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px hsla(220, 68%, 12%, 0.1);
}

.tech-card__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 4px solid var(--first-color);
}

.tech-card__data {
    padding: 2.5rem;
}

.tech-card__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    color: var(--first-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.tech-card__title {
    font-size: 1.5rem;
    color: var(--title-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tech-card__desc {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
}
/*======================================================
  CAPABILITIES: POLISHING & MICRO-FINISHING PAGE
======================================================*/

/* 1. Hero Banner Background */
.hero--polishing {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 4rem 2rem;
    overflow: hidden;
}

.hero--polishing::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/polishing-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 2. Engineering Surface Roughness Table (Responsive Matrix) */
.surface-matrix-container {
    background-color: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px hsla(220, 68%, 12%, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 2.5rem;
}

.surface-matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 750px;
}

.surface-matrix-table th {
    background-color: var(--title-color);
    color: var(--white-color);
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.surface-matrix-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--first-color-lighten);
    color: var(--text-color);
    font-size: 0.95rem;
    vertical-align: middle;
}

.surface-matrix-table tr:last-child td {
    border-bottom: none;
}

.surface-matrix-table tr:hover td {
    background-color: var(--first-color-lighten);
}

.surface-ra-badge {
    display: inline-block;
    background-color: var(--body-color);
    color: var(--first-color);
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(11, 61, 145, 0.2);
}

/* 3. ZED Eco-Polishing Highlight Cards */
.eco-finish-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.eco-finish-card {
    background-color: var(--body-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border-top: 4px solid #10b981; /* Sustainability Green */
    box-shadow: 0 6px 18px hsla(220, 68%, 12%, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.eco-finish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.08);
}

.eco-finish-card i {
    font-size: 2.5rem;
    color: #10b981;
    margin-bottom: 1rem;
    display: block;
}

/* Responsive Overrides for New Grids */
@media screen and (max-width: 1024px) {
    .eco-finish-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .eco-finish-grid {
        grid-template-columns: 1fr;
    }
}

/*======================================================
  CAPABILITIES: DIES, JIGS & FIXTURES MASTER PATCH
======================================================*/

/* 1. Hero Banner Background */
.hero--dies-jigs {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 5rem 3rem;
    overflow: hidden;
}

.hero--dies-jigs::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/dies-jigs-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 2. Strict Snake Image Formatting on Desktop */
@media screen and (min-width: 1024px) {
    .layout-img-right .about__image-wrapper,
    .layout-img-right .infrastructure__image-wrapper {
        order: 2;
    }
    .layout-img-right .about__data,
    .layout-img-right .infrastructure__data {
        order: 1;
    }
    .layout-img-left .about__image-wrapper,
    .layout-img-left .infrastructure__image-wrapper {
        order: -1;
    }
    .layout-img-left .about__data,
    .layout-img-left .infrastructure__data {
        order: 1;
    }
}

/* 3. 4-Column Engineering Feature Cards */
.engineering-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.engineering-card {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--first-color);
    box-shadow: 0 8px 24px hsla(220, 68%, 12%, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.engineering-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px hsla(220, 68%, 12%, 0.1);
}

.engineering-card__icon {
    width: 64px;
    height: 64px;
    background-color: var(--first-color-lighten);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--first-color);
    font-size: 2rem;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
}

.engineering-card:hover .engineering-card__icon {
    background-color: var(--first-color);
    color: var(--white-color);
    transform: scale(1.1) rotate(5deg);
}

/* 4. Technical Spec Box (Used inside Left-Image Section) */
.tech-spec-box {
    background-color: var(--white-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--first-color);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 10px 30px hsla(220, 68%, 12%, 0.05);
    transition: transform 0.4s ease;
}

.tech-spec-box:hover {
    transform: translateY(-5px);
}

.tech-spec-list {
    margin-top: 1.25rem;
}

.tech-spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    padding-block: 0.85rem;
    font-size: 0.95rem;
}

.tech-spec-list li:last-child {
    border-bottom: none;
}

.tech-spec-label {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-spec-label i {
    color: var(--first-color);
    font-size: 1.15rem;
}

.tech-spec-value {
    font-weight: 600;
    color: var(--title-color);
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

/* 5. Full-Width Engineering Metallurgy Table */
.data-matrix-box {
    background-color: var(--white-color);
    border-radius: 16px;
    box-shadow: 0 12px 32px hsla(220, 68%, 12%, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 3rem;
}

.data-matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.data-matrix-table th {
    background-color: var(--title-color);
    color: var(--white-color);
    padding: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-matrix-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--first-color-lighten);
    color: var(--text-color);
    font-size: 0.95rem;
    vertical-align: middle;
    line-height: 1.6;
}

.data-matrix-table tr:last-child td {
    border-bottom: none;
}

.data-matrix-table tr:hover td {
    background-color: var(--first-color-lighten);
}

.data-badge {
    display: inline-block;
    background-color: var(--body-color);
    color: var(--first-color);
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    border: 1px solid rgba(11, 61, 145, 0.2);
    font-size: 0.9rem;
}

/* 6. High-Contrast Interactive Callout Banner */
.adv-callout {
    background: linear-gradient(135deg, var(--title-color) 0%, hsl(220, 65%, 18%) 100%);
    padding: 4rem 3.5rem;
    border-radius: 20px;
    color: var(--white-color);
    box-shadow: 0 20px 40px hsla(220, 68%, 12%, 0.15);
    border-left: 8px solid var(--first-color);
}

.adv-callout h3 {
    color: var(--white-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.adv-callout p {
    color: var(--first-color-lighten);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.adv-callout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: center;
}

/* 7. Striped CTA Box Border */
.cta__container--striped {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--first-color-lighten);
    background-color: var(--white-color);
    box-shadow: 0 10px 30px hsla(220, 68%, 12%, 0.05);
}

.cta__container--striped::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--first-color), #4facfe);
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
    .engineering-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .adv-callout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .engineering-grid-4 {
        grid-template-columns: 1fr;
    }
    .adv-callout {
        padding: 2.5rem 1.5rem;
    }
    .tech-spec-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/*======================================================
  CAPABILITIES: QUALITY POLICY & COMPLIANCE
======================================================*/

/* 1. Quality Hero Banner */
.hero--quality {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 5rem 3rem;
    overflow: hidden;
}

.hero--quality::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/quality-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 2. Guaranteed Visibility Snake Layout Grids */
.q-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .q-split-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    .q-split-right .q-img-wrapper { order: 2; }
    .q-split-right .q-text-wrapper { order: 1; }
    
    .q-split-left .q-img-wrapper { order: -1; }
    .q-split-left .q-text-wrapper { order: 1; }
}

.q-img-wrapper img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 32px hsla(220, 68%, 12%, 0.1);
    object-fit: cover;
}

/* 3. Three Pillars Card Grid */
.q-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.q-card {
    background-color: var(--white-color);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px hsla(220, 68%, 12%, 0.04);
    border-top: 4px solid var(--first-color);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.q-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.08);
}

.q-card i {
    font-size: 3rem;
    color: var(--first-color);
    margin-bottom: 1.5rem;
    display: block;
}

/* 4. Engineering Matrix Table */
.q-table-container {
    background-color: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px hsla(220, 68%, 12%, 0.05);
    overflow: hidden;
    margin-top: 3rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.q-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px;
    text-align: left;
}

.q-table th {
    background-color: var(--title-color);
    color: var(--white-color);
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.q-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--first-color-lighten);
    color: var(--text-color);
    font-size: 0.95rem;
}

.q-badge {
    background-color: var(--body-color);
    color: var(--first-color);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    border: 1px solid rgba(11, 61, 145, 0.2);
}

/* 5. Dark Traceability Callout */
.q-dark-callout {
    background: linear-gradient(135deg, var(--title-color), hsl(220, 65%, 15%));
    padding: 4rem;
    border-radius: 16px;
    color: var(--white-color);
    box-shadow: 0 20px 40px hsla(220, 68%, 12%, 0.15);
    display: flex;
    align-items: center;
    gap: 4rem;
    border-left: 8px solid var(--first-color);
}

.q-dark-icon {
    font-size: 6rem;
    color: var(--first-color-lighten);
    opacity: 0.9;
}

/* Responsive Overrides */
@media screen and (max-width: 1024px) {
    .q-cards-3 { grid-template-columns: repeat(2, 1fr); }
    .q-dark-callout { flex-direction: column; text-align: center; gap: 2rem; padding: 3rem 2rem; }
}

@media screen and (max-width: 768px) {
    .q-cards-3 { grid-template-columns: 1fr; }
}
/*======================================================
  MISSION & VISION PAGE SPECIFIC PATCH
======================================================*/
.hero--mission {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 5rem 3rem;
    overflow: hidden;
}

.hero--mission::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/mission-hero-bg.jpg') center/cover no-repeat;
    z-index: 1;
}

.sanskrit-quote {
    font-size: 2.5rem;
    color: var(--first-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.sanskrit-translation {
    font-size: 1rem;
    font-weight: 600;
    color: var(--title-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 2px solid var(--first-color-lighten);
    padding-bottom: 0.5rem;
}

/*======================================================
  PROMISE BOXES PATCH (Mission & Vision)
======================================================*/
.promise-box {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--first-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promise-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/*======================================================
  OUR TEAM (PREMIUM REDESIGN)
======================================================*/
.hero--team {
    position: relative;
    width: 100%;
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding-block: 5rem 3rem;
    overflow: hidden;
}

.hero--team::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Stronger left-to-right gradient for better text readability */
    background:  url('/assets/images/team-hero-bg.jpg') center/cover no-repeat;
    z-index: 1;
}

/* 1. Veteran Horizontal Card */
.veteran-card {
    display: flex;
    background-color: var(--white-color);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 15px 35px hsla(220, 68%, 12%, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
    margin-top: 4rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.veteran-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px hsla(220, 68%, 12%, 0.1);
}

.veteran-card__img-box {
    flex: 0 0 35%;
    background-color: var(--first-color-lighten);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 4px solid var(--first-color);
}

.veteran-card__img-box i {
    font-size: 8rem;
    color: var(--first-color);
    opacity: 0.15;
}

.veteran-card__content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 2. Sleek Department Cards (No fake images) */
.dept-heads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.dept-card {
    background-color: var(--white-color);
    padding: 3rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px hsla(220, 68%, 12%, 0.04);
    border-top: 4px solid transparent;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.dept-card:hover {
    transform: translateY(-8px);
    border-color: var(--first-color);
    box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.08);
}

.dept-card__icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--first-color-lighten), #fff);
    color: var(--first-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px hsla(220, 68%, 12%, 0.05);
}

/* Responsive Rules for Redesign */
@media screen and (max-width: 992px) {
    .veteran-card { flex-direction: column; }
    .veteran-card__img-box { padding: 4rem 0; border-right: none; border-bottom: 4px solid var(--first-color); }
    .dept-heads-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
    .dept-heads-grid { grid-template-columns: 1fr; }
    .veteran-card__content { padding: 2.5rem 1.5rem; }
}

/*======================================================
  HISTORY & MILESTONES PAGE SPECIFIC PATCH
======================================================*/
.hero--history {
    position: relative;
    width: 100%;
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding-block: 5rem 3rem;
    overflow: hidden;
}

.hero--history::before {
    content: '';
    position: absolute;
    inset: 0;
    background:  url('/assets/images/history-hero-bg.jpg') center/cover no-repeat;
    z-index: 1;
}

/* Vertical Timeline Layout */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--first-color-lighten);
    border-radius: 4px;
}

.timeline__item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2.5rem;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__icon {
    position: absolute;
    left: -2.5rem; /* Centers over the 4px line taking into account 2rem padding */
    top: 0;
    width: 48px;
    height: 48px;
    background-color: var(--first-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 6px var(--body-color); /* Matches background to create a cutout effect */
    z-index: 2;
    transition: transform 0.4s ease;
}

.timeline__item:hover .timeline__icon {
    transform: scale(1.1) rotate(10deg);
}

.timeline__content {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px hsla(220, 68%, 12%, 0.04);
    border-left: 4px solid var(--first-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline__content:hover {
    transform: translateX(8px);
    box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.08);
}

.timeline__date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--first-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    background-color: var(--first-color-lighten);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.timeline__title {
    font-size: 1.4rem;
    color: var(--title-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline__desc {
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/*======================================================
  SMALL GRID LIST PATCH
======================================================*/
.grid-list-small {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.grid-list-small li {
    background-color: var(--white-color);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px hsla(220, 68%, 12%, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-left: 4px solid var(--first-color);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-list-small li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px hsla(220, 68%, 12%, 0.1);
}

.grid-list-small i {
    color: var(--first-color);
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.grid-list-small span {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.grid-list-small strong {
    color: var(--title-color);
    font-size: 1.05rem;
}

@media screen and (max-width: 768px) {
    .grid-list-small {
        grid-template-columns: 1fr;
    }
}