

/* ========================= */
/* SUPPORT GRID */
#support-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  width: 90%;
  margin: 40px auto;
  padding: 0 20px;
}

.support-card {
  flex: 0 0 330px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.support-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  z-index: 10;
}

.support-card:hover img {
  transform: scale(1.05) rotate(1deg);
}

.support-card h3 {
  font-size: 26px;
  margin: 10px 0;
  color: #5A1A8A;
}

.support-card p {
  font-size: 16px;
  color: #333;
  flex-grow: 1;
}

.support-card a.btn {
  margin-top: 15px;
  align-self: center;
  transition: transform 0.3s ease;
}

/* Pastel backgrounds */
.support-card:nth-child(1) { background-color: #E6F0FF; }
.support-card:nth-child(2) { background-color: #FFF4E6; }
.support-card:nth-child(3) { background-color: #F0E6FF; }
.support-card:nth-child(4) { background-color: #E6FFF4; }
.support-card:nth-child(5) { background-color: #FFF0F6; }

/* ========================= */
/* TESTIMONIALS */
.support-trust {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px;
}
.support-trust h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
.testimonial {
  background: #fff;
  border-radius: 12px;
  padding: 20px 30px;
  margin: 20px auto;
  max-width: 700px;
  font-style: italic;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  position: relative;
  transition: all 0.3s ease;
}
.testimonial::before {
  content: "“";
  font-size: 50px;
  color: #6A1B9A;
  position: absolute;
  top: -10px;
  left: 20px;
}
.testimonial:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.social-icons img {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.15) rotate(-5deg);
}

/* ========================= */
/* CTA */
.support-cta {
  background: linear-gradient(135deg, #2A5D9F, #6A1B9A);
  color: #fff;
  padding: 60px 20px;
  border-radius: 20px;
  margin: 60px auto;
  max-width: 1100px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.support-cta h2 {
  font-size: 38px;
  margin-bottom: 25px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}
.support-cta .btn {
  font-size: 20px;
  padding: 15px 30px;
  margin: 10px;
}

/* ========================= */
/* ANIMATIONS */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ========================= */
/* RESPONSIVE */
@media (max-width: 1200px) {
  #support-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .support-card {
    flex: 0 0 45%;
    margin-bottom: 20px;
  }
}
  .support-card img { height: 140px; }
.support-intro {
  position: relative; /* allows ::after to position itself inside */
}

.support-intro::before {
  content: "";
  position: absolute;
  bottom: 0; /* underline at the bottom of the section */
  left: 50%;
  width: 100vw; /* span full viewport width */
  height: 5px;
  background: linear-gradient(to right, var(--clr-blue-light), var(--clr-purple-light));
  opacity: 0.08;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 768px) {
  .hero,
  #hero-support {
    height: 35vh;
    padding: 40px 20px;
    flex-direction: column;
  }

  .hero h1,
  #hero-support h1 {
    font-size: 24px; /* readable heading */
    margin-bottom: 12px;
  }

  .hero p,
  #hero-support p {
    font-size: 14px; /* readable paragraph */
    margin-bottom: 16px;
  }

  .hero .hero-buttons .btn,
  #hero-support .hero-buttons .btn {
    font-size: 14px;
    padding: 10px 20px;
    width: 80%;
    max-width: 220px;
  }
}

/* -------------------------
   Mobile Portrait
--------------------------- */
@media (max-width: 480px) {
  .hero,
  #hero-support {
    height: 35vh;
    padding: 30px 16px;
  }

  .hero h1,
  #hero-support h1 {
    font-size: 20px;  /* slightly smaller for small screens */
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero p,
  #hero-support p {
    font-size: 12px;  /* readable paragraph */
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .hero .hero-buttons .btn,
  #hero-support .hero-buttons .btn {
    width: 85%;
    font-size: 13px;
    padding: 8px 16px;
    margin: 4px auto;
  }
}
@media (max-width: 1200px) {
  #support-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .support-card {
    flex: 0 0 45%; /* 2 cards per row on large tablets/desktops */
    margin-bottom: 20px;
  }
}

@media (max-width: 992px) {
  #support-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .support-card {
    flex: 0 0 100%; /* 1 card per row */
    max-width: 500px; /* optional: keep cards from stretching too much on big screens */
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  #support-grid {
    flex-direction: column;
    width: 100%;
    padding: 0 15px;
  }
  .support-card {
    flex: 1 1 100%;
    width: 100%;  /* full width of container */
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  #support-grid {
    padding: 0 10px;
  }
  .support-card {
    width: 100%;
    padding: 15px;
  }
  .support-card h3 {
    font-size: 18px;
  }
  .support-card p {
    font-size: 14px;
  }
  .support-card .btn {
    font-size: 14px;
    padding: 10px;
    width: 100%;
  }
}