* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f7f9ff;
  --surface: #ffffff;
  --surface-dark: #081a57;
  --surface-dark-2: #0b226d;
  --surface-dark-3: #123aa4;
  --text: #10204d;
  --muted: #60709c;
  --line: #dde5fb;
  --accent: #ff8b2b;
  --accent-soft: #ffd0aa;
  --shadow: 0 20px 60px rgba(15, 45, 121, 0.12);
  --shadow-heavy: 0 35px 90px rgba(5, 20, 67, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 139, 43, 0.14), transparent 18%),
    radial-gradient(circle at 90% 18%, rgba(22, 82, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(21, 42, 99, 0.08);
  box-shadow: 0 16px 36px rgba(16, 32, 77, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  gap: 22px;
  font-size: 0.95rem;
  color: #22356b;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  order: 2;
}

.nav-toggle-bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--surface-dark);
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.site-nav a {
  position: relative;
  font-weight: 600;
  transition: color 0.2s ease;
 }

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  width: 42px;
  bottom: -14px;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.primary-btn::after,
.secondary-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 26%, rgba(255, 255, 255, 0.28) 50%, transparent 74%);
  transform: translateX(-140%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.primary-btn:hover::after,
.secondary-btn:hover::after {
  transform: translateX(140%);
}

.primary-btn {
  color: #fff;
  gap: 10px;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-3));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(11, 33, 92, 0.24);
}

.secondary-btn {
  color: var(--surface-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 139, 43, 0.55);
  box-shadow: 0 10px 24px rgba(16, 32, 77, 0.06);
}

.small-btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.whatsapp-float,
.call-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 100;
}

.whatsapp-float {
  background: #25d366;
  box-shadow: 0 22px 40px rgba(37, 211, 102, 0.24);
}

.call-float {
  bottom: 92px;
  background: linear-gradient(135deg, #123f9f, #3f7cff);
  box-shadow: 0 22px 40px rgba(18, 63, 159, 0.28);
  animation: callFloatPulse 2.4s ease-in-out infinite;
}

.call-float::before,
.call-float::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(125, 170, 255, 0.58);
  opacity: 0;
  transform: scale(0.82);
  animation: callRingPulse 2.4s ease-out infinite;
}

.call-float::after {
  animation-delay: 0.8s;
}

.call-float svg {
  position: relative;
  z-index: 1;
  animation: callIconWiggle 2.4s ease-in-out infinite;
}

.whatsapp-float:hover,
.call-float:hover {
  transform: translateY(-3px);
}

.whatsapp-float:hover {
  box-shadow: 0 28px 42px rgba(37, 211, 102, 0.28);
}

.call-float:hover {
  box-shadow: 0 28px 42px rgba(18, 63, 159, 0.36);
  animation-play-state: paused;
}

.call-float:hover svg {
  animation-play-state: paused;
}

.whatsapp-float svg,
.call-float svg {
  width: 24px;
  height: 24px;
  display: block;
}

.call-float svg {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes callFloatPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.04);
  }
}

@keyframes callRingPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.82);
  }

  75%,
  100% {
    opacity: 0;
    transform: scale(1.38);
  }
}

@keyframes callIconWiggle {
  0%,
  64%,
  100% {
    transform: rotate(0deg);
  }

  70% {
    transform: rotate(-14deg);
  }

  76% {
    transform: rotate(12deg);
  }

  82% {
    transform: rotate(-8deg);
  }

  88% {
    transform: rotate(6deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-float,
  .call-float::before,
  .call-float::after,
  .call-float svg {
    animation: none;
  }
}

@media (max-width: 640px) {
  .whatsapp-float,
  .call-float {
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float {
    bottom: 16px;
  }

  .call-float {
    bottom: 82px;
  }
}

.arrow-chip {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 10px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ffb067);
  font-size: 0.72rem;
}

.btn-arrow {
  font-size: 1.05rem;
  line-height: 1;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 2px 0 18px;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 154, 77, 0.09), transparent 20%),
    radial-gradient(circle at 78% 28%, rgba(16, 74, 214, 0.12), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 56%, #f2f7ff 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 14%, rgba(255, 255, 255, 0.72) 28%, rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 66% 46%, rgba(255, 199, 149, 0.12), transparent 22%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  transform: translateX(-4%);
  background: radial-gradient(circle, rgba(255, 170, 107, 0.12), transparent 58%);
  filter: blur(12px);
  pointer-events: none;
  animation: heroAuraShift 14s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 0;
}

.hero-copy {
  padding: 18px 0 30px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 139, 43, 0.18);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 24px rgba(19, 42, 106, 0.06);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f39c52;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f39c52;
}

.eyebrow::before,
.section-tag::before {
  content: "+";
  font-size: 1rem;
}

