/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg img {
  width: 80%;
  max-width: 800px;
  height: auto;
  filter: blur(30px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
}

.hero-logo {
  width: 220px;
  margin-bottom: 12px;
}

.hero-subtitle {
  color: var(--lavender);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
  font-weight: 300;
}

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

.hero-meta {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-meta-item {
  text-align: center;
}

.hero-meta-item span {
  display: block;
  color: var(--orange);
  font-size: 1.6rem;
  font-weight: 700;
}

.hero-meta-item small {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.about-text h3 {
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.about-text p {
  color: #555;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.keyword {
  display: inline-block;
  background: rgba(60,147,218,0.1);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

.about-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.about-card .timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.about-card .timeline-item:last-child {
  border-bottom: none;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 6px;
  flex-shrink: 0;
}

.timeline-dot.blue { background: var(--blue); }
.timeline-dot.lavender { background: var(--lavender); }
.timeline-dot.navy { background: var(--navy); }

.timeline-label {
  font-size: 0.78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-value {
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 0.95rem;
}

/* ========== About Image Row ========== */
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(17,19,42,0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ========== Visual Banner ========== */
.visual-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.visual-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--navy-deep) 0%, transparent 20%, transparent 80%, var(--navy-deep) 100%);
}

.visual-banner-text {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

.visual-banner-text h3 {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

/* ========== Pillars ========== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,124,71,0.3);
}

.pillar-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--orange), var(--lavender));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pillar-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.pillar-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== Working Groups ========== */
.wg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wg-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  border: 1px solid #eef1f7;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.wg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.wg-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.wg-number {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wg-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}

.wg-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.6;
  flex-grow: 1;
}

.wg-tagline {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  font-style: italic;
}

/* ========== WG Banner ========== */
.wg-banner {
  margin-top: 60px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 340px;
}

.wg-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wg-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,19,42,0.7), rgba(43,49,97,0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.wg-banner-overlay blockquote {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.4;
  max-width: 600px;
  border: none;
  padding: 0;
  margin: 0;
}

.wg-banner-overlay blockquote strong {
  color: var(--orange);
  font-weight: 600;
}

/* ========== Calls & Grants ========== */
.calls-content {
  max-width: 800px;
  margin: 0 auto;
}

.calls-notice {
  background: linear-gradient(135deg, rgba(60,147,218,0.08), rgba(216,187,243,0.08));
  border: 1px solid rgba(60,147,218,0.2);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.calls-notice h3 {
  color: var(--navy-deep);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.calls-notice p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.calls-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.call-type {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.call-type {
  display: flex;
  flex-direction: column;
}
.call-type h4 {
  color: var(--navy-deep);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.call-type p {
  color: var(--gray);
  font-size: 0.82rem;
  margin: 0 0 12px;
  flex: 1;
}

.call-type-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.call-type-amount,
.call-type-deadline {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.call-type-amount {
  background: rgba(60,147,218,0.1);
  color: var(--blue);
}
.call-type-deadline {
  background: rgba(237,122,69,0.1);
  color: var(--orange);
}
.call-type-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
.call-type-link:hover {
  color: var(--navy-deep);
}

/* ========== Showcase Gallery ========== */
.showcase {
  padding: 80px 0;
  background: var(--gray-light);
  overflow: hidden;
}

.showcase-scroll {
  display: flex;
  gap: 24px;
  animation: scrollShowcase 30s linear infinite;
}

.showcase-item {
  flex-shrink: 0;
  width: 400px;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scrollShowcase {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-424px * 5)); }
}

.showcase-scroll:hover {
  animation-play-state: paused;
}

/* ========== News (homepage) ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s;
}

.news-card:hover {
  border-color: rgba(255,124,71,0.3);
}

.news-card-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  height: 180px;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-date {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.news-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 10px 0;
  color: #fff;
}

.news-card h3 a {
  color: #fff;
}

.news-card h3 a:hover {
  color: var(--orange);
}

.news-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}

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

.contact-info h3 {
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin-bottom: 20px;
}

.contact-info p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(60,147,218,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail strong {
  display: block;
  color: var(--navy-deep);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-detail span {
  color: var(--gray);
  font-size: 0.88rem;
}

.contact-detail a {
  color: var(--blue);
}

.contact-detail a:hover {
  color: var(--orange);
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e5ee;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--gray-light);
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
}

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

.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
}
.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-feedback {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.form-feedback--success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-feedback--error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.required {
  color: #ef4444;
}
.cf-turnstile {
  margin-bottom: 4px;
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

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

  .visual-banner {
    height: 300px;
  }

  .wg-banner {
    height: 240px;
  }

  .wg-banner-overlay blockquote {
    font-size: 1.2rem;
  }

  .showcase-item {
    width: 300px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .wg-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 24px;
  }

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

  .visual-banner {
    height: 220px;
  }

  .about-image {
    height: 200px;
  }
}
