/* ================= GLOBAL SECTION SPACING ================= */
section {
  padding: 60px 20px;
}

/* ================= HERO ================= */
.hero {
  padding: 120px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.container-box {
  max-width: 600px;
  background: rgba(255,255,255,0.9);
  padding: 30px;
}

.hero h1 {
  margin-bottom: 15px;
  line-height: normal;
}

.hero p {
  margin-bottom: 20px;
}

.home-subheader {
  position: relative;
  padding-left: 1.5rem;
}

.home-subheader::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: var(--primary);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ================= GOV ================= */
.gov {
  text-align: center;
}

.gov-title {
  margin-bottom: 40px;
}

.gov-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.gov-item h3 {
  margin-bottom: 15px;
}

.gov-item img {
  max-width: 200px;
  margin: 0 auto;
  display: block;
}

/* ================= CAPABILITY ================= */
.capability {
  background: var(--light-gray);
}

.capability-box {
  max-width: 800px;
  margin: 0 auto;
}

.capability-title {
  margin-bottom: 30px;
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.capability-item {
  text-decoration: none;
  color: #a00000;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.3s;
}

.capability-item:hover {
  color: #000;
}

/* ================= HELP (UPDATED PREMIUM UI) ================= */
.help {
  text-align: center;
}

.help-title {
  margin-bottom: 40px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
	align-items: stretch; /* 🔥 ensures equal height columns */
}

/* CARD */
.card {
  position: relative;
}

/* IMAGE */
.card img {
   width: 100%;
  aspect-ratio: 5/4; /* adjust based on design */
  object-fit: cover;
}

/* OVERLAY BOX */
.card-content {
  position: relative;
  background: var(--white);
  padding: 20px;
  width: 90%;
  margin: -60px auto 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 2;
  transition: 0.3s;
}

.card h4 {
  margin-bottom: 10px;
  color: var(--primary);
	font-size:18px;
}
.card .card-desc{
	font-size:14px;
	
}
.card a {
  text-decoration: none;
  font-weight: 500;
	color:var(--black)
}

/* HOVER */
.card:hover .card-content {
  transform: translateY(-5px);
}

/* ================= CTA ================= */
.cta {
  padding: 80px 20px;
  background: var(--light-gray);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

/* BOX */
.cta-box {
  padding: 50px 30px;
  text-align: center;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ICON */
.cta-box img {
  width: 80px;
	height:85px;
  margin-bottom: 20px;
}

/* TITLE */
.cta-box h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.cta-box .desc{
	font-size:16px;
}

.cta-box.first .desc{
	color: var(--white);
}

/* LINK */
.cta-box a {
  text-decoration: none;
  font-weight: 500;
}

/* VARIANTS */
.cta-box.first {
  background: color-mix(in srgb, var(--primary) 80%, transparent);
  color: var(--white) !important;
}

.cta-box.first a,
.cta-box.first h3{
  color: var(--white);
}

.cta-box.second {
  background: var(--white);
  color: var(--primary);
}

.cta-box.second a,
.cta-box.second h3{
  color: var(--primary);
}

/* HOVER */
.cta-box:hover {
  transform: translateY(-5px);
}

/* RESPONSIVE */
@media(max-width:768px){

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

}

/* ================= MAP ================= */

.map {
  padding: 80px 20px;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.map-image img {
  width: 100%;
  height: auto;
  display: block;
}

.map-content h2 {
  margin-bottom: 15px;
  text-align: left;
}
.map-content p {
  line-height: 1.6;
}

.map-content a{
	margin-top:20px;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media(max-width:1024px){

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gov-grid {
    grid-template-columns: 1fr;
  }

}

/* MOBILE */
@media(max-width:768px){

  .hero {
    padding: 80px 20px;
    min-height: auto;
  }

  .container-box {
    max-width: 100%;
    padding: 20px;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .card-content {
    width: 90%;
    margin-top: -50px;
    text-align: center;
  }
  .card img {
    height: 180px; /* 🔥 smaller for mobile */
  }

  .cta-grid {
    flex-direction: column;
  }

  .map-grid {
    flex-direction: column;
  }

  .capability-item {
    font-size: 16px;
    letter-spacing: 1px;
  }
	
  .map-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .map-content {
    text-align: center;
  }

}

/* SMALL MOBILE */
@media(max-width:480px){

  section {
    padding: 40px 15px;
  }

  .card-content {
    padding: 15px;
  }
	  .hero-buttons {
    flex-direction: column;
  }

}