:root {
  --color-bg: #f9f8f6; /* Warm off-white */
  --color-text: #000000; /* Pure black */
  --color-accent: #a89473; /* Muted gold */
  --font-display: "Playfair Display", serif;
  --font-body: "CS Briseis", sans-serif;
  --spacing-edge: max(3rem, 5vw);
  --spacing-lg: 6rem;
  --spacing-xl: 12rem;
  --shadow-light: #ffffff;
  --shadow-dark: #d1d1d1;
  
  /* Default Gold Theme (Home) */
  --bg-gradient-1: #ffeeab;
  --bg-gradient-2: #ffe28c;
  --bg-gradient-3: #ffd671;
  --bg-gradient-4: #ffca5a;
  --bg-gradient-5: #ffbe47;
  --bg-gradient-6: #ffb238;
  --blob-color-1: #e3dccf;
  --blob-color-2: #a89473;
  --blob-color-3: #ffffff;
}

/* Theme: Bidding Support (Luxury Sage/Olive) */
.theme-bidding {
  --bg-gradient-1: #f1f3ef;
  --bg-gradient-2: #dfe4db;
  --bg-gradient-3: #c6d0c0;
  --bg-gradient-4: #abbca3;
  --bg-gradient-5: #8ea584;
  --bg-gradient-6: #728c66;
  --blob-color-1: #dfe4db;
  --blob-color-2: #4a5e40;
  --blob-color-3: #ffffff;
}

/* Theme: Design and Engineering (Midnight Slate) */
.theme-design {
  --bg-gradient-1: #eff2f6;
  --bg-gradient-2: #dbe2eb;
  --bg-gradient-3: #becada;
  --bg-gradient-4: #9db0c6;
  --bg-gradient-5: #7b94b0;
  --bg-gradient-6: #5b7696;
  --blob-color-1: #dbe2eb;
  --blob-color-2: #3a506b;
  --blob-color-3: #ffffff;
}

/* Theme: Industries Served (Editorial Burgundy/Mauve) */
.theme-industries {
  --bg-gradient-1: #f6f0f3;
  --bg-gradient-2: #e8d7df;
  --bg-gradient-3: #d6b8c7;
  --bg-gradient-4: #c096ab;
  --bg-gradient-5: #a8738e;
  --bg-gradient-6: #8e5270;
  --blob-color-1: #e8d7df;
  --blob-color-2: #63334b;
  --blob-color-3: #ffffff;
}

/* Theme: Projects (Sleek Platinum) */
.theme-projects {
  --bg-gradient-1: #f5f5f6;
  --bg-gradient-2: #e3e4e7;
  --bg-gradient-3: #ccd0d5;
  --bg-gradient-4: #b2b7c0;
  --bg-gradient-5: #979ea8;
  --bg-gradient-6: #7d8591;
  --blob-color-1: #e3e4e7;
  --blob-color-2: #525964;
  --blob-color-3: #ffffff;
}

/* Theme: Contact Us (Warm Sandstone) */
.theme-contact {
  --bg-gradient-1: #fbf7f4;
  --bg-gradient-2: #f2e4d8;
  --bg-gradient-3: #e6cdb9;
  --bg-gradient-4: #d7b396;
  --bg-gradient-5: #c59772;
  --bg-gradient-6: #b17b50;
  --blob-color-1: #f2e4d8;
  --blob-color-2: #805230;
  --blob-color-3: #ffffff;
}

@font-face {
  font-family: "CS Briseis";
  src: url("./cs-briseis-demo/CSBriseis-Regular_demo.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

img, video, canvas, svg, iframe {
  max-width: 100%;
}

body {
  /* background-color: var(--color-bg); */
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  font-weight: 300;
}

.bg-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(315deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 20%, var(--bg-gradient-3) 40%, var(--bg-gradient-4) 60%, var(--bg-gradient-5) 80%, var(--bg-gradient-6) 100%);
  background-size: 400% 400%;
  animation: gradientMove 20s ease infinite alternate;
  overflow: hidden;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes bgShadowAnim {
  0% {
    box-shadow:
      inset 10vw 10vh 20vw rgba(209, 209, 209, 0.15),
      inset -10vw -10vh 20vw rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow:
      inset -5vw 15vh 25vw rgba(209, 209, 209, 0.25),
      inset 10vw -5vh 25vw rgba(255, 255, 255, 0.6);
  }
  100% {
    box-shadow:
      inset 15vw -10vh 30vw rgba(168, 148, 115, 0.15),
      inset -15vw 10vh 30vw rgba(255, 255, 255, 0.7);
  }
}

.fluid-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.8;
  animation:
    moveFluid 20s infinite alternate ease-in-out,
    morphFluid 15s infinite alternate ease-in-out;
  will-change: transform, border-radius;
  transform: translateZ(0); /* Hardware accelerate */
}

.fluid-blob-1 {
  width: 70vw;
  height: 70vw;
  background: var(--blob-color-1);
  top: -20%;
  left: -10%;
  animation-delay: 0s, 0s;
}

.fluid-blob-2 {
  width: 80vw;
  height: 80vw;
  background: var(--blob-color-2);
  top: 20%;
  right: -20%;
  opacity: 0.3;
  animation-delay:
    -5s,
    -3s;
  animation-duration: 25s, 20s;
}

.fluid-blob-3 {
  width: 60vw;
  height: 60vw;
  background: var(--blob-color-3);
  bottom: -10%;
  left: 20%;
  animation-delay:
    -10s,
    -7s;
  animation-duration: 30s, 18s;
}

.moving-shadow {
  width: 150vw;
  height: 150vw;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, transparent 60%);
  top: -25%;
  left: -25%;
  animation: moveFadeShadow 25s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes moveFadeShadow {
  0% {
    transform: translate(-20vw, -10vh) scale(1);
    opacity: 0.1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translate(50vw, 30vh) scale(1.3);
    opacity: 0.2;
  }
}

@keyframes moveFluid {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(15vw, -15vh) scale(1.1) rotate(90deg);
  }
  66% {
    transform: translate(-10vw, 15vh) scale(0.9) rotate(180deg);
  }
  100% {
    transform: translate(5vw, 5vh) scale(1.05) rotate(270deg);
  }
}

