/* ============================================
   CROSSWORLD FOUNDATION — STYLES
   Step 1: Navbar (Greenova-inspired)
   ============================================ */

/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary brand color */
  --primary: #2D3192;
  --primary-dark: #22256f;
  --primary-light: #4a4fb8;
  --primary-soft: #eef0fb;

  /* Neutrals */
  --dark: #1a1d2b;
  --gray: #6b7280;
  --light: #f8f9fc;
  --white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(45, 49, 146, 0.06);
  --shadow-md: 0 10px 30px rgba(45, 49, 146, 0.10);

  /* Misc */
  --transition: 0.3s ease;
  --radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--transition);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(45, 49, 146, 0.06);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ---------- Logo ---------- */
/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.03);
}

.logo-img {
  height: 52px;          /* main size — tweak as needed */
  width: auto;           /* keeps aspect ratio */
  max-width: 220px;      /* safety cap for wide logos */
  object-fit: contain;
  display: block;
}
/* ---------- Nav Links ---------- */
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  padding: 0.4rem 0;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform 0.2s ease, box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(45, 49, 146, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(45, 49, 146, 0.35);
}

.btn-primary i {
  font-size: 0.8rem;
  transition: transform var(--transition);
}

.btn-primary:hover i {
  transform: translateX(3px);
}

/* ============================================
   MOBILE-ONLY CTA
   Hidden by default on desktop.
   Higher specificity (.nav-links .mobile-cta)
   beats .btn's display:inline-flex.
   ============================================ */
.nav-links .mobile-cta {
  display: none;
}

/* ---------- Nav Actions ---------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.25px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.25px) rotate(-45deg);
}

/* ============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================ */
@media (max-width: 960px) {
  .hamburger {
    display: flex;
  }

  .desktop-cta {
    display: none;
  }

  /* Show the mobile CTA (specificity matches the hide rule above) */
  .nav-links .mobile-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
  }

  /* Slide-in menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 340px;
    height: 100vh;
    background: var(--white);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-links ul li {
    width: 100%;
    border-bottom: 1px solid rgba(45, 49, 146, 0.07);
  }

  .nav-links a {
    display: block;
    padding: 1.1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active,
  .nav-links a:hover {
    color: var(--primary);
    padding-left: 6px;
    transition: padding-left 0.2s ease, color var(--transition);
  }

  /* Overlay */
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(26, 29, 43, 0.45);
    backdrop-filter: blur(2px);
    z-index: 999;
    animation: fadeIn 0.3s ease;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.15rem;
  }

  .logo-icon {
    font-size: 1.3rem;
  }

  .navbar {
    padding: 0.7rem 0;
  }
}


/* ============================================
   HERO — RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    min-height: 88vh;
    background-position: center;
    padding: 5rem 0;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 17, 60, 0.85) 0%,
      rgba(20, 22, 75, 0.7) 60%,
      rgba(45, 49, 146, 0.6) 100%
    );
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 4.5rem 0 5rem;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.45rem 0.95rem;
  }

  .hero-actions {
    gap: 1.5rem;
  }

  .hero-cta {
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0.5rem 0.5rem 1.4rem;
  }
}

/* ============================================
   HERO SECTION — CENTERED
   ============================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('Images/Gallery/crossworld-foundation-peace-meeting (1).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: var(--white);
  padding: 6rem 0;
}

/* Full overlay for even legibility (no more left-to-right gradient) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 17, 60, 0.85) 0%,
    rgba(20, 22, 75, 0.75) 50%,
    rgba(45, 49, 146, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Badge ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 1.6rem;
  color: var(--white);
}

.hero-badge i {
  color: #f4c430;
  font-size: 0.9rem;
}

/* ---------- Headline ---------- */
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.4rem;
  color: var(--white);
}

.hero-title .highlight {
  color: #f4c430;
}

/* ---------- Subtitle ---------- */
.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 2.4rem;
}

/* ---------- Actions row (centered) ---------- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Primary CTA pill */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.5rem 0.5rem 1.6rem;
  background: var(--white);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.hero-cta .cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4c430;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.hero-cta:hover .cta-icon {
  transform: translateX(4px) rotate(-15deg);
}

