/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-bg-dark: #1e3a5c;
  --color-bg-dark-alt: #264d73;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-text-secondary: #4b5e76;
  --color-text-muted: #8d9bb0;
  --color-text-light: #e2e8f0;
  --color-navy: #1e3a5c;
  --color-blue: #2563eb;
  --color-blue-light: #3b82f6;
  --color-amber: #d4880f;
  --color-amber-light: #f59e0b;
  --color-emerald: #10b981;
  --color-border: #e5e9ef;
  --color-border-hover: #c8d0da;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.1);
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-navy);
}

.nav-logo span {
  color: var(--color-amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--color-navy);
}

.nav-cta {
  background: var(--color-navy);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
}

.nav-cta:hover {
  background: var(--color-bg-dark-alt);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 30, 50, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 24px 80px;
  background: var(--color-bg-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 136, 15, 0.06), transparent 65%);
  pointer-events: none;
}

.hero-content {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  width: 100%;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-amber-light);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-emerald);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; box-shadow: 0 0 8px rgba(5, 150, 105, 0.4); }
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 20px;
  color: #fff;
}

.hero-name .accent {
  color: var(--color-amber-light);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  opacity: 0.7;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-subtitle strong {
  color: #fff;
  opacity: 1;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-image-wrapper {
  width: 260px;
  height: 260px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-quick-links {
  display: flex;
  gap: 10px;
}

.hero-quick-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition: var(--transition);
}

.hero-quick-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.hero-quick-link svg {
  width: 18px;
  height: 18px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--color-amber);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-amber-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 136, 15, 0.3);
}

.btn-primary svg {
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-navy);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--color-bg-dark-alt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 43, 74, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border-hover);
}

.btn-outline:hover {
  border-color: var(--color-navy);
  background: var(--color-bg-alt);
  transform: translateY(-1px);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 52px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-dark);
  color: var(--color-amber-light);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
}

.section-title .accent {
  color: var(--color-amber);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 14px auto 0;
  line-height: 1.7;
}

.section-header:not(.center) .section-desc {
  margin-left: 0;
}

/* ===== About ===== */
.about {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-story p {
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-story strong {
  color: var(--color-navy);
  font-weight: 600;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-card {
  padding: 22px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #eef2f7;
  color: var(--color-navy);
}

.detail-card h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.detail-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.detail-card strong {
  color: var(--color-text);
}

/* ===== Foundation ===== */
.foundation {
  background: #eef3f8;
  color: var(--color-text);
}

.foundation .section-tag {
  background: var(--color-navy);
  color: var(--color-amber-light);
}

.foundation .section-title {
  color: var(--color-text);
}

.foundation .section-desc {
  color: var(--color-text-secondary);
}

.foundation-content {
  margin-bottom: 52px;
}

.foundation-text-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.foundation-text-card p {
  color: var(--color-text-secondary);
  font-size: 1.02rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.pillars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.pillar-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--color-amber-light);
}

.pillar strong {
  color: var(--color-text);
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.stat {
  text-align: center;
  padding: 30px 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.stat:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--color-amber);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.foundation-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Experience / Timeline ===== */
.experience {
  background: var(--color-bg-alt);
}

.timeline {
  position: relative;
  padding-left: 48px;
  max-width: 780px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-amber), var(--color-border));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -48px;
  top: 26px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 3px solid var(--color-amber);
  z-index: 1;
  transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
  background: var(--color-amber);
  box-shadow: 0 0 0 5px rgba(212, 136, 15, 0.15);
}

.timeline-content {
  padding: 26px 28px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-date {
  display: inline-block;
  padding: 3px 10px;
  background: #eef2f7;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.timeline-content h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 12px 0 4px;
  color: var(--color-text);
}

.timeline-content h4 {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.timeline-content ul { padding-left: 0; }

.timeline-content li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  line-height: 1.6;
}

.timeline-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-amber);
}

/* ===== Press ===== */
.press {
  background: var(--color-bg);
}

.press-grid {
  max-width: 640px;
  margin: 0 auto;
}

.press-card {
  display: block;
  padding: 36px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.press-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-amber);
  opacity: 0;
  transition: opacity 0.3s;
}

.press-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.press-card:hover::before {
  opacity: 1;
}

.press-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #eef2f7;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.press-source {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 10px;
}

.press-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--color-text);
}

.press-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.press-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.press-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.press-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-navy);
  transition: var(--transition);
}

.press-card:hover .press-link {
  color: var(--color-amber);
}

/* ===== Contact ===== */
.contact {
  background: var(--color-bg-alt);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-navy);
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  background: var(--color-navy);
  color: #fff;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-card strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.contact-card span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== Footer ===== */
.footer {
  padding: 28px 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-card.fade-in:nth-child(2) { transition-delay: 0.07s; }
.detail-card.fade-in:nth-child(3) { transition-delay: 0.14s; }
.detail-card.fade-in:nth-child(4) { transition-delay: 0.21s; }

.stat.fade-in:nth-child(2) { transition-delay: 0.08s; }
.stat.fade-in:nth-child(3) { transition-delay: 0.16s; }
.stat.fade-in:nth-child(4) { transition-delay: 0.24s; }

.contact-card.fade-in:nth-child(2) { transition-delay: 0.06s; }
.contact-card.fade-in:nth-child(3) { transition-delay: 0.12s; }
.contact-card.fade-in:nth-child(4) { transition-delay: 0.18s; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-right {
    order: -1;
  }

  .hero-image-wrapper {
    width: 200px;
    height: 200px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-details {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    padding: 80px 28px 28px;
    gap: 18px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 100px 20px 72px;
  }

  .hero-image-wrapper {
    width: 180px;
    height: 180px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.84rem;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat {
    padding: 22px 12px;
  }

  .pillars {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 32px;
  }

  .timeline-marker {
    left: -32px;
    width: 16px;
    height: 16px;
  }

  .timeline-content {
    padding: 20px;
  }

  .press-card {
    padding: 28px 24px;
  }
}