@keyframes morphFluid {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 40% 50% 60% 50% / 70% 40% 50% 60%;
  }
}

.curved-lines {
  display: none !important;
}

@keyframes curveShadowSway {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }
  100% {
    transform: translateY(-20px) scale(1.02);
    opacity: 0.5;
  }
}

.curved-lines path {
  fill: none;
  stroke: #000000;
  stroke-width: 1; /* Thinner, more elegant */
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  transform-origin: center;
}

/* Combine the drawing effect with a very slow, elegant sway */
.line-1 {
  animation:
    drawLine 18s infinite alternate ease-in-out,
    gentleSway 20s infinite alternate ease-in-out;
}
.line-2 {
  animation:
    drawLine 24s infinite alternate-reverse ease-in-out,
    gentleSway 25s infinite alternate-reverse ease-in-out;
}
.line-3 {
  animation:
    drawLine 20s infinite alternate ease-in-out,
    gentleSway 22s infinite alternate ease-in-out;
}
.line-4 {
  animation:
    drawLine 28s infinite alternate-reverse ease-in-out,
    gentleSway 30s infinite alternate-reverse ease-in-out;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 2500;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes gentleSway {
  0% {
    transform: translateY(-3%) rotate(-1.5deg) scale(1);
  }
  100% {
    transform: translateY(3%) rotate(1.5deg) scale(1.05);
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-edge);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 2.5rem;
  border-radius: 4rem;
  gap: 0.5rem;
  opacity: 1;

  /* Flat Navbar without shadow */
  background: var(--color-bg);
  border: none;
  box-shadow: none;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav__hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  z-index: 1000;
  position: relative;
}

.nav__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
}

/* Open state for 3-line hamburger */
.nav.is-active .nav__hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav.is-active .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav.is-active .nav__hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__links-container {
  overflow: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-grow: 1;
  scroll-behavior: smooth;
  max-width: 100%;
}

.nav__links-container::-webkit-scrollbar {
  display: none;
}

.nav__links {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  margin: 0 auto;
}

.nav__link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  touch-action: manipulation;
}

/* ── Liquid Glass Active Pill ─────────────────────── */
.nav__link {
  padding: 0.8rem 1.6rem;
  border-radius: 3rem;
  border: 1px solid transparent;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border 0.35s ease,
    color 0.25s ease;
}

/* Hover: Liquid Glass iPhone Style */
.nav__link:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 1);
  color: #000000;
}

/* Active page: Liquid Glass iPhone Style */
.nav__link--active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
  backdrop-filter: blur(30px) saturate(220%);
  -webkit-backdrop-filter: blur(30px) saturate(220%);
  border: 1px solid rgba(255, 255, 255, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 1);
  color: #000000;
  font-weight: 600;
}

/* --- Dropdown Styles --- */
.nav__dropdown {
  position: relative;
  display: inline-block;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--color-text);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav__dropdown-icon {
  font-size: 0.7em;
  transition: transform 0.3s ease;
}

.nav__dropdown.is-open .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  min-width: 250px;
  z-index: 100;
}

.nav__dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.8rem 1.6rem;
  border-radius: 3rem;
  border: 1px solid transparent;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.nav__dropdown-item:hover, .nav__dropdown-item--active {
  background: rgba(0, 0, 0, 0.05);
}

.hero__layout {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.hero__text-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: var(--color-bg);
  border: none;
  max-width: 550px;
}

.hero__logo-wrapper {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  z-index: 10;
}

