/* =======================================
   NGO OUR PROJECTS PAGE - CUSTOM STYLES
   File: css/projects_style.css
   ======================================= */

/* Hero Section Styling */
.hero.overlay {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  position: relative;
}
.hero.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.48);
  z-index: 0;
}
.hero .container, .hero .row, .hero .heading, .hero p { z-index: 1; position: relative; }
.hero .heading {
  font-weight: 700;
  font-size: 2.5rem;
  color: #111111 !important;
}
.hero p {
  max-width: 650px;
  margin: auto;
  font-size: 1.2rem;
  color: #111111 !important;
}

/* Main Section Title */
.section .heading {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111111;
  font-family: "Work Sans", "Roboto", sans-serif;
}

/* Project Card Styling */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  width: 100%;
  height: auto;
}
.activity-card {
  overflow: hidden;
}
.activity-card .sdg-static {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}
.activity-card .card-body {
  display: flex;
  flex-direction: column;
}
.activity-card .btn {
  margin-top: auto;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(198,31,40,0.16);
}
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111111;
}
.card-text {
  font-size: 0.95rem;
  color: #111111;
}
.card .btn {
  margin-top: 12px;
  border-radius: 50px;
  padding: 6px 16px;
  font-weight: 500;
}

/* Brand Button Coloring */
.btn-outline-primary {
  border-color: var(--bs-primary, #c61f28);
  color: var(--bs-primary, #c61f28);
  font-weight: 500;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--bs-primary, #c61f28);
  color: #fff;
  border-color: var(--bs-primary, #c61f28);
  box-shadow: 0 2px 8px rgba(198,31,40,0.2);
}

/* Footer Consistency */
.site-footer {
  background: #fff;
  color: #111111;
  padding: 60px 0 50px;
  font-size: 1rem;
}
.site-footer h3 {
  color: #111111;
  margin-bottom: 18px;
}
.site-footer a {
  color: #111111;
  transition: color 0.2s;
  text-decoration: underline;
}
.site-footer a:hover {
  color: var(--bs-primary, #c61f28);
}
.site-footer .social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary, #c61f28);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  margin-right: 8px;
  text-decoration: none;
}
.site-footer .social a:hover {
  background: #991920;
}

/* Responsive - Mobile Tweaks */
@media (max-width: 991px) {
  .hero .heading { font-size: 2rem; }
  .section .heading { font-size: 28px; }
  .card-title { font-size: 1.05rem; }
}

@media (max-width: 767px) {
  .section .heading { font-size: 22px; }
  .hero.overlay { min-height: 250px; }
}
