:root {
  --ink: #07111f;
  --navy: #09223a;
  --navy-2: #0d304d;
  --harbor: #123f56;
  --steel: #66788e;
  --mist: #eef4f7;
  --foam: #f7fafc;
  --white: #ffffff;
  --text: #102033;
  --muted: #607186;
  --gold: #c9963e;
  --gold-2: #e0b863;
  --teal: #4fb4ad;
  --line: rgba(255, 255, 255, .14);
  --dark-card: rgba(10, 34, 58, .78);
  --light-line: rgba(15, 32, 51, .1);
  --shadow: 0 22px 60px rgba(5, 16, 30, .18);
  --soft-shadow: 0 14px 34px rgba(7, 17, 31, .1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(79, 180, 173, .12), transparent 32rem),
    linear-gradient(180deg, #06111f 0%, #0a1d31 46%, #07111f 100%);
  color: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

video {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.topbar {
  min-height: 40px;
  background: rgba(4, 14, 26, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: rgba(238, 246, 252, .9);
  font-size: 13px;
  backdrop-filter: blur(14px);
}

.topbar .container,
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.topbar .container {
  min-height: 40px;
}

.topbar span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.gold {
  color: var(--gold-2);
  font-weight: 800;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 99;
  height: 84px;
  background: rgba(7, 20, 35, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px);
}

.nav .container {
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: auto;
  height: 56px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu a {
  position: relative;
  opacity: .82;
  transition: color .2s ease, opacity .2s ease;
}

.menu a.active,
.menu a:hover {
  color: var(--white);
  opacity: 1;
}

.menu a.active::after,
.menu a:hover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 999px;
}

.dropdown {
  position: relative;
}

.dropdown:hover .drop {
  display: grid;
}

.drop {
  position: absolute;
  top: 30px;
  left: -18px;
  z-index: 10;
  display: none;
  min-width: 250px;
  padding: 10px;
  background: rgba(8, 28, 47, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.drop a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.drop a:hover {
  background: rgba(255, 255, 255, .08);
}

.drop a::after {
  display: none !important;
}

.quote-top,
.btn-primary {
  border: 0;
  color: #091423;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 12px 26px rgba(201, 150, 62, .22);
}

.quote-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.quote-top:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: translateZ(0);
  object-fit: cover;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 14, 25, 0.95) 0%, rgba(9, 30, 50, 0.75) 50%, rgba(9, 30, 50, 0.4) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 184, 99, .55), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 74px 0;
  transform: translate3d(0, 0, 0);
}

.crumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(235, 244, 251, .88);
  font-size: 13px;
}

.crumb span {
  color: var(--gold-2);
}

h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .98;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.title-normal {
  text-transform: none;
}

h1 .accent,
.hero-sub {
  color: var(--gold-2);
}

.hero-sub {
  max-width: 660px;
  margin: 0 0 18px;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero p {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(237, 246, 252, .95);
  font-size: 17px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

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

.section {
  padding: 76px 0;
}

.section.light {
  background:
    linear-gradient(180deg, #f8fbfd 0%, #edf4f8 100%);
  color: var(--text);
}

.section.dark {
  background:
    linear-gradient(180deg, rgba(8, 28, 47, .96), rgba(6, 19, 34, .98));
}

.section-title {
  margin: 0 0 34px;
  color: inherit;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.section-title::after,
.block-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.block-title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.block-title::after {
  margin: 10px 0 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cards.seven {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-height: 184px;
  padding: 34px 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)),
    var(--dark-card);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .15);
  text-align: left;
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), border-color .3s ease, box-shadow .3s ease;
}

.light .card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  color: var(--text);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 150, 62, .4);
  box-shadow: 0 24px 54px rgba(7, 17, 31, .25);
}

.light .card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card .icon {
  display: flex;
  width: 60px;
  height: 60px;
  margin: 0 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(224, 184, 99, .08);
  color: var(--gold-2);
  font-size: 28px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.light .card .icon {
  background: rgba(15, 45, 80, 0.05);
  color: var(--navy);
}

.card:hover .icon {
  transform: scale(1.05);
  background: rgba(224, 184, 99, .15);
}

.light .card:hover .icon {
  background: rgba(224, 184, 99, .12);
  color: var(--gold-2);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.35;
  text-transform: uppercase;
}

.light .card h3 {
  color: var(--navy);
}

.card p {
  margin: 0;
  color: rgba(213, 225, 236, .85);
  font-size: 14.5px;
  line-height: 1.6;
}

.light .card p {
  color: #556677;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr);
  gap: 34px;
  align-items: stretch;
}

.panel,
.form-card,
.side-card {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)),
    rgba(9, 31, 53, .78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .14);
}

.panel {
  padding: 30px;
}

.panel p {
  color: rgba(220, 232, 241, .9);
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
}

.num {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(224, 184, 99, .64);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(224, 184, 99, .08);
  font-weight: 900;
}