.hero__logo-wrapper::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
  box-shadow: 0 0 8px rgba(168, 148, 115, 0.5);
  animation: rotateBorder 8s infinite linear;
  z-index: 1;
}

.hero__logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.hero__title-wrap {
  overflow: hidden;
  padding-bottom: 0.2em; /* Prevents clipping of descenders like 'p', 'y', 'g' */
  margin-bottom: -0.2em; /* Offsets the padding to keep line rhythm exact */
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
  word-wrap: break-word;
}

.hero__title.italic {
  font-style: italic;
  padding-left: 0;
  color: var(--color-accent);
}

.hero__desc {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 400px;
  margin-top: 3rem;
  font-weight: 300;
  color: #555;
}

.hero__cta {
  display: inline-block;
  margin-top: 3rem;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 0.5rem;
  align-self: flex-start;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.hero__cta:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.hero__image-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__image-wrapper {
  width: 100%;
  max-width: 600px;
  height: 80vh;
  overflow: hidden;
  /* initial clip path for GSAP reveal */
  clip-path: inset(100% 0 0 0);
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform: scale(1.2); /* For slow subtle scale */
}

.carousel__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel__slide.active {
  opacity: 1;
}

/* --- WHO WE ARE SECTION --- */
.about {
  padding: var(--spacing-xl) var(--spacing-edge);
  background-color: #efefef;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1; /* Ensures it sits above the fixed iframe background */
}

.about__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about__content {
  display: flex;
  flex-direction: column;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.about__lead {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-accent);
  max-width: 100%;
  margin-bottom: 3rem;
}

.about__media {
  display: flex;
  justify-content: flex-end;
  position: sticky;
  top: 140px; /* Stays in view while reading the left side */
}

.about__certificate-link {
  display: block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
}

.about__certificate-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

@keyframes continuousZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.about__certificate {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
  animation: continuousZoom 6s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pro Lightbox styles */
.lightbox {
  display: none; /* toggled by GSAP */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  opacity: 0; /* for GSAP animation */
}

.lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.lightbox__content-wrapper {
  position: relative;
  z-index: 1001;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.9); /* for GSAP animation */
  opacity: 0; /* for GSAP animation */
}

.lightbox__content {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 30px;
  right: 40px;
  z-index: 1002;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
}


.about__certificate-link {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}



.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about__column p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  font-weight: 300;
}

/* --- SERVICES SECTION --- */
.services {
  padding: var(--spacing-xl) var(--spacing-edge);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1; /* Covers the body iframe */
  overflow: hidden; /* Ensures the iframe doesn't overflow section bounds */
}

.services__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.75rem); /* Scaled down for long text on mobile */
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 4rem;
  color: var(--color-text);
  text-align: center;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-bottom: 1.2rem;
  align-self: center;
  max-width: 800px;
  margin-inline: auto;
}

.services__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: drawTitleLine 4s infinite alternate ease-in-out;
}

@keyframes drawTitleLine {
  0% {
    width: 0;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.neo-box {
  padding: 3rem;
  border-radius: 1.5rem;
  background: var(--color-bg);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  position: relative;
}

.neo-box__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.neo-box--dark {
  background: #151515;
  color: var(--color-bg);
}

.neo-box__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.neo-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 300;
  color: #444;
  margin: 0;
}

.neo-box__text {
  position: relative;
}

.neo-box__text p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.neo-box.is-expanded .neo-box__text p {
  -webkit-line-clamp: unset;
}

.neo-box.is-expanded .neo-box__read-more {
  display: none;
}

.neo-box__read-more {
  background: none;
  border: none;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0;
  margin-top: auto;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block; /* Shown on desktop as well */
  text-align: left;
  transition: color 0.3s ease;
}

.neo-box__read-more:hover {
  color: var(--color-text);
}

.neo-box__close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.neo-box__close:active {
  transform: scale(0.9);
}

.neo-box.is-expanded .neo-box__close {
  display: flex;
}

.neo-box--dark p {
  color: #b0b0b0;
}

/* --- CORE VALUES SECTION --- */
.values {
  padding: var(--spacing-xl) var(--spacing-edge);
  background-color: #111111;
  position: relative;
  z-index: 1; /* Covers the body iframe */
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.values__box {
  background: transparent;
  box-shadow: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.values__title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-align: center;
}

.values__box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 1.5rem;
}

.values__box--full {
  grid-column: span 2;
}

.values__text {
  max-height: 130px;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  position: relative;
  width: 100%;
}

.values__box:not(.is-expanded) .values__text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(17,17,17,0), rgba(17,17,17,1));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.values__box.is-expanded .values__text::after {
  opacity: 0;
}

.values__box.is-expanded .values__text {
  max-height: 3000px;
}

.values__box.is-expanded .neo-box__read-more {
  display: none;
}

