/* ========================================
   ARK AGRICULTURE LIMITED — Main Stylesheet
   Soft-Skill Design: Premium, Polished, Motion-Forward
   ======================================== */

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

/* === VARIABLES === */
:root {
  --primary: #1b5e20;
  --primary-dark: #0a3d14;
  --primary-mid: #2e7d32;
  --primary-light: #4caf50;
  --secondary: #c8a84b;
  --secondary-light: #f0c040;
  --bg-white: #ffffff;
  --bg-light: #f4f8f1;
  --bg-card: #fafdf8;
  --bg-dark: #0d1f0f;
  --text-dark: #111827;
  --text-medium: #374151;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --border-green: rgba(27, 94, 32, 0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-green: 0 8px 32px rgba(27, 94, 32, 0.2);
  --radius: 10px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: white;
}

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

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

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}

.nav.transparent {
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.nav .container {
  height: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.nav-logo .logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav-logo .logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 2px;
}

.nav.transparent .nav-logo .logo-main { color: white; }
.nav.transparent .nav-logo .logo-sub { color: rgba(255,255,255,0.75); }

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: var(--transition);
  color: var(--text-dark);
}

.nav.transparent .nav-link { color: rgba(255,255,255,0.9); }

.nav-link:hover,
.nav-link.active {
  background: rgba(27, 94, 32, 0.1);
  color: var(--primary);
}

.nav.transparent .nav-link:hover,
.nav.transparent .nav-link.active {
  background: rgba(255,255,255,0.15);
  color: white;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--primary);
  color: white !important;
  border-radius: 100px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary-mid) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

.nav.transparent .nav-cta {
  background: white;
  color: var(--primary) !important;
}

.nav.transparent .nav-cta:hover {
  background: rgba(255,255,255,0.9) !important;
  color: var(--primary) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav.transparent .hamburger span { background: white; }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: white;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-top: 1px solid var(--border);
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
  display: block;
}

.mobile-nav a {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  transition: var(--transition);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--primary); padding-left: 8px; }

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 61, 20, 0.82) 0%,
    rgba(13, 31, 15, 0.65) 50%,
    rgba(10, 61, 20, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--secondary-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--secondary-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-mid);
  border-color: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-white:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

.btn-white-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}

.btn-white-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

.btn-gold:hover {
  background: #b8962e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 168, 75, 0.35);
  color: white;
}

.btn svg, .btn .btn-icon {
  flex-shrink: 0;
}

/* === STATS STRIP === */
.stats-strip {
  background: var(--primary);
  padding: 40px 0;
}

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

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary-light);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 8px;
  text-transform: uppercase;
}

/* === INTRO SECTION === */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-visual {
  position: relative;
}

.intro-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-icon-large {
  font-size: 6rem;
  opacity: 0.3;
}

.intro-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.intro-card-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.intro-card-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

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

.intro-content .section-subtitle {
  margin-bottom: 32px;
}

.intro-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.intro-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.intro-list-item .check {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.intro-list-item .check svg {
  width: 12px;
  height: 12px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === VALUES SECTION === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === PARTNERS SECTION === */
.partners-strip {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-medium);
  transition: var(--transition);
}

.partner-pill:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

/* === EQUIPMENT SECTION === */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.equipment-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.equipment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.equipment-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.equipment-card:hover .equipment-card-image {
  filter: brightness(1.1);
}

.equipment-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
}

.equipment-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.equipment-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
}

.equipment-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.equipment-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(27, 94, 32, 0.1);
  color: var(--primary);
}

/* === PAGE HERO (Inner Pages) === */
.page-hero {
  padding-top: calc(var(--nav-height) + 140px);
  padding-bottom: 100px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-mid) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 640px;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.page-hero .breadcrumb a:hover { color: white; }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,0.3); }

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* === ABOUT PAGE === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 20px;
}

.reg-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}

.reg-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.reg-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.reg-row:last-child { border-bottom: none; }
.reg-row .label { color: var(--text-muted); }
.reg-row .value { font-weight: 600; color: var(--text-dark); }

.about-visual {
  position: relative;
}

.about-card-stack {
  position: relative;
  height: 480px;
}

.about-main-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 60px;
  border-radius: var(--radius-xl);
  height: 360px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-lg);
}

.about-sub-card {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 60px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.about-sub-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-medium);
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* === FUNDING ENTITIES === */
.funding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.funding-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.funding-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.funding-card .icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.funding-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.funding-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === EQUIPMENT PAGE === */
.equipment-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.equipment-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:first-of-type { border-top: 1px solid var(--border); }

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-detail:hover .contact-detail-icon {
  background: var(--primary);
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
}

.contact-detail-value a {
  color: var(--primary);
  transition: var(--transition);
}

.contact-detail-value a:hover {
  color: var(--primary-mid);
  text-decoration: underline;
}

.contact-map-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.map-placeholder {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 40px;
  text-align: center;
  min-height: 300px;
}

.map-placeholder .map-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.map-placeholder h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.map-placeholder p {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  line-height: 1.6;
}

.map-footer {
  padding: 20px 24px;
  background: white;
  border-top: 1px solid var(--border);
}

.map-footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-footer strong {
  color: var(--text-dark);
}

/* Social links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  color: var(--text-medium);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

/* === CTA SECTION === */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.cta-section h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  letter-spacing: 0.02em;
}

.footer-brand .logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 2px;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 20px 0 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer-contact-item .icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 2px;
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-bottom a:hover { color: white; }

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-up:nth-child(1) { transition-delay: 0.1s; }
.fade-up:nth-child(2) { transition-delay: 0.2s; }
.fade-up:nth-child(3) { transition-delay: 0.3s; }
.fade-up:nth-child(4) { transition-delay: 0.4s; }
.fade-up:nth-child(5) { transition-delay: 0.5s; }
.fade-up:nth-child(6) { transition-delay: 0.6s; }

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.fade-in.visible { opacity: 1; }

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-green);
  transition: var(--transition);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-mid);
  transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .intro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

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

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

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

  .intro-visual { display: none; }
  .about-visual { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .section { padding: 70px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero {
    height: auto;
    min-height: 100vh;
    padding-bottom: 120px;
  }

  .hero h1 { font-size: 2.2rem; }

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

  .values-grid,
  .equipment-grid,
  .equipment-full-grid,
  .funding-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .section-title { font-size: 1.75rem; }
}
