/*
Theme Name: Mentorship Diplomacy Portal
Theme URI: https://usembassyforpeace.org/
Author: U.S. Embassy for Peace
Author URI: https://usembassyforpeace.org/
Description: A custom WordPress theme for the Mentorship Diplomacy Portal supporting the U.S. Government Trade Over Aid Campaign, LADA Program, PYI Registry, and G1-G2-M1-M2 model.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mentorship-diplomacy-portal
Tags: custom-homepage, nonprofit, education, business, one-column, responsive-layout
*/

:root {
  --navy:#06264f;
  --deep:#021936;
  --blue:#0b4f86;
  --red:#b60e18;
  --gold:#f2bd25;
  --green:#13824d;
  --white:#fff;
  --off:#f6f8fb;
  --ink:#051c3c;
  --muted:#5c6b7e;
  --line:#d9e0ea;
}
* { box-sizing:border-box; }
body {
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color:var(--ink);
  background:#fff;
}
a { color:inherit; text-decoration:none; }
.topbar {
  background:var(--deep);
  color:#fff;
  font-size:13px;
}
.topbar .wrap {
  max-width:1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 20px;
}
.social span {
  margin-left:14px;
  font-weight:700;
}
.header {
  background:#fff;
  border-bottom:1px solid var(--line);
}
.header .wrap {
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:15px 20px;
}
.brand {
  display:flex;
  align-items:center;
  gap:18px;
}
.logo {
  width:112px;
  height:112px;
  object-fit:contain;
}
.brand h1 {
  margin:0;
  font-family:Georgia, "Times New Roman", serif;
  font-size:38px;
  color:var(--navy);
  letter-spacing:.5px;
  text-transform:uppercase;
}
.brand h2 {
  margin:2px 0 6px;
  color:var(--red);
  font-size:22px;
  letter-spacing:.7px;
  text-transform:uppercase;
}
.brand p {
  margin:0;
  font-size:15px;
  color:var(--navy);
  font-weight:700;
}
.header-actions {
  display:flex;
  align-items:center;
  gap:12px;
}
.search {
  border:1px solid #c5cfdc;
  border-radius:4px;
  padding:10px 12px;
  min-width:210px;
}
.btn {
  display:inline-block;
  border:1px solid transparent;
  border-radius:4px;
  padding:10px 17px;
  font-weight:800;
  font-size:14px;
  text-align:center;
  cursor:pointer;
}
.btn.red { background:var(--red); color:#fff; }
.btn.navy { background:var(--navy); color:#fff; }
.btn.outline { border-color:var(--navy); color:var(--navy); background:#fff; }
.btn.white { background:#fff; color:var(--navy); }
.nav {
  background:var(--navy);
  color:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.nav .wrap {
  max-width:1200px;
  margin:auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}
.nav a {
  padding:13px 18px;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  border-bottom:3px solid transparent;
}
.nav a.active, .nav a:hover {
  border-bottom-color:var(--red);
}
.hero {
  min-height:350px;
  color:#fff;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(2,25,54,.92), rgba(6,38,79,.82) 48%, rgba(11,79,134,.75)),
    radial-gradient(circle at 85% 35%, rgba(255,255,255,.18) 0 15%, transparent 16%),
    linear-gradient(135deg, #092a57, #0c6098);
}
.hero:before {
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(110deg, rgba(160,0,0,.28) 0 18%, transparent 18%),
    repeating-linear-gradient(60deg, rgba(255,255,255,.06) 0 1px, transparent 1px 60px);
  opacity:.9;
}
.hero .wrap {
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:20px;
  align-items:center;
  padding:55px 20px 70px;
  position:relative;
}
.hero h1 {
  font-size:44px;
  line-height:1.12;
  margin:0 0 18px;
  text-transform:uppercase;
}
.hero p {
  font-size:18px;
  line-height:1.55;
  max-width:650px;
  margin:0 0 25px;
}
.hero-actions {
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.hero-logo {
  width:310px;
  height:310px;
  object-fit:contain;
  margin:auto;
  display:block;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.35));
  opacity:.98;
}
.features {
  max-width:1100px;
  margin:-47px auto 0;
  padding:0 20px;
  position:relative;
  z-index:2;
}
.feature-card {
  background:#fff;
  border-radius:12px;
  box-shadow:0 8px 25px rgba(2,25,54,.18);
  display:grid;
  grid-template-columns:repeat(6,1fr);
  overflow:hidden;
  border:1px solid #e1e6ee;
}
.feature {
  text-align:center;
  padding:22px 12px;
  border-right:1px solid #d5dce6;
}
.feature:last-child { border-right:0; }
.icon {
  font-size:38px;
  color:var(--navy);
  margin-bottom:9px;
}
.feature h3 {
  margin:0 0 7px;
  font-size:14px;
  color:var(--navy);
  text-transform:uppercase;
}
.feature p {
  margin:0;
  font-size:13px;
  line-height:1.35;
}
.main {
  max-width:1200px;
  margin:0 auto;
  padding:32px 20px 0;
  display:grid;
  grid-template-columns:1.55fr .9fr;
  gap:32px;
}
.section {
  margin-bottom:28px;
  border-bottom:1px solid #e3e7ef;
  padding-bottom:24px;
}
.section h2 {
  color:var(--navy);
  text-transform:uppercase;
  margin:0 0 12px;
  font-size:25px;
}
.section p {
  font-size:15px;
  line-height:1.55;
}
.four {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  margin-top:20px;
}
.stat {
  text-align:center;
  padding:10px 12px;
  border-right:1px solid #d5dce6;
}
.stat:last-child { border-right:0; }
.stat .icon { font-size:34px; }
.stat h3 { font-size:14px; margin:0 0 7px; }
.stat p { font-size:12.5px; margin:0; }
.programs {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin-top:22px;
}
.program {
  background:#f7f8fb;
  border-radius:10px;
  text-align:center;
  padding:12px 10px 18px;
}
.badge {
  width:68px;
  height:68px;
  border-radius:50%;
  margin:-3px auto 8px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:31px;
  font-weight:800;
  background:var(--navy);
}
.program:nth-child(2) .badge { background:var(--red); }
.program:nth-child(3) .badge { background:#15935b; }
.program:nth-child(4) .badge { background:#764c9d; }
.program:nth-child(5) .badge { background:#168498; }
.program h3 { margin:0 0 4px; color:var(--navy); }
.program p { font-size:12px; margin:0 0 10px; line-height:1.35; }
.learn { color:var(--blue); font-weight:800; font-size:12px; }
.model {
  display:grid;
  grid-template-columns:1fr 30px 1fr 30px 1fr 30px 1fr;
  align-items:center;
  gap:0;
  margin-top:15px;
}
.model-box {
  min-height:175px;
  border:1px solid #9bb4ce;
  border-radius:10px;
  padding:15px 12px;
  text-align:center;
  background:#fff;
}
.model-box.red { border-color:#d79898; }
.model-box.green { border-color:#93c7aa; }
.model-box.purple { border-color:#b8a4ca; }
.arrow {
  text-align:center;
  font-size:28px;
  color:#555;
  font-weight:800;
}
.model-box h3 { margin:0 0 8px; font-size:15px; }
.model-box p { font-size:12px; margin:0; line-height:1.35; }
.formula {
  background:var(--navy);
  color:#fff;
  text-align:center;
  font-size:23px;
  font-weight:900;
  padding:8px;
  border-radius:7px;
  margin-top:0;
  letter-spacing:.5px;
}
.side-card {
  background:var(--navy);
  color:#fff;
  border-radius:9px;
  padding:22px;
  margin-bottom:22px;
  box-shadow:0 5px 18px rgba(2,25,54,.15);
}
.side-card h2 {
  margin:0 0 10px;
  text-align:center;
  color:#fff;
  font-size:24px;
  line-height:1.15;
  text-transform:uppercase;
}
.side-card p {
  text-align:center;
  margin:0 0 14px;
  line-height:1.45;
}
.objectives {
  border-top:1px solid rgba(255,255,255,.25);
  padding-top:14px;
}
.objectives h3 {
  color:var(--gold);
  text-align:center;
  margin:0 0 10px;
  text-transform:uppercase;
}
.objectives ol {
  margin:0;
  padding-left:24px;
  font-size:13px;
  line-height:1.45;
}
.pyi {
  background:#fff;
  border:2px solid var(--red);
  color:var(--ink);
  padding:0;
  overflow:hidden;
}
.pyi h2 {
  background:var(--red);
  color:#fff;
  font-size:18px;
  margin:0;
  padding:10px;
}
.pyi-body {
  padding:18px 22px;
}
.price-row {
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:center;
  margin:15px 0;
}
.price {
  width:82px;
  height:82px;
  background:var(--red);
  color:#fff;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:34px;
  font-weight:900;
}
.pyi ul {
  padding-left:21px;
  font-size:14px;
  line-height:1.55;
}
.pyi li::marker { color:var(--green); }
.mentor-box {
  background:var(--navy);
  color:#fff;
  text-align:center;
  border-radius:9px;
  padding:25px 20px;
}
.action-grid {
  max-width:1150px;
  margin:22px auto 0;
  padding:0 20px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  border:1px solid #dde3ed;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 5px 17px rgba(2,25,54,.12);
}
.action {
  padding:20px 15px;
  border-right:1px solid #dde3ed;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.action:last-child { border-right:0; }
.action .icon { font-size:31px; margin:0; }
.action h3 { font-size:13px; margin:0 0 6px; color:var(--navy); text-transform:uppercase; }
.action p { font-size:12px; margin:0 0 10px; line-height:1.35; }
.newsletter {
  max-width:1150px;
  margin:28px auto 0;
  background:var(--navy);
  color:#fff;
  border-radius:6px;
  padding:20px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.newsletter h3 { margin:0 0 4px; }
.newsletter p { margin:0; font-size:13px; }
.newsletter form {
  display:flex;
  gap:0;
  min-width:420px;
}
.newsletter input {
  flex:1;
  border:0;
  padding:13px;
  border-radius:4px 0 0 4px;
}
.newsletter button {
  border:0;
  background:var(--red);
  color:#fff;
  padding:0 18px;
  font-weight:900;
  border-radius:0 4px 4px 0;
}
.cta-band {
  margin-top:35px;
  background:var(--navy);
  color:#fff;
}
.cta-band .wrap {
  max-width:1200px;
  margin:auto;
  padding:22px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.cta-band h2 {
  font-size:20px;
  margin:0;
  text-transform:uppercase;
}
.footer {
  background:var(--deep);
  color:#fff;
  padding:28px 20px 18px;
}
.footer .wrap {
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr;
  gap:35px;
}
.footer-logo {
  width:86px;
  height:86px;
  object-fit:contain;
  float:left;
  margin-right:14px;
}
.footer h3 {
  margin:0 0 10px;
  font-size:15px;
  text-transform:uppercase;
}
.footer p, .footer a {
  font-size:13px;
  color:#e7eef9;
  line-height:1.7;
}
.footer-links {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px 22px;
}
.donate {
  background:#16824f;
  color:#fff;
  display:inline-block;
  margin-top:12px;
  padding:10px 20px;
  border-radius:4px;
  font-weight:900;
}
.copyright {
  max-width:1200px;
  margin:20px auto 0;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.15);
  display:flex;
  justify-content:space-between;
  color:#c9d3e0;
  font-size:12px;
}
@media (max-width:950px) {
  .header .wrap, .brand, .header-actions, .newsletter, .cta-band .wrap {
    flex-direction:column;
    text-align:center;
  }
  .hero .wrap, .main {
    grid-template-columns:1fr;
  }
  .feature-card, .programs, .four, .action-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .model {
    grid-template-columns:1fr;
    gap:10px;
  }
  .arrow { transform:rotate(90deg); }
  .newsletter form { min-width:0; width:100%; }
  .footer .wrap {
    grid-template-columns:1fr;
  }
}
@media (max-width:560px) {
  .brand h1 { font-size:28px; }
  .hero h1 { font-size:33px; }
  .feature-card, .programs, .four, .action-grid {
    grid-template-columns:1fr;
  }
  .feature, .action { border-right:0; border-bottom:1px solid #dde3ed; }
  .copyright { flex-direction:column; gap:8px; text-align:center; }
}