.values__box .neo-box__close {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.values__box .neo-box__read-more {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  margin-top: 1.5rem;
}
.values__box .neo-box__read-more:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}
.values__box.is-expanded .neo-box__close {
  display: flex;
}

.values__list {
  list-style: none;
  margin: 1.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  max-width: 800px;
}

.values__list li {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
  text-align: left;
  padding-left: 1.5rem;
}

.values__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  border-left: 8px solid var(--color-accent);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.values__list li:hover::before {
  transform: translateX(4px) scale(1.1);
  filter: drop-shadow(0 0 5px var(--color-accent));
}

.values__list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.values__quote {
  margin-top: 3rem;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-accent);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
}

/* --- VIDEO SECTION --- */
.video-section {
  padding: var(--spacing-lg) var(--spacing-edge);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  position: relative;
  z-index: 0;
}


.video-wrapper {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #000;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  animation: slowZoom 12s ease-in-out infinite;
}

.glass-play-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 1rem 2rem;
  border-radius: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #000;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.glass-play-btn svg {
  width: 24px;
  height: 24px;
}

.video-overlay:hover .glass-play-btn {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.25);
}

/* --- Gallery Section --- */
.gallery {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-bg);
  overflow: hidden;
  position: relative;
}

.gallery__header {
  max-width: 900px;
  margin: 0 auto 6rem auto;
  padding: 0 var(--spacing-edge);
  text-align: left;
}

.gallery__title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 3rem;
  letter-spacing: 1px;
  text-align: center;
}

.gallery__values-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.gallery__values-list li {
  font-size: 1.25rem;
  color: #cccccc;
  line-height: 1.8;
  position: relative;
  padding-left: 1.5rem;
}

.gallery__values-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  border-left: 10px solid var(--color-accent);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__values-list li:hover::before {
  transform: translateX(4px) scale(1.1);
  filter: drop-shadow(0 0 6px var(--color-accent));
}

/* --- CREATIVE 3-IMAGE GALLERY --- */
.creative-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 var(--spacing-edge);
  height: 400px; /* Reduced height for single-line horizontal alignment */
}

.creative-gallery__col {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  height: 100%;
}

.creative-gallery__col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.creative-gallery__col:hover img {
  transform: scale(1.08);
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 0.5rem;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-size: 4rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s ease;
}

.lightbox__close:hover {
  color: var(--color-accent);
}

/* --- BIDDING SUPPORT PAGE --- */
.page-header {
  padding: var(--spacing-edge);
  position: relative;
  z-index: 9999;
}

.page-content {
  /* Removed min-height: 80vh to prevent massive blank spaces below the hero */
  padding: var(--spacing-lg) var(--spacing-edge) var(--spacing-lg)
    var(--spacing-edge);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.glass-hero {
  position: relative;
  width: 100%;
  max-width: 1100px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow:
    15px 15px 40px rgba(0, 0, 0, 0.15),
    -15px -15px 40px rgba(255, 255, 255, 0.05); /* Neumorphic outer shadow */
}

.glass-hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top; /* Ensures the top of the image isn't cut off */
  max-height: 70vh;
}

.glass-hero__overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  color: #2c2c2a; /* Dark charcoal text for readability on light glass */
}

.glass-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5); /* subtle glow */
}

.glass-hero__text {
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 500;
}

@media (max-width: 768px) {
  .glass-hero__overlay {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 2rem 2rem;
    padding: 2rem;
  }
}

/* --- BIDDING MARQUEE SECTION --- */
.bidding-marquee-section {
  padding: var(--spacing-lg) 0 var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bidding-marquee__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: 0.05em;
}

.bidding-marquee__container {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.bidding-marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scrollBiddingMarquee 45s linear infinite;
  align-items: flex-start;
}

.bidding-marquee__container:hover .bidding-marquee__track {
  animation-play-state: paused;
}

@keyframes scrollBiddingMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1.5rem));
  }
}

.marquee-card {
  width: clamp(280px, 80vw, 400px);
  height: 260px; /* Enforces that every box is exactly the same size initially */
  padding: 2.2rem; /* Overriding .neo-box 3rem padding to remove unwanted space */
  flex-shrink: 0;
  cursor: pointer;
  transition:
    height 0.6s ease,
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
  background: var(--color-bg);
  box-shadow: none; /* Removed shadow as requested */
  border-radius: 0; /* Proper box shape */
  border: 1px solid #d5c8b5; /* Subtle border so it doesn't vanish into the background */
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevents contents from spilling out of fixed height */
}

.marquee-card.expanded {
  height: 600px; /* Expands to fit the image and full list */
}

.marquee-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
}

