:root {
  --aqua: #00a6b8;
  --aqua-d: #007b8a;
  --navy: #0b1f3a;
  --ink: #16243b;
  --sand: #f6f8fb;
  --accent: #ff6b4a;
  --r: 18px;
  --bs-primary: var(--aqua);
  --bs-body-font-family: "Inter", "Hind Siliguri", system-ui, sans-serif;
  --bs-body-color: #34425a;
}
html,
body {
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}
section {
  padding: 88px 0;
}
.bg-sand {
  background: var(--sand);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua-d);
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}
.sec-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Topbar + navbar */
.topbar {
  background: var(--navy);
  color: #cfe3f1;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar a {
  color: #fff;
  text-decoration: none;
}
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.08);
}
.navbar-brand img {
  height: 46px;
}
.nav-link {
  font-weight: 600;
  color: var(--ink) !important;
  padding: 0.6rem 0.9rem !important;
}
.nav-link:hover,
.nav-link.active {
  color: var(--aqua-d) !important;
}
.dropdown-menu {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.14);
  padding: 0.6rem;
}
.dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
}
.dropdown-item:hover {
  background: var(--sand);
  color: var(--aqua-d);
}
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* Buttons */
.btn {
  border-radius: 50px;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
}
.btn-aqua {
  background: var(--aqua);
  color: #fff;
  border: 0;
}
.btn-aqua:hover {
  background: var(--aqua-d);
  color: #fff;
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 0;
}
.btn-accent:hover {
  background: #e8553a;
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 120px 0 80px;
  background:
    linear-gradient(105deg, rgba(11, 31, 58, 0.92) 25%, rgba(11, 31, 58, 0.35)),
    var(--hero) center/cover;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
}
.hero h1 span {
  color: #5ee7f5;
}
.hero p.lead {
  max-width: 600px;
  color: #dbe8f3;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
}
.hero-stats b {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 2rem;
  color: #fff;
}
.hero-stats small {
  color: #b7cbe0;
}
.swatches {
  display: flex;
  gap: 6px;
  margin-top: 2rem;
}
.swatches i {
  width: 34px;
  height: 8px;
  border-radius: 8px;
}

/* Cards */
.p-card {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  height: 100%;
  border: 1px solid #e6ecf3;
  transition: 0.35s;
}
.p-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(11, 31, 58, 0.12);
  border-color: transparent;
}
.p-card .img {
  background: radial-gradient(circle at 50% 40%, #e9f8fa, #f6f8fb);
  padding: 24px;
  text-align: center;
}
.p-card img {
  height: 210px;
  object-fit: contain;
  max-width: 100%;
  transition: 0.4s;
}
.p-card:hover img {
  transform: scale(1.07) rotate(-2deg);
}
.p-card .body {
  padding: 22px;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #e3f6f8;
  color: var(--aqua-d);
  padding: 4px 12px;
  border-radius: 30px;
}
.p-card h3 {
  font-size: 1.15rem;
  margin: 0.7rem 0 0.2rem;
}
.p-card a.more {
  font-weight: 600;
  color: var(--aqua-d);
  text-decoration: none;
}

/* About */
.about-img {
  border-radius: var(--r);
  box-shadow: 0 30px 60px rgba(11, 31, 58, 0.18);
  width: 100%;
}
.badge-year {
  position: absolute;
  right: -10px;
  bottom: -24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
  padding: 20px 26px;
  text-align: center;
  font-family: Poppins;
}
.badge-year b {
  font-size: 2.2rem;
  display: block;
  line-height: 1;
}
.feature {
  display: flex;
  gap: 14px;
  margin-bottom: 1.2rem;
}
.feature i {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #e3f6f8;
  color: var(--aqua-d);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

/* Dark band */
.band {
  background: linear-gradient(120deg, var(--navy), #0f3a5c);
  color: #cfe0ee;
}
.band h2,
.band h3 {
  color: #fff;
}
.nav-pill-link {
  display: block;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  height: 100%;
}
.nav-pill-link:hover {
  background: var(--aqua);
  color: #fff;
  transform: translateY(-4px);
}

/* Logo grids */
.logo-tile {
  background: #fff;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  height: 112px;
  display: grid;
  place-items: center;
  padding: 12px;
  transition: 0.3s;
}
.logo-tile:hover {
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.1);
  transform: translateY(-3px);
}
.logo-tile img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: 0.3s;
}
.logo-tile:hover img {
  filter: none;
  opacity: 1;
}

/* Projects */
.proj {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ccc;
}
.proj img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.proj:hover img {
  transform: scale(1.1);
}
.proj figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 60px 20px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(11, 31, 58, 0.9));
}
.proj figcaption b {
  display: block;
  font-family: Poppins;
  font-size: 1.02rem;
}
.proj figcaption small {
  color: #9fe7f0;
}

/* Contact + footer */
.c-card {
  background: #fff;
  border-radius: var(--r);
  padding: 28px;
  height: 100%;
  border: 1px solid #e6ecf3;
}
.c-card h4 {
  font-size: 1.05rem;
  color: var(--aqua-d);
}
.c-card p {
  margin: 0 0 0.5rem;
  font-size: 0.93rem;
}
footer {
  background: #07152a;
  color: #9fb2c8;
  padding: 60px 0 24px;
}
footer a {
  color: #cfe0ee;
  text-decoration: none;
}
footer a:hover {
  color: #5ee7f5;
}
.social a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-right: 8px;
}
.social a:hover {
  background: var(--aqua);
  color: #fff;
}
.fab-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
#top {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 99;
  display: none;
}
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .badge-year {
    right: 10px;
  }
}