/* ---------- Social proof ---------- */
.hero-social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-left: -12px;
  transition: transform 0.2s ease;
  overflow: hidden;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:hover {
  transform: translateY(-4px);
  z-index: 2;
}

.avatar-1 { background: linear-gradient(135deg, #4a4fb8, #2D3192); }
.avatar-2 { background: linear-gradient(135deg, #e6b91e, #b88a00); }
.avatar-3 { background: linear-gradient(135deg, #3c9b81, #1f6d5a); }

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-social-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;   /* keep the small text block left-aligned within its row */
}

.hero-social-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.hero-social-text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   HERO — RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    min-height: 88vh;
    padding: 5rem 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 4.5rem 0 5rem;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.45rem 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .hero-cta {
    width: 100%;
    max-width: 320px;
    justify-content: space-between;
    padding: 0.5rem 0.5rem 0.5rem 1.4rem;
  }
}

/* ============================================
   HERO STATS STRIP
   Impact numbers right below the hero
   ============================================ */

.hero-stats {
  background: var(--white);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid rgba(45, 49, 146, 0.06);
  position: relative;
  z-index: 1;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
  text-align: center;
}

/* Single stat block */
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  padding: 0 0.5rem;
}

/* Vertical divider between stats (except last) */
.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -1rem;
  width: 1px;
  height: 70%;
  background: rgba(45, 49, 146, 0.1);
}

/* Big number */
.hero-stat-number {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--dark);
  font-variant-numeric: tabular-nums;
}

/* Small label */
.hero-stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--gray);
  max-width: 220px;
  letter-spacing: 0.1px;
}

/* ============================================
   HERO STATS — RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero-stats {
    padding: 3rem 0 3.5rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  /* Vertical dividers only on wide layout */
  .hero-stat:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    padding: 2.5rem 0 3rem;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-stat-number {
    font-size: 2.2rem;
  }

  .hero-stat-label {
    font-size: 0.82rem;
    max-width: 280px;
  }

  /* Let labels wrap naturally on mobile */
  .hero-stat-label br {
    display: none;
  }
}

/* ============================================
   ABOUT / MISSION SECTION
   ============================================ */

.about {
  padding: 6rem 0;
  background: var(--white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4.5rem;
  align-items: center;
}

/* ---------- LEFT: Image + stat card ---------- */
.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 25px 50px -15px rgba(45, 49, 146, 0.25);
}

/* Floating stat card */
.about-stat-card {
  position: absolute;
  left: -20px;
  bottom: 40px;
  background: var(--primary);
  color: var(--white);
  padding: 1.4rem 1.6rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 40px -12px rgba(45, 49, 146, 0.5);
  min-width: 200px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: #f4c430;      /* gold accent */
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- RIGHT: Content ---------- */
.about-content {
  max-width: 560px;
}

.about-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}

.about-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: #f4c430;
  border-radius: 2px;
}

.about-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
  color: var(--dark);
  margin-bottom: 1.4rem;
}

.about-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 1.1rem;
}

/* Inline link with arrow */
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  transition: gap 0.25s ease, color 0.25s ease;
}

.about-link i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.about-link:hover {
  color: var(--primary-dark);
  gap: 0.9rem;
}

.about-link:hover i {
  transform: translateX(3px);
}

/* ============================================
   ABOUT — RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .about {
    padding: 5rem 0;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-img {
    height: 420px;
  }

  .about-content {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .about {
    padding: 4rem 0;
  }

  .about-img {
    height: 340px;
    border-radius: 16px;
  }

  /* Pull the stat card inward so it doesn't clip off-screen */
  .about-stat-card {
    left: 12px;
    bottom: -24px;
    padding: 1.1rem 1.3rem;
    min-width: 170px;
  }

  .stat-number {
    font-size: 1.9rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .about-text {
    font-size: 0.95rem;
  }
}

/* ============================================
   PROGRAMS / FOCUS AREAS SECTION — PREMIUM
   With dotted Kenya map watermark
   ============================================ */