.marquee-card__title {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.marquee-card__content {
  display: flex;
  flex-direction: column;
}

.marquee-card__img {
  width: 100%;
  max-height: 0;
  object-fit: cover;
  border-radius: 0; /* Box shape to match card */
  margin-bottom: 0;
  opacity: 0;
  visibility: hidden;
  box-shadow: none; /* Removed shadow */
  transition:
    max-height 0.6s ease,
    opacity 0.5s ease,
    margin-bottom 0.4s ease,
    visibility 0s 0.6s;
}

.marquee-card.expanded .marquee-card__img {
  max-height: 250px;
  opacity: 1;
  visibility: visible;
  margin-bottom: 1.5rem;
  transition:
    max-height 0.6s ease,
    opacity 0.5s ease,
    margin-bottom 0.4s ease,
    visibility 0s 0s;
}

.marquee-card__content ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 90px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.6s ease;
}

.marquee-card__content ul::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(transparent, var(--color-bg));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.marquee-card.expanded .marquee-card__content ul {
  max-height: 500px;
}

.marquee-card.expanded .marquee-card__content ul::after {
  opacity: 0;
}

.marquee-card__content li {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.marquee-card__content li::before {
  content: "➔";
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.marquee-card::after {
  content: "See more...";
  display: block;
  font-size: 0.85rem;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 1.5rem;
  text-align: right;
  transition: opacity 0.3s ease;
}

.marquee-card.expanded::after {
  display: none;
}

/* --- FOOTER SECTION --- */
.footer__animated-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
}

.footer {
  background-color: #f0f0f0;
  color: #111111;
  padding: 2rem var(--spacing-edge) 1rem var(--spacing-edge);
  font-family: var(--font-body);
  position: relative;
  border-top: none;
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto 1.5rem auto;
}

.footer__col {
  /* Standard column layout without individual backgrounds */
  display: flex;
  flex-direction: column;
}

.footer__title {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__title::after {
  display: none;
}

.footer__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__list li {
  font-size: 0.95rem;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.footer__list li::before {
  content: "➔";
  font-size: 0.8rem;
  color: #000000;
}

.footer__list li:hover {
  color: #1a1a1a;
  text-shadow: none;
  transform: translateX(5px);
}

.footer__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 1.5rem;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__contact p {
  font-size: 0.95rem;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__contact strong {
  color: #000000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.footer__badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer__badge {
  height: 60px;
  width: auto;
}

.footer__sectigo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  background: #f0f0f0;
  color: #000000;
  box-shadow:
    4px 4px 10px #d1d1d1,
    -4px -4px 10px #ffffff;
}

.sectigo-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000000;
}

.sectigo-text {
  font-size: 0.6rem;
  line-height: 1.2;
}

.sectigo-text strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.footer__btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #f0f0f0;
  color: #000000;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow:
    6px 6px 15px #d1d1d1,
    -6px -6px 15px #ffffff;
}

.footer__btn-download:hover {
  box-shadow:
    inset 4px 4px 10px #d1d1d1,
    inset -4px -4px 10px #ffffff;
}

.footer__socials-new {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  background-color: #f0f0f0;
  border-radius: 50%;
  box-shadow:
    4px 4px 10px #d1d1d1,
    -4px -4px 10px #ffffff;
}

.social-btn:hover {
  box-shadow:
    inset 4px 4px 10px #d1d1d1,
    inset -4px -4px 10px #ffffff;
}

.footer__bottom {
  border-top: none;
  padding-top: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #000000;
  max-width: 1400px;
  margin: 0 auto;
}


/* --- DESIGN & ENGINEERING PAGE STYLES --- */

/* Intro Band */
.de-intro-section {
  position: relative;
  z-index: 10;
  margin-top: 5rem;
}
.de-intro-band {
  background-color: #1a1a1a;
  color: #fff;
  padding: 6rem var(--spacing-edge);
  text-align: center;
}
.de-intro-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  max-width: 1000px;
  margin-inline: auto;
}
.de-intro-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin-inline: auto;
  opacity: 0.8;
}

