/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #000;
}

/* =========================
   CONTAINER (same as index)
========================= */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* =========================
   NAVBAR (MATCH INDEX)
========================= */
.navbar {
  background: #F5EFE6;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-main {
  font-size: 18px;
  font-weight: 700;
}

.brand-sub {
  font-size: 13px;
  color: #F05A3A;
}

/* Links */
.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: #F05A3A;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  height: 80vh;
  background: url('../Assets/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay like homepage */
.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
  max-width: 900px;
  text-align: left; /* homepage usually left-aligned */
}

/* Title */
.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Text block */
.hero-text p {
  margin: 6px 0;
  font-size: 1rem;
  position: relative;
  padding-left: 20px;
}

/* Bullet style (matches modern hero style) */
.hero-text p::before {
  content: "•";
  position: absolute;
  left: 0;
  color: black; /* match your brand color */
}
/* =========================
   PROGRAMMES SECTION
========================= */
.programmes {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
  flex-wrap: wrap;
}

/* Cards */
.programme-card {
  background: #fafafa;
  padding: 30px;
  width: 280px;
  border-radius: 10px;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.programme-card h3 {
  margin-bottom: 10px;
}

.programme-card p {
  font-size: 14px;
  opacity: 0.8;
}

.programme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* =========================
   FOOTER (MATCH INDEX STYLE)
========================= */
.footer {
    background: #8B3A0E;
    color: white;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a i {
    margin-right: 8px;
}

.footer-section a:hover {
    color: #F05A3A;
}

/* 🔥 Donate Button */
.donate-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #00c896;
    color: #F05A3A;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.donate-btn:hover {
    background: #F05A3A;
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #F05A3A;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #ffffff33;
    padding-top: 15px;
    font-size: 13px;
}
.footer-logo {
    height: 45px;
    margin-bottom: 10px;
}
/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
button, .btn {
    background-color: #F05A3A;
    color: white;
}

button:hover {
    background-color: #d94e30;
}
/* Fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* same behavior as basic index */
  }

  .programmes {
    flex-direction: column;
    align-items: center;
  }
}
/* ===============================
   CONVEYOR CARD SLIDER
================================= */
/* Card size */
.programme-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.programme-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px;

  scrollbar-width: none;
}

.programme-container::-webkit-scrollbar {
  display: none;
}

.card {
  min-width: 250px;
  flex: 0 0 auto;
  background: white;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

/* Arrows */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.scroll-btn.left {
  left: 0;
}

.scroll-btn.right {
  right: 0;
}
/* MODAL BACKDROP */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  justify-content: center;
  align-items: center;

  /* 🔥 IMAGE BACKGROUND HERE */
  background: linear-gradient(
              rgba(0,0,0,0.8),
              rgba(0,0,0,0.8)
            ),
            url('images/mentorship.jpg') center/cover no-repeat;

  z-index: 1000;
}

.modal-content {
  background: rgba(0, 0, 0, 0.6);   /* 🔥 dark instead of white */
  backdrop-filter: blur(10px);      /* 🔥 glass effect */
  -webkit-backdrop-filter: blur(10px);

  color: #fff;
  padding: 30px;
  border-radius: 12px;

  width: 90%;
  max-width: 600px;
}
.modal-content h2 {
  color: #fff;
  margin-bottom: 15px;
}

.modal-content p {
  color: #ddd;
  line-height: 1.6;
}

.modal-content li {
  color: #ccc;
}

.close-btn {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

/* MOBILE FULLSCREEN */
@media (max-width: 768px) {
  .modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
    top: 0;
    transform: none;
    overflow-y: auto;
  }
}

/* ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-60%); }
  to { opacity: 1; transform: translateY(-50%); }
}

/* CARD CLICK EFFECT */
.card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}
.program-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  color: white;
  height: 260px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}

/* DARK OVERLAY for readability */
.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2)
  );
  z-index: 1;
}

/* Content sits above overlay */
.program-card * {
  position: relative;
  z-index: 2;
}

/* Title */
.program-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Description */
.program-card p {
  font-size: 0.95rem;
  color: #e0e0e0;
}

/* Optional red accent */
.program-card h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #ff2a2a;
  margin-top: 6px;
}
.card-1 { background-image: url('Assets/mentorship programme.jpg'); }
.card-2 { background-image: url('Assets/skills programme.jpg'); }
.card-3 { background-image: url('Assets/educational support.jpg'); }
.card-4 { background-image: url('Assets/psychosocial support.jpg'); }
.card-5 { background-image: url('Assets/community mothers.jpg'); }
.card-6 { background-image: url('Assets/leadership development.jpg'); }

.card {
  position: relative;
  min-width: 280px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;

  background-size: cover;
  background-position: center;

  transition: 0.3s;
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
}
.card-content {
  position: relative;
  color: white;
  padding: 20px;
}
.card:hover {
  transform: translateY(-8px);
}