.hero-copy h1 {
  max-width: 14ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.4rem, 6vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: #16285e;
}

.hero-title {
  display: grid;
  gap: 4px;
  white-space: nowrap;
}

.hero-title-primary {
  color: #142760;
}

.hero-title > span:last-child {
  color: var(--accent);
}

.hero-text {
  max-width: 44ch;
  margin-top: 24px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-strip {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.trust-strip > span {
  display: block;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8794bc;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-weight: 800;
  color: #8b97b9;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  justify-self: end;
  width: calc(100% + 220px);
  margin-right: -170px;
  perspective: 1600px;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 1080px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
  animation: heroDrift 11s ease-in-out infinite;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 14% 12% 14% 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 166, 96, 0.32), transparent 28%),
    radial-gradient(circle at 38% 58%, rgba(44, 117, 255, 0.18), transparent 24%),
    radial-gradient(circle at 68% 54%, rgba(255, 145, 58, 0.16), transparent 18%);
  filter: blur(24px);
  z-index: 0;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: -4% -3% -7% 7%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.64) 16%, rgba(255, 255, 255, 0.08) 38%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, transparent 18%, transparent 78%, rgba(247, 250, 255, 0.84) 100%),
    radial-gradient(circle at 58% 46%, rgba(255, 255, 255, 0.8) 0 18%, rgba(255, 255, 255, 0.32) 36%, transparent 70%),
    radial-gradient(circle at 74% 38%, rgba(255, 190, 132, 0.18), transparent 24%),
    radial-gradient(circle at 32% 78%, rgba(36, 107, 255, 0.08), transparent 22%);
  filter: blur(16px);
  opacity: 0.92;
  z-index: 0;
}

.hero-ring,
.hero-orb {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-ring {
  border-radius: 50%;
  border: 1px solid rgba(255, 183, 122, 0.45);
  opacity: 0.42;
}

.hero-ring-outer {
  inset: 2% 2% 6% 8%;
  animation: slowSpin 28s linear infinite;
}

.hero-ring-inner {
  inset: 11% 13% 16% 18%;
  border-color: rgba(255, 170, 101, 0.72);
  animation: slowSpinReverse 22s linear infinite;
}

.hero-orb {
  border-radius: 50%;
  filter: drop-shadow(0 20px 30px rgba(17, 42, 110, 0.16));
  opacity: 0.44;
}

.hero-orb-blue {
  top: 24%;
  left: 34%;
  width: 74px;
  height: 74px;
  background: radial-gradient(circle at 30% 30%, #2f8aff, #0b319f 72%);
  animation: orbWander 8s ease-in-out infinite;
}

.hero-orb-orange {
  right: 24%;
  top: 40%;
  width: 68px;
  height: 68px;
  background: radial-gradient(circle at 30% 30%, #ffb362, #ef6d00 74%);
  animation: orbWander 9s ease-in-out infinite reverse;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 112%;
  max-width: none;
  margin-left: 6%;
  height: auto;
  opacity: 0.98;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 34px rgba(11, 33, 92, 0.08)) saturate(1.02);
  -webkit-mask-image:
    radial-gradient(circle at 58% 50%, #000 0 30%, rgba(0, 0, 0, 0.98) 44%, rgba(0, 0, 0, 0.86) 58%, rgba(0, 0, 0, 0.46) 76%, transparent 97%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 10%, #000 22%, #000 82%, rgba(0, 0, 0, 0.12) 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 8%, #000 24%, #000 80%, rgba(0, 0, 0, 0.14) 92%, transparent 100%);
  -webkit-mask-composite: source-over;
  mask-image:
    radial-gradient(circle at 58% 50%, #000 0 30%, rgba(0, 0, 0, 0.98) 44%, rgba(0, 0, 0, 0.86) 58%, rgba(0, 0, 0, 0.46) 76%, transparent 97%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 10%, #000 22%, #000 82%, rgba(0, 0, 0, 0.12) 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 8%, #000 24%, #000 80%, rgba(0, 0, 0, 0.14) 92%, transparent 100%);
  mask-composite: add;
  animation: heroImageFloat 10s ease-in-out infinite;
}

.dark-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at right center, rgba(255, 139, 43, 0.16), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(44, 116, 255, 0.18), transparent 18%),
    linear-gradient(135deg, #07184c 0%, #091d60 48%, #07184c 100%);
}

.dark-panel::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 139, 43, 0.12), transparent 66%);
  pointer-events: none;
}

.services-section,
.work-section,
.testimonial-section {
  padding: 72px 0;
}

