@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/Ethnocentric-Regular.woff2') format('woff2'),
       url('../fonts/Ethnocentric-Regular.woff') format('woff'),
       url('../fonts/Ethnocentric-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.woff2') format('woff2'),
       url('../fonts/Poppins-Regular.woff') format('woff'),
       url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg-dark: #07131a;
  --bg-card: rgba(7, 19, 26, 0.78);
  --bg-card-strong: rgba(5, 15, 21, 0.88);
  --teal: #2eb8b0;
  --teal-dark: #208b86;
  --teal-soft: rgba(46, 184, 176, 0.12);
  --white: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.86);
  --text-muted: rgba(255, 255, 255, 0.68);
  --border-soft: rgba(255, 255, 255, 0.10);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --nav-width: 74px;
  --nav-expand: 230px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  background: url('../images/architecture-bg.jpg') center center / cover no-repeat fixed;
  z-index: -3;
}

.page-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 10, 16, 0.66), rgba(2, 10, 16, 0.88)),
    radial-gradient(circle at top right, rgba(46, 184, 176, 0.16), transparent 36%);
  z-index: -2;
}

.container {
  width: min(1180px, calc(100% - 100px));
  margin: 0 auto;
}

/* CUSTOM CURSOR */
.custom-cursor,
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
}

.custom-cursor {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(46, 184, 176, 0.45);
  border-radius: 50%;
  background: rgba(46, 184, 176, 0.05);
  transition:
    width 0.25s ease,
    height 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.08s linear;
  backdrop-filter: blur(3px);
}

.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background: #2eb8b0;
  border-radius: 50%;
  transition: transform 0.08s linear, background 0.25s ease;
}

body.cursor-hover .custom-cursor {
  width: 68px;
  height: 68px;
  background: rgba(46, 184, 176, 0.12);
  border-color: rgba(46, 184, 176, 0.8);
  box-shadow: 0 0 24px rgba(46, 184, 176, 0.16);
}

body.cursor-hover .custom-cursor-dot {
  background: #ffffff;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(5, 15, 21, 0.62), rgba(5, 15, 21, 0));
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 42px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
}

.logo {
  height: 42px;
  width: auto;
}

.white-logo {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.logo-wrap:hover .white-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 18px rgba(46, 184, 176, 0.18));
}

.hero-logo {
  width: min(420px, 85vw);
  margin-bottom: 28px;
  animation: heroLogoGlow 5s ease-in-out infinite;
}

@keyframes heroLogoGlow {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.05));
  }
  50% {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 22px rgba(46, 184, 176, 0.12));
  }
}

/* SIDE NAV */
.side-nav {
  position: fixed;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  width: var(--nav-width);
  background: rgba(5, 15, 21, 0.74);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 12px 10px;
  z-index: 150;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: width 0.35s ease;
}

.side-nav:hover {
  width: var(--nav-expand);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 14px;
  color: var(--white);
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(46, 184, 176, 0.14);
  transform: translateX(2px);
}

.nav-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 184, 176, 0.15);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.nav-text {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  font-size: 14px;
}

.side-nav:hover .nav-text {
  opacity: 1;
  transform: translateX(0);
}

/* HERO */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2, 10, 16, 0.82), rgba(2, 10, 16, 0.34)),
    linear-gradient(to top, rgba(2, 10, 16, 0.86), rgba(2, 10, 16, 0.14));
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 42px;
}

.hero-content h1 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.18;
  margin-bottom: 18px;
  max-width: 820px;
}

.hero-content p {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-soft);
  max-width: 760px;
  line-height: 1.8;
}

.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.dot.active {
  background: var(--teal);
  transform: scale(1.18);
}

/* SECTIONS */
.content-section {
  position: relative;
  z-index: 2;
  padding: 90px 0;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 40px;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  border-color: rgba(46, 184, 176, 0.34);
  background: rgba(7, 19, 26, 0.86);
}

.section-title-wrap {
  margin-bottom: 22px;
}

