/* ============================================================
   RESET & VARIABLES
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #000;
  --bg2: #0a1628;
  --bg3: #041C33;
  --card: #1b1b1b;
  --card2: #111111;
  --orange: #FD3A00;
  --orange2: #FF8800;
  --cyan: #60D8FC;
  --white: #fff;
  --white2: #F9F9F9;
  --muted: #B3B3BC;
  --muted2: #8E8E9A;
  --green: #25D366;
  --navy: #193B5F;
  --navy2: #041C33;
  --header-h: 80px;
  --max: 1440px;
  --pad: clamp(24px, 5vw, 80px);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --font-display: 'Lexend Deca', sans-serif;
  --font-body: 'Roboto', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* ============================================================
   UTILITIES
============================================================ */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section-label { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; line-height: 1.15; }
.section-sub { font-size: clamp(15px, 1.2vw, 18px); color: var(--white2); line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s 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; }

/* ============================================================
   HEADER
============================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(4, 28, 51, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center;
  transition: background var(--transition);
}
#header.scrolled { background: rgba(3, 15, 32, 0.95); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo img { height: 36px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-size: 14px; color: rgba(255,255,255,0.85);
  position: relative; padding: 4px 0;
  transition: color var(--transition);
}
nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--orange); border-radius: 1px;
  transition: width var(--transition);
}
nav a:hover { color: var(--white); }
nav a:hover::after, nav a.active::after { width: 100%; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
  width: 32px; height: 32px; justify-content: center; align-items: center;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: rgba(4, 28, 51, 0.98); backdrop-filter: blur(12px);
  flex-direction: column; padding: 24px var(--pad); gap: 8px; z-index: 99;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 9999px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--white); color: #1b1b1b; }
.btn-primary:hover { background: #e8e8e8; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { filter: brightness(1.1); box-shadow: 0 8px 24px rgba(253,58,0,0.4); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { filter: brightness(1.08); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-icon {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-icon:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--navy2); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px var(--pad) 32px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.footer-brand p { font-size: 15px; color: var(--muted2); line-height: 1.65; max-width: 380px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-links h4 { font-family: var(--font-body); font-size: 16px; font-weight: 500; margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links ul li a { font-size: 14px; color: var(--muted2); transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--muted2); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--muted2); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   CAROUSEL SHARED
============================================================ */
.eco-carousel { position: relative; overflow: hidden; }
.eco-track { display: flex; gap: 20px; transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.eco-card {
  flex: 0 0 320px; background: var(--card); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.eco-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.eco-card-img { height: 180px; background: var(--navy2); position: relative; overflow: hidden; }
.eco-card-img-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  display: flex; align-items: center; justify-content: center;
}
.eco-card-logo { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.5); }
.eco-card-img-inner img { max-width: 80%; max-height: 72%; object-fit: contain; }
.eco-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.eco-card-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.eco-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 20px; }
.carousel-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: none;
  transition: background var(--transition), width var(--transition);
  cursor: pointer; padding: 0;
}
.carousel-dot.active { background: var(--orange); width: 18px; border-radius: 3px; }
.carousel-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); cursor: pointer; color: var(--white);
}
.carousel-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.carousel-btn-group { display: flex; gap: 8px; }

/* ============================================================
   TIMELINE
============================================================ */
.timeline-section {
  padding: clamp(60px,8vh,100px) var(--pad); overflow: hidden;
}
.timeline-header { text-align: center; margin-bottom: 48px; }
.timeline-header .tl-label {
  font-family: var(--font-display); font-size: clamp(26px,3vw,38px);
  font-weight: 700; color: var(--orange); margin-bottom: 8px;
}
.timeline-header p { color: var(--white2); font-size: 17px; }
.timeline-track-wrap { overflow: hidden; }
.timeline-connector {
  display: flex; gap: 16px;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  padding-bottom: 60px;
}
.timeline-card {
  flex: 0 0 240px; background: var(--card); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06); padding: 20px; position: relative;
}
.timeline-card::before {
  content: ''; position: absolute; bottom: -24px; left: 20px;
  width: calc(100% - 20px); height: 7px;
  background: var(--cyan); border-radius: 3px;
}
.timeline-card::after {
  content: ''; position: absolute; bottom: -38px; left: 20px;
  width: 35px; height: 35px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px rgba(96,216,252,0.5);
}
.timeline-year {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  color: var(--cyan); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px;
}
.timeline-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.timeline-desc { font-size: 12px; color: var(--muted); line-height: 1.55; }
.timeline-nav { display: flex; gap: 12px; justify-content: center; margin-top: 48px; align-items: center; }

/* ============================================================
   SOCIAL ICONS (shared)
============================================================ */
.social-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   TIMELINE
============================================================ */
.timeline-section { padding: clamp(60px,8vh,100px) 0; }
.timeline-header { text-align: center; margin-bottom: 56px; }
.tl-label { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--orange); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.timeline-header > p { color: var(--muted); font-size: 15px; max-width: 540px; margin: 0 auto; }
.timeline-track-wrap { overflow: hidden; }
.timeline-connector { display: flex; transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.tl-page { min-width: 100%; display: flex; flex-direction: column; }
.tl-top-row, .tl-bot-row { display: flex; min-height: 170px; }
.tl-line-row { display: flex; height: 40px; position: relative; align-items: center; z-index: 1; }
.tl-line-row::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  height: 2px;
  background: linear-gradient(to right, transparent 0%, rgba(96,216,252,0.45) 8%, rgba(96,216,252,0.45) 92%, transparent 100%);
  pointer-events: none;
}
.tl-cell { flex: 1; display: flex; flex-direction: column; align-items: center; }
.tl-top-row .tl-cell { justify-content: flex-end; }
.tl-bot-row .tl-cell { justify-content: flex-start; }
.tl-cell.tl-empty { visibility: hidden; pointer-events: none; }
.tl-dot-cell { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.tl-dot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; background: var(--cyan); border: 2px solid #050d1a; box-shadow: 0 0 10px rgba(96,216,252,0.65); }
.tl-stem { width: 2px; height: 24px; flex-shrink: 0; background: rgba(96,216,252,0.35); }
.tl-card { background: rgba(4,28,51,0.75); border: 1px solid rgba(96,216,252,0.14); border-radius: var(--radius-sm); padding: 14px 12px; text-align: center; width: 90%; backdrop-filter: blur(8px); transition: border-color var(--transition), background var(--transition); }
.tl-card:hover { border-color: rgba(96,216,252,0.35); background: rgba(4,28,51,0.95); }
.tl-card--img img { display: block; width: auto; max-width: 90%; height: 48px; object-fit: contain; margin: 6px auto 8px; }
.tl-year { font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--cyan); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; }
.tl-title { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 6px; line-height: 1.3; }
.tl-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.timeline-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1023px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .eco-card { flex: 0 0 280px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .eco-card { flex: 0 0 260px; }
}
