@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #0A1628;
  --navy-mid: #0F2044;
  --teal: #0D4F6C;
  --teal-light: #1A7A9E;
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --white: #FFFFFF;
  --off-white: #F4F6F9;
  --gray: #8892A4;
  --gray-light: #C8D0DC;
  --dark-card: #0D1F3C;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,h2,h3,h4,h5 { font-family: 'Outfit', sans-serif; line-height: 1.15; }

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

img { max-width: 100%; display: block; }

/* NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
#nav.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(20px);
  padding: 14px 60px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 18px;
  color: var(--navy);
}
.nav-logo-text { font-family: 'Outfit', sans-serif; }
.nav-logo-text span:first-child { display: block; font-size: 14px; font-weight: 800; letter-spacing: 3px; color: var(--gold); }
.nav-logo-text span:last-child { display: block; font-size: 10px; font-weight: 400; letter-spacing: 2px; color: var(--gray-light); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-light); transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 24px; border: 1px solid var(--gold); border-radius: 3px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); transition: var(--transition); cursor: pointer;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); }
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 999; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 700; color: var(--white); }
.mobile-menu a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 24px; right: 30px; font-size: 32px; cursor: pointer; color: var(--gray); }

/* HERO */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #040C1A 0%, #0A1628 40%, #0D3050 70%, #0D4F6C 100%);
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-image: url('banner/banner.jfif');
  background-size: cover; background-position: center;
  opacity: 0.25;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(var(--teal-light) 1px, transparent 1px), linear-gradient(90deg, var(--teal-light) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 60px; max-width: 900px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; border: 1px solid rgba(201,168,76,0.4);
  border-radius: 30px; margin-bottom: 40px;
  background: rgba(201,168,76,0.08);
}
.hero-badge span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.hero-label {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 20px; font-weight: 500;
}
.hero-title {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900; line-height: 1.0;
  color: var(--white); margin-bottom: 12px;
}
.hero-title-gold { color: var(--gold); display: block; }
.hero-subtitle {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 300; color: var(--gray-light);
  margin-bottom: 32px; line-height: 1.3;
}
.hero-desc {
  font-size: 16px; color: var(--gray);
  max-width: 560px; margin-bottom: 48px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold), #A8822A);
  color: var(--navy); font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border: none; border-radius: 3px; cursor: pointer; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 12px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.4); }
.btn-secondary {
  padding: 16px 40px; background: transparent;
  border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; border-radius: 3px;
  cursor: pointer; transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 60px; z-index: 2;
  display: flex; align-items: center; gap: 16px;
}
.hero-scroll-line { width: 40px; height: 1px; background: var(--gold); }
.hero-scroll span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gray); }

/* STATS */
#stats {
  padding: 80px 60px;
  background: var(--dark-card);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.stat-item {
  padding: 32px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Outfit', sans-serif; font-size: 48px;
  font-weight: 800; color: var(--gold); line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); }

/* SECTIONS */
.section { padding: 120px 60px; }
.section-label {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; font-weight: 500;
}
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; color: var(--white);
  margin-bottom: 24px; line-height: 1.1;
}
.section-desc {
  font-size: 17px; color: var(--gray);
  max-width: 600px; line-height: 1.8;
}
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 32px;
}

/* ECOSYSTEM */
#ecosystem { background: var(--navy); }
.ecosystem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 80px;
}
.eco-card {
  background: var(--dark-card); padding: 48px 40px;
  position: relative; overflow: hidden; cursor: pointer;
  transition: var(--transition); group: true;
}
.eco-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--gold);
  transition: var(--transition);
}
.eco-card:hover::before { height: 100%; }
.eco-card:hover { background: #111D35; transform: translateY(-2px); }
.eco-card-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.06);
}
.eco-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.eco-card:hover .eco-card-image {
  transform: scale(1.05);
}
.eco-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(13,79,108,0.3); border: 1px solid rgba(13,79,108,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 28px; transition: var(--transition);
}
.eco-card:hover .eco-icon { background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.4); }
.eco-card-number {
  font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; color: rgba(201,168,76,0.4);
  margin-bottom: 16px;
}
.eco-card-title {
  font-family: 'Outfit', sans-serif; font-size: 22px;
  font-weight: 700; color: var(--white); margin-bottom: 16px;
}
.eco-card-desc { font-size: 14px; color: var(--gray); line-height: 1.8; }
.eco-card-arrow {
  margin-top: 32px; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal-light);
  display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
.eco-card:hover .eco-card-arrow { color: var(--gold); gap: 16px; }