.programs {
  background: #1a1d5c;
  padding: 6rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ============================================
   KENYA MAP WATERMARK (PNG)
   ============================================ */

.programs-map {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.programs-map-img {
  width: 70%;
  max-width: 720px;
  height: auto;
  display: block;
  opacity: 0.08;

  /* Turns a dark PNG into solid white.
     If your PNG is ALREADY white, remove this line. */
  filter: brightness(0) invert(1);
}

/* Wider screens get a slightly larger map */
@media (min-width: 1400px) {
  .programs-map-img {
    max-width: 820px;
  }
}

/* Tablets */
@media (max-width: 1100px) {
  .programs-map-img {
    width: 85%;
    max-width: 560px;
  }
}

/* Mobile — even softer */
@media (max-width: 600px) {
  .programs-map-img {
    width: 100%;
    max-width: 420px;
    opacity: 0.06;
  }
}

/* ---------- Ambient orbs ---------- */
.programs-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 16s ease-in-out infinite;
}

.orb-1 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #4a4fb8, transparent 70%);
  top: -12%;
  right: -10%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #2D3192, transparent 70%);
  bottom: -18%;
  left: -12%;
  animation-delay: -6s;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(244, 196, 48, 0.35), transparent 70%);
  top: 45%;
  left: 42%;
  animation-delay: -3s;
  opacity: 0.28;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(35px, -45px) scale(1.08); }
  66%      { transform: translate(-30px, 30px) scale(0.94); }
}

/* ---------- Header row ---------- */
.programs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.programs-header-left {
  max-width: 720px;
}

.programs-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #f4c430;
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.1s;
}

.programs-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f4c430;
  transform: translateY(-50%);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 196, 48, 0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(244, 196, 48, 0); }
}

.programs-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.25s;
}

.programs-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- View All button ---------- */
.btn-view-all {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem 0.6rem 1.4rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.55s;
}

.btn-view-all:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-view-all-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f4c430;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.btn-view-all-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #f4c430;
  animation: pulseRing 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.btn-view-all:hover .btn-view-all-icon {
  transform: translateX(3px) rotate(-15deg);
}

/* ============================================
   CARDS GRID
   ============================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
  z-index: 1;
}

/* ============================================
   PREMIUM PROGRAM CARD
   ============================================ */
.program-card {
  position: relative;
  padding: 1.9rem 1.6rem 2rem;
  border-radius: 22px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.03) 55%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;

  transition:
    transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1),
    border-color 0.4s ease,
    box-shadow 0.5s ease,
    background 0.4s ease;

  opacity: 0;
  transform: translateY(45px);
}

.program-card.revealed {
  animation: cardReveal 0.75s cubic-bezier(0.2, 0.9, 0.3, 1.05) forwards;
}

@keyframes cardReveal {
  0%   { opacity: 0; transform: translateY(45px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gradient border glow behind card */
.program-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(244, 196, 48, 0) 0%,
    rgba(244, 196, 48, 0.5) 50%,
    rgba(74, 79, 184, 0.5) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.program-card:hover .program-card-glow {
  opacity: 1;
}

/* Large ghost icon */
.program-card-ghost {
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 8rem;
  color: rgba(244, 196, 48, 0.05);
  transition:
    transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.1),
    color 0.5s ease;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.program-card:hover .program-card-ghost {
  transform: translate(-12px, -18px) rotate(-8deg) scale(1.08);
  color: rgba(244, 196, 48, 0.12);
}

/* Card number badge */
.program-card-number {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.25);
  z-index: 3;
  transition: color 0.4s ease, transform 0.4s ease;
}

.program-card:hover .program-card-number {
  color: #f4c430;
  transform: translateY(-2px);
}

/* Top row: title + arrow icon */
.program-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top: 1.6rem;
  position: relative;
  z-index: 3;
}

.program-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--white);
  transition: color 0.35s ease;
}

.program-card:hover .program-card-title {
  color: #f4c430;
}

/* Circular arrow button */
.program-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(244, 196, 48, 0.1);
  border: 1px solid rgba(244, 196, 48, 0.4);
  color: #f4c430;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.4),
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.4s ease;
}

.program-card:hover .program-card-icon {
  background: #f4c430;
  color: var(--dark);
  transform: rotate(45deg) scale(1.08);
  box-shadow: 0 0 25px rgba(244, 196, 48, 0.55);
}

/* Description text */
.program-card-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 3;
}

/* Bullet list */
.program-card-list {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  z-index: 3;
}

.program-card-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.program-card-list::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, #f4c430, rgba(244, 196, 48, 0));
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover .program-card-list::after {
  width: 100%;
}