.amenities-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 164, 92, 0.08), transparent 18%),
    radial-gradient(circle at 84% 12%, rgba(41, 102, 255, 0.06), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.amenities-section .section-header h2 {
  color: #16285e;
}

.amenities-section .service-card {
  border: 1px solid rgba(21, 42, 99, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 32, 77, 0.08);
}

.amenities-section .service-card h3 {
  color: #16285e;
}

.amenities-section .service-icon {
  box-shadow: 0 14px 24px rgba(29, 73, 184, 0.18);
}

.about-section {
  padding: 52px 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 24, 76, 0.92) 0%, rgba(10, 35, 111, 0.84) 34%, rgba(10, 35, 111, 0.52) 58%, rgba(8, 26, 87, 0.16) 80%, rgba(8, 26, 87, 0.08) 100%),
    radial-gradient(circle at 84% 18%, rgba(90, 153, 255, 0.12), transparent 20%),
    radial-gradient(circle at 92% 82%, rgba(255, 156, 79, 0.1), transparent 24%),
    url("images/section2.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.about-section::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 139, 43, 0.14), transparent 66%);
  pointer-events: none;
}

.about-section .about-visual,
.about-section .about-copy {
  transform-origin: center;
}
 
body.js-ready .about-section .about-visual.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(-96px, 0, 0) rotate(-8deg) scale(0.92);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.2, 0.85, 0.22, 1),
    filter 0.55s ease;
}

body.js-ready .about-section .about-copy.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(96px, 0, 0) rotate(8deg) scale(0.92);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.2, 0.85, 0.22, 1),
    filter 0.55s ease;
}

body.js-ready .about-section .about-visual.reveal.is-visible,
body.js-ready .about-section .about-copy.reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.section-header {
  margin-bottom: 34px;
}

.section-header h2,
.about-copy h2,
.process-intro h2,
.testimonial-copy h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  color: #fff;
}

.section-header h2 span,
.about-copy h2 span,
.process-intro h2 span,
.testimonial-copy h2 span {
  color: var(--accent);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 168px;
  padding: 24px 18px;
  border-radius: 18px;
  border: 1px solid rgba(136, 162, 234, 0.22);
  background: linear-gradient(180deg, rgba(16, 45, 117, 0.92), rgba(10, 28, 79, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid;
  align-content: start;
  justify-items: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  text-align: center;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 139, 43, 0.95), rgba(29, 73, 184, 0.9)) top left / 0% 2px no-repeat,
    linear-gradient(180deg, rgba(29, 73, 184, 0.9), rgba(255, 139, 43, 0.95)) top right / 2px 0% no-repeat,
    linear-gradient(270deg, rgba(255, 139, 43, 0.95), rgba(29, 73, 184, 0.9)) bottom right / 0% 2px no-repeat,
    linear-gradient(0deg, rgba(29, 73, 184, 0.9), rgba(255, 139, 43, 0.95)) bottom left / 2px 0% no-repeat;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    background-size 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(29, 73, 184, 0.14);
  box-shadow: 0 22px 44px rgba(16, 32, 77, 0.12);
}

.service-card:hover::before {
  opacity: 1;
  background-size:
    100% 2px,
    2px 100%,
    100% 2px,
    2px 100%;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 18px;
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1957ef, #ff9338);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  justify-self: center;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.06) rotate(-4deg);
  box-shadow: 0 18px 28px rgba(29, 73, 184, 0.24);
}

.service-card h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  color: #fff;
}

.service-card p {
  color: rgba(226, 235, 255, 0.76);
  line-height: 1.7;
}

.service-card a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--accent);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.about-copy {
  max-width: 620px;
  justify-self: end;
  padding-right: 10px;
}

.about-copy h2 {
  color: #ffffff;
}

.about-copy p {
  max-width: 49ch;
  margin-top: 18px;
  color: rgba(225, 235, 255, 0.78);
  line-height: 1.8;
  text-wrap: pretty;
}

.signature {
  margin: 30px 0 0;
  font-size: 1.7rem;
  font-style: italic;
  color: var(--accent);
}

.about-copy .primary-btn {
  margin-top: 28px;
}

.about-highlights {
  display: flex;
  justify-content: center;
}

.about-visual {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  min-height: auto;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 139, 43, 0.28), transparent 34%),
    radial-gradient(circle at 72% 24%, rgba(85, 149, 255, 0.18), transparent 20%),
    linear-gradient(135deg, rgba(16, 45, 117, 0.96), rgba(10, 28, 79, 0.98));
  border: 1px solid rgba(136, 162, 234, 0.22);
  box-shadow: 0 24px 52px rgba(5, 20, 67, 0.22);
  clip-path: polygon(
    50% 2%,
    67% 5%,
    81% 12%,
    92% 23%,
    98% 38%,
    100% 50%,
    98% 62%,
    92% 77%,
    81% 88%,
    67% 95%,
    50% 98%,
    33% 95%,
    19% 88%,
    8% 77%,
    2% 62%,
    0% 50%,
    2% 38%,
    8% 23%,
    19% 12%,
    33% 5%
  );
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 187, 128, 0.28), transparent 18%),
    linear-gradient(180deg, rgba(7, 24, 76, 0.04), rgba(7, 24, 76, 0.3));
  z-index: 1;
  pointer-events: none;
}