/* Slider controls + captions (desktop: hidden) */
.m-nav {
  display: none;
}
.lt-name {
  display: none;
}

/* Mobile sliders: 1 item per view (swipe, snap + buttons) */
@media (max-width: 767.98px) {
  section {
    padding: 64px 0;
  }
  .row.m-slider {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 0 22px;
  }
  .row.m-slider::-webkit-scrollbar {
    display: none;
  }
  .row.m-slider > * {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .m-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
  }
  .m-mid {
    flex: 1;
  }
  .m-prog {
    height: 4px;
    border-radius: 4px;
    background: #dbe5ef;
    overflow: hidden;
  }
  .m-prog span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--aqua), var(--accent));
    transition: width 0.35s;
  }
  .m-count {
    display: block;
    text-align: center;
    margin-top: 8px;
    font:
      600 0.8rem Poppins,
      sans-serif;
    letter-spacing: 0.12em;
    color: var(--ink);
  }
  .band .m-count {
    color: #cfe0ee;
  }
  .band .m-prog {
    background: rgba(255, 255, 255, 0.18);
  }
  .m-btn {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, var(--aqua), var(--aqua-d));
    color: #fff;
    font-size: 1.25rem;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 22px rgba(0, 166, 184, 0.38);
    transition: 0.25s;
  }
  .m-btn:first-child {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.14);
  }
  .m-btn:active {
    transform: scale(0.9);
  }
  /* Products */
  #prodRow .p-card {
    box-shadow: 0 22px 46px rgba(11, 31, 58, 0.12);
    border: 0;
  }
  #prodRow .p-card .img {
    padding: 34px 20px 18px;
  }
  #prodRow .p-card img {
    height: 250px;
  }
  #prodRow .p-card .body {
    padding: 24px 26px 28px;
    text-align: center;
  }
  #prodRow .p-card h3 {
    font-size: 1.3rem;
  }
  #prodRow .p-card a.more {
    display: inline-block;
    margin-top: 2px;
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--navy);
    color: #fff;
  }
  /* Explore */
  .nav-pill-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 190px;
    padding: 28px 20px;
    font-size: 1.2rem;
    text-align: center;
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.04)
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
  }
  .nav-pill-link i {
    margin: 0 !important;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    background: linear-gradient(135deg, var(--aqua), #5ee7f5);
    color: var(--navy);
  }
  /* Logo tiles: clients, enlistments, certifications */
  .logo-tile {
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(160deg, #fff, #eaf7f9);
    box-shadow: 0 20px 44px rgba(11, 31, 58, 0.1);
    padding: 24px;
  }
  .logo-tile img {
    max-height: 120px;
    filter: none;
    opacity: 1;
  }
  .lt-name {
    display: block;
    font:
      600 1rem Poppins,
      sans-serif;
    color: var(--ink);
    text-align: center;
    position: relative;
    padding-top: 14px;
  }
  .lt-name::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 36px;
    height: 3px;
    margin-left: -18px;
    border-radius: 3px;
    background: var(--accent);
  }
  /* Projects */
  #projRow .proj {
    aspect-ratio: 4/4.4;
    border-radius: 24px;
    box-shadow: 0 20px 44px rgba(11, 31, 58, 0.16);
  }
  #projRow .proj figcaption {
    padding: 90px 24px 24px;
  }
  #projRow .proj figcaption b {
    font-size: 1.2rem;
  }
  .badge-year {
    right: 10px;
  }
}

