:root {
  --dark-blue: #1b293c;
  --light-blue: #eef8fe;
}

#about-page-container {
  padding: 24px 0;
  background-color: #f6fafc;
}
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--dark-blue, inherit);
  background-color: #eef8fe;
  border-left: 0.25rem solid #0978fc;
}

/* Responsive Grid Layout */
.section-title {
  color: var(--dark-blue, inherit);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
}
.primary-goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.goal-card {
  display: flex;
  flex-direction: column;
  padding: 30px 24px 24px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  position: relative;
}
.goal-card .card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 16px;
}
.goal-card .card-icon img {
  width: 40px;
}
.goal-card .card-icon.card-icon-1 {
  background-color: #e9edfe;
}
.goal-card .card-icon.card-icon-2 {
  background-color: #f1eafc;
}
.goal-card .card-icon.card-icon-3 {
  background-color: #e6f4f4;
}
.goal-card .card-icon.card-icon-4 {
  background-color: #e4f2ff;
}

.goal-card:before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 0.5rem 0.5rem 0 0;
}
.goal-card.card-1:before {
  background-color: #1e30d1;
}
.goal-card.card-2:before {
  background-color: #7131ce;
}
.goal-card.card-3:before {
  background-color: #22a0b3;
}
.goal-card.card-4:before {
  background-color: #2576de;
}
.goal-card .card-title {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0458c0;
}
.goal-card p {
  margin: 0;
  line-height: 1.5;
}

/* Responsive: 2 columns for screens 768px and below */
@media (max-width: 1024px) {
  .primary-goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .primary-goals-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Tools and Services Grid Layout */
.tool-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.tool-card {
  display: flex;
  padding: 16px 24px 16px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  position: relative;
  align-items: center;
  min-height: 140px;
  text-decoration: none;
  color: var(--bs-body-color);
}
.tool-card:hover {
  text-decoration: none;
  color: var(--bs-body-color);
}
.tool-card-icon {
  width: 80px;
  margin-right: 16px;
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
}
.tool-card-info {
  height: 100%;
  border-left: 1px solid #cccccc;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tool-card .card-title {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0458c0;
}
.tool-card p {
  margin: 0;
  line-height: 1.5;
}
.about-tool-card-list {
  padding-left: 15px;
}

/* Responsive: 1 column for screens 640px and below */
@media (max-width: 1024px) {
  .tool-card-grid {
    grid-template-columns: 1fr;
  }
}

/* faqs start */
/* accordion styles start */
.accordion-container {
  width: 100%;
  margin-bottom: 32px;
}

.accordion-container .controls {
  margin-bottom: 16px;
  text-align: right;
}
.btn-accordion-toggle {
  min-width: 145px;
}
.accordion-item {
  background-color: #fff;
  border: 1px solid #ddd;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 0.5rem;
}
.accordion-item.active .accordion-header {
  color: #107bd2;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  color: var(--dark-blue, inherit);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background-color: #f7fbff;
}

.accordion-header img {
  width: 24px;
  height: 24px;
}

.accordion-header:hover {
  background-color: #f1f1f1;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 18px;
  font-weight: bold;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.accordion-header:focus-visible .icon {
  box-shadow: 0 0 0 0.2rem rgba(49, 132, 253, 0.5);
}

.accordion-header .icon {
  color: #0675e1;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease-out,
    padding 0.3s ease-out;
  padding: 0 16px;
}

.accordion-section-container {
  position: relative;
  padding: 32px;
  background-color: #f6fafc;
  border-radius: 0.5rem;
  margin-bottom: 32px;
}
.accordion-section-title {
  position: absolute;
  color: #0675e1;
  font-weight: 700;
  font-size: 24px;
  top: 32px;
  left: 32px;
}

.accordion-item.active .accordion-content {
  padding: 16px;
}

.accordion-item.active .icon {
  transform: rotate(45deg);
}
/* faqs end */