.section-title-wrap.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(46, 184, 176, 0.32);
  background: var(--teal-soft);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  font-weight: 600;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.glass-card:hover .section-tag,
.split-grid:hover .section-tag {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 18px rgba(46, 184, 176, 0.16);
  border-color: rgba(46, 184, 176, 0.45);
}

.section-title-wrap h2,
.section-copy h2 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.glass-card:hover h2,
.split-grid:hover .section-copy h2 {
  transform: translateY(-2px);
  text-shadow: 0 0 18px rgba(46, 184, 176, 0.12);
}

.max-text {
  max-width: 920px;
}

.center-text {
  text-align: center;
  margin-inline: auto;
}

p {
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 16px;
  transition: transform 0.4s ease;
}

.glass-card:hover p,
.split-grid:hover p {
  transform: translateY(-2px);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.split-grid.reverse .section-image {
  order: 2;
}

.split-grid.reverse .section-copy {
  order: 1;
}

.section-image {
  overflow: hidden;
  border-radius: 22px;
  position: relative;
}

.section-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 35%,
    rgba(46, 184, 176, 0.10) 50%,
    rgba(255, 255, 255, 0.04) 65%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.35s ease, transform 0.75s ease;
  pointer-events: none;
}

.split-grid:hover .section-image::after {
  opacity: 1;
  transform: translateX(100%);
}

.section-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 0.6s ease, filter 0.45s ease;
}

.split-grid:hover .section-image img,
.glass-card:hover .section-image img {
  transform: scale(1.06);
  filter: brightness(1.05) saturate(1.05);
}

.section-copy p {
  margin-top: 8px;
}

.mini-grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.mini-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.mini-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.mini-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 24px 20px;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease;
}

.mini-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  border-color: rgba(46, 184, 176, 0.34);
  background: rgba(7, 19, 26, 0.86);
}

.mini-card h3 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
}

.mini-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* CAPABILITIES HEXAGON GRID */
.capabilities-image-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.capabilities-image-wrap:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 184, 176, 0.35);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(46, 184, 176, 0.10);
}

.capabilities-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease, filter 0.45s ease;
}

.capabilities-image-wrap:hover img {
  transform: scale(1.025);
  filter: brightness(1.05) saturate(1.04);
}

.capabilities-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(46, 184, 176, 0.10) 50%,
    rgba(255, 255, 255, 0.02) 70%,
    transparent 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.capabilities-image-wrap:hover::before {
  animation: hexSweep 1.4s ease;
  opacity: 1;
}

@keyframes hexSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

/* ENQUIRY */
.enquiry-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.enquiry-info p {
  max-width: 500px;
}

.enquiry-form {
  width: 100%;
}

.form-row {
  margin-bottom: 16px;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: rgba(46, 184, 176, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  min-width: 180px;
  padding: 15px 24px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(46, 184, 176, 0.24);
}

/* FOOTER */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 34px 0 44px;
  background: rgba(5, 15, 21, 0.82);
  border-top: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand p,
.footer-contact p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #20c45a, #159a45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  z-index: 200;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* REVEAL ANIMATION */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .mini-grid.five {
    grid-template-columns: repeat(3, 1fr);
  }

  .mini-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  body {
    cursor: auto;
  }

  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }

  .container {
    width: min(100% - 36px, 1180px);
  }

  .side-nav {
    display: none;
  }

  .header-inner,
  .hero-content {
    padding-left: 0;
  }

  .split-grid,
  .enquiry-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split-grid.reverse .section-image,
  .split-grid.reverse .section-copy {
    order: initial;
  }

  .section-image img {
    height: 320px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 14px 0;
  }

  .logo,
  .footer-logo {
    height: 38px;
  }

  .hero-section {
    min-height: 92vh;
    padding: 110px 0 70px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .content-section {
    padding: 65px 0;
  }

  .glass-card {
    padding: 24px;
    border-radius: 20px;
  }

  .section-image,
  .section-image img {
    border-radius: 16px;
  }

  .section-image img {
    height: 240px;
  }

  .mini-grid.five,
  .mini-grid.four {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}