/* ===== Hero: text and image separated (split layout) ===== */
.hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: 80px 0 110px;
  overflow: hidden;
  color: #fff;
  border-radius: 0 0 44px 44px;
  background: linear-gradient(135deg, #071a33 0%, #0b2d4d 55%, #0a4a5c 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 520px;
  height: 520px;
  top: -200px;
  right: -140px;
  background: radial-gradient(circle, rgba(94, 231, 245, 0.3), transparent 70%);
}
.hero::after {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: -120px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 74, 0.22),
    transparent 70%
  );
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #bff4fa;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.1;
}
.hero h1 span {
  background: linear-gradient(90deg, #5ee7f5, #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .btn {
  margin-bottom: 10px;
}
.hero-stats {
  padding-top: 1.6rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-media {
  position: relative;
  padding: 12px;
}
.hero-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 6px solid rgb(0 166 184 / 18%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.hero-ring {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 34px;
  border: 2px dashed rgba(94, 231, 245, 0.5);
  transform: translate(20px, 20px);
}
.hero-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 140px;
  height: 140px;
  border-radius: 30px;
  top: -6px;
  left: -6px;
  background: linear-gradient(135deg, var(--accent), #ffd166);
  opacity: 0.9;
}
.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: floaty 5s ease-in-out infinite;
}
.hero-chip i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-d));
}
.hero-chip b {
  display: block;
  font:
    600 0.92rem Poppins,
    sans-serif;
  line-height: 1.2;
}
.hero-chip small {
  color: #6b7a90;
  font-size: 0.75rem;
}
.hero-chip.c1 {
  left: -20px;
  bottom: 40px;
}
.hero-chip.c2 {
  right: -8px;
  top: 36px;
  animation-delay: -2.5s;
}
.hero-chip.c2 i {
  background: linear-gradient(135deg, var(--accent), #e8553a);
}
@keyframes floaty {
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 991.98px) {
  .hero {
    padding: 28px 0 56px;
    border-radius: 0 0 30px 30px;
  }
  .hero-media {
    padding: 0 0 4px;
  }
  .hero-media::before,
  .hero-ring,
  .hero-chip {
    display: none;
  }
  .hero-img {
    border-radius: 22px;
    border-width: 4px;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
  .hero-stats {
    gap: 1.4rem 2rem;
  }
}

/* ===== Connect With Aqua Paints ===== */
.contact-sec {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #071a33 0%, #0b2d4d 55%, #0a4a5c 100%);
}
.contact-sec::before,
.contact-sec::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.contact-sec::before {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(94, 231, 245, 0.28),
    transparent 70%
  );
}
.contact-sec::after {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 74, 0.22),
    transparent 70%
  );
}
.contact-sec .sec-title {
  color: #fff;
}
.contact-sub {
  max-width: 520px;
  color: #b7cbe0;
}
.act-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 32px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: 0.3s;
}
.act-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.13);
}
.act-card > i {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--aqua), #5ee7f5);
  color: var(--navy);
}
.act-card.wa > i {
  background: linear-gradient(135deg, #25d366, #8af0b0);
}
.act-card.em > i {
  background: linear-gradient(135deg, var(--accent), #ffb199);
}
.act-card small {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #9fe7f0;
}
.act-card b {
  font:
    600 1.25rem Poppins,
    sans-serif;
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}
.act-card .btn {
  margin-top: auto;
  max-width: 100%;
}
.office-card {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 34px 28px 26px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
  border-top: 5px solid var(--aqua);
}
.office-card.fac {
  border-top-color: var(--accent);
}
.o-badge {
  position: absolute;
  top: -26px;
  left: 26px;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-d));
  box-shadow: 0 10px 20px rgba(0, 166, 184, 0.4);
}
.fac .o-badge {
  background: linear-gradient(135deg, var(--accent), #e8553a);
  box-shadow: 0 10px 20px rgba(255, 107, 74, 0.4);
}
.office-card h3 {
  font-size: 1.15rem;
  margin: 10px 0 10px;
  overflow-wrap: anywhere;
}
.office-card .addr {
  font-size: 0.93rem;
  color: #5a6a82;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed #d5dfeb;
}
.oc-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.oc-row:last-child {
  margin-bottom: 0;
}
.oc-row > i {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e3f6f8;
  color: var(--aqua-d);
}
.fac .oc-row > i {
  background: #ffece7;
  color: var(--accent);
}
.oc-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}
.oc-row small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a98ad;
  font-weight: 700;
}
.oc-row a {
  color: var(--ink);
  text-decoration: none;
}
.oc-row a:hover {
  color: var(--aqua-d);
}
@media (max-width: 575.98px) {
  .act-card {
    padding: 26px 18px;
  }
  .act-card b {
    font-size: 1.1rem;
  }
  .office-card {
    padding: 32px 20px 22px;
  }
  .contact-sec .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ===== Smooth scrolling + animations ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
.navbar {
  transition:
    box-shadow 0.35s,
    padding 0.35s,
    background 0.35s;
}
.navbar-brand img {
  transition: height 0.35s;
}
.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.12);
  background: rgba(255, 255, 255, 0.97);
}
.navbar.scrolled .navbar-brand img {
  height: 38px;
}
.scroll-prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 2000;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--aqua), #5ee7f5, var(--accent));
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.r-left {
  transform: translateX(-56px);
}
.reveal.r-right {
  transform: translateX(56px);
}
.reveal.r-zoom {
  transform: scale(0.9) translateY(24px);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.swatches i {
  transform-origin: left;
  animation: swIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.swatches i:nth-child(2) {
  animation-delay: 0.1s;
}
.swatches i:nth-child(3) {
  animation-delay: 0.2s;
}
.swatches i:nth-child(4) {
  animation-delay: 0.3s;
}
.swatches i:nth-child(5) {
  animation-delay: 0.4s;
}
@keyframes swIn {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
}
.hero::before {
  animation: glow 9s ease-in-out infinite alternate;
}
.hero::after {
  animation: glow 11s ease-in-out infinite alternate-reverse;
}
@keyframes glow {
  to {
    transform: translate(-40px, 30px) scale(1.15);
  }
}
.btn {
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}
.fab-wa {
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.dropdown-menu {
  animation: dd 0.25s ease both;
}
@keyframes dd {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
  }
}

/* ======================================================================
   Unique section designs
   ====================================================================== */
/* Paint-stroke title accent */
.sec-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 6px;
  border-radius: 6px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--aqua), var(--accent));
}
.text-center .sec-title::after {
  margin-inline: auto;
}
.band .sec-title::after {
  background: linear-gradient(90deg, #5ee7f5, var(--accent));
}

/* Products: colour-coded cards */
#products {
  background-color: var(--sand);
  background-image: radial-gradient(#d3e1ec 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}
.p-card {
  position: relative;
  border: 0;
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.08);
}
.p-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s;
}
.p-card:hover::after {
  transform: scaleX(1);
}
.p-card .img {
  position: relative;
  background: radial-gradient(
    circle at 50% 42%,
    color-mix(in srgb, var(--c) 26%, #fff),
    #fff 74%
  );
}
.p-card .idx {
  position: absolute;
  top: 14px;
  left: 18px;
  font:
    700 2.3rem/1 Poppins,
    sans-serif;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 55%, #fff);
}
.tag {
  background: color-mix(in srgb, var(--c) 14%, #fff);
  color: color-mix(in srgb, var(--c) 68%, #000);
}
.p-card a.more {
  color: color-mix(in srgb, var(--c) 70%, #000);
}

/* About: image collage + feature cards */
.about-collage {
  position: relative;
  padding: 0 16% 16% 0;
}
.ac-main {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 34px 70px rgba(11, 31, 58, 0.2);
  aspect-ratio: 4/4.2;
  object-fit: cover;
}
.ac-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  border: 8px solid #fff;
  box-shadow: 0 24px 50px rgba(11, 31, 58, 0.22);
}
.about-collage::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -22px;
  top: -22px;
  width: 46%;
  height: 46%;
  border-radius: 30px;
  background: repeating-linear-gradient(
    45deg,
    #d9eef2 0 8px,
    transparent 8px 16px
  );
}
.badge-year {
  left: -14px;
  right: auto;
  top: 34px;
  bottom: auto;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feat {
  background: #fff;
  border: 1px solid #e6ecf3;
  border-radius: 20px;
  padding: 20px 18px;
  transition: 0.3s;
}
.feat:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.1);
  border-color: transparent;
}
.feat i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-d));
}
.feat:nth-child(2) i {
  background: linear-gradient(135deg, var(--accent), #e8553a);
}
.feat:nth-child(3) i {
  background: linear-gradient(135deg, #6c5ce7, #8f84f0);
}
.feat b {
  display: block;
  font:
    600 0.95rem/1.3 Poppins,
    sans-serif;
  color: var(--ink);
  margin-bottom: 6px;
}
.feat small {
  color: #6b7a90;
  line-height: 1.45;
  display: block;
}
@media (max-width: 991.98px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }
  .about-collage {
    padding: 0 12% 12% 0;
  }
}

/* Explore: bento tiles */
.band {
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  top: -180px;
  left: -140px;
  background: radial-gradient(
    circle,
    rgba(94, 231, 245, 0.22),
    transparent 70%
  );
}
.nav-pill-link {
  position: relative;
  overflow: hidden;
}
.nav-pill-link small {
  display: block;
  font-weight: 400;
  color: #b7cbe0;
  margin-top: 4px;
  font-size: 0.82rem;
}
.nav-pill-link b {
  font:
    600 1.05rem Poppins,
    sans-serif;
}
.nav-pill-link::after {
  content: "\2197";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.05rem;
  transition: 0.3s;
}
.nav-pill-link:hover::after {
  background: #fff;
  color: var(--aqua-d);
  transform: rotate(45deg);
}
.nav-pill-link:hover small {
  color: #fff;
}
.nav-pill-link.vis {
  background: linear-gradient(
    135deg,
    #00a6b8 0%,
    #5ee7f5 40%,
    #ffd166 72%,
    #ff6b4a 100%
  );
  color: var(--navy);
  border-color: transparent;
}
.nav-pill-link.vis b,
.nav-pill-link.vis small {
  color: var(--navy);
}
.nav-pill-link.vis i {
  background: #fff !important;
  color: var(--aqua-d) !important;
}
.nav-pill-link.vis::after {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
}
@media (min-width: 768px) {
  .nav-pill-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 26px;
    min-height: 150px;
    padding: 24px;
    border-radius: 26px;
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04)
    );
    border: 1px solid rgba(255, 255, 255, 0.16);
  }
  .nav-pill-link.big {
    min-height: 240px;
  }
  .nav-pill-link.big b {
    font-size: 1.45rem;
  }
  .nav-pill-link i {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin: 0 !important;
    background: linear-gradient(135deg, var(--aqua), #5ee7f5);
    color: var(--navy);
  }
}