.program-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.35s ease, color 0.3s ease;
}

.program-card-list li i {
  color: #f4c430;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.program-card:hover .program-card-list li {
  color: var(--white);
}

.program-card:hover .program-card-list li i {
  transform: scale(1.15);
}

/* Decorative corner accent */
.program-card-corner {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(244, 196, 48, 0.4), transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.program-card:hover .program-card-corner {
  opacity: 1;
  transform: translate(-20px, -20px);
}

/* Deeper hover: lift, glow, subtle tilt */
.program-card:hover {
  transform: translateY(-10px) rotate(-0.5deg) scale(1.02);
  border-color: rgba(244, 196, 48, 0.3);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(255, 255, 255, 0.05) 55%,
    rgba(244, 196, 48, 0.04) 100%
  );
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 50px -10px rgba(244, 196, 48, 0.18);
}

/* ============================================
   PROGRAMS — RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-card-ghost {
    font-size: 6.5rem;
  }

  .programs-map svg {
    width: 85%;
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  .programs {
    padding: 5rem 0;
  }

  .programs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .programs-subtitle {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .programs {
    padding: 4rem 0;
  }

  .programs-title {
    font-size: 1.65rem;
  }

  .programs-title br {
    display: none;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .program-card {
    padding: 1.7rem 1.4rem 1.9rem;
  }

  .program-card-ghost {
    font-size: 5.5rem;
    bottom: -25px;
    right: -15px;
  }

  .program-card-top {
    margin-top: 1.2rem;
  }

  .btn-view-all {
    width: 100%;
    justify-content: space-between;
  }

  .programs-map {
    opacity: 0.06;
  }

  .programs-map svg {
    width: 100%;
    max-width: 420px;
  }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .programs-orb,
  .programs-label,
  .programs-title,
  .programs-subtitle,
  .btn-view-all,
  .program-card,
  .program-card-icon,
  .program-card-ghost,
  .program-card-glow,
  .program-card-corner,
  .btn-view-all-icon::after,
  .programs-label::before {
    animation: none !important;
    transition: none !important;
  }

  .program-card {
    opacity: 1;
    transform: none;
  }

  .program-card:hover {
    transform: none;
  }
}

/* ============================================
   MARQUEE / TICKER BANNER
   ============================================ */

.marquee {
  background: #f4c430;                    /* brand gold */
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
  z-index: 1;

  /* Optional: subtle top/bottom shadows for depth */
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.04),
    0 10px 30px -15px rgba(244, 196, 48, 0.5);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

/* Pause on hover (nice UX touch) */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2.2rem;
  padding-right: 2.2rem;
}

.marquee-item {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--dark);                     /* deep navy text on gold */
  white-space: nowrap;
}

.marquee-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);                  /* brand indigo asterisk */
  font-size: 1.15rem;
  flex-shrink: 0;
  animation: sepSpin 8s linear infinite;
}

/* Continuous right-to-left scroll */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Slow spin on the asterisk separators */
@keyframes sepSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .marquee {
    padding: 0.9rem 0;
  }

  .marquee-item {
    font-size: 0.9rem;
  }

  .marquee-sep {
    font-size: 0.95rem;
  }

  .marquee-content {
    gap: 1.6rem;
    padding-right: 1.6rem;
  }

  /* Speed up the scroll on small screens so it doesn't feel sluggish */
  .marquee-track {
    animation-duration: 30s;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .marquee-sep {
    animation: none;
  }

  /* If motion is off, just center a single static message */
  .marquee-track {
    transform: none;
    justify-content: center;
    width: 100%;
  }

  .marquee-content:nth-child(2) {
    display: none;
  }

  .marquee-content {
    justify-content: center;
    padding-right: 0;
    gap: 1.5rem;
  }
}

/* ============================================
   FEATURED PROJECTS SECTION
   Soft pastel cards with image bottom
   ============================================ */

.projects {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
}

/* ---------- Section header ---------- */
.projects-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.projects-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

.projects-label::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 42px;
  height: 3px;
  background: #f4c430;
  border-radius: 2px;
}

.projects-title {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--dark);
  margin-bottom: 1rem;
}

