
:root{
  --bg:#0b2438;            /* page background */
  --card:#0f3353;          /* card background */
  --stroke:#2f5fa0;        /* card border */
  --text:#e9f2fb;          /* main text */
  --muted:#bcd0e6;         /* secondary text */
  --radius:22px;
}

.hero-section {
  background: url("/static/images/targeted_projects/projects.2a635e87d1f2.webp") no-repeat center center;
  background-size: cover;
  height: 140vh;
  margin-top: 0;
  padding-top: 0;
  position: relative;
  z-index: 0;
}

.hero-section h1 {
  color: #fff;
  font-family: "Kufam", sans-serif;
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 700;
    max-width: 1300px;
}



.path-section{
    background-color: #1D1F22;
    padding: 20px;
}

.path-section div{
    max-width: 65%;
    padding: 10px var(--gap);
    margin: auto;
}

.path-section p{
    margin-top: 0;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 400;
    color: #7E8989;
}

.path-section p span{
    color: #0069B4;
}

*{box-sizing:border-box}
body{margin:0; font-family:"Cairo",system-ui,-apple-system,Segoe UI,Roboto; background: #031227; color:var(--text);}

.section{
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.section h2{
  margin: 0 0 8px;
  font-size: 44px;
  font-weight: 800;
  text-align: center;
  letter-spacing:.2px;
  font-family: "Kufam", sans-serif;
}

.section p.lead{
  margin: 0 auto 36px;
  max-width: 860px;
  font-size: 21px;
  color: var(--muted);
  text-align: center;
  font-family: "Kufam", sans-serif;
}

/* Responsive grid */
.cards{
  display:grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

/* Card */
.card{
  background: #0B366F;
  border-radius: 22px;
  padding: 18px 18px 22px;
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
}

/* Top image with rounded corners & fixed aspect */
.card__media{
  overflow:hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;        /* keeps the same shape on all screens */
  margin-bottom: 14px;
}
.card__media img{
  width:100%;
  height:100%;
  object-fit: cover;          /* crops nicely */
  display:block;
}

.card__title{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.card__text{
  margin:0;
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
}



.spacer{
    border-top: #020b18 solid 15px;
    height: 35vh;
    background-color: #031227;

    display:flex;                 /* center child */
    align-items:center;           /* vertical */
    justify-content:center;       /* horizontal */
}

.know-more-button {
    text-align: center;
    font-family: 'Cairo', sans-serif;
}

.know-more-button a {
    display: inline-block;
    padding: 10px 45px;
    background-color: #4D764A;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 20px;
    /* display: flex; */
  align-items: center; /* vertical center */
  justify-content: center; /* optional: horizontal center */
}

.know-more-button a:hover {
    background-color: rgb(50, 82, 24);
    color: #fff;
}


/* Fine-tune spacing on very small screens */
@media (max-width: 480px){
  .card{ padding:14px; }
  .cards{ gap:18px; }
}

@media (max-width:576px){
  .hero-section {
        height: 100vh;
  }
  .hero-section h1 {
    font-size: 24px;
    line-height: 35px;
    text-align: start;
  }

  .know-more-button {
    width: 75%;
  }
}