.about-visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(5, 20, 67, 0.3);
}

.purpose-section,
.founder-section {
  position: relative;
  overflow: hidden;
}

.purpose-section {
  padding: 68px 0 60px;
  background: #ffffff;
}

.founder-section {
  padding: 12px 0 52px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 156, 79, 0.1), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(90, 153, 255, 0.1), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.about-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.about-visual:hover .about-image {
  transform: scale(1.14);
  filter: brightness(1.05);
}

.about-purpose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 0;
}

.purpose-card {
  position: relative;
  min-height: 300px;
  padding: 34px 36px;
  border-radius: 26px;
  border: 1px solid rgba(21, 42, 99, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  box-shadow:
    0 18px 44px rgba(16, 32, 77, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.purpose-card::before {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f39c52, #1d49b8);
}

.purpose-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 73, 184, 0.14);
  box-shadow: 0 26px 54px rgba(16, 32, 77, 0.12);
}

body.js-ready .purpose-card.reveal {
  filter: blur(8px);
  transition:
    opacity 0.95s ease,
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  will-change: transform, opacity, filter;
}

body.js-ready .purpose-card.purpose-card-flip-left.reveal {
  transform: perspective(1200px) rotateY(-66deg) rotateX(9deg) translate3d(-68px, 16px, 0) scale(0.88);
  transform-origin: left center;
}

body.js-ready .purpose-card.purpose-card-flip-right.reveal {
  transform: perspective(1200px) rotateY(66deg) rotateX(-9deg) translate3d(68px, 16px, 0) scale(0.88);
  transform-origin: right center;
}

body.js-ready .purpose-card.reveal.is-visible {
  filter: none;
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translate3d(0, 0, 0) scale(1);
}

body.js-ready .purpose-card.purpose-card-flip-left.reveal.is-visible {
  animation: purposeFlipLeft 1.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.js-ready .purpose-card.purpose-card-flip-right.reveal.is-visible {
  animation: purposeFlipRight 1.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.purpose-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f39c52;
}

.purpose-card h3 {
  max-width: 30ch;
  margin-top: 18px;
  color: #16285e;
  font-size: clamp(1.6rem, 2.2vw, 1.75rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.purpose-card p:last-child {
  max-width: 48ch;
  margin-top: 22px;
  color: #5f729f;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.9;
  text-align: justify;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 42px;
  align-items: center;
}

.founder-visual {
  position: relative;
  min-height: 480px;
  border-radius: 28px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: transparent;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.founder-visual::before {
  content: none;
}

.founder-image {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.founder-visual:hover {
  transform: translateY(-8px);
  box-shadow: none;
}

.founder-visual:hover .founder-image {
  transform: scale(1.06);
  filter: saturate(1.03);
}

.founder-quote {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  width: min(320px, calc(100% - 44px));
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(151, 190, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(118, 180, 255, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(5, 24, 92, 0.94), rgba(18, 63, 189, 0.88));
  backdrop-filter: blur(14px);
  box-shadow:
    0 22px 40px rgba(7, 24, 76, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -18px 30px rgba(11, 51, 170, 0.24);
}

.founder-quote-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff9d50, #ffb87c);
  box-shadow: 0 10px 22px rgba(255, 139, 43, 0.28);
}

.founder-quote p {
  margin: 0;
  color: rgba(245, 248, 255, 0.96);
   font-size: 0.98rem;
}

.founder-copy {
  max-width: 620px;
}

.founder-letter-text {
  display: block;
}

body.js-ready .founder-letter-text.reveal,
body.js-ready .founder-letter-text.reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.founder-letter-word {
  display: inline-block;
  white-space: nowrap;
}

.founder-letter-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 30px, 0) rotate(6deg);
  filter: blur(6px);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease;
  transition-delay: calc(var(--letter-index, 0) * 0.018s + var(--letter-base-delay, 0s));
  will-change: transform, opacity;
}

.founder-letter-space {
  display: inline-block;
  width: 0.32em;
}

.founder-letter-text.is-visible .founder-letter-char {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) rotate(0deg);
}

.founder-copy h2 {
  color: #16285e;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.founder-degree {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  color: #4c6dbc;
}

.founder-copy p {
  max-width: 50ch;
  margin-top: 18px;
  color: #60709c;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.9;
  text-wrap: pretty;
}

.founder-copy .section-tag {
  color: #1c3f9f;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.founder-copy p:first-of-type {
  font-size: 1.18rem;
  font-weight: 600;
  color: #334f95;
}

.founder-copy .signature {
  margin-top: 30px;
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ff7e22;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-header-row h2 {
  color: #1a2b5c;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.project-media {
  position: relative;
  min-height: 260px;
  padding: 18px;
  background: linear-gradient(135deg, #06184b, #163c97);
}

.project-media::before,
.project-media::after {
  content: "";
  position: absolute;
  border-radius: 16px;
}

.project-media-one::before {
  inset: 44px 28px 36px;
  background:
    linear-gradient(180deg, rgba(96, 182, 255, 0.45), transparent 30%),
    linear-gradient(135deg, #0d266b, #09163f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.project-media-one::after {
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.project-media-two {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.65), transparent 20%),
    linear-gradient(135deg, #dde8ff, #b5cbff 45%, #f6f8ff);
}

.project-media-two::before {
  inset: 34px 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 18px 30px rgba(12, 44, 114, 0.12),
    inset 0 0 0 1px rgba(162, 187, 244, 0.4);
}

.project-media-two::after {
  top: 52px;
  right: 44px;
  width: 96px;
  height: 140px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fefefe, #dce7ff);
  box-shadow: 0 12px 30px rgba(12, 44, 114, 0.16);
}

.project-media-three {
  background:
    linear-gradient(135deg, #f4f6fb, #ffffff 45%, #eceff7),
    linear-gradient(135deg, #d5dbeb, #f9fafc);
}

.project-media-three::before {
  inset: 36px 36px 72px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(213, 219, 235, 0.35), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(177, 186, 211, 0.4);
}

.project-media-three::after {
  right: 28px;
  bottom: 30px;
  width: 120px;
  height: 150px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fdfdfd, #dfe6f8);
  box-shadow: 0 16px 28px rgba(47, 66, 110, 0.12);
}

.project-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2d66ff, #0d2f8f);
}

.project-body {
  padding: 22px 22px 26px;
}

.project-body h3 {
  font-size: 1.3rem;
  color: #16285e;
}

.project-body p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.project-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ffb067);
  box-shadow: 0 12px 24px rgba(255, 139, 43, 0.28);
  cursor: pointer;
}

.process-section {
  padding: 56px 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 76, 0.92) 0%, rgba(10, 35, 111, 0.84) 34%, rgba(10, 35, 111, 0.52) 58%, rgba(8, 26, 87, 0.16) 80%, rgba(8, 26, 87, 0.08) 100%),
    radial-gradient(circle at 84% 18%, rgba(90, 153, 255, 0.12), transparent 20%),
    radial-gradient(circle at 92% 82%, rgba(255, 156, 79, 0.1), transparent 24%),
    url("images/section2.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 108px;
  padding: 22px 28px 26px 0;
}

.process-intro::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 10px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 151, 70, 0.16), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  position: relative;
  min-width: 0;
  padding: 24px 20px 24px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 32, 91, 0.42), rgba(8, 23, 70, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 166, 98, 0.8), rgba(44, 109, 255, 0.15));
}

.process-step:hover {
  transform: translateY(-8px);
  background: linear-gradient(180deg, rgba(15, 40, 112, 0.62), rgba(9, 26, 79, 0.28));
  box-shadow:
    0 20px 34px rgba(4, 17, 58, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffcb9b;
  background: linear-gradient(135deg, #2b67ff, #2148b3);
  box-shadow: 0 16px 28px rgba(18, 60, 171, 0.24);
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.process-step p {
  color: rgba(225, 233, 255, 0.74);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 20ch;
}

.process-intro h2 {
  max-width: 8ch;
  font-size: clamp(2.45rem, 4.2vw, 3.85rem);
  line-height: 0.95;
}

.process-intro .section-tag {
  margin-bottom: 18px;
  color: #ff9a4f;
}

.process-intro .section-tag::before {
  color: #ff9a4f;
}

.gallery-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 166, 93, 0.18), transparent 18%),
    radial-gradient(circle at 84% 16%, rgba(57, 122, 255, 0.14), transparent 20%),
    linear-gradient(180deg, #fefeff 0%, #eef4ff 100%);
}

.gallery-section::before,
.gallery-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.gallery-section::before {
  top: 56px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 139, 43, 0.16), transparent 68%);
}