.projects-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- Grid — 3 columns ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---------- Card base ---------- */
.project-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(45, 49, 146, 0.07);
  box-shadow: 0 6px 24px -10px rgba(45, 49, 146, 0.12);

  transition:
    transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(45, 49, 146, 0.28);
  border-color: rgba(45, 49, 146, 0.15);
}

/* ---------- Card body (pastel top) ---------- */
.project-card-body {
  padding: 1.5rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex-grow: 1;
}

.project-card--mint      .project-card-body { background: #e6f3ee; }
.project-card--peach     .project-card-body { background: #fbe9de; }
.project-card--lavender  .project-card-body { background: #ece9fb; }
.project-card--cream     .project-card-body { background: #fdf3d8; }

/* ---------- Tags ---------- */
.project-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(45, 49, 146, 0.1);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--primary);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.project-card:hover .tag {
  background: var(--white);
}

.tag-icon {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}

.project-card:hover .tag-icon {
  transform: rotate(-45deg);
}

/* ---------- Card title & text ---------- */
.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
  color: var(--dark);
  margin-top: 0.3rem;
}

.project-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475063;
}

/* ---------- Media (image) ---------- */
.project-media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background: linear-gradient(135deg, #ece9fb 0%, #dcd8f5 100%);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.05);
}

.project-card:hover .project-media img {
  transform: scale(1.08);
}

.project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(15, 17, 60, 0.05) 60%,
    rgba(15, 17, 60, 0.55) 100%
  );
  pointer-events: none;
}

/* ---------- Overlaid Read More CTA ---------- */
.project-cta {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  backdrop-filter: blur(8px);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    padding 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.project-cta i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.project-card:hover .project-cta {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.project-cta:hover {
  background: #f4c430;
  color: var(--dark);
}

.project-cta:hover i {
  transform: translateX(3px);
}

/* ---------- Staggered reveal on scroll ---------- */
.project-card {
  opacity: 0;
  transform: translateY(45px);
}

.project-card.revealed {
  animation: projectReveal 0.75s cubic-bezier(0.2, 0.9, 0.3, 1.05) forwards;
}

@keyframes projectReveal {
  0%   { opacity: 0; transform: translateY(45px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   PROJECTS — HIDDEN CARDS & LOAD MORE
   ============================================ */

/* Hidden cards take no space until revealed */
.project-card--hidden {
  display: none;
}

.project-card--hidden.revealed {
  display: flex;
  animation: projectReveal 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.05) forwards;
}

/* ---------- Load More wrapper ---------- */
.projects-loadmore {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  text-align: center;
}

/* ---------- Pill button ---------- */
.btn-loadmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.65rem 0.7rem 0.65rem 1.6rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;

  width: auto;
  max-width: 100%;
  margin: 0 auto;
  align-self: center;

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  box-shadow: 0 10px 28px -10px rgba(45, 49, 146, 0.5);
}

.btn-loadmore:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -12px rgba(45, 49, 146, 0.6);
}

.btn-loadmore:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Gold circular icon */
.btn-loadmore-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4c430;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-loadmore:hover:not(:disabled) .btn-loadmore-icon {
  transform: translateY(3px);
}

.btn-loadmore.loading .btn-loadmore-icon {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Counter ---------- */
.projects-counter {
  font-size: 0.85rem;
  color: var(--gray);
  letter-spacing: 0.2px;
  text-align: center;
  margin: 0 auto;
}

.projects-counter strong {
  color: var(--primary);
  font-weight: 700;
}

/* ============================================
   PROJECTS — RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .projects {
    padding: 5rem 0;
  }

  .projects-header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 600px) {
  .projects {
    padding: 4rem 0;
  }

  .projects-title {
    font-size: 1.65rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .project-card-body {
    padding: 1.3rem 1.2rem 1rem;
  }

  .project-title {
    font-size: 1.2rem;
  }

  .project-media {
    aspect-ratio: 4 / 2.8;
  }

  .projects-loadmore {
    margin-top: 2.5rem;
  }

  .btn-loadmore {
    width: 100%;
    max-width: 320px;
    justify-content: space-between;
    padding: 0.7rem 0.7rem 0.7rem 1.4rem;
  }
}

/* ============================================
   PROJECTS — REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .project-card {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .project-card:hover {
    transform: none;
  }

  .project-card:hover .project-media img {
    transform: none;
  }

  .project-card--hidden.revealed {
    animation: none;
  }

  .btn-loadmore.loading .btn-loadmore-icon {
    animation: none;
  }
}

/* ============================================
   OBJECTIVES SECTION
   "Why Choose Us" style — left visual, right cards
   ============================================ */

.objectives {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
}

.objectives-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

/* ---------- LEFT: label, title, image ---------- */
.objectives-visual {
  position: relative;
}

.objectives-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}

.objectives-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f4c430;
  transform: translateY(-50%);
}

.objectives-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--dark);
  margin-bottom: 2rem;
}

