@import url("./components/config.css");

/* Hero section */
/* Hero section */
.hero-section {
  min-height: 720px;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.8) 40%,
      rgba(255, 255, 255, 0.5) 60%,
      rgba(255, 255, 255, 0.25) 65%,
      rgba(255, 255, 255, 0.08) 82%,
      rgba(255, 255, 255, 0) 100%),
    url("/images/hero_banner 1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  width: 100%;
}

.hero-content {
  max-width: 750px;
  padding-block: 90px;
  position: relative;
  margin-top: -150px;
}

.hero-content h1 {
  font-size: var(--super-title-font-size);
  font-weight: var(--super-title-font-weight);
  line-height: var(--super-title-line-height);
  margin-bottom: var(--title-margin-bottom);
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;

}

.hero-content h1 span {
  display: block;
  color: var(--primary-color);
}



.hero-content p {
  max-width: 650px;
  font-size: var(--text-font-size);
  line-height: var(--text-line-height);
  margin-bottom: 34px;
  color: var(--text-color);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
}


/*  trust bar */
.hero-trust {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 85%;
  background: white;
  padding: 25px var(--main-padding);
  border-radius: 20px;
  z-index: 11;
  max-width: 1450px;
  box-shadow: 1px 1px 10px #00000026;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.trust-item i {
  color: var(--primary-color);
  font-size: 25px;
  margin-right: 10px;
}

.trust-item .divider {
  width: 1px;
  height: 38px;
  background: #d1d5db;
}

.trust-item h4 {
  font-size: 24px;
  font-weight: var(--title-font-weight);
  margin-bottom: 4px;
}

.trust-item p {
  font-size: var(--text-font-size);
  line-height: 1.3;
  margin: 0;
  color: var(--text-color);
}

/* about us */
.about-section {
  padding: 60px 0;
  background: var(--white);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
}

.about-content {
  max-width: 560px;
}

.about-content a.btn {
  display: inline-block;
}

.section-label {
  display: block;
  color: var(--primary-color);
  font-size: var(--super-title-font-size);
  font-weight: 400;
  line-height: var(--super-title-line-height);
  margin-bottom: var(--title-margin-bottom);
  font-weight: var(--super-title-font-weight);
  font-family: "Montserrat", sans-serif;

}

.title-line {
  width: 72px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 30px;
  margin-bottom: var(--title-line-margin-bottom);
}

.about-content p {
  font-size: var(--text-font-size);
  line-height: var(--text-line-height);
  color: var(--text-color);
  margin-bottom: 26px;
}

.about-image {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.about-image img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* slider */
.program-slider-section {
  position: relative;
  background: #eefafa;
  overflow: hidden;
}

.programSwiper {
  width: 100%;
  min-height: 520px;
  position: relative;
}

.programSwiper .swiper-wrapper,
.programSwiper .swiper-slide {
  min-height: 520px;
}

.program-slide {
  display: flex;
  align-items: center;
}

.program-slide-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 55px;
}

.programs-slider-header {
  max-width: 520px;
}

.programs-slider-header h2 {
  font-weight: var(--super-title-font-weight);
  font-size: var(--super-title-font-size);
  line-height: var(--super-title-line-height);
  margin-bottom: var(--title-margin-bottom);
  margin-top: -36px;
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;

}

.title-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 20px;
  margin-bottom: 25px;
}

.programs-slider-header p {
  font-size: var(--text-font-size);
  line-height: var(--text-line-height);
  margin-bottom: 35px;
  color: var(--text-color);
}

.programs-slider-header a.btn {
  display: inline-block;
}

.program-image-card {
  height: 360px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Swiper arrows */

.program-prev,
.program-next {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  color: var(--white) !important;
}

.program-prev svg,
.program-next svg {
  width: 12px;
  height: 40px;
}

.program-prev {
  left: 35px;
}

.program-next {
  right: 35px;
}

.program-pagination {
  bottom: 18px !important;
}

.program-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* WAYS TO HELP */
.ways-section {
  padding: 80px 0;
  background: #ffffff;
}

.section-header {
  margin-bottom: 34px;
}

.section-header h2 {
  font-size: var(--super-title-font-size);
  font-weight: var(--super-title-font-weight);
  color: var(--primary-color);
  font-family: "Montserrat", sans-serif;

  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-color);
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.donate-card {
  background-image: url("/images/donate.png");
}

.help-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: 0.45s;
}

.help-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(15, 118, 110, 0.18);
}

.help-content {
  padding: 34px 30px;
}

.help-icon {
  width: 76px;
  height: 76px;
  border: 2px solid #bde7e4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0f8f89;
  font-size: 30px;
  margin-bottom: 20px;
}

