:root {
  --bg: #0A1224;
  /* Deeper Night Blue */
  --alt: #0F1C36;
  /* Slightly lighter for sections */
  --card: rgba(255, 255, 255, .05);
  --card2: rgba(255, 255, 255, .08);
  --text: #f0f4ff;
  --muted: rgba(220, 230, 255, .65);
  --line: rgba(255, 255, 255, .12);

  --primary: #00E5C9;
  /* Brighter cyan/teal pop */
  --secondary: #FFB800;
  /* Vibrant Gold */
  --accent: #3B82F6;
  /* Royal Blue */
  --danger: #FB7185;

  --radius: 20px;
  --max: 1160px;

  --shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 229, 201, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(67, 97, 238, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Logo Watermark */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  background: url(../img/logo.png) no-repeat center center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(100%);
}

/* Accordion Trigger */
details[open] summary .chevron {
  transform: rotate(180deg);
}

summary::-webkit-details-marker {
  display: none;
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 16, 38, .75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .10)
}

.brand-text {
  display: flex;
  flex-direction: column
}

.brand-title {
  font-weight: 800;
  letter-spacing: .3px
}

.brand-tag {
  font-size: 12px;
  color: var(--muted)
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center
}

.nav a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .10);
}

.lang-switch {
  display: flex;
  gap: 8px
}

.chip {
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.chip.active {
  background: linear-gradient(135deg, rgba(0, 179, 164, .22), rgba(37, 99, 235, .18));
  border-color: rgba(0, 179, 164, .40);
  color: var(--text);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  padding: 64px 0 30px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: start
}

h1 {
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 16px 0;
  letter-spacing: -1px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 18px 0
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px 0
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
}

.btn.primary {
  border: 1px solid rgba(0, 179, 164, .40);
  background: linear-gradient(135deg, rgba(0, 179, 164, .9), rgba(37, 99, 235, .8));
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 179, 164, .4);
  font-weight: 600;
  transition: all .2s ease;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 179, 164, .5);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--muted);
}

.btn:hover {
  background: rgba(255, 255, 255, .10)
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted)
}

.bullets li {
  margin: 8px 0
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-map-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.kpi-wrap {
  position: relative;
  z-index: 2;
}

/* Dynamic News Card in Hero */
#heroNewsCard {
  cursor: pointer;
}

#heroNewsCard:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}

/* Partners List */
.partner-group {
  margin-bottom: 0;
}

.bullets.mini {
  list-style: none;
  padding: 0;
}

.bullets.mini li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--muted);
  line-height: 1.4;
}

.bullets.mini li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0px;
}

.kpi {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.kpi:last-of-type {
  border-bottom: none
}

.kpi-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  text-shadow: 0 2px 10px rgba(246, 183, 60, .3)
}

.kpi-label {
  font-size: 13px;
  color: var(--muted)
}

.mini {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0 0
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.section.alt {
  background: var(--alt)
}

h2 {
  margin: 0 0 14px 0;
  font-size: 26px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 72%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  opacity: .9;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.muted {
  color: var(--muted)
}

/* =========================
   CARDS
========================= */
.cards {
  display: grid;
  gap: 12px;
  margin-top: 14px
}

.cards.three {
  grid-template-columns: repeat(3, 1fr)
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 14px;
  min-height: 120px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
  transition: all .3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(6px);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 16px
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

/* Badges / tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--muted);
  background: rgba(255, 255, 255, .06);
}

/* WP color coding */
.wp {
  position: relative;
  overflow: hidden;
}

.wp::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 16px 0 0 16px;
  background: var(--primary);
  opacity: .95;
}

.wp[data-wp="WP1"]::before {
  background: var(--accent);
}

.wp[data-wp="WP2"]::before {
  background: var(--primary);
}

.wp[data-wp="WP3"]::before {
  background: var(--secondary);
}

.wp[data-wp="WP4"]::before {
  background: #A78BFA;
}

.wp[data-wp="WP5"]::before {
  background: #34D399;
}

.wp[data-wp="WP6"]::before {
  background: #F472B6;
}

/* Partners layout */
.partner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.partner img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
}

/* =========================
   CONTACT
========================= */
.contact-box {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--muted);
}

.form {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 14px;
}

.form label {
  display: block;
  margin-bottom: 10px
}

.form span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px
}

input,
textarea {
  width: 100%;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 179, 164, .45)
}

/* =========================
   FOOTER
========================= */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 18px 0;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap
}

/* =========================
   RESPONSIVE
========================= */
/* Mobile Nav Overlay */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 920px) {

  .hero-grid,
  .two-col,
  .project-grid {
    grid-template-columns: 1fr
  }

  .cards.three {
    grid-template-columns: 1fr
  }

  h1 {
    font-size: 34px
  }

  .brand {
    min-width: auto;
    flex: 1
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 69px;
    /* header height approx */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 16, 38, .98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 18px;
    padding: 12px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .05);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sub-card {
  transition: all .3s ease;
}

.sub-card:hover {
  background: rgba(255, 255, 255, .05) !important;
  border-color: rgba(255, 255, 255, .15) !important;
  transform: translateY(-2px);
}