/* =========================================================
   I CARE AMERICA - CUSTOM CSS
   Bootstrap handles the grid/responsive system.
   This file handles the visual design and image positioning.
========================================================= */

:root {
  --icare-red: #b31f24;
  --icare-dark: #252525;
  --icare-light: #f7f7f5;
  --icare-border: #e7e7e7;
  --icare-text: #333;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--icare-text);
  background: #fff;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

/* ================= TOP BAR ================= */

.icare-topbar {
  background: #222;
  color: #fff;
  min-height: 36px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.icare-topbar a {
  color: #fff;
  transition: .25s ease;
}

.icare-topbar a:hover {
  color: var(--icare-red);
}

/* ================= NAVBAR ================= */

.icare-navbar {
  background: #fff;
  min-height: 82px;
  border-bottom: 1px solid #eee;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.icare-logo {
  width: 215px;
  height: auto;
  object-fit: contain;
}

.icare-navbar .navbar-nav {
  gap: 4px;
}

.icare-navbar .nav-link {
  color: #222;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 13px !important;
  position: relative;
  transition: .25s ease;
}

.icare-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--icare-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: .25s ease;
}

.icare-navbar .nav-link:hover,
.icare-navbar .nav-link.active {
  color: var(--icare-red);
}

.icare-navbar .nav-link:hover::after,
.icare-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.icare-navbar .donate-nav {
  background: var(--icare-red);
  color: #fff !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  border-radius: 3px;
}

.icare-navbar .donate-nav::after {
  display: none;
}

.icare-navbar .donate-nav:hover {
  background: #8f171b;
  color: #fff !important;
}

.navbar-toggler {
  border: 0;
  color: var(--icare-red);
  font-size: 25px;
  box-shadow: none !important;
}

/* ================= GENERAL ================= */

.icare-btn {
  background: var(--icare-red);
  color: #fff;
  border: 2px solid var(--icare-red);
  border-radius: 2px;
  padding: 12px 25px;
  font-weight: 700;
  transition: all .25s ease;
}

.icare-btn:hover {
  background: #fff;
  color: var(--icare-red);
  border-color: var(--icare-red);
  transform: translateY(-2px);
}

.light-btn {
  background: #fff;
  color: var(--icare-red);
  border-color: #fff;
}

.light-btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.section-heading {
  text-align: center;
  margin-bottom: 55px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 45px);
  font-weight: 700;
  margin: 0;
}

.section-heading h2 span,
.hero-content h1 span,
.property-section h2 span,
.impact-content h2 span,
.bottom-cta h2 span {
  color: var(--icare-red);
}

/* ================= HERO ================= */

.hero-section {
  background: #fff;
}

.hero-image-wrap {
  width: 30%;
  overflow: hidden;
  margin-bottom: 55px;
}

.hero-image {
  width: 100%;
  max-height: auto;
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  min-height: 250px;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 25px;
}

.hero-content p {
  max-width: 900px;
  font-size:20px;
  margin-bottom: 28px;
}

/* ================= INVOLVED ================= */

.hero-section {
  background-image: url("./food-bank_38.jpg");
  position: relative;
  overflow: hidden;
}
.hero-section-2 {
  background-image: url("./food-bank_43.jpg");
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(179, 31, 36, .12);
  right: -80px;
  bottom: -100px;
}

.hero-section h2 {
  font-size: 45px;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero-section p {
  max-width: 650px;
  margin-bottom: 28px;
}
.stats-box-l{
  background: black;
  color: #fff;
  height: 420px;
  text-align: center;
    display: flex;
    padding: 0px 30px;
  flex-direction: column;
  justify-content: center;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--icare-red);
}

.stat-box {
  text-align: center;
  padding: 25px 12px;
  border: 1px solid rgba(255,255,255,.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  color: var(--icare-red);
  font-size: clamp(35px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 15px;
}

.stat-number span {
  font-size: .7em;
}

.stat-box h6 {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ================= HELP ================= */

.help-section {
  background: var(--icare-red);
  color: #fff;
  padding: 90px 0;
}

.help-section .section-heading {
  margin-bottom: 60px;
}

.help-card {
  text-align: center;
  height: 100%;
  padding: 25px 20px;
  border: 1px solid rgba(255,255,255,.22);
  transition: .3s ease;
}

.help-card:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,.07);
}

.help-card img {
  width: 157px;
  height: 155px;
  object-fit: contain;
  margin: 0 auto 22px;
}

.help-card h5 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}

.help-card p {
  margin: 0;
  font-size: 15px;
}

/* ================= PROPERTY ================= */

.property-section {
 
  padding: 100px 0;
  background-color:black;
  color:#fff; 
}