/* MAP */
#presence { background: var(--navy-mid); }
.map-container { margin-top: 60px; position: relative; }
.world-map-svg {
  width: 100%; height: auto;
  filter: drop-shadow(0 0 40px rgba(13,79,108,0.3));
}
.map-locations {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 40px;
}
.map-loc {
  background: var(--dark-card); padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; transition: var(--transition);
}
.map-loc:hover { border-color: var(--gold); transform: translateY(-4px); }
.map-loc-image-wrapper {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.map-loc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.map-loc:hover .map-loc-image {
  transform: scale(1.05);
}
.map-loc-flag { font-size: 28px; margin-bottom: 12px; }
.map-loc-country { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.map-loc-project { font-size: 12px; color: var(--gold); letter-spacing: 1px; }

/* FUTURE */
#future { background: linear-gradient(135deg, #040C1A, #0A1628); }
.future-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 60px;
}
.future-card {
  padding: 36px; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; background: rgba(13,31,60,0.5);
  transition: var(--transition); position: relative; overflow: hidden;
}
.future-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0); transition: var(--transition);
}
.future-card:hover::after { transform: scaleX(1); }
.future-card:hover { background: rgba(13,31,60,0.9); transform: translateY(-4px); }
.future-card-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.06);
}
.future-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.future-card:hover .future-card-image {
  transform: scale(1.05);
}
.future-icon { font-size: 32px; margin-bottom: 20px; }
.future-title { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.future-desc { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* SUSTAINABILITY */
#sustainability { background: var(--dark-card); }
.sustain-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sustain-image { border-radius: 4px; overflow: hidden; position: relative; }
.sustain-image img { width: 100%; height: 500px; object-fit: cover; }
.sustain-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,79,108,0.4), rgba(10,22,40,0.2));
}
.sustain-pillars { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.sustain-pillar {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px; border-left: 2px solid rgba(201,168,76,0.3);
  transition: var(--transition);
}
.sustain-pillar:hover { border-left-color: var(--gold); background: rgba(201,168,76,0.04); }
.sustain-pillar-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.sustain-pillar-title { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.sustain-pillar-text { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* PROJECTS */
#projects { background: var(--navy); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; margin-top: 60px; }
.project-card {
  position: relative; height: 400px; overflow: hidden; cursor: pointer;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,12,26,0.95) 0%, rgba(4,12,26,0.3) 60%, transparent 100%);
  transition: var(--transition);
}
.project-card:hover .project-card-overlay { background: linear-gradient(to top, rgba(4,12,26,0.98) 0%, rgba(4,12,26,0.5) 70%, rgba(4,12,26,0.1) 100%); }
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 40px;
}
.project-tag { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.project-name { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.project-loc { font-size: 13px; color: var(--gray-light); display: flex; align-items: center; gap: 8px; }

/* HQ SECTION */
#hq { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.hq-bg { position: absolute; inset: 0; background-image: url('assets/abu_dhabi_hq.png'); background-size: cover; background-position: center; }
.hq-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,22,40,0.96) 0%, rgba(10,22,40,0.7) 60%, rgba(10,22,40,0.4) 100%); }
.hq-content { position: relative; z-index: 2; padding: 100px 60px; max-width: 700px; }
.hq-address { margin-top: 32px; }
.hq-address-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; color: var(--gray-light); }
.hq-address-icon { color: var(--gold); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

/* FOOTER */
footer {
  background: #040C1A; padding: 80px 60px 40px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand-desc { font-size: 14px; color: var(--gray); line-height: 1.8; margin-top: 20px; }
.footer-col-title { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--gray); transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: var(--gray); letter-spacing: 0.5px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: var(--gray); transition: var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* RESPONSIVE */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  #nav { padding: 16px 24px; }
  #nav.scrolled { padding: 12px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 24px; }
  .hero-scroll { left: 24px; }
  .section { padding: 80px 24px; }
  #stats { padding: 60px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .future-grid { grid-template-columns: 1fr; }
  .sustain-split { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .map-locations { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hq-content { padding: 80px 24px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .map-locations { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* DROPDOWN NAV */
.nav-links li { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  min-width: 200px;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.dropdown.open .dropdown-menu {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 1px;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}
/* Mobile dropdown adjustments */
.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  align-items: center;
}
.mobile-dropdown.open .mobile-dropdown-menu {
  display: flex;
}
.mobile-dropdown-menu a {
  font-size: 18px;
  color: var(--gray-light);
}