.help-content h3 {
  font-size: var(--title-font-size);
  font-weight: var(--title-font-weight);
  color: #0f766e;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.help-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-color);

  margin-bottom: 26px;
  width: 50%;
}

.help-image {
  overflow: hidden;
}

.help-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.help-card:hover .help-image img {
  transform: scale(1.06);
}

/* FINAL CTA */
.final-cta {
  padding: 34px 0;
  background: linear-gradient(135deg, #0f8f89, #05757a);
}

.final-cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta-text h2 {
  color: #ffffff;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.final-cta-text p {
  color: #e9ffff;
  font-size: 17px;
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.final-cta-actions .cta-volunteer-btn {
  border: 1px solid white;
  color: white;
}

.final-cta-actions .cta-donation-btn {
  background: white;
  color: var(--primary-color);
}

.final-cta-actions .cta-volunteer-btn:hover {
  transform: translateY(-2px);
}

.final-cta-actions .cta-donation-btn:hover {
  background: white;
}

/* Responsive */
@media (min-width: 1400px) {
  .programSwiper {
    min-height: auto;
    height: auto;
  }
}

@media (max-width: 1200px) {
  .hero-section {
    min-height: 650px;
  }

  .hero-trust {
    gap: 22px;
  }
}

@media (max-width: 992px) {
  .hero-section {
    background:
      linear-gradient(90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.88) 55%,
        rgba(255, 255, 255, 0.4) 100%),
      url("/images/ipad/hero_banner.png");
    background-position: center center;
    background-size: cover;
  }

  .hero-content {
    margin-top: 0px;
    max-width: none;
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero-buttons {
    margin-bottom: 45px;
  }

  /* about */
  .about-content {
    max-width: none;
    order: -1;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 380px;
  }

  /* slider */
  .program-slider-section {
    padding-block: 30px;
  }

  .programSwiper,
  .programSwiper .swiper-wrapper,
  .programSwiper .swiper-slide {
    min-height: 560px;
  }

  .program-slide-content {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 70px;
    max-width: 600px;
  }

  .programs-slider-header {
    max-width: none;
    width: 90%;
    margin: 0 auto;
  }

  .program-image-card {
    margin: 0 auto;
    width: 90%;
    /* height: 320px; */
  }

  .program-overlay {
    background: linear-gradient(90deg,
        rgba(238, 250, 250, 0.97) 0%,
        rgba(238, 250, 250, 0.88) 55%,
        rgba(238, 250, 250, 0.45) 100%);
  }

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

  .donate-card {
    background-image: url("/images/ipad/donate.png");
  }

  .final-cta-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    background:
      linear-gradient(90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.88) 55%,
        rgba(255, 255, 255, 0.4) 100%),
      url("/images/mobile/hero_banner.png") center cover;
  }

  .hero-content {
    padding-block: 70px;
    max-width: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    padding-block: 15px;
  }

  .hero-trust {
    width: 100%;
    box-shadow: none;
  }

  /* about */

  .about-section {
    padding: 30px 0 60px 0;
  }

  .about-image img {
    height: 280px;
  }

  /* slider */
  .programSwiper,
  .programSwiper .swiper-wrapper,
  .programSwiper .swiper-slide {
    min-height: 650px;
  }

  .program-slide {
    background-position: center;
  }

  .program-overlay {
    background: rgba(238, 250, 250, 0.9);
  }

  .program-slide-content {
    max-width: 100%;
  }

  .program-prev,
  .program-next {
    display: none;
  }

  .ways-section {
    padding: 60px 0;
  }

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

  .help-image {
    height: 240px;
  }

  .final-cta-actions {
    width: 100%;
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-section {
    background-color: rgba(255, 255, 255, 0.692);
    background-blend-mode: overlay;
  }

  .hero-content {
    padding-block: 55px;
  }

  .hero-content h1 {
    font-size: var(--super-title-font-size);
    font-family: "Montserrat", sans-serif;

  }

  .hero-content p {
    font-size: var(--text-font-size);
  }

  .hero-trust {
    padding-block: 52px;
    background: var(--gray-color);
  }

  .trust-item {
    align-items: flex-start;
  }

  .about-section {
    padding-block: 16px;
  }

  .about-content a.btn {
    width: 100%;
    text-align: center;
  }

  .programs-slider-header {
    width: 100%;
  }

  .program-image-card {
    height: auto;
  }

  .program-prev,
  .program-next {
    display: none;
  }

  .help-content {
    background-color: #ffffffce;
  }

  .help-content p {
    width: 100%;
  }

  .way-btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  .way-btn i {
    display: none;
  }
}