.step h4 {
  margin: 0 0 5px;
  text-transform: uppercase;
}

.step p {
  margin: 0;
  color: rgba(210, 224, 236, .88);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.process > div {
  padding: 22px 16px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.process .num {
  margin: 0 auto 12px;
}

.process h4 {
  margin: 0 0 7px;
  font-size: 14px;
  text-transform: uppercase;
}

.process p {
  margin: 0;
  color: rgba(213, 225, 236, .86);
  font-size: 14px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.project {
  overflow: hidden;
  border: 1px solid var(--light-line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.project img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform .32s ease;
}

.project:hover img {
  transform: scale(1.05);
}

.project div {
  min-height: 55px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.cta {
  padding: 44px 0;
  background:
    linear-gradient(135deg, rgba(18, 63, 86, .96), rgba(8, 24, 42, .98));
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0;
  text-transform: uppercase;
}

.cta p {
  margin: 0;
  color: rgba(222, 234, 243, .9);
}

.why-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

@media (min-width: 901px) {
  .why-strip-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.why-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.why-item > div {
  flex: 1;
  min-width: 0;
}

.why-item:last-child {
  border-right: 0;
}

.why-item .icon {
  flex: 0 0 auto;
  color: var(--gold-2);
  font-size: 34px;
}

.why-item h4 {
  margin: 0 0 5px;
  text-transform: uppercase;
}

.why-item p {
  margin: 0;
  color: rgba(213, 225, 236, .86);
  font-size: 14px;
}

footer {
  padding: 54px 0 22px;
  background: #06111f;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.25fr .85fr;
  gap: 34px;
}

footer img {
  height: 74px;
  margin-bottom: 14px;
}

footer p {
  color: rgba(213, 225, 236, .86);
}

footer h4 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

footer ul {
  margin: 0;
  padding: 0;
  color: rgba(213, 225, 236, .84);
  font-size: 14px;
  list-style: none;
}

footer li {
  margin: 7px 0;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(191, 205, 217, .78);
  font-size: 13px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: 28px;
}

.form-card {
  padding: 30px;
}

.form-card label {
  display: block;
  margin: 10px 0 7px;
  font-size: 13px;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  outline: 0;
  background: rgba(3, 14, 27, .58);
  color: var(--white);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: rgba(224, 184, 99, .75);
  box-shadow: 0 0 0 4px rgba(224, 184, 99, .12);
  background: rgba(3, 14, 27, .78);
}

.form-card textarea {
  min-height: 112px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.upload {
  padding: 26px;
  border: 1px dashed rgba(224, 184, 99, .48);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: rgba(222, 234, 243, .88);
  text-align: center;
}

.side-card {
  margin-bottom: 16px;
  padding: 24px;
}

.side-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.side-card p {
  margin: 0;
  color: rgba(218, 230, 240, .88);
}

.about-photo {
  width: 100%;
  min-height: 340px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.notice {
  padding: 28px;
  border: 1px solid rgba(224, 184, 99, .38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224, 184, 99, .12), rgba(79, 180, 173, .08)),
    rgba(255, 255, 255, .04);
}

.notice h2 {
  margin-top: 0;
}

#mobileBtn {
  display: none;
}

@media (max-width: 1120px) {
  .menu {
    gap: 15px;
    font-size: 12px;
  }

  .quote-top {
    padding: 12px 14px;
  }

  .cards.seven {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .cards,
  .cards.seven,
  .cards.six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    padding: 8px 0;
    overflow: hidden;
  }

  .topbar .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px 12px !important;
    min-width: 0;
  }

  .topbar span {
    white-space: nowrap !important;
    min-width: 0;
    font-size: 10.5px !important;
    line-height: 1.25;
  }

  .topbar span:nth-child(1),
  .topbar span:nth-child(3) {
    display: none !important;
  }

  .nav {
    height: 70px;
  }

  .nav .container {
    gap: 12px;
  }

  .brand img {
    height: 46px;
    max-width: 140px;
    object-fit: contain;
  }

  .menu {
    position: fixed;
    top: 70px;
    right: 12px;
    left: 12px;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    padding: 12px;
    background: rgba(7, 20, 35, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    white-space: normal;
  }

  .menu a.active,
  .menu a:hover {
    background: rgba(255, 255, 255, .08);
  }

  .menu a::after {
    display: none;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown > a {
    justify-content: space-between;
  }

  .dropdown:hover .drop,
  .drop {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 4px 0 0;
    padding: 6px;
    box-shadow: none;
  }

  .dropdown.open .drop {
    display: grid;
  }

  .drop a {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .quote-top {
    display: none;
  }

  #mobileBtn {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    font-size: 26px;
  }

  .hero {
    min-height: 560px;
    max-width: 100vw;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(5, 14, 25, .97), rgba(9, 30, 50, .76));
  }

  h1 {
    font-size: clamp(38px, 11vw, 64px);
  }

  .section {
    padding: 58px 0;
  }

  .cards,
  .cards.six,
  .cards.seven,
  .projects,
  .why-strip,
  .footer-grid,
  .quote-layout,
  .two-col,
  .process {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  footer li,
  footer p {
    overflow-wrap: anywhere;
  }

  .cta-box,
  .copyright {
    display: block;
  }

  .cta .btn {
    margin-top: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .why-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 620px;
  }

  .hero .container {
    padding: 54px 0;
  }

  .crumb {
    border-radius: 8px;
  }

  .actions,
  .actions .btn,
  .cta .btn {
    width: 100%;
  }

  .card,
  .panel,
  .form-card,
  .side-card,
  .notice {
    padding: 22px;
  }

  .project img {
    height: 190px;
  }
}

/* ----------------------------------------------------
   Custom Additions: Hover Effects, Accordions, Footer
   ---------------------------------------------------- */

/* Card Hover Background Image Transition */
.card {
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease !important;
}

.card-bg-hover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: -1;
  transform: scale(1.08);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.card-bg-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 31, 53, 0.85); /* Dark overlay to keep text readable */
  transition: background 0.3s ease;
}

.card:hover .card-bg-hover {
  opacity: 1;
  transform: scale(1);
}

.light .card-bg-hover::after {
  background: rgba(247, 250, 252, 0.9); /* Lighter overlay for light cards */
}

/* Accordion for cards in What We Cover */
.card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), margin-top 0.4s ease, opacity 0.3s ease;
  margin-top: 0;
  text-align: left;
  font-size: 14px;
  color: rgba(230, 240, 250, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0;
  opacity: 0;
}

.card-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.55;
}

.card-details li::before {
  content: "•";
  color: var(--gold-2);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
}

.light .card-details {
  color: #4a5568;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.light .card-details li {
  color: #4a5568;
}

/* Force details to be visible inside <a> cards */
a.card .card-details,
.light .card-details {
  max-height: none !important;
  opacity: 1 !important;
  margin-top: 20px;
  padding-top: 16px;
  overflow: visible;
}

.card.expanded .card-details {
  max-height: 500px;
  margin-top: 15px;
  padding-top: 12px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0), margin-top 0.4s ease;
}

.light .card-toggle-indicator {
  display: none !important;
}

.card-toggle-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(224, 184, 99, 0.4);
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-2);
  margin-top: 15px;
  transition: all 0.2s ease;
  background: rgba(224, 184, 99, 0.05);
}