.gallery-section::after {
  left: -36px;
  bottom: 36px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(42, 108, 255, 0.14), transparent 70%);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 300px);
  gap: 36px;
  align-items: center;
  margin-bottom: 30px;
}

.gallery-heading h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.gallery-heading h2 {
  color: #16285e;
  max-width: 22ch;
}

.contact-copy h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

.gallery-title-accent {
  display: inline;
  color: #16285e;
  white-space: normal;
}

.gallery-title-highlight,
.contact-copy h2 span {
  color: var(--accent);
}

.gallery-intro-text {
  max-width: 28ch;
  justify-self: start;
  color: #60709c;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.8;
}

.gallery-shell,
.contact-info-card,
.contact-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.gallery-shell {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.gallery-shell::before,
.gallery-shell::after,
.contact-panel::before,
.contact-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gallery-shell::before {
  top: -48px;
  right: -24px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 185, 126, 0.16), transparent 72%);
  animation: ambientFloat 9s ease-in-out infinite;
}

.gallery-shell::after {
  display: none;
}

.gallery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 220px;
  gap: 22px;
}

.gallery-photo {
  position: relative;
  min-width: 0;
  min-height: 220px;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  will-change: transform;
  box-shadow:
    0 22px 42px rgba(9, 24, 66, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.52);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-photo-hidden {
  display: none;
}

body.js-ready .gallery-photo.reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.96);
  filter: blur(10px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease,
    box-shadow 0.22s ease;
}