/* ===== Clients: dual-row marquee ===== */
.clients-sec {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #eaf6f9 100%);
}
.clients-sec::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(0, 166, 184, 0.16), transparent 70%);
}
.big-stat {
  display: flex;
  align-items: center;
  gap: 16px;
}
.big-stat b {
  font:
    700 clamp(3rem, 6vw, 4.6rem)/1 Poppins,
    sans-serif;
  background: linear-gradient(135deg, var(--aqua), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.big-stat span {
  max-width: 240px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.big-stat.light span {
  color: #b7cbe0;
}
@media (min-width: 992px) {
  .clients-sec .big-stat {
    justify-content: flex-end;
  }
}
.marquee {
  position: relative;
}
.mq-row {
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.mq-track {
  display: flex;
  width: max-content;
  animation: mq 70s linear infinite;
}
.mq-track.rev {
  animation-direction: reverse;
  animation-duration: 80s;
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}
.marquee:hover .mq-track {
  animation-play-state: paused;
}
.mq-card {
  flex: none;
  width: 216px;
  height: 150px;
  margin-right: 18px;
  padding: 12px 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e1eaf2;
  /* box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.35s;
}
.mq-card img {
  max-height: 84px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.35s;
}
.mq-card span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font:
    600 0.72rem Poppins,
    sans-serif;
  letter-spacing: 0.02em;
  color: #8190a6;
  transition: 0.35s;
}
.mq-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(0, 166, 184, 0.22);
}
.mq-card:hover img {
  filter: none;
  opacity: 1;
}
.mq-card:hover span {
  color: var(--aqua-d);
}

/* ===== Enlistments: glowing seal badges on dark ===== */
.enlist-sec {
  position: relative;
  overflow: hidden;
  color: #cfe0ee;
  background: linear-gradient(135deg, #071a33 0%, #0b2d4d 60%, #0a4a5c 100%);
}
.enlist-sec::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  bottom: -220px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(94, 231, 245, 0.24),
    transparent 70%
  );
}
.enlist-sec::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  top: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.2), transparent 70%);
}
.enlist-sec .sec-title {
  color: #fff;
}
.enlist-sec .sec-title::after {
  background: linear-gradient(90deg, #5ee7f5, var(--accent));
}
.enl-p {
  color: #b7cbe0;
  max-width: 380px;
  margin-bottom: 1.6rem;
}
.enlist-sec .m-count {
  color: #cfe0ee;
}
.enlist-sec .m-prog {
  background: rgba(255, 255, 255, 0.18);
}
.round .ring {
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 4px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from 160deg, #00a6b8, #5ee7f5, #ffd166, #ff6b4a, #00a6b8)
      border-box;
  transition: 0.4s;
}
.round .ring img {
  max-width: 100%;
  object-fit: contain;
}

/* ===== Certifications: certificate cards ===== */
.cert-sec {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.cert-sec::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  top: -200px;
  right: -140px;
  background: radial-gradient(circle, rgba(0, 166, 184, 0.14), transparent 70%);
}
.cert-sec::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  bottom: -200px;
  left: -120px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 74, 0.12),
    transparent 70%
  );
}
.seal {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ffd166);
  box-shadow: 0 10px 22px rgba(255, 107, 74, 0.4);
}