.card:hover .card-toggle-indicator {
  border-color: var(--gold-2);
  background: rgba(224, 184, 99, 0.15);
}

.card.expanded .card-toggle-indicator {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
  transform: rotate(180deg);
}

.light .card.expanded .card-toggle-indicator {
  background: var(--navy);
  border-color: var(--navy);
}

/* Adjust footer grid for 4 columns instead of 5 */
.footer-grid {
  grid-template-columns: 1.35fr 1fr 1.25fr .85fr !important;
}

/* Fix dropdown menu overlapping services link to make it clickable */
.drop {
  top: 24px !important;
}

/* Transparent bridge to prevent dropdown from closing when hovering gap */
.drop::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: transparent;
  z-index: -1;
}

/* Hide related projects captions when requested */
.projects .project div {
  display: none !important;
}
.projects .project img {
  height: 190px !important;
}

/* Water Droplet Mouse Trail Effect */
.water-drop {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(135, 206, 250, 0.4), transparent);
  box-shadow: 
    inset -2px -2px 6px rgba(0, 0, 0, 0.1),
    inset 2px 2px 6px rgba(255, 255, 255, 0.6),
    0 4px 8px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 9999;
  animation: drop-fade 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes drop-fade {
  0% {
    transform: scale(0.3) translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6) translateY(30px);
    opacity: 0;
  }
}

/* WhatsApp Button Hover */
.whatsapp-btn:hover {
  background-color: #1ebe57 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .topbar {
    min-height: 36px !important;
    padding: 6px 0 !important;
    background: rgba(4, 14, 26, .96) !important;
  }

  .topbar .container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    width: min(100% - 24px, 1180px) !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: normal !important;
  }

  .topbar span {
    display: none !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  .topbar span:nth-child(2),
  .topbar span:nth-child(4) {
    display: inline-flex !important;
    align-items: center !important;
  }

  .topbar span:nth-child(2) {
    overflow: hidden !important;
    color: rgba(238, 246, 252, .92) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-overflow: ellipsis !important;
  }

  .topbar span:nth-child(4) {
    justify-self: end !important;
    padding: 7px 9px !important;
    border: 1px solid rgba(224, 184, 99, .28) !important;
    border-radius: 999px !important;
    background: rgba(224, 184, 99, .1) !important;
    color: var(--gold-2) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  .nav {
    height: 66px !important;
  }

  .brand img {
    height: 42px !important;
  }

  .menu {
    top: 66px !important;
  }

  #mobileBtn {
    width: 42px !important;
    height: 42px !important;
    font-size: 24px !important;
  }
}