/* Ticker */
.de-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-accent);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  display: flex;
}
.de-ticker {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: de-ticker-anim 30s linear infinite;
}
.de-ticker__item {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #1a1a1a;
  text-transform: uppercase;
  font-weight: 600;
}
.de-ticker__separator {
  margin: 0 2rem;
  color: #1a1a1a;
  opacity: 0.5;
}
@keyframes de-ticker-anim {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Discipline Grid */
.de-discipline-grid {
  position: relative;
  z-index: 10;
  background: #fdfbf7; /* Slight off-white to match the vibe */
}
.de-discipline-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.de-discipline-card--reverse .de-discipline-card__content-panel {
  order: -1;
}
.de-discipline-card__image-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.de-discipline-card__image-wrapper {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
}
.de-discipline-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.de-discipline-card__content-panel {
  padding: 6rem var(--spacing-edge);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.de-discipline-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: #1a1a1a;
  margin-bottom: 2rem;
}
.de-discipline-card__list {
  list-style: none;
  display: grid;
  gap: 1rem;
}
.de-discipline-card__list li {
  font-size: 1.1rem;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.de-discipline-card__list li::before {
  content: "➔";
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* CTA Strip */
.de-cta-strip {
  background-color: #1a1a1a;
  padding: 8rem var(--spacing-edge);
  text-align: center;
  position: relative;
  z-index: 10;
}
.de-cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 3rem;
}
.de-cta-strip__btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background-color: var(--color-accent);
  color: #1a1a1a;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}
.de-cta-strip__btn:hover {
  transform: scale(1.05);
  background-color: #fff;
}

/* --- PROJECTS PAGE STYLES --- */

.pj-page-content {
  margin-bottom: 0;
}

/* Stats Strip */
.pj-stats-strip {
  background-color: var(--color-accent);
  padding: 5rem var(--spacing-edge);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}
.pj-stat {
  text-align: center;
  color: #1a1a1a;
}
.pj-stat__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
  line-height: 1;
}
.pj-stat__plus {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  vertical-align: super;
}
.pj-stat__label {
  display: block;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* Accordion Regions Section */
.pj-regions-section {
  position: relative;
  z-index: 10;
  background-color: #fdfbf7;
}

.pj-accordion {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pj-accordion-header {
  position: relative;
  padding: 4rem var(--spacing-edge);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  touch-action: manipulation;
}

.pj-accordion-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pj-accordion-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pj-accordion-header__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.pj-accordion:hover .pj-accordion-header__bg,
.pj-accordion.expanded .pj-accordion-header__bg {
  opacity: 1;
}

.pj-accordion-header__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.pj-accordion-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 4rem);
  color: #1a1a1a;
  transition: color 0.4s ease;
  margin: 0;
}

.pj-accordion-header__badge {
  background: rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.4s ease;
  color: #1a1a1a;
}

.pj-accordion:hover .pj-accordion-header__title,
.pj-accordion.expanded .pj-accordion-header__title {
  color: #fff;
}

.pj-accordion:hover .pj-accordion-header__badge,
.pj-accordion.expanded .pj-accordion-header__badge {
  background: var(--color-accent);
  color: #1a1a1a;
}

.pj-accordion-header__icon {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  color: #1a1a1a;
  transition:
    transform 0.4s ease,
    color 0.4s ease;
}

.pj-accordion:hover .pj-accordion-header__icon,
.pj-accordion.expanded .pj-accordion-header__icon {
  color: #fff;
}

.pj-accordion.expanded .pj-accordion-header__icon {
  transform: rotate(180deg);
}

.pj-accordion-body {
  height: 0;
  overflow: hidden;
  background-color: #fff;
}

.pj-accordion-body__content {
  padding: 4rem var(--spacing-edge);
}

.pj-project-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.pj-project-list li {
  font-size: 1.2rem;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.6;
}

.pj-project-list li::before {
  content: "➔";
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 0.2rem;
}

/* Highlight Section */
.pj-highlight-section {
  background-color: #1a1a1a;
  padding: 8rem var(--spacing-edge);
  position: relative;
  z-index: 10;
  overflow: hidden;
  text-align: center;
}

.pj-highlight-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1000 500" xmlns="http://www.w3.org/2000/svg"><path d="M100,200 C200,100 300,150 400,100 C500,50 600,150 700,100 C800,50 900,150 950,250 C900,350 800,300 700,400 C600,500 500,450 400,400 C300,350 200,450 100,350 C50,250 50,250 100,200 Z" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>');
  background-size: cover;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.pj-highlight-content {
  position: relative;
  z-index: 2;
}

.pj-highlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 4.5rem);
  color: #fff;
  line-height: 1.2;
  max-width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 1024px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Issue #10: Intermediate breakpoint for hero image height ── */
@media (max-width: 1100px) {
  .hero__image-wrapper {
    height: 65vh;
  }
}

