/* FAQ Section Styles */
#faq-section {
  background-color: #F4F7FA;
  font-family: 'Open Sans', sans-serif;
  padding: 60px 0;
  margin-bottom: 3rem;
}

#faq-section .accordion {
  width: 80%;
  margin: 0 auto;
}

#faq-section .accordion-item {
  border: none;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
}

#faq-section .accordion-button {
  font-size: 18px;
  font-weight: 500;
  padding: 20px;
  background-color: #fff;
  color: #000;
  box-shadow: none;
  position: relative;
  padding-right: 60px;
  text-align: left;
  white-space: normal;
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  content: '';
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #00B1D2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50% 50%;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

#faq-section .accordion-body {
  padding: 20px 25px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

/* Header background and overlay */
.header-background {
  background: url('https://image.email.aamc.org/lib/fe8e13727c63047f73/m/1/b274ee89-0d76-4889-b474-2c414301c1ce.jpg') no-repeat right center;
  background-size: contain;
  background-color: #f9f9f9;
  min-height: 350px;
  width: 100%;
  position: relative;
  z-index: 0;
}



.header-background-overlay {
  background-image: linear-gradient(to right, rgba(249, 249, 249, 0.95), rgba(249, 249, 249, 0.9));
  min-height: 350px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  flex-direction: column;
  padding: 2rem 0;
  z-index: 1;
  position: relative;
}

.header-background-overlay .container {
  padding-top: 60px;
  padding-bottom: 0px;
}

/* Logo row */
.logo-row-container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.logo-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.header-logo-img,
.partner-logo,
.aamc-logo {
  max-height: 60px;
  height: auto;
  width: auto;
  object-fit: contain;
}

.logo-thumbnail {
  max-height: 213px;
  max-width: 165px;
  width: auto;
  height: auto;
}
.about-logo {
  max-width: 180px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
  margin: 1rem auto;
}


/* Buttons */
.sc-button,
.report-button {
  background-color: #2e3192;
  color: #ffffff !important;
  border: none;
  padding: 12px 24px;
  font-family: Chivo, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.report-button:hover {
  background-color: #1f226c;
  text-decoration: none;
}

/* Links */
a {
  color: #00B1D2;
  font-weight: bold;
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

/* Section Heading */
.section-heading__bar {
  background-color: #1769B2;
  padding: 0.75rem 1rem;
}

.section-heading__title {
  color: #ffffff;
  margin: 0;
}

/* Paragraph */
p {
  margin-bottom: 5px;
  color: #000000 !important;
}
.footerlogo__aamc-logoimg img,
.footerlogo-img {
  max-height: 60px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

.footerlogo__title {
  display: none; /* Hide fallback text unless explicitly needed */
}
.header-background h1 {
  font-size: 2.25rem; /* ~36px */
  font-family: Chivo, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #22355a;
  margin: 0.5rem 0;
  text-align: center;
}

/* Responsive image behavior */
@media (max-width: 576px) {
  .logo-row {
    justify-content: center;
    gap: 1rem;
  }

  .header-logo-img,
  .partner-logo,
  .aamc-logo {
    max-height: 70px;
    height: auto;
    width: auto;
    object-fit: contain;
    margin: 0.5rem;
  }

  .header-background-overlay {
    background-image: linear-gradient(to bottom, rgba(249, 249, 249, 0.95), rgba(249, 249, 249, 0.9));
    text-align: center;
    align-items: center;
    padding: 2rem 1rem;
  }

.accordion-button {
  padding-right: 3.5rem !important; /* More space before the arrow */
  white-space: normal; /* Allows wrapping */
  line-height: 1.4; /* Improves readability */
}
.header-background h1 {
  font-size: 2rem; /* Increase for bigger impact, try 2.5rem if needed */
  font-weight: 700;
  margin-bottom: 0.5rem; /* Reduces space below the header */
}

}
