/*
Theme Name: ACCEPT Kenya Theme
Theme URI: https://acceptkenya.org/
Author: Brighton Ochieng Odwar
Description: WordPress theme for ACCEPT Kenya.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: accept-kenya-theme
*/

/* ===============================
   GLOBAL IMAGE SLIDERS
================================= */

.what-slider,
.intervention-slider,
.ngo-random-slider {
  position: relative;
  overflow: hidden;
  background: #eaf1f6;
}

.what-slider img,
.intervention-slider img,
.ngo-random-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 650ms ease, transform 900ms ease;
}

.what-slider img.active,
.intervention-slider img.active,
.ngo-random-slider img.active {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   LANDING HERO
================================= */

.landing-hero-slider {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #061c2f;
}

.landing-hero-slider .hero-bg,
.ngo-random-slider {
  position: absolute;
  inset: 0;
}

.landing-hero-slider .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 28, 58, .86), rgba(0, 42, 72, .38), rgba(0,0,0,.12)),
    linear-gradient(0deg, rgba(0,0,0,.36), transparent 58%);
}

.ngo-hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
}

.ngo-hero-content .hero-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.ngo-hero-content h1 {
  margin: 0 0 18px;
  max-width: 760px;
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -0.04em;
}

.ngo-hero-content p {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.92);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

/* ===============================
   INTERVENTIONS / SERVICES
================================= */

.intervention-slider {
  height: 330px;
  min-height: 330px;
}

.intervention-dots {
  position: absolute;
  bottom: 15px;
  left: 20px;
  z-index: 5;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 85%;
}

.intervention-dots button {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.intervention-dots button.active {
  width: 24px;
  border-radius: 20px;
  background: #fff;
}

/* ===============================
   WHAT WE DO CARDS
================================= */

.what-slider {
  height: 320px;
  border-radius: 20px;
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.what-card {
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 35, 65, .12);
}

.what-content {
  padding: 24px;
}

/* ===============================
   WHAT WE DO MAIN SLIDER
================================= */

.what-we-do-main-slideshow {
  padding: 40px 0;
  background: #f5f8fb;
}

.what-main-slider {
  position: relative;
  width: min(1180px, 92%);
  height: 520px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
}

.what-main-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0,30,60,.72), rgba(0,30,60,.15));
}

.what-main-slider-content {
  position: absolute;
  left: 50px;
  bottom: 50px;
  z-index: 3;
  max-width: 560px;
  color: #fff;
}

.what-main-slider-content span {
  color: #8bd450;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.what-main-slider-content h2 {
  margin: 10px 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.what-main-slider-content p {
  font-size: 18px;
  line-height: 1.6;
}

/* ===============================
   SERVICES HERO
================================= */

.hero-slider-header {
  position: relative;
}

.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 520px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0, 30, 60, .75), rgba(0, 30, 60, .25));
}

.hero-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 60px;
  max-width: 650px;
  color: #fff;
  transform: translateY(-50%);
}

.hero-content span {
  color: #8bd450;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 10px 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
}

/* ===============================
   TEAM PAGE
================================= */

.team-hero-clean {
  padding: 110px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(20, 96, 140, .12), transparent 35%),
    linear-gradient(135deg, #f6f9fc, #ffffff);
}

.team-hero-clean-inner {
  max-width: 850px;
}

.team-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #0b5f8a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.team-hero-clean h1 {
  margin: 0 0 18px;
  color: #062a44;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .95;
  letter-spacing: -0.04em;
}

.team-hero-clean p {
  max-width: 760px;
  color: #475569;
  font-size: 20px;
  line-height: 1.7;
}

.dept-menu {
  display: none;
}

.team-image {
  height: 320px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===============================
   IMPACT BANNER
================================= */

.ngo-impact-banner {
  background:
    linear-gradient(135deg, rgba(0, 68, 120, .92), rgba(13, 95, 148, .84)),
    url("/wp-content/themes/accept-kenya-theme-final/assets/img/what-we-do/SLIDESHOW/GBV2.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 900px) {
  .what-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .landing-hero-slider {
    min-height: 78vh;
  }

  .ngo-hero-content {
    padding: 0 22px;
  }

  .ngo-hero-content .hero-kicker {
    font-size: 11px;
    line-height: 1.4;
  }

  .hero-slider {
    height: 75vh;
  }

  .hero-content {
    left: 25px;
    right: 25px;
  }

  .what-main-slider {
    height: 420px;
  }

  .what-main-slider-content {
    left: 25px;
    right: 25px;
    bottom: 30px;
  }

  .team-hero-clean {
    padding: 85px 0 50px;
  }

  .team-image {
    height: 280px;
  }
}
.contact-hero-clean {
  padding: 100px 0 60px;
  background:
    radial-gradient(circle at top left, rgba(20, 96, 140, .14), transparent 35%),
    linear-gradient(135deg, #f6f9fc, #ffffff);
}

.contact-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #0b5f8a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-hero-clean h1 {
  margin: 0 0 18px;
  color: #062a44;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .95;
  letter-spacing: -0.04em;
}

.contact-hero-clean p {
  max-width: 800px;
  color: #475569;
  font-size: 20px;
  line-height: 1.7;
}

.upgraded-contact {
  padding-top: 70px;
}

.contact-info h2 {
  margin-bottom: 14px;
  color: #062a44;
  font-size: 34px;
}

.contact-form-intro {
  margin-bottom: 22px;
  color: #64748b;
}

.contact-details a {
  color: #0b5f8a;
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-alert {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-alert.success {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.contact-alert.error {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.contact-map-section {
  padding: 40px 0 90px;
}

.map-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 36px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(6, 42, 68, .92), rgba(11, 95, 138, .82)),
    url("/wp-content/themes/accept-kenya-theme-final/assets/img/what-we-do/SLIDESHOW/GBV2.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: #fff;
}

.map-card h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.map-card p {
  margin: 0;
  color: rgba(255,255,255,.86);
}

.map-card .contact-eyebrow {
  color: #8bd450;
}

.map-btn {
  flex: 0 0 auto;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  color: #062a44;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 768px) {
  .map-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
.premium-maps-section {
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at top left, rgba(11, 95, 138, .10), transparent 35%),
    linear-gradient(180deg, #ffffff, #f6f9fc);
}

.premium-maps-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.premium-maps-header span {
  display: inline-block;
  margin-bottom: 12px;
  color: #0b5f8a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.premium-maps-header h2 {
  margin: 0 0 14px;
  color: #062a44;
  font-size: clamp(38px, 5vw, 64px);
  line-height: .96;
  letter-spacing: -0.04em;
}

.premium-maps-header p {
  color: #64748b;
  font-size: 19px;
  line-height: 1.7;
}

.premium-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.premium-map-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 35, 65, .12);
  border: 1px solid rgba(15, 76, 117, .08);
}

.premium-map-info {
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(6, 42, 68, .98), rgba(11, 95, 138, .92));
  color: #fff;
}

.map-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.map-label.green {
  color: #8bd450;
}

.premium-map-info h3 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.05;
}

.premium-map-info p {
  color: rgba(255,255,255,.84);
  line-height: 1.7;
  margin-bottom: 24px;
}

.premium-map-info a {
  display: inline-flex;
  align-items: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: #fff;
  color: #062a44;
  font-weight: 800;
  text-decoration: none;
}

.premium-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  filter: saturate(.95) contrast(1.02);
}

@media (max-width: 900px) {
  .premium-map-card {
    grid-template-columns: 1fr;
  }

  .premium-map-info {
    padding: 28px;
  }
}