@media (max-width: 900px) {
  .de-discipline-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .de-discipline-card--reverse .de-discipline-card__content-panel {
    order: unset;
  }
  .de-discipline-card__image-panel {
    height: 350px;
    order: -1;
  }
  .de-discipline-card__image-wrapper {
    top: 0;
    height: 100%;
  }
  .de-intro-title {
    font-size: 2rem;
  }
  .de-cta-strip__title {
    font-size: 2.5rem;
  }
  .de-intro-band {
    padding: 4rem var(--spacing-edge);
  }
  .de-cta-strip {
    padding: 5rem var(--spacing-edge);
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .neo-box {
    padding: 1.5rem;
    padding-top: 3rem;
  }
  .neo-box__title {
    font-size: 1.4rem;
  }
  .neo-box__image {
    height: 140px;
  }
  .neo-box p {
    font-size: 0.95rem;
  }
  .neo-box__read-more {
    display: inline-block;
  }
  
  /* --- Mobile App-like Modal for neo-box --- */
  .neo-box {
    height: auto;
    min-height: 400px; /* Uniform card shape initially */
  }
  .values__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .values__box {
    position: relative;
    padding-bottom: 3rem; /* Make room for See More */
  }
  .values__box .neo-box__read-more {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  


  .values__box--full {
    grid-column: span 1;
  }
  
  .creative-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem auto;
    height: auto;
    min-height: auto;
  }
  .creative-gallery__col {
    width: 100%;
    aspect-ratio: 16/9; /* Much less vertical space on mobile */
    margin: 0 !important;
  }
  .values__title, .gallery__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .values__box p {
    font-size: 1rem;
  }
  .values__list li {
    font-size: 1rem;
    padding-left: 1rem;
  }
  .values__list li::before {
    font-size: 1.1rem;
  }
  .values__list--cols {
    grid-template-columns: 1fr;
  }
  .hero__image-wrapper {
    height: 50vh;
  }
  .hero__title.italic {
    padding-left: 0;
  }

  /* Projects Page Mobile Adjustments (900px) */
  .pj-stats-strip {
    flex-direction: column;
    gap: 3rem;
    padding: 4rem var(--spacing-edge);
  }
  .pj-accordion-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .pj-accordion-header__icon {
    position: absolute;
    right: var(--spacing-edge);
    top: 50%;
    transform: translateY(-50%);
  }
  .pj-accordion.expanded .pj-accordion-header__icon {
    transform: translateY(-50%) rotate(180deg);
  }
  .pj-accordion-header__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .de-discipline-card__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .de-discipline-card__content-panel {
    padding: 3rem var(--spacing-edge);
  }
  .de-cta-strip__title {
    font-size: 1.8rem;
  }
  .de-intro-title {
    font-size: 1.6rem;
  }
  .de-intro-band {
    padding: 3rem var(--spacing-edge);
  }
  .de-cta-strip {
    padding: 4rem var(--spacing-edge);
  }
  .de-discipline-card__image-panel {
    height: 250px;
  }
  .de-discipline-card__list li {
    font-size: 1rem;
  }
  :root {
    --spacing-edge: 1rem;
    --spacing-xl: 5rem;
    --spacing-lg: 3rem;
  }
  /* ─── RESPONSIVE PILL (Mobile Nav) ─── */
  .nav {
    padding: 0; 
    flex-direction: row;
    border-radius: 50%;
    margin: 0;
    width: 52px;
    height: 52px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: clamp(1rem, 4vw, 1.5rem);
    left: clamp(1rem, 4vw, 1.5rem);
    right: auto;
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.85, 0, 0.15, 1);
    overflow: visible;
  }

  .nav.is-active {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    border-radius: 0;
    background: rgba(249, 248, 246, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: none;
  }

  .nav__hamburger {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    margin: 0;
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.85, 0, 0.15, 1);
  }

  .nav.is-active .nav__hamburger {
    top: clamp(1rem, 4vw, 1.5rem);
    left: clamp(1rem, 4vw, 1.5rem);
  }

  .nav__links-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease 0s, visibility 0.3s ease 0s;
    z-index: 9998;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-active .nav__links-container {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.4s ease 0.2s, visibility 0.4s ease 0.2s;
  }

  .nav__links {
    flex-direction: column;
    gap: clamp(1rem, 4vh, 2rem);
    padding: 7rem 0 4rem 0;
    margin: auto 0;
    align-items: center;
    width: 100%;
  }

  .nav__link {
    font-size: clamp(1.5rem, 6vw, 2rem);
    padding: 0.5rem;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav__dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .nav__dropdown-menu {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    gap: 1.5rem;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    min-width: auto !important;
    margin: 0 !important;
  }

  .nav__dropdown.is-open .nav__dropdown-menu {
    display: flex !important;
    transform: none !important;
  }

  .nav__dropdown-toggle {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }
  
  .nav__dropdown-item {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
    opacity: 0.7;
    padding: 0.5rem;
    white-space: normal;
  }

  .glass-hero__overlay {
    padding: 1.5rem;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
  .glass-hero__title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  .glass-hero__text {
    font-size: 0.9rem;
  }
  .hero__logo-wrapper {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin: 0 auto 1.5rem auto;
  }
  .hero__text-col {
    padding: 2rem;
    border-radius: 1.5rem;
  }
  .hero__eyebrow {
    margin-bottom: 1rem;
  }
  .about__header-content {
    flex-direction: column;
  }
  .about__lead {
    font-size: 1.25rem;
  }
  .hero__desc {
    margin-top: 1.5rem;
  }
  .hero__cta {
    margin-top: 1.5rem;
  }

  /* Footer Mobile Adjustments */
  .footer {
    padding: 2rem var(--spacing-edge);
  }
  .footer__container {
    padding: 0;
  }
  .footer__badges {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Projects Page Mobile Adjustments (600px) */
  .pj-accordion-header__title {
    font-size: 2rem;
  }
  .pj-stat__number {
    font-size: 4rem;
  }
  .pj-stat__plus {
    font-size: 2.5rem;
  }
  .pj-project-list li {
    font-size: 1rem;
  }
  .pj-highlight-section {
    padding: 5rem var(--spacing-edge);
  }
}


/* ─── CONTACT PAGE ────────────────────────────────────────────────── */
.contact-page {
  padding-top: clamp(5rem, 15vh, 150px);
}

.contact-section {
  padding: 4rem var(--spacing-edge);
  max-width: 1400px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form-container {
  background: #ffffff;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact__subtitle {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  font-weight: 400;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--color-accent);
}

.form-group label {
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: 0.3s ease all;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group input.is-filled ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group textarea.is-filled ~ label {
  top: -0.5rem;
  font-size: 0.8rem;
  color: var(--color-accent);
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-bottom-color: #e53e3e;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #e53e3e;
  margin-top: 0.25rem;
}

.form-group.has-error .form-error {
  display: block;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: var(--color-text);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 1rem;
}

.contact-submit:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact-spinner {
  animation: spin 0.8s linear infinite;
}

/* Contact Success State */
.contact-success {
  text-align: center;
  padding: 3rem 2rem;
}

.contact-success__icon {
  color: #22c55e;
  margin-bottom: 1.5rem;
}

.contact-success__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.contact-success__text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Contact Details Container (2nd Section White Box) */
.contact-details-container {
  background: #ffffff;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* WhatsApp Direct Contact Button */
.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 300px;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 3px 8px rgba(0, 0, 0, 0.15);
  margin-top: 1.5rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.contact-whatsapp-btn svg {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.contact-whatsapp-btn:hover {
  background: linear-gradient(135deg, #2ee66b 0%, #149c8b 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65), 0 5px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
}

.contact-whatsapp-btn:hover svg {
  transform: scale(1.18) rotate(-5deg);
}

.contact-whatsapp-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.contact-whatsapp-btn:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 3px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-card__title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card__text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.8);
  margin: 0;
}

.contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  min-height: 44px;
}

.contact-card__link:hover {
  color: var(--color-accent);
}

.contact-card__link--whatsapp:hover {
  color: #25D366 !important;
}

.contact-card__link--whatsapp svg {
  fill: #25D366;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ─── PRELOADER ──────────────────────────────────────────────────── */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader__logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
  margin-bottom: -0.5rem; /* pulls title closer */
}

.preloader__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin: 0;
}

.preloader__bar {
  width: 200px;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-accent);
}

.footer__logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  display: block;
  border: 2px solid var(--color-accent);
}

.contact__logo-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 4rem 0 1rem 0;
}

.contact__logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 10;
}