body.js-ready .gallery-photo.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.gallery-photo::before,
.gallery-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-photo::before {
  background:
    linear-gradient(180deg, rgba(3, 10, 35, 0.01), rgba(3, 10, 35, 0.1)),
    radial-gradient(circle at top right, rgba(255, 209, 172, 0.12), transparent 28%);
}

.gallery-photo::after {
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  opacity: 0.54;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1.001);
  will-change: transform;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-photo:hover,
.gallery-photo:focus-visible,
.contact-info-card:hover,
.contact-panel:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 24px 52px rgba(10, 29, 80, 0.17);
}

.gallery-photo:hover img,
.gallery-photo:focus-visible img {
  transform: translateZ(0) scale(1.07);
}

.gallery-photo:hover::after,
.gallery-photo:focus-visible::after {
  opacity: 1;
  transform: scale(0.992);
}

.gallery-photo:focus-visible {
  outline: 0;
  box-shadow:
    0 24px 52px rgba(10, 29, 80, 0.17),
    0 0 0 4px rgba(255, 139, 43, 0.18);
}

.gallery-photo:active {
  transform: translate3d(0, -1px, 0) scale(0.992);
}

.gallery-photo-xl {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-photo-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-photo-tall {
  grid-row: span 2;
}

.gallery-grid.is-expanded .gallery-photo:nth-child(n + 13) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.gallery-show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--white);
  font: 800 0.92rem/1 var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 18px 34px rgba(255, 139, 43, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-show-more:hover,
.gallery-show-more:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(255, 139, 43, 0.36);
}

.gallery-show-more:focus-visible {
  outline: 0;
  box-shadow:
    0 22px 42px rgba(255, 139, 43, 0.36),
    0 0 0 4px rgba(255, 139, 43, 0.18);
}

.gallery-show-more:active {
  transform: translateY(0) scale(0.98);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 14, 43, 0.82);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(88vh, 900px);
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(152, 184, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(14, 31, 84, 0.98), rgba(7, 20, 62, 0.98));
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gallery-lightbox-image {
  width: 100%;
  max-height: calc(88vh - 28px);
  display: block;
  border-radius: 20px;
  object-fit: contain;
  background: #05143f;
}