.objectives-title .highlight {
  color: var(--primary);
}

/* Image with floating play button */
.objectives-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 50px -18px rgba(45, 49, 146, 0.3);
  aspect-ratio: 4 / 4.4;
}

.objectives-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.05);
}

.objectives-media:hover img {
  transform: scale(1.04);
}

/* Subtle vignette at bottom */
.objectives-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(15, 17, 60, 0.35) 100%
  );
  pointer-events: none;
}

/* Floating play button */
.objectives-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  z-index: 2;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.objectives-play::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: pulseRing 2.4s ease-out infinite;
  pointer-events: none;
}

.objectives-play i {
  margin-left: 3px; /* optical centering of the play triangle */
}

.objectives-play:hover {
  background: var(--primary);
  color: var(--white);
  transform: translate(-50%, -50%) scale(1.08);
}

@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- RIGHT: objective cards ---------- */
.objectives-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.objective-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid rgba(45, 49, 146, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 22px -14px rgba(45, 49, 146, 0.18);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.objective-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #f4c430;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.objective-card:hover {
  transform: translateX(6px);
  border-color: rgba(45, 49, 146, 0.18);
  box-shadow: 0 18px 40px -18px rgba(45, 49, 146, 0.28);
  background: #fcfcff;
}

.objective-card:hover::before {
  transform: scaleY(1);
}

/* Circular pastel icon */
.objective-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: transform 0.35s ease;
}

.objective-card:hover .objective-icon {
  transform: rotate(-8deg) scale(1.05);
}

/* Tints — matching the pastel palette from the projects section */
.objective-icon--mint     { background: #e6f3ee; color: #1f8b6a; }
.objective-icon--peach    { background: #fbe9de; color: #c96a2e; }
.objective-icon--lavender { background: #ece9fb; color: #4a3fb8; }
.objective-icon--cream    { background: #fdf3d8; color: #b8891a; }
.objective-icon--sky      { background: #e3eefb; color: #1f6dc9; }

/* Card content */
.objective-content {
  flex: 1;
  min-width: 0;
}

.objective-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 0.35rem;
  transition: color 0.3s ease;
}

.objective-card:hover .objective-title {
  color: var(--primary);
}

.objective-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ============================================
   OBJECTIVES — RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .objectives-wrapper {
    gap: 3.5rem;
  }
}

@media (max-width: 960px) {
  .objectives {
    padding: 5rem 0;
  }

  .objectives-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .objectives-media {
    max-width: 460px;
    margin: 0 auto;
    aspect-ratio: 4 / 3.6;
  }
}

@media (max-width: 600px) {
  .objectives {
    padding: 4rem 0;
  }

  .objectives-title {
    font-size: 1.6rem;
  }

  .objectives-media {
    aspect-ratio: 4 / 3.4;
    border-radius: 18px;
  }

  .objectives-play {
    width: 56px;
    height: 56px;
    font-size: 0.95rem;
  }

  .objective-card {
    padding: 1.05rem 1.1rem;
    gap: 0.9rem;
    border-radius: 16px;
  }

  .objective-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .objective-title {
    font-size: 0.95rem;
  }

  .objective-desc {
    font-size: 0.8rem;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .objectives-play::after {
    animation: none;
  }

  .objective-card,
  .objective-icon,
  .objectives-media img {
    transition: none !important;
  }
}

/* ============================================
   PARTNERS SECTION
   Single marquee row — greyscale → colour on hover
   ============================================ */

.partners {
  padding: 6rem 0 5rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* ---------- Section header ---------- */
.partners-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.partners-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

.partners-label::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 42px;
  height: 3px;
  background: #f4c430;
  border-radius: 2px;
}

.partners-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--dark);
  margin-bottom: 1rem;
}

.partners-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- Single marquee row ---------- */
.partners-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
          mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.partners-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: partnersScrollLTR 15s linear infinite;
}

/* Pause the row on hover so users can look at a logo */
.partners-row:hover .partners-track {
  animation-play-state: paused;
}

/* One group of logos */
.partners-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 3rem;
  padding-right: 3rem;
}

