/* =========================================
   Contact Page - Main Section
   ========================================= */

.contact-main {
  width: 100%;
  overflow: hidden;
  color: #333;
  background: #fff;
}

/* Top / Bottom Images */

.contact-top-image,
.contact-bottom-image {
  width: 100%;
  background-color: #b31f24;
  line-height: 0;
}

.contact-top-image img,
.contact-bottom-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact Information */

.contact-info-section {
  padding: 55px 0 75px;
}

.contact-divider {
  width: 100%;
  height: 1px;
  background: #ddd;
  margin-bottom: 25px;
}

.contact-section-title {
  margin: 0 0 45px;
  color: #333;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}

.contact-map {
  width: 100%;
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 450px;
  border: 0;
}

.contact-details h3 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.4;
  font-weight: 700;
}

.contact-details p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}

.contact-red-link {
  color: #b31f24;
  text-decoration: none;
}

.contact-red-link:hover {
  color: #8f181d;
  text-decoration: underline;
}

.faq-title {
  margin: 40px 0 18px;
  font-size: 27px;
  font-weight: 700;
}

.contact-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
}

.contact-accordion .accordion-item:first-child {
  border-top: 1px solid #ddd;
}

.contact-accordion .accordion-button {
  padding: 18px 0;
  color: #333;
  background: #fff;
  box-shadow: none;
  font-size: 17px;
  font-weight: 600;
}

.contact-accordion .accordion-button:not(.collapsed) {
  color: #b31f24;
  background: #fff;
  box-shadow: none;
}

.contact-accordion .accordion-button::after {
  background-size: 15px;
}

.contact-accordion .accordion-body {
  padding: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
}

.contact-accordion .accordion-body p {
  margin-bottom: 8px;
}

/* Send Message */

.contact-message-section {
  padding: 65px 0 75px;
  background: #f8f8f8;
}

.contact-center-title {
  text-align: center;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 15px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  display: block;
  padding: 15px 16px;
  border: 1px solid #d5d5d5;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input {
  min-height: 54px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b31f24;
  box-shadow: 0 0 0 3px rgba(179, 31, 36, 0.08);
}

.contact-submit {
  display: inline-block;
  padding: 13px 32px;
  border: 2px solid #b31f24;
  border-radius: 0;
  background: #b31f24;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-submit:hover {
  background: #8f181d;
  border-color: #8f181d;
}

/* Donate CTA */

.contact-donate-section {
  padding: 55px 0;
  background:
    linear-gradient(rgba(20, 20, 20, 0.88), rgba(20, 20, 20, 0.88)),
    url("https://www.mybrothers-keepers.org/wp-content/uploads/2021/01/food-bank_56.png")
    center / cover no-repeat;
}

.contact-donate-section h1 {
  margin: 0 0 25px;
  color: #fff;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}

.contact-donate-section h1 span {
  color: #b31f24;
}

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

.contact-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-social a:hover {
  background: #b31f24;
  border-color: #b31f24;
}

.contact-donate-btn {
  display: inline-block;
  padding: 14px 30px;
  border: 2px solid #fff;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-donate-btn:hover {
  background: #b31f24;
  border-color: #b31f24;
  color: #fff;
}
/* Donate Property - Middle Section Only */

.dp-page {
  --dp-red: #b31f24;
  --dp-dark: #222;
  --dp-light: #f7f7f7;
  --dp-border: #ddd;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  overflow: hidden;
}

.dp-page *,
.dp-page *::before,
.dp-page *::after {
  box-sizing: border-box;
}

.dp-page h1,
.dp-page h2,
.dp-page h3,
.dp-page h4,
.dp-page h5 {
  color: var(--dp-dark);
  line-height: 1.25;
  margin-top: 0;
}

.dp-page h2 {
  font-size: 32px;
  margin-bottom: 22px;
}

.dp-page h3 {
  font-size: 25px;
  margin-bottom: 18px;
}

.dp-page p {
  margin-bottom: 20px;
}

.dp-page a {
  color: var(--dp-red);
  text-decoration: none;
}

.dp-page a:hover {
  color: #8e181c;
}

.dp-top-image,
.dp-bottom-image {
  width: 100%;
  line-height: 0;
}

.dp-top-image img,
.dp-bottom-image img {
  width: 100%;
  height: auto;
  background-color: var(--dp-red);
  display: block;
}

.dp-section {
  padding: 75px 0;
}

.dp-intro {
  background: #fff;
}

.dp-divider {
  width: 70px;
  height: 4px;
  background: var(--dp-red);
  margin-bottom: 25px;
}

.dp-intro h2 + h2 {
  font-size: 25px;
  font-weight: 500;
}

.dp-cta-card {
  background: var(--dp-red);
  padding: 42px 30px;
  text-align: center;
  border: 1px solid var(--dp-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dp-cta-card h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 25px;
}

.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 25px;
  border: 2px solid var(--dp-red);
  font-weight: 700;
  transition: all 0.25s ease;
}

.dp-btn-light {
  background: #fff;
  color: var(--dp-red) !important;
}

.dp-btn-light:hover {
  background: #f1f1f1;
  color: #8e181c !important;
}

.dp-btn-outline {
  background: #fff;
  color: var(--dp-red) !important;
}

.dp-btn-outline:hover {
  background: var(--dp-red);
  color: #fff !important;
}

.dp-content {
  padding-top: 30px;
}

.dp-main-content {
  font-size: 16px;
}

.dp-main-content ul {
  padding-left: 22px;
  margin-bottom: 25px;
}

.dp-main-content li {
  margin-bottom: 13px;
}

.dp-step-box {
  margin: 35px 0;
  padding: 30px;
  border-left: 5px solid var(--dp-red);
  background: #fafafa;
}

.dp-step-box h3 {
  color: var(--dp-red);
}

.dp-step-box strong span {
  color: var(--dp-red);
}

.dp-info-block {
  margin-top: 40px;
}

.dp-info-block h3 {
  color: var(--dp-red);
}

.dp-question {
  margin: 40px 0;
  padding: 25px 30px;
  border: 1px solid var(--dp-border);
  border-left: 5px solid var(--dp-red);
}

.dp-question h3 {
  margin-bottom: 10px;
}

.dp-faq {
  position: sticky;
  top: 25px;
}

.dp-faq > h3 {
  color: var(--dp-red);
  margin-bottom: 20px;
}

.dp-faq-item {
  border-bottom: 1px solid var(--dp-border);
  background: #fff;
}

.dp-faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 17px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 17px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
}