@media (min-width: 768px) {
  .logo-tile.round {
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .logo-tile.round:hover {
    transform: none;
  }
  .round .ring {
    width: 118px;
    height: 118px;
    padding: 22px;
    box-shadow:
      0 0 0 8px rgba(255, 255, 255, 0.06),
      0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .round:hover .ring {
    transform: translateY(-8px) scale(1.06);
    box-shadow:
      0 0 0 10px rgba(94, 231, 245, 0.18),
      0 28px 52px rgba(0, 0, 0, 0.45);
  }
  .round .ring img {
    max-height: 62px;
    filter: none;
    opacity: 1;
  }
  .round .lt-name {
    display: block;
    font:
      600 0.82rem/1.3 Poppins,
      sans-serif;
    color: #e6f1f8;
    padding-top: 0;
  }
  .round .lt-name::before {
    display: none;
  }
  .logo-tile.cert {
    position: relative;
    height: 236px;
    margin-top: 22px;
    padding: 42px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 24px;
    border: 2px solid transparent;
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(145deg, #00a6b8, #5ee7f5 45%, #ffd166 75%, #ff6b4a)
        border-box;
    box-shadow: 0 22px 50px rgba(11, 31, 58, 0.1);
    transition:
      transform 0.18s,
      box-shadow 0.4s;
  }
  .logo-tile.cert::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed #c9dfe6;
    border-radius: 17px;
    pointer-events: none;
  }
  .cert .seal {
    display: none;
    position: absolute;
    top: -24px;
    left: 50%;
    margin-left: -24px;
    border: 3px solid #fff;
  }
  .logo-tile.cert:hover {
    box-shadow: 0 34px 64px rgba(0, 166, 184, 0.28);
  }
  .logo-tile.cert img {
    max-height: 84px;
    filter: none;
    opacity: 1;
  }
  .logo-tile.cert .lt-name {
    display: block;
    font:
      600 0.82rem/1.3 Poppins,
      sans-serif;
    color: var(--ink);
    padding-top: 0;
  }
  .logo-tile.cert .lt-name::before {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .round .ring {
    width: 156px;
    height: 156px;
    padding: 28px;
  }
  .round .ring img {
    max-height: 90px;
    filter: none;
    opacity: 1;
  }
  .logo-tile.round {
    background: linear-gradient(160deg, #fff, #eaf7f9);
  }
  .logo-tile.cert .seal {
    margin-bottom: -6px;
  }
  .logo-tile.cert img {
    max-height: 100px;
    filter: none;
    opacity: 1;
  }
}

/* Projects: editorial mosaic */
@media (min-width: 768px) {
  #projRow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    margin: 0;
    --bs-gutter-x: 0;
  }
  #projRow > * {
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0;
    height: 100%;
  }
  #projRow .proj {
    height: 100%;
    aspect-ratio: auto;
    border-radius: 26px;
    box-shadow: 0 18px 44px rgba(11, 31, 58, 0.14);
  }
  #projRow > :first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}
@media (min-width: 992px) {
  #projRow {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
  }
  #projRow > :nth-child(2) {
    grid-column: span 2;
  }
  #projRow > :nth-child(10),
  #projRow > :nth-child(11) {
    grid-column: span 2;
  }
  #projRow > :first-child figcaption b {
    font-size: 1.5rem;
  }
}
.proj::after {
  content: "\2197";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  opacity: 0;
  transform: scale(0.6);
  transition: 0.35s;
}
.proj:hover::after {
  opacity: 1;
  transform: none;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #07152a, #050f1f);
}
footer h5 {
  font:
    600 1rem Poppins,
    sans-serif;
  color: #fff;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 12px;
}
footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.f-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f-links li {
  margin-bottom: 0.65rem;
}
.f-links a {
  transition: 0.25s;
}
.f-links a:hover {
  padding-left: 6px;
}
.f-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  overflow-wrap: anywhere;
}
.f-contact i {
  color: #5ee7f5;
  margin-top: 3px;
}
.f-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 0.88rem;
}
@media (max-width: 767.98px) {
  .row.m-slider {
    --bs-gutter-x: 1.5rem;
  }
  #projRow .proj {
    aspect-ratio: 4/4.4;
  }
  .logo-tile.cert .lt-name {
    display: block;
  }
}