.gallery-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(5, 20, 63, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

body.gallery-open {
  overflow: hidden;
}

.contact-panel h3,
.contact-info-card h3 {
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-copy p,
.contact-info-card p {
  margin-top: 14px;
  line-height: 1.8;
}

.contact-panel-tag,
.contact-info-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-section {
  padding: 82px 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 164, 92, 0.08), transparent 18%),
    radial-gradient(circle at 84% 14%, rgba(41, 102, 255, 0.06), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 26px;
  align-items: start;
}

.contact-copy h2,
.contact-copy p,
.contact-info-card h3,
.contact-info-card p,
.contact-panel h3,
.contact-panel span {
  color: #fff;
}

.contact-copy h2,
.contact-copy p {
  color: #16285e;
}

.contact-lead {
  max-width: 48ch;
  color: #60709c;
  font-size: 1.04rem;
  font-weight: 500;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-mini-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(21, 42, 99, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(16, 32, 77, 0.08);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.contact-mini-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #1f58df, #ff9845);
  box-shadow: 0 10px 18px rgba(31, 88, 223, 0.18);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.contact-mini-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-mini-item div {
  display: grid;
  gap: 3px;
}

.contact-mini-label {
  color: #7c8bb3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-mini-item a {
  color: #16285e;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-mini-item:hover {
  transform: translateY(-5px);
  border-color: rgba(29, 73, 184, 0.12);
  box-shadow: 0 20px 38px rgba(16, 32, 77, 0.11);
}

.contact-mini-item:hover .contact-mini-icon {
  transform: scale(1.06) rotate(-6deg);
  box-shadow: 0 16px 24px rgba(31, 88, 223, 0.22);
}

.contact-info-card {
  padding: 22px 24px;
  border: 1px solid rgba(136, 162, 234, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 169, 98, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(14, 40, 107, 0.92), rgba(8, 23, 73, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-info-label,
.contact-panel-tag {
  color: #ffcfaa;
}

.contact-panel-tag {
  color: #f39c52;
}

.contact-info-card h3 {
  margin-top: 14px;
  font-size: 1.32rem;
}

.contact-info-card p {
  color: rgba(225, 233, 255, 0.72);
}

.contact-panel {
  padding: 32px;
  border: 1px solid rgba(136, 162, 234, 0.22);
  background:
    linear-gradient(180deg, rgba(11, 35, 92, 0.95), rgba(6, 22, 71, 0.98));
  box-shadow:
    0 34px 70px rgba(5, 18, 58, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-panel::before {
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 157, 87, 0.22), transparent 68%);
  animation: ambientFloat 9s ease-in-out infinite;
}

.contact-panel::after {
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
}

.contact-panel-top {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: rgba(232, 239, 255, 0.84);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(136, 162, 234, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(3, 15, 48, 0.44);
  color: #fff;
  font: inherit;
  resize: vertical;
  outline: 0;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.9) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-form select:invalid {
  color: rgba(225, 233, 255, 0.62);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(225, 233, 255, 0.44);
}

.phone-error-hint {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ff9d82;
  margin-top: 4px;
  animation: fadeIn 0.3s ease forwards;
}

.contact-form input[name="phone"]:invalid:not(:placeholder-shown) + .phone-error-hint {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-form select option {
  color: #16285e;
  background: #f7faff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 174, 116, 0.88);
  background: rgba(6, 22, 71, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 139, 43, 0.12);
}

.contact-message {
  grid-column: 1 / -1;
}

.contact-form .primary-btn {
  width: fit-content;
  justify-self: center;
  border: 0;
  cursor: pointer;
}

.contact-form .primary-btn.is-loading {
  opacity: 0.88;
  cursor: progress;
}

.contact-form .primary-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.contact-form-status {
  min-height: 1.5em;
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-form-status[data-state="success"] {
  color: #8ff0b8;
}

.contact-form-status[data-state="error"] {
  color: #ffc0b0;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 139, 43, 0.18), transparent 34%),
    rgba(3, 12, 39, 0.72);
  backdrop-filter: blur(8px);
}

.contact-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(90vh, 820px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 30px;
  padding: clamp(18px, 3vw, 26px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(5, 18, 58, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 34px 90px rgba(3, 12, 39, 0.42);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-modal-dialog::-webkit-scrollbar {
  display: none;
}

.contact-modal.is-open .contact-modal-dialog {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  background: rgba(255, 157, 87, 0.24);
  transform: rotate(90deg);
}

.contact-modal-intro {
  position: relative;
  z-index: 2;
  padding: 4px 52px 18px 4px;
}

.contact-modal-intro h2 {
  margin: 8px 0 0;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.95;
}

.contact-modal-content .contact-panel {
  padding: clamp(22px, 4vw, 32px);
  transform: none;
  width: 100%;
}

.contact-modal-content .contact-panel:hover {
  transform: none;
}

.contact-modal-content .contact-form textarea {
  min-height: 112px;
}

.contact-panel-placeholder {
  min-height: 560px;
}

body.contact-modal-open {
  overflow: hidden;
}


.testimonial-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 26px;
  align-items: stretch;
}

.testimonial-copy h2 {
  color: #1a2b5c;
}

.testimonial-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 28px 34px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.quote-mark {
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 139, 43, 0.42);
}

.testimonial-card p {
  max-width: 58ch;
  color: #47567f;
  line-height: 1.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #193eab, #ff9438);
}

.testimonial-author span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.site-footer {
  padding: 58px 0 20px;
  background:
    radial-gradient(circle at right top, rgba(255, 139, 43, 0.14), transparent 22%),
    linear-gradient(135deg, #07184c 0%, #091d60 55%, #061547 100%);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.95fr 0.75fr 1fr;
  gap: 28px;
}

.footer-brand p,
.footer-links a,
.footer-newsletter p,
.footer-bottom p {
  color: rgba(227, 234, 255, 0.7);
}

.footer-brand-link {
  margin-bottom: 16px;
}

.footer-brand-link .brand-logo {
  height: 62px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-links,
.footer-map {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links h3,
.footer-map h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.map-frame {
  cursor: pointer;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 30px rgba(5, 10, 30, 0.18);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  align-items: center;
  margin-top: 8px;
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  padding: 0 14px;
  font: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(227, 234, 255, 0.5);
}

.newsletter-form button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ffb067);
  cursor: pointer;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroAuraShift {
  0%,
  100% {
    transform: translateX(-4%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateX(-1%) scale(1.08);
    opacity: 0.78;
  }
}

@keyframes heroDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -14px, 0) rotate(-1.2deg);
  }
}

@keyframes heroImageFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 8px, 0);
  }
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes slowSpinReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes orbWander {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(12px, -14px, 0) scale(1.06);
  }
}

@keyframes ambientFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-10px, 12px, 0) scale(1.06);
  }
}

@keyframes purposeFlipLeft {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: perspective(1200px) rotateY(-66deg) rotateX(9deg) translate3d(-68px, 16px, 0) scale(0.88);
  }

  62% {
    opacity: 1;
    filter: none;
    transform: perspective(1200px) rotateY(14deg) rotateX(-2deg) translate3d(12px, -2px, 0) scale(1.02);
  }

  100% {
    opacity: 1;
    filter: none;
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translate3d(0, 0, 0) scale(1);
  }
}

@keyframes purposeFlipRight {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: perspective(1200px) rotateY(66deg) rotateX(-9deg) translate3d(68px, 16px, 0) scale(0.88);
  }

  62% {
    opacity: 1;
    filter: none;
    transform: perspective(1200px) rotateY(-14deg) rotateX(2deg) translate3d(-12px, -2px, 0) scale(1.02);
  }

  100% {
    opacity: 1;
    filter: none;
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translate3d(0, 0, 0) scale(1);
  }
}

@keyframes sheenSweep {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

body.js-ready .reveal {
  opacity: 0;
  transform: translateY(38px) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
  transition-delay: var(--reveal-delay, 0s);
}

body.js-ready .reveal.reveal-left {
  transform: translateX(-52px) scale(0.98);
}

body.js-ready .reveal.reveal-right {
  transform: translateX(52px) scale(0.98);
}

body.js-ready .reveal.reveal-zoom {
  transform: translateY(24px) scale(0.92);
}

body.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(8, 26, 87, 0.15); /* Lightened the shade significantly */
  z-index: 95;
  animation: fadeIn 0.3s ease;
}

/* Ensure the header and its menu child are above the backdrop */
body.nav-open .site-header {
  z-index: 1000;
}

@media (max-width: 980px) {
  .site-header {
    backdrop-filter: none;
    background: #ffffff;
  }

  .about-section,
  .process-section {
    background-attachment: scroll;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 80%);
    height: 100vh;
    background: #ffffff; /* Solid white */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 28px;
    transform: translateX(100%) translateZ(0); /* Force GPU acceleration for sharpness */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 100;
    backface-visibility: hidden;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    font-size: 1.25rem;
    font-weight: 700;
    color: #081a57;
    width: 100%;
    border-bottom: 1px solid rgba(8, 26, 87, 0.05);
    padding-bottom: 8px;
  }

  .site-nav a.active {
    color: var(--accent);
  }

  .site-nav a.active::after {
    bottom: -2px;
    width: 30px;
  }

  .nav-btn {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .about-purpose,
  .founder-grid,
  .process-grid,
  .testimonial-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    text-align: center;
    padding-top: 20px;
  }

  .hero-copy h1, .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 420px;
    width: 100%;
    margin-right: 0;
    justify-self: center;
  }

  .service-grid,
  .project-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-intro {
    position: static;
    padding-right: 0;
    margin-bottom: 30px;
  }

  .process-intro h2 {
    max-width: 100%;
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .gallery-intro-text {
    margin-top: 10px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .brand-logo {
    height: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .hero-visual {
    min-height: 320px;
  }

  .service-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-photo,
  .gallery-photo-xl,
  .gallery-photo-wide,
  .gallery-photo-tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 240px;
  }

  .footer-main {
    gap: 40px;
    text-align: center;
  }

  .social-row {
    justify-content: center;
  }

  .footer-newsletter {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-modal {
    align-items: start;
    padding: 14px;
  }

  .contact-modal-dialog {
    max-height: calc(100vh - 28px);
    border-radius: 24px;
  }

  .contact-modal-intro {
    padding-right: 46px;
  }

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

  .contact-modal-content .contact-form .primary-btn {
    width: 100%;
  }

  .contact-panel-placeholder {
    min-height: 720px;
  }
}
