/* ===== OUR SERVICES SECTION ===== */

section {
  padding: 60px 0;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0d1137;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0d1137;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: #333;
}

.btn-dark {
  background-color: #0d1137;
  border: none;
  padding: 8px 18px;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}

.btn-dark:hover {
  background-color: #1e224e;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  .card-img-top {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.875rem;
  }
}


/* FAQ */



.faq-container {
    max-width: 720px;
    margin: auto;
    padding: 30px 40px;
    background: #f7fbff;
    border-radius: 10px;
    margin-bottom: 40px;
}

h2.faq-title {
    text-align: center;
    font-family: "Times New Roman", serif;
    font-weight: 700;
    font-size: 26px;
    color: #161c38;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.accordion-button {
    background-color: #f7fbff !important;
    white-space: normal;  /* Allow wrapping */
    word-break: break-word; /* Break long words if needed */
    padding: 16px 20px;
    border-radius: 8px !important;
    padding: 16px 20px;
    font-weight: 600;
    color: #161c38;
    font-size: 15px;
    box-shadow: none !important;
    position: relative;
}

.accordion-button:not(.collapsed) {
    color: #161c38;
    background-color: #e9f0ff !important;
    box-shadow: none !important;
}

.accordion-button::after {
    display: none;
}

/* Custom plus/minus icons with a checkmark */
.accordion-button::before {
    content: '+';
    position: absolute;
    right: 20px;
    font-weight: 900;
    font-size: 18px;
    color: #161c38;
    transition: transform 0.2s ease;
    transform-origin: center;
}

.accordion-button:not(.collapsed)::before {
    content: '−';
    transform: rotate(0deg);
}

/* Checkmark overlay on active items (like your image) */
.accordion-button[data-bs-toggle="collapse"][aria-expanded="true"]::after {
    content: '✓';
    position: absolute;
    right: 45px;
    font-weight: 900;
    font-size: 16px;
    color: #161c38;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
}

.accordion-collapse {
    background-color: #f7fbff;
    border-radius: 8px;
    padding: 0 20px 12px 20px;
}

.accordion-body {
    margin-top: 20px;
    font-size: 14px;
    color: #161c38;
    padding: 0 0 10px 0;
}

.accordion-button:focus {
    box-shadow: none !important;
}

/* Prevent text overflow on small screens */
@media (max-width: 576px) {
    .accordion-button {
        font-size: 14px;
        padding: 14px 16px;
    }

    .accordion-button::before,
    .accordion-button[data-bs-toggle="collapse"][aria-expanded="true"]::after {
        right: 16px;  /* shift icons to avoid overlapping text */
    }
}