/* ===== Hero slider (Bootstrap carousel, fade) ===== */
.hero .carousel-inner {
  display: grid;
  overflow: visible;
}
.hero .carousel-fade .carousel-item {
  display: block;
  grid-area: 1/1;
  float: none;
  margin: 0;
  width: 100%;
}
.hero
  .carousel-item:not(.active):not(.carousel-item-next):not(
    .carousel-item-prev
  ) {
  visibility: hidden;
}
.hero .carousel-fade .carousel-item {
  transition-duration: 0.8s;
}
.hero .sl-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
}
.hero .sl-title span {
  background: linear-gradient(90deg, #5ee7f5, #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead {
  max-width: 560px;
  color: #dbe8f3;
}
.sl-anim > *,
.sl-media {
  will-change: transform, opacity;
}
.carousel-item.active .sl-anim > * {
  animation: slUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.carousel-item.active .sl-anim > :nth-child(2) {
  animation-delay: 0.08s;
}
.carousel-item.active .sl-anim > :nth-child(3) {
  animation-delay: 0.16s;
}
.carousel-item.active .sl-anim > :nth-child(4) {
  animation-delay: 0.24s;
}
.carousel-item.active .sl-media {
  animation: slZoom 0.95s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes slUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
}
@keyframes slZoom {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(22px);
  }
}
.hero-media.plain::before,
.hero-media.plain .hero-ring {
  display: none;
}

/* product stage */
.prod-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}
.prod-stage::before {
  content: "";
  position: absolute;
  width: min(420px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5ee7f5, #00a6b8 55%, #0a4a5c);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}
.prod-stage::after {
  content: "";
  position: absolute;
  width: min(480px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  animation: spin 50s linear infinite;
}
.prod-stage img {
  position: relative;
  z-index: 1;
  height: 400px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.4));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* colour fan */
.palette {
  --sp: 86px;
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.palette i {
  position: absolute;
  width: 106px;
  height: 300px;
  border-radius: 28px;
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.35);
  transform-origin: 50% 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.palette i:nth-child(1) {
  background: #00a6b8;
  transform: translateX(calc(var(--sp) * -2)) rotate(-24deg);
}
.palette i:nth-child(2) {
  background: #5ee7f5;
  transform: translateX(calc(var(--sp) * -1)) rotate(-12deg);
}
.palette i:nth-child(3) {
  background: #ffd166;
}
.palette i:nth-child(4) {
  background: #ff6b4a;
  transform: translateX(var(--sp)) rotate(12deg);
}
.palette i:nth-child(5) {
  background: #7bd389;
  transform: translateX(calc(var(--sp) * 2)) rotate(24deg);
}
.palette:hover {
  --sp: 104px;
}

/* controls */
.hero-ctrl {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}
.hc-btn {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: 0.3s;
  backdrop-filter: blur(6px);
}
.hc-btn:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  transform: scale(1.08);
}
.hero .carousel-indicators {
  position: static;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 8px;
}
.hero .carousel-indicators [data-bs-target] {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  flex: none;
  width: 64px;
  height: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
  opacity: 1;
  text-indent: -999px;
  transition: 0.3s;
}
.hero .carousel-indicators [data-bs-target]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #5ee7f5, #ffd166);
  transform: scaleX(0);
  transform-origin: left;
}
.hero .carousel-indicators .active::after {
  animation: hfill 6.5s linear forwards;
}
#heroCarousel:hover .carousel-indicators .active::after {
  animation-play-state: paused;
}
@keyframes hfill {
  to {
    transform: scaleX(1);
  }
}
@media (max-width: 991.98px) {
  .prod-stage {
    min-height: 300px;
  }
  .prod-stage img {
    height: 270px;
  }
  .palette {
    --sp: 56px;
    min-height: 300px;
  }
  .palette:hover {
    --sp: 56px;
  }
  .palette i {
    width: 76px;
    height: 210px;
    border-radius: 22px;
  }
  .hero-ctrl {
    margin-top: 30px;
    justify-content: center;
  }
  .hero .carousel-indicators [data-bs-target] {
    width: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .carousel-indicators .active::after {
    transform: scaleX(1);
  }
}

/* ===== Featured Products (Rainbow-style: tabs + large showcase) ===== */
.fp-sec {
  background-color: var(--sand);
  background-image: radial-gradient(#d3e1ec 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}
.fp-tabs {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  overflow-x: auto;
  padding: 6px 2px;
  scrollbar-width: none;
}
.fp-tabs::-webkit-scrollbar {
  display: none;
}
.fp-tab {
  flex: none;
  padding: 10px 24px;
  border-radius: 25px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  transition: 0.3s;
}
.fp-tab:hover {
  border-color: var(--c);
  color: var(--c);
}
.fp-tab.active {
  background: var(--c);
  border-color: var(--c);
  color: #fff;
}
.fp-carousel .carousel-inner {
  display: grid;
  overflow: visible;
}
.fp-carousel .carousel-item {
  display: block;
  grid-area: 1/1;
  float: none;
  margin: 0;
  width: 100%;
  transition-duration: 0.7s;
}
.fp-carousel
  .carousel-item:not(.active):not(.carousel-item-next):not(
    .carousel-item-prev
  ) {
  visibility: hidden;
}
.fp-panel {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 56px 56px 48px;
  border: 1px solid #e3ebf3;
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--c) 14%, #fff) 0%,
    #fff 62%
  );
  box-shadow: 0 30px 70px rgba(11, 31, 58, 0.09);
}
.fp-panel::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -140px;
  top: -160px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--c) 28%, transparent),
    transparent 70%
  );
}
.fp-copy {
  position: relative;
  z-index: 2;
}
.fp-copy h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin: 0.9rem 0 0.2rem;
  line-height: 1.05;
}
.fp-type {
  font-weight: 600;
  color: color-mix(in srgb, var(--c) 70%, #000);
  margin-bottom: 0.5rem;
}
.fp-tag {
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 460px;
  margin-bottom: 1.3rem;
}
.fp-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  max-width: 420px;
}
.fp-feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--c) 30%, #d5dfeb);
  font-weight: 500;
  color: var(--ink);
}
.fp-feats i {
  color: var(--c);
  font-size: 1.2rem;
}
.btn-fp {
  background: var(--c);
  color: #fff;
  border: 0;
}
.btn-fp:hover {
  background: color-mix(in srgb, var(--c) 82%, #000);
  color: #fff;
}
.fp-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.fp-stage::before {
  content: "";
  position: absolute;
  width: min(400px, 86%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    color-mix(in srgb, var(--c) 35%, #fff),
    var(--c)
  );
  opacity: 0.9;
  box-shadow: 0 36px 70px color-mix(in srgb, var(--c) 40%, transparent);
}
.fp-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  font:
    800 clamp(4rem, 9vw, 8.5rem)/1 Poppins,
    sans-serif;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--c) 38%, #fff);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.8;
}
.fp-stage img {
  position: relative;
  z-index: 1;
  max-height: 430px;
  max-width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 34px 30px rgba(11, 31, 58, 0.3));
  animation: floaty 6s ease-in-out infinite;
}
.fp-carousel .carousel-item.active .fp-copy > * {
  animation: slUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fp-carousel .carousel-item.active .fp-copy > :nth-child(2) {
  animation-delay: 0.06s;
}
.fp-carousel .carousel-item.active .fp-copy > :nth-child(3) {
  animation-delay: 0.12s;
}
.fp-carousel .carousel-item.active .fp-copy > :nth-child(4) {
  animation-delay: 0.18s;
}
.fp-carousel .carousel-item.active .fp-copy > :nth-child(5) {
  animation-delay: 0.24s;
}
.fp-carousel .carousel-item.active .fp-copy > :nth-child(6) {
  animation-delay: 0.3s;
}
.fp-carousel .carousel-item.active .fp-stage {
  animation: slZoom 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fp-ctrl {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.fp-btn {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-d));
  box-shadow: 0 10px 22px rgba(0, 166, 184, 0.35);
  transition: 0.25s;
}
.fp-btn:first-child {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.14);
}
.fp-btn:hover {
  transform: scale(1.08);
}
.fp-mid {
  flex: 1;
  max-width: 340px;
}
.fp-mid .m-prog {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: #d3e0ea;
  overflow: hidden;
}
.fp-mid .m-prog span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--aqua), var(--accent));
  transition: width 0.4s;
}
.fp-count {
  display: block;
  margin-top: 8px;
  font:
    600 0.8rem Poppins,
    sans-serif;
  letter-spacing: 0.12em;
  color: var(--ink);
}
@media (max-width: 991.98px) {
  .fp-panel {
    padding: 26px 22px 30px;
    border-radius: 30px;
  }
  .fp-stage {
    min-height: 310px;
  }
  .fp-stage img {
    max-height: 270px;
  }
  .fp-copy {
    text-align: center;
  }
  .fp-copy .tag {
    margin: 0 auto;
  }
  .fp-tag,
  .fp-feats {
    margin-left: auto;
    margin-right: auto;
  }
  .fp-feats li {
    justify-content: flex-start;
  }
  .fp-copy .d-flex {
    justify-content: center;
  }
  .fp-tabs {
    justify-content: flex-start;
  }
  .fp-ctrl {
    gap: 14px;
  }
  .fp-mid {
    max-width: none;
  }
}
@media (max-width: 767.98px) {
  .fp-ctrl {
    margin-top: 0px;
  }
}