.dp-faq-question i {
  color: var(--dp-red);
  min-width: 18px;
}

.dp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 15px;
}

.dp-faq-answer p {
  margin: 0 0 18px;
}

.dp-faq-item.active .dp-faq-question {
  color: var(--dp-red);
}

.dp-resources {
  margin-top: 45px;
}

.dp-resources h3 {
  color: var(--dp-red);
  margin-bottom: 15px;
}

.dp-resource-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--dp-border);
  color: #333 !important;
  transition: 0.25s ease;
}

.dp-resource-item i {
  color: var(--dp-red);
}

.dp-resource-item:hover {
  border-color: var(--dp-red);
  color: var(--dp-red) !important;
}

.dp-donate-cta {
  background: #242424;
  padding: 50px 0;
}

.dp-donate-cta h1 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 22px;
}

.dp-donate-cta h1 span {
  color: var(--dp-red);
  font-style: italic;
}

.dp-socials {
  display: flex;
  gap: 12px;
}

.dp-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  color: #fff;
  transition: 0.25s ease;
}

.dp-socials a:hover {
  background: var(--dp-red);
  border-color: var(--dp-red);
  color: #fff;
}

@media (max-width: 991.98px) {
  .dp-section {
    padding: 55px 0;
  }

  .dp-faq {
    position: static;
  }

  .dp-intro h2 {
    font-size: 29px;
  }

  .dp-donate-cta h1 {
    font-size: 32px;
  }
}

@media (max-width: 575.98px) {
  .dp-section {
    padding: 40px 0;
  }

  .dp-page h2 {
    font-size: 26px;
  }

  .dp-page h3 {
    font-size: 22px;
  }

  .dp-cta-card {
    padding: 30px 20px;
  }

  .dp-step-box,
  .dp-question {
    padding: 22px 18px;
  }

  .dp-faq-question {
    font-size: 15px;
  }

  .dp-donate-cta h1 {
    font-size: 27px;
  }
}

/* Responsive */

@media (max-width: 991.98px) {

  .contact-info-section {
    padding: 50px 0 60px;
  }

  .contact-section-title {
    font-size: 32px;
  }

  .contact-map iframe {
    min-height: 400px;
  }

  .contact-details {
    margin-top: 5px;
  }

  .contact-donate-section h1 {
    font-size: 36px;
  }
}

@media (max-width: 767.98px) {

  .contact-info-section {
    padding: 40px 0 50px;
  }

  .contact-message-section {
    padding: 45px 0 55px;
  }

  .contact-section-title {
    font-size: 29px;
    margin-bottom: 30px;
  }

  .contact-map iframe {
    min-height: 350px;
  }

  .contact-details h3 {
    font-size: 23px;
  }

  .faq-title {
    font-size: 24px;
    margin-top: 30px;
  }

  .contact-donate-section {
    padding: 45px 0;
  }

  .contact-donate-section h1 {
    font-size: 30px;
  }

  .contact-donate-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {

  .contact-section-title {
    font-size: 27px;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-donate-section h1 {
    font-size: 27px;
  }
}