/* Individual logo cell — slightly bigger than before */
.partner-logo {
  flex-shrink: 0;
  width: 200px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;

  /* Greyscale by default */
  filter: grayscale(100%) opacity(0.55);
  transition:
    filter 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

/* Hover: colorize + lift + scale */
.partner-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.partner-logo:hover {
  transform: translateY(-4px);
}

/* ---------- Keyframe ---------- */
@keyframes partnersScrollLTR {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ============================================
   PARTNERS — RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .partners {
    padding: 5rem 0 4rem;
  }

  .partners-header {
    margin-bottom: 2.5rem;
  }

  .partners-group {
    gap: 2.2rem;
    padding-right: 2.2rem;
  }

  .partner-logo {
    width: 170px;
    height: 96px;
  }

  .partners-track {
    animation-duration: 45s;
  }
}

@media (max-width: 600px) {
  .partners {
    padding: 4rem 0 3rem;
  }

  .partners-title {
    font-size: 1.6rem;
  }

  .partners-group {
    gap: 1.6rem;
    padding-right: 1.6rem;
  }

  .partner-logo {
    width: 140px;
    height: 82px;
    padding: 0.4rem;
  }

  .partners-track {
    animation-duration: 35s;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
    transform: none;
  }

  .partners-row {
    -webkit-mask-image: none;
            mask-image: none;
    display: flex;
    justify-content: center;
  }

  .partners-track {
    width: 100%;
    justify-content: center;
  }

  .partners-group:nth-child(2) {
    display: none;
  }
}

/* ============================================
   FOOTER — DEEP INDIGO
   ============================================ */

.footer {
  background: #1e2168;                 /* deep indigo, slightly darker than primary */
  padding: 5rem 0 2.5rem;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow in the corner */
.footer::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 79, 184, 0.45), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   TOP TIER — NEWSLETTER
   ============================================ */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.newsletter-title {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: #ffffff;
  max-width: 420px;
}

/* Pill form */
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  min-width: 380px;
  max-width: 480px;
  flex: 1 1 380px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form:focus-within {
  border-color: rgba(244, 196, 48, 0.6);
  box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.12);
}

.newsletter-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.newsletter-input i {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.newsletter-input input {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  color: #ffffff;
  padding: 0.55rem 0;
  width: 100%;
  min-width: 0;
}

.newsletter-input input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* Subscribe button — gold accent */
.newsletter-btn {
  flex-shrink: 0;
  padding: 0.65rem 1.4rem;
  background: #f4c430;
  color: var(--dark);
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.newsletter-btn:hover {
  background: #ffffff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(244, 196, 48, 0.7);
}

/* ============================================
   DIVIDER
   ============================================ */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 3.5rem;
}

/* ============================================
   MIDDLE TIER — BRAND + LINKS
   ============================================ */
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.2rem;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;

  /* If your logo is dark, force it white in the footer.
     If your logo is already light, remove this line. */
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.4rem;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background: #f4c430;
  color: var(--dark);
  transform: translateY(-3px);
}

/* Link columns */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #f4c430;
  padding-left: 4px;
}

/* ============================================
   BOTTOM TIER — COPY + LEGAL
   ============================================ */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal li a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s ease;
}

.footer-legal li a:hover {
  color: #f4c430;
}

/* ============================================
   FOOTER — RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .footer {
    padding: 4rem 0 2rem;
  }

  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .newsletter-title br {
    display: none;
  }

  .newsletter-form {
    min-width: 0;
    width: 100%;
    max-width: 520px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-divider {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 3.5rem 0 2rem;
  }

  .newsletter-title {
    font-size: 1.2rem;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 22px;
  }

  .newsletter-input {
    padding: 0.4rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
  }

  .newsletter-btn {
    width: 100%;
    padding: 0.75rem 1.4rem;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}