/* ===== Enlistments: orbit of seals around a central core ===== */
.enl-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cfe0ee;
  font-size: 0.92rem;
}
.enl-note i {
  color: #5ee7f5;
  font-size: 1.2rem;
}
.orbit {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1;
  max-width: 640px;
  margin: 0 auto;
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(94, 231, 245, 0.16),
    transparent 68%
  );
}
.o-core {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 24cqw;
  height: 24cqw;
  margin: -12cqw 0 0 -12cqw;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.5cqw;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #5ee7f5, #00a6b8 55%, #0a4a5c);
  box-shadow:
    0 0 0 1.6cqw rgba(94, 231, 245, 0.12),
    0 0 0 3.4cqw rgba(94, 231, 245, 0.06),
    0 0 90px rgba(94, 231, 245, 0.4);
}
.o-core b {
  font:
    700 clamp(2.2rem, 8.5cqw, 4rem)/1 Poppins,
    sans-serif;
}
.o-core span {
  font:
    600 clamp(0.62rem, 1.9cqw, 0.85rem)/1.25 Poppins,
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  min-height: 2.5em;
}
.o-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%);
  animation: orb var(--d) linear infinite;
}
.o-ring.r1 {
  --d: 70s;
  --s: 14cqw;
  --R: 23cqw;
  width: 46cqw;
  height: 46cqw;
}
.o-ring.r2 {
  --d: 110s;
  --s: 16.5cqw;
  --R: 41cqw;
  width: 82cqw;
  height: 82cqw;
  animation-direction: reverse;
  border-color: rgba(94, 231, 245, 0.3);
}
.ob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform: rotate(var(--a)) translateX(var(--R)) rotate(calc(var(--a) * -1));
}
.bd {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 17%;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from 160deg, #00a6b8, #5ee7f5, #ffd166, #ff6b4a, #00a6b8)
      border-box;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  animation: orbr var(--d) linear infinite;
  transition: box-shadow 0.3s;
}
.r2 .bd {
  animation-direction: reverse;
}
.bd img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s;
}
.ob:hover {
  z-index: 5;
}
.ob:hover .bd {
  box-shadow:
    0 0 0 6px rgba(94, 231, 245, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.45);
}
.ob:hover img {
  transform: scale(1.22);
}
.orbit:hover .o-ring,
.orbit:hover .bd {
  animation-play-state: paused;
}
@keyframes orb {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes orbr {
  to {
    transform: rotate(-360deg);
  }
}
@media (min-width: 768px) {
  #enlistRow,
  #enlistRow + .m-nav {
    display: none !important;
  }
}