.property-section h2 {
  font-size: clamp(30px, 4vw, 48px);
  max-width: 950px;
  margin: 0 auto 30px;
  font-weight: 700;
}

/* ================= MISSION ================= */

.mission-section {
  padding-bottom: 100px;
}

.wide-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
}

.mission-content {
  padding-top: 75px;
}

.red-label {
  color: var(--icare-red);
  font-weight: 800;
  margin-bottom: 8px;
}

.mission-content h2 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.15;
  margin-bottom: 40px;
  font-weight: 700;
}

.mission-text h4 {
  font-size: 24px;
  margin-top: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

.mission-text p {
  margin-bottom: 25px;
}

.mission-photo {
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.mission-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

/* ================= IMPACT ================= */

.impact-section {
  padding: 90px 0;
  background: #f8f8f8;
}

.impact-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
}

.impact-content {
  padding: 20px 10px;
}

.red-line {
  width: 60px;
  height: 4px;
  background: var(--icare-red);
  margin-bottom: 25px;
}

.impact-content h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ================= PARTNERS ================= */

.partners-section {
  padding: 90px 0;
  background: #fff;
}

.dark-heading h2 {
  color: #222;
}

.partner-row {
  align-items: center;
}

.partner-logo {
  height: 105px;
  padding: 15px;
  border: 1px solid var(--icare-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s ease;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.partner-logo img {
  width: 170px;
  height: 75px;
  object-fit: contain;
}

/* ================= BOTTOM CTA ================= */

.bottom-cta {
  background: #f4f4f4;
  padding: 70px 0;
  border-top: 1px solid #ddd;
}

.bottom-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
}

/* =========================================
   WIDE IMAGE
========================================= */
.custom-btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--icare-red);
    color: #ffffff !important;
    border-radius: 3px;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s ease;
}

.custom-btn:hover {
    background: #8e171b;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.wide-image-section {
    width: 100%;
}

.wide-image-section img {
    width: 100%;
    height: auto;
}


.donation-section {
    background: black;
    color: #ffffff;
}

.donation-section h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.donation-section h1 span {
    color: var(--icare-red);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: var(--icare-red);
    border-color: var(--icare-red);
    color: #ffffff;
}

/* ================= FOOTER ================= */

.icare-footer {
  background: #222;
  color: #fff;
  padding: 25px 0;
  text-align: center;
  font-size: 14px;
}

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

@media (max-width: 1199.98px) {
  .icare-navbar .nav-link {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 13px;
  }

  .icare-navbar .nav-link::after {
    left: 9px;
    right: 9px;
  }

  .stats-grid {
    gap: 10px;
  }
}

@media (max-width: 991.98px) {
  .icare-navbar {
    min-height: 75px;
  }

  .icare-logo {
    width: 190px;
  }

  .icare-navbar .navbar-nav {
    padding: 20px 0 10px;
    gap: 0;
  }

  .icare-navbar .nav-link {
    padding: 11px 0 !important;
    border-bottom: 1px solid #eee;
  }

  .icare-navbar .nav-link::after {
    display: none;
  }

  .icare-navbar .donate-nav {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px !important;
  }

  .hero-section {
    padding-top: 25px;
  }

  .hero-image {
    max-height: 450px;
  }

  .stats-grid {
    margin-top: 15px;
  }

  .mission-photo img {
    height: 450px;
  }
}

@media (max-width: 767.98px) {
  .icare-topbar {
    font-size: 12px;
    padding: 7px 0;
  }

  .icare-topbar .justify-content-end {
    justify-content: center !important;
  }

  .hero-section {
    padding-bottom: 55px;
  }

  .hero-image-wrap {
    margin-bottom: 35px;
  }

  .hero-image {
    height: 330px;
    object-fit: cover;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-section,
  .help-section,
  .partners-section {
    padding: 65px 0;
  }

  .hero-section h2 {
    font-size: 38px;
  }

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

  .stat-box {
    min-height: 150px;
  }

  .property-section {
    padding: 70px 0;
  }

  .wide-image {
    height: 180px;
  }

  .mission-content {
    padding-top: 50px;
  }

  .mission-photo img {
    height: 360px;
  }

  .impact-section {
    padding: 65px 0;
  }

  .impact-image {
    height: 350px;
  }

  .bottom-cta {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .icare-logo {
    width: 165px;
  }

  .hero-image {
    height: 250px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .help-card img {
    width: 135px;
    height: 135px;
  }

  .wide-image {
    height: 140px;
  }

  .mission-content h2 {
    font-size: 34px;
  }

  .mission-photo img {
    height: 300px;
  }

  .impact-image {
    height: 280px;
  }

  .partner-logo {
    height: 90px;
  }

  .partner-logo img {
    max-height: 65px;
  }
}
