:root {
  --bg: #ffffff;
  --panel: #f8f9fa;
  --text: #1a2332;
  --muted: #5a6c7d;
  --brand: #0066cc;
  --brand-600: #0052a3;
  --card: #ffffff;
  --border: #e1e8ed;
  --shadow: 0 4px 20px rgba(0,102,204,.12);
  --accent: #003d99;
  --light-blue: #e6f0ff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,102,204,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.brand { 
  display: inline-flex; 
  align-items: center; 
  color: var(--text); 
  text-decoration: none; 
  padding: 2px 0;
}
.brand-logo { 
  height: 40px; 
  width: auto; 
  max-width: 200px;
  display: block;
}
.brand-name { font-weight: 700; letter-spacing: .5px; }

.menu-toggle {
  display: none;
  background: transparent; color: var(--text); border: 1px solid var(--border); padding: 8px 12px; border-radius: 8px;
}

.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--panel); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--brand); 
  color: var(--brand); 
  text-decoration: none; 
  padding: 12px 24px; 
  border-radius: 12px; 
  transition: all .3s ease; 
  background: transparent; 
  font-weight: 600;
  font-size: 15px;
}
.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow); 
  background: var(--light-blue); 
}
.btn-primary { 
  background: var(--brand); 
  border-color: var(--brand); 
  color: #ffffff; 
}
.btn-primary:hover { 
  background: var(--brand-600); 
  border-color: var(--brand-600); 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px rgba(0,102,204,.24);
}
.btn-secondary {
  background: white;
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--brand);
  background: white;
}
.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
}
.btn-icon {
  font-size: 18px;
}

.hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(1400px 700px at 50% -20%, rgba(0,102,204,.1), rgba(0,102,204,0) 70%),
    linear-gradient(135deg, #e6f0ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero-inner { 
  text-align: center; 
  max-width: 900px;
  margin: 0 auto;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0,102,204,.15) 0%, rgba(0,102,204,.08) 100%);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border: 2px solid rgba(0,102,204,.2);
}
.badge-icon {
  background: var(--brand);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.hero h1 { 
  font-size: clamp(36px, 6vw, 64px); 
  line-height: 1.15; 
  margin: 0; 
  color: var(--accent); 
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  margin: 0;
  line-height: 1.6;
  max-width: 700px;
}
.hero-subtitle strong {
  color: var(--brand);
  font-weight: 700;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  background: white;
  padding: 20px 32px;
  border-radius: 16px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.meta-label {
  font-weight: 600;
  color: var(--muted);
}
.meta-value {
  color: var(--text);
  font-weight: 500;
}
.btn-copy {
  background: var(--light-blue);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
  font-size: 14px;
}
.btn-copy:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: scale(1.05);
}
.btn-copy:hover .copy-icon {
  filter: grayscale(1) brightness(5);
}
.copy-icon {
  font-size: 14px;
}

.lead { color: var(--muted); font-size: 1.25rem; margin-bottom: 28px; font-weight: 400; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.company-meta { list-style: none; padding: 0; margin: 24px 0 0; color: var(--text); background: white; padding: 16px 24px; border-radius: 12px; border: 2px solid var(--border); }
.company-meta li { margin: 8px 0; font-size: 1rem; }
.link-like { background: var(--brand); border: none; color: white; cursor: pointer; margin-left: 12px; padding: 4px 12px; border-radius: 6px; font-size: .85rem; font-weight: 600; transition: .2s ease; }
.link-like:hover { background: var(--brand-600); transform: scale(1.05); }

.section { padding: 64px 0; }
.section-alt { background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 0; color: var(--accent); font-weight: 700; }
.note { color: var(--muted); margin-top: 12px; }
.small { font-size: .9rem; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 2px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); transition: .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,102,204,.18); border-color: var(--brand); }
.card h3 { margin-top: 0; color: var(--brand); font-size: 1.25rem; font-weight: 600; }

.gallery { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 32px; }
.gallery-item { background: var(--card); border: 2px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: .3s ease; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,102,204,.18); border-color: var(--brand); }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; background: linear-gradient(135deg, #e6f0ff 0%, #cce0ff 100%); }
.caption { padding: 16px; margin: 0; font-size: .95rem; color: var(--text); text-align: center; font-weight: 500; }

.contact-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { margin: 12px 0; font-size: 1.05rem; }
.contact-list a { color: var(--brand); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.map { display: block; text-align: center; padding: 24px; border: 2px solid var(--brand); border-radius: 12px; color: var(--brand); text-decoration: none; background: var(--light-blue); font-weight: 600; transition: .3s ease; }
.map:hover { background: var(--brand); color: white; transform: translateY(-2px); box-shadow: var(--shadow); }

/* Contact Form */
.contact-form { background: white; border: 2px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); font-size: .95rem; }
.form-group input,
.form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 1rem; transition: .2s ease; background: white; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,102,204,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

.site-footer { border-top: 2px solid var(--border); background: #f8f9fa; padding: 48px 0 0; }
.funding-section { background: linear-gradient(135deg, #e6f0ff 0%, #ffffff 100%); border: 2px solid var(--brand); border-radius: 16px; padding: 32px; margin-bottom: 32px; }
.funding-section h3 { margin-top: 0; color: var(--accent); font-size: 1.5rem; font-weight: 700; }
.funding-text { line-height: 1.8; margin: 16px 0; color: var(--text); }
.funding-link { margin: 16px 0 24px; }
.funding-link a { color: var(--brand); text-decoration: none; border-bottom: 2px solid var(--brand); font-weight: 600; }
.funding-link a:hover { border-bottom-style: solid; background: var(--light-blue); padding: 2px 4px; }
.funding-logos { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 28px; background: white; padding: 24px; border-radius: 12px; }
.funding-logos img { max-width: 100%; height: auto; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; padding: 24px 0; color: var(--muted); border-top: 1px solid var(--border); }

/* Why Us Section */
.why-us { background: linear-gradient(135deg, #e6f0ff 0%, #ffffff 50%, #e6f0ff 100%); }
.why-grid { grid-template-columns: repeat(3, 1fr); }
.why-card { background: white; border: 2px solid var(--border); border-radius: 16px; padding: 32px 24px; text-align: center; box-shadow: var(--shadow); transition: .3s ease; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,102,204,.22); border-color: var(--brand); }
.why-icon { font-size: 3rem; margin-bottom: 16px; }
.why-card h3 { color: var(--brand); font-size: 1.15rem; margin: 8px 0 12px; font-weight: 600; }
.why-card p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0; }

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Selection color */
::selection { background: var(--brand); color: white; }

@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .funding-logos { justify-content: flex-start; }
  .funding-logos img { max-width: 100%; }
  .hero { padding: 70px 0 50px; }
  .hero h1 { font-size: clamp(32px, 7vw, 48px); }
  .hero-subtitle { font-size: 16px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn-large { width: 100%; justify-content: center; }
  .hero-meta { flex-direction: column; gap: 16px; align-items: flex-start; padding: 16px 20px; }
  .meta-item { flex-wrap: wrap; }
  .section { padding: 48px 0; }
  .brand-logo { height: 32px; max-width: 160px; }
  .nav { display: none; position: absolute; right: 4%; top: 48px; flex-direction: column; background: white; padding: 12px; border: 2px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-block; }
}