/* ===== Mobile overflow fixes ===== */
@media (max-width: 767.98px) {
  .reveal.r-left:not(.in),
  .reveal.r-right:not(.in) {
    transform: translateY(36px);
  }
  .about-collage::before {
    left: -8px;
    top: -8px;
  }
  .badge-year {
    left: 8px;
    top: 18px;
  }
}
.band .eyebrow,
.enlist-sec .eyebrow,
.contact-sec .eyebrow {
  color: #5ee7f5 !important;
}
@media (max-width: 767.98px) {
  .logo-tile {
    height: auto;
    min-height: 230px;
  }
  .logo-tile.round,
  .logo-tile.cert {
    min-height: 270px;
  }
  .seal,
  .round .ring {
    flex: none;
  }
  .logo-tile img {
    flex: none;
  }
  .enl-note {
    display: none;
  }
}

/* ===== Notable Projects: Rainbow-style tall image strip ===== */
.proj-sub {
  color: #5a6a82;
  max-width: 420px;
  margin: 0 0 1rem;
}
.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--aqua-d);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: 0.3s;
}
.proj-link:hover {
  gap: 14px;
  color: var(--ink);
}
.pj-marquee {
  position: relative;
}
.pj-row {
  overflow: hidden;
  padding: 16px 0 34px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.pj-track {
  display: flex;
  width: max-content;
  animation: mq 95s linear infinite;
}
.pj-marquee:hover .pj-track {
  animation-play-state: paused;
}
.pj-card {
  position: relative;
  flex: none;
  width: 340px;
  height: 450px;
  margin-right: 22px;
  border-radius: 30px;
  overflow: hidden;
  background: #cfd9e3;
  /* box-shadow: 0 3px 7px rgba(0, 166, 184, 0.3); */
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s;
}
.pj-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.pj-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 51, 0.25) 0%,
    transparent 30%,
    rgba(7, 26, 51, 0.88) 100%
  );
}
.pj-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 3px 7px rgba(0, 166, 184, 0.3);
}
.pj-card:hover img {
  transform: scale(1.1);
}
.pj-no {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 24px;
  font:
    700 2.2rem/1 Poppins,
    sans-serif;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
}
.pj-cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 26px 28px;
  color: #fff;
}
.pj-cap b {
  display: block;
  font:
    600 1.3rem/1.25 Poppins,
    sans-serif;
  margin-top: 10px;
}
.pj-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.pj-loc i {
  color: #ffd166;
}
@media (min-width: 768px) {
  #projRow,
  #projRow + .m-nav {
    display: none !important;
  }
}
