*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #d0a741;
  --accent-dark: #8a6a1a;
  --dark: #0e100f;
  --white: #ffffff;
  --offwhite: #f7f5f2;
  --muted: #9a9490;
  --text-secondary: #6b6560;
  --border: #e6e1da;
  --dark-navy: #0b0b0d;
  --page-pad: 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ─── HERO ─────────────────────────── */
#hero {
  position: relative;
  max-height: 85vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 80px;
  padding: 40px;
  padding-bottom: 130px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      to right,
      rgba(26, 57, 98, 0.616) 5%,
      rgba(8, 14, 8, 0) 90%
    ),
    linear-gradient(to top, rgba(14, 12, 8, 0.92) 0%, transparent 15%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-top-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 22px;
}

.hero-title-col {
  flex: 1;
}

.hero-title {
  font-size: clamp(32px, 4.8vw, 58px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 10px;
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  max-width: 820px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary-vort {
  background: #fff;
  color: #0f1410;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary-vort:hover {
  opacity: 0.88;
  color: #0f1410;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 60px;
  z-index: 2;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.scroll-hint svg {
  width: 14px;
  height: 14px;
}

/* ─── SECTION PILL ─────────────────────────── */
.section-pill {
  display: inline-block;
  background-color: #ffffff;
  color: #171717;
  padding: 6px 24px;
  border: 1px solid #0b0b0d5e;
  border-radius: 20px;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  font-family: "Manrope", sans-serif;
}

/* ─── PROJECTS SECTION ─────────────────────────── */
#projects {
  padding: 100px var(--page-pad);
}

.projects-header {
  margin-bottom: 72px;
}

.projects-header h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: 16px;
}

.projects-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.75;
}

/* Project Row */
.project-row {
  padding: 72px 0;
}

/* Project entry animation */
.project-row.project-reveal {
  /* opacity: 0;
  transform: translateY(32px);
  filter: blur(2px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.15, 1),
    filter 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter; */
}

.project-row.project-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.project-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Left / Description side */
.project-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.project-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 18px;
}

.project-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Partner logos row */
.partners-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.partners-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.partner-logo {
  width:100% ;
  height: 48px;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.65;
  transition:
    filter 0.2s,
    opacity 0.2s;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Partner initials fallback */
.partner-avatar {
  width: 80px;
  height: 80px;
  /* background: var(--offwhite);
            border: 1px solid var(--border); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* CTA button */
.btn-brief {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background 0.2s,
    opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-brief:hover {
  background: #1e2420;
  color: #fff;
}

.btn-brief svg {
  width: 13px;
  height: 13px;
}

/* Right / Visual side */
.project-visual-wrap {
  position: relative;
}

.project-main-img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
  display: block;
}

.project-value-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(14, 16, 15, 0.88);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 18px 24px;
}

.project-value-badge .val-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.project-value-badge .val-amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.project-value-badge .val-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
}

.project-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(208, 167, 65, 0.1);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 0;
}

.project-status-tag span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.project-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.project-meta-item {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-meta-item svg {
  width: 12px;
  height: 12px;
  opacity: 0.55;
}

/* Thumbnail strip on visual side */
.project-thumb-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.project-thumb-strip img {
  width: 100%;
  height: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.project-thumb-strip img:hover {
  opacity: 0.8;
}


/* ─── FOOTER ─────────────────────────── */
footer {
  background: var(--dark-navy);
  padding: 40px var(--page-pad) 60px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}
.footer-tagline {
  font-size: clamp(36px, 3.8vw, 58px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 540px;
}
.footer-tagline em {
  font-style: normal;
  color: var(--accent);
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 36px;
}
.footer-logo img {
  width: 80px;
  opacity: 0.85;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 400;
}
.footer-country {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

/* ─── FADE ───────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1200px) {
  :root {
    --page-pad: 60px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-pad: 40px;
  }

  .project-value-badge {
    bottom: 16px;
    left: 16px;
    padding: 14px 18px;
  }

  .project-value-badge .val-amount {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --page-pad: 24px;
  }

  .navbar-wrap {
    padding: 16px var(--page-pad);
  }

  .nav-center {
    display: none;
  }

  #projects {
    padding: 64px var(--page-pad);
  }

  .project-row {
    padding: 48px 0;
  }

  .hero-content {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-row.project-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
