@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f5;
  --text-main: #212529;
  --text-muted: #495057;
  --text-light: #868e96;
  --accent-primary: #0a192f;
  --accent-gold: #b38c52;
  --border-light: #e9ecef;
  --border-dark: #ced4da;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.06);
  --radius: 0px;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.serif {
  font-family: 'Playfair Display', serif;
  color: var(--accent-primary);
}

/* ── ANIMATIONS ── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* ── TYPOGRAPHY & BUTTONS ── */
.section-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent-gold);
}

.section-title {
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 700px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--accent-gold);
  color: #fff;
}

.btn-outline {
  border-color: var(--border-dark);
  color: var(--accent-primary);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: #fff;
}

/* ── COMMON LAYOUT (MOBILE FIRST) ── */
section {
  padding: 80px 5%;
}

.max-1400 {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-center .section-tag {
  justify-content: center;
}

.section-header-center .section-tag::before {
  display: none;
}

/* Grids - Base Mobile 1 Column */
.hero-container,
.about-grid,
.global-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.pillars-grid,
.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 0.5px;
}

.nav-logo-text span {
  font-size: 9px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Nav Links (Desktop Style - Hidden on Mobile) */
.nav-links {
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 28px;
  font-size: 11px;
}

/* Hidden on mobile */
.nav-links,
.nav-cta {
  display: none;
}

.hamburger {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 1.5px;
  background: var(--accent-primary);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 69px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 5%;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 16px;
  color: var(--accent-primary);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
}

.mobile-menu a:hover {
  background: var(--bg-tertiary);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(28px, 8vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-title i {
  color: var(--accent-gold);
}

.hero-sub {
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero-actions .btn {
  width: 100%;
}

.hero-image {
  position: relative;
  height: 400px;
  margin-top: 40px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: var(--transition);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.1);
}

.hero-image:hover img {
  filter: grayscale(0%) contrast(1.1);
}

.hero-badge-float {
  position: absolute;
  bottom: -20px;
  left: 5%;
  right: 5%;
  background: #fff;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.hero-badge-float h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.hero-badge-float p {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--accent-primary);
  line-height: 1.4;
}

/* ── STATS ── */
#stats {
  padding: 60px 5%;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: #fff;
}

.stat-item {
  border-left: 1px solid var(--accent-gold);
  padding-left: 24px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── ABOUT ── */
#about {
  background: #fff;
}

.about-image {
  position: relative;
  padding-bottom: 20px;
  padding-right: 20px;
}

.about-image img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: var(--transition);
}

.about-image:hover img {
  filter: grayscale(0%);
}

.about-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  height: 80%;
  background: var(--bg-secondary);
  z-index: -1;
}

.about-content p {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-quote {
  padding-left: 24px;
  border-left: 2px solid var(--accent-gold);
  margin: 32px 0;
}

.about-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--accent-primary);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 12px;
}

.about-quote span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ── PILLARS ── */
#pillars {
  background: var(--bg-secondary);
}

.pillars-grid {
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  gap: 1px;
}

.pillar-card {
  background: var(--bg-secondary);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

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

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom: 2px solid var(--accent-gold);
  z-index: 2;
}

.pillar-icon {
  margin-bottom: 24px;
  opacity: 0.8;
}

.pillar-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.pillar-card.featured {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.pillar-card.featured .pillar-title {
  font-size: 26px;
}

/* ── RESEARCH ── */
#research {
  background: #fff;
}

.research-card {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  transition: var(--transition);
}

.research-card:hover {
  border-top-color: var(--accent-gold);
}

.research-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.research-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  font-weight: 600;
}

.research-date {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 300;
}

.research-title {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: var(--transition);
}

.research-card:hover .research-title {
  color: var(--accent-gold);
}

.research-desc {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 24px;
}

.research-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.research-link:hover {
  color: var(--accent-gold);
  gap: 16px;
}

/* ── GLOBAL ── */
#global {
  background: var(--accent-primary);
  color: #fff;
  padding: 100px 5%;
}

.global-content .section-title {
  color: #fff;
}

.global-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 32px;
}

.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.country-tag {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.global-cta {
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid var(--accent-gold);
  padding: 24px;
}

.global-cta h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 12px;
}

.global-cta p {
  font-size: 14px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.global-image img {
  width: 100%;
  filter: contrast(1.2) brightness(0.9);
  mix-blend-mode: screen;
  opacity: 0.8;
}

/* ── CONTACT ── */
#contact {
  background: #fff;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item h5 {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.contact-item p {
  font-size: 15px;
  color: var(--accent-primary);
}

.contact-form {
  background: var(--bg-secondary);
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-main);
  transition: var(--transition);
  border-radius: 0;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ── FOOTER ── */
footer {
  background: var(--accent-primary);
  color: #fff;
  padding: 80px 5% 40px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  margin: 20px 0 24px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 300;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 300;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}


/* ── TOP BANNER ── */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: var(--accent-primary);
  color: #fff;
  padding: 12px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.top-banner.show {
  transform: translateY(0);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.banner-badge {
  background: var(--accent-gold);
  color: #fff;
  padding: 4px 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  border-radius: 2px;
  white-space: nowrap;
}

.banner-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.banner-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.banner-link:hover {
  color: #fff;
}

.banner-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  padding: 0 0 0 16px;
  margin-left: auto;
  font-family: 'Inter', sans-serif;
}

.banner-close:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .banner-badge {
    display: inline-block;
  }

  .top-banner {
    align-items: flex-start;
  }

  .banner-close {
    padding-top: 0;
  }
}

/* ══════════════════════════════════════════════════
   MEDIA QUERIES (PROGRESSIVE ENHANCEMENT)
   ══════════════════════════════════════════════════ */

/* ── TABLET (768px+) ── */
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  .stat-item {
    border-left: none;
    border-top: 1px solid var(--accent-gold);
    padding-left: 0;
    padding-top: 24px;
  }

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

  .pillar-card.featured {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .pillar-card.featured>div {
    max-width: 600px;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .hero-actions {
    flex-direction: row;
    width: auto;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-badge-float {
    left: 10%;
    right: 10%;
    max-width: 400px;
  }
}

/* ── DESKTOP (1024px+) ── */
@media (min-width: 1024px) {
  section {
    padding: 140px 5%;
  }

  .section-header-center {
    margin: 0 auto 80px;
  }

  .section-sub {
    font-size: 18px;
  }

  /* Navbar */
  #navbar {
    padding: 24px 5%;
    background: transparent;
  }

  .hamburger {
    display: none;
  }

  .nav-links,
  .nav-cta {
    display: flex;
  }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 120px 5% 60px;
  }

  .hero-image {
    height: 700px;
    margin-top: 0;
  }

  .hero-badge-float {
    bottom: -30px;
    left: -30px;
    right: auto;
    padding: 32px;
    max-width: 280px;
  }

  .hero-badge-float h4 {
    font-size: 12px;
  }

  .hero-badge-float p {
    font-size: 18px;
  }

  /* Grids */
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillar-card.featured {
    grid-column: span 3;
  }

  .research-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .global-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
  }

  /* Stats */
  #stats {
    padding: 80px 5%;
  }

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

  .stat-item {
    border-left: 1px solid var(--accent-gold);
    border-top: none;
    padding-left: 32px;
    padding-top: 0;
  }

  .stat-num {
    font-size: 56px;
    margin-bottom: 12px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    padding: 60px;
  }

  /* Footer */
  footer {
    padding: 100px 5% 40px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
  }
}