.contact__logo-text {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: #000000; /* Black for Private Limited */
  line-height: 1.4;
}

.contact__logo-text strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: #000000; /* Black for Smeta Engineering Services */
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.2rem;
  text-shadow: none; /* Keep black text crisp */
}

.contact__logo-wrapper::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 4px solid rgba(212, 175, 55, 0.2); /* Bright gold base */
  border-top-color: #d4af37; /* Bright gold rotating part */
  border-bottom-color: #d4af37; /* Bright gold rotating part */
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25); /* Minimal shadow in bright gold */
  animation: rotateBorder 8s infinite linear;
  z-index: 1;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #FFF;
}

@media (max-width: 900px) {
  .whatsapp-float {
    bottom: 24px;
    right: 20px;
    width: 58px;
    height: 58px;
  }

  /* --- MOBILE PERFORMANCE OPTIMIZATIONS --- */
  .bg-animated {
    animation: none !important;
    background: linear-gradient(315deg, var(--bg-gradient-1) 0%, var(--bg-gradient-6) 100%);
  }
  .fluid-blob, .moving-shadow, .curved-lines {
    display: none !important;
    animation: none !important;
  }
}

/* ── Extra Small Smartphones (<= 600px) Responsiveness ── */
@media (max-width: 600px) {
  .contact-form-container,
  .contact-details-container,
  .neo-box {
    padding: 2rem 1.25rem !important;
    border-radius: 1.25rem !important;
  }

  .contact-standalone .contact-grid {
    gap: 1.5rem !important;
  }

  .contact-card__link {
    word-break: break-word;
    font-size: 0.95rem;
  }

  .footer__container {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .whatsapp-float {
    bottom: 16px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .whatsapp-float svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* Responsive contact page adjustments */
  .contact-whatsapp-btn {
    display: flex;
    margin: 1.25rem auto 0 auto;
    padding: 0.95rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    max-width: 290px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55), 0 3px 8px rgba(0, 0, 0, 0.15);
  }

  .contact__logo-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
  }

  .contact__logo-wrapper {
    width: 90px;
    height: 90px;
  }

  .contact__logo-text {
    font-size: 1.15rem;
  }

  .iso-certificate-wrap {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
