/*
Theme Name: I2Impact Students
Theme URI: https://i2impactstudents.org
Author: I2Impact
Author URI: https://i2impactstudents.org
Description: Custom theme for I2Impact Students website
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: i2impact
*/

/* =================================================
   I2IMPACT – CLEAN STRUCTURED MASTER STYLESHEET
================================================= */


/* ================= ROOT ================= */

:root {
  --primary: #0b6efd;
  --primary-dark: #084298;
  --green: #11552b;
  --text: #1f2937;
  --border: #e5e7eb;
  --beige: #f6f1e8;
  --pillar-green: #dfeee3;
}


/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ================= BASE ================= */

body {
  font-family: 'Inter', sans-serif;
  background: var(--beige);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}


/* ================= NAVIGATION ================= */

header {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  height: 38px;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}


/* ================= BUTTONS ================= */

.hero .btn {
  background: #11552b;
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s ease;
}

.hero .btn:hover {
  background: #0e4724;
}

.hero .secondary-btn {
  background: var(--beige);
  color: #11552b;
  border: 1px solid #11552b;
  margin-left: 12px;
}

.hero .secondary-btn:hover {
  background: #ece6dc;
}


/* ================= HERO (HOME) ================= */

.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
  max-width: 600px;
}

.hero-logo {
  width: 170px;
  margin-bottom: 22px;
}

.hero-content h1 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 22px;
  opacity: 0.9;
}


/* ================= PAGE HERO (SUBPAGES) ================= */

.page-hero {
  background: #f3f0ea;
  padding: 100px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.page-hero p {
  max-width: 700px;
  margin: auto;
  color: #555;
}


/* ================= VIDEO ================= */

.video-frame {
  width: 100%;
  max-width: 1200px;
  height: 340px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.video-frame iframe {
  width: 100%;
  height: 520px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}


/* ================= PILLARS ================= */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-6px);
}

.pillar-icon {
  background: var(--pillar-green);
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pillar-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin-bottom: 8px;
}


/* ================= PROJECTS ================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.25s;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project-content {
  padding: 24px;
}

.project-content p {
  margin-bottom: 18px;
}


/* ================= PARTNERS ================= */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-top: 40px;
  justify-items: center;
}

.logo-grid img {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(50%);
  opacity: 0.8;
  transition: 0.2s;
}

.logo-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}


/* ================= MAP ================= */

#map {
  height: 500px;
  border-radius: 14px;
  margin-top: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}


/* ================= FOOTER ================= */

.footer {
  background: #e9e4dc;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 12px;
}

.footer-links {
  text-align: center;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--text);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-info p {
  font-size: 14px;
  margin-bottom: 6px;
}


/* ================= FOOTER SOCIALS ================= */

.footer-socials {
  text-align: center;
  margin-top: 30px;
}

.footer-socials a {
  text-decoration: none;
  font-size: 22px;
  margin: 0 12px;
  color: var(--green);
  transition: 0.2s ease;
}

.footer-socials a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-logo {
    width: 110px;
  }
}
/* ================= PATHWAY ================= */

.pathway-section {
  background: white;
}

.pathway {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.path-step {
  max-width: 280px;
}

.path-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #11552b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 20px;
  font-size: 20px;
}

.path-line {
  height: 3px;
  flex: 1;
  background: #dfeee3;
}

.cta-section {
  background: #11552b;
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-section .btn {
  background: white;
  color: #11552b;
  margin-top: 20px;
}
/* ================= TEAM PAGE REFINED ================= */

.team-hero {
  text-align: center;
  padding: 80px 0 50px;
}

.team-section-title {
  text-align: center;
  margin-bottom: 60px;
}

/* GRID STRUCTURE */

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.team-grid.large-row {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 60px;
}

/* CARD DESIGN */

.team-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #11552b;   /* GROENE RAND ROND HEEL KAARTJE */
  transition: 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

/* IMAGE FULL WIDTH */

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* LARGER PRESIDENT & VICE */

.team-card.large img {
  height: 350px;
}

/* INFO BAR */

.team-info {
  padding: 18px;
  text-align: center;
  background: white;
  position: relative;
}

.team-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-info p {
  font-size: 14px;
  color: #666;
}

/* LINKEDIN BUTTON */

.linkedin-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #11552b;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: 0.2s;
}

.linkedin-icon:hover {
  background: #11552b;
  color: white;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid,
  .team-grid.large-row {
    grid-template-columns: 1fr;
  }
}
/* ================= ACTIVITIES CLEAN ================= */

.activities-hero-img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
}

.split-section {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 60px;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 50% 50%;
}

.split-section.reverse .split-image {
  order: 2;
}

.split-section.reverse .split-text {
  order: 1;
}

.split-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.primary-btn {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.primary-btn:hover {
  background: #0e4724;
}

/* Responsive */
@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .split-image,
  .split-section.reverse .split-text {
    order: unset;
  }
}
