/* /public_html/assets/css/about-us.css */

.about-shell {
  position: relative;
}

.about-panel,
.about-contact-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(6, 29, 53, 0.08);
  padding: 2rem;
  height: 100%;
}

.about-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-title {
  margin-bottom: 1rem;
}

.about-copy {
  color: #4f5d6b;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-copy:last-of-type {
  margin-bottom: 0;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: #f2f8f6;
  color: #0b3765;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
}

.about-badge i {
  color: #247a4b;
  flex-shrink: 0;
}

.about-feature-list {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 1.75rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #263646;
  font-weight: 700;
  line-height: 1.55;
}

.about-feature-item i {
  color: #198754;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.about-contact-head {
  margin-bottom: 1.25rem;
}

.about-contact-title {
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 900;
  color: #0b3765;
  margin-bottom: 0.4rem;
}

.about-contact-subtitle {
  margin: 0;
  color: #5c6b79;
  line-height: 1.7;
}

.about-contact-form {
  display: flex;
  flex-direction: column;
}

.about-contact-card .alert {
  margin-bottom: 1rem;
}

.about-contact-card .form-label {
  font-weight: 800;
  color: #0b3765;
  margin-bottom: 0.45rem;
}

.about-contact-card .form-control {
  border-radius: 18px;
  min-height: 54px;
  font-weight: 700;
  padding-inline: 1rem;
}

.about-contact-card .form-control::placeholder {
  color: #6b7280;
  font-weight: 700;
}

.about-contact-card textarea.form-control {
  min-height: 140px;
  resize: vertical;
  padding-top: 0.95rem;
}

.about-contact-submit {
  min-height: 54px;
  margin-top: 0.5rem;
}

/* Success modal reuse for About form */
.mg-success-modal .modal-dialog {
  max-width: 680px;
}

.mg-success-modal .modal-content {
  border-radius: 28px;
  overflow: hidden;
}

.mg-success-modal__content {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 24px 70px rgba(11, 55, 101, 0.18);
}

.mg-success-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  opacity: 0.75;
}

.mg-success-modal__close:hover {
  opacity: 1;
}

.mg-success-modal__body {
  padding: 42px 32px 30px;
}

.mg-success-modal__icon-wrap {
  margin-bottom: 18px;
}

.mg-success-modal__icon-circle {
  width: 94px;
  height: 94px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf8ef 0%, #dff4e7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 8px rgba(33, 136, 90, 0.06);
}

.mg-success-modal__icon {
  font-size: 3rem;
  line-height: 1;
  color: #1f8a55;
}

.mg-success-modal__eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #198754;
  margin-bottom: 10px;
}

.mg-success-modal__title {
  font-size: clamp(1.75rem, 2vw, 2.2rem);
  font-weight: 800;
  color: #0b3765;
  margin-bottom: 14px;
}

.mg-success-modal__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #55606d;
  max-width: 560px;
  margin: 0 auto 18px;
}

.mg-success-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.mg-success-modal__btn {
  min-width: 140px;
  border-radius: 999px;
  font-weight: 700;
  padding: 12px 18px;
}

@media (min-width: 992px) {
  .about-shell .row {
    align-items: stretch;
  }

  .about-panel,
  .about-contact-card {
    min-height: 100%;
  }
}

@media (max-width: 991.98px) {
  .about-panel,
  .about-contact-card {
    padding: 1.6rem;
  }

  .about-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

@media (max-width: 767.98px) {
  .about-panel,
  .about-contact-card {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .about-badges,
  .about-cta-row {
    gap: 0.6rem;
  }

  .about-badge {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .about-cta-row .btn {
    width: 100%;
  }

  .about-contact-title {
    font-size: 1.4rem;
  }

  .mg-success-modal__body {
    padding: 34px 20px 24px;
  }

  .mg-success-modal__title {
    font-size: 1.5rem;
  }

  .mg-success-modal__text {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .mg-success-modal__actions {
    flex-direction: column;
  }

  .mg-success-modal__btn {
    width: 100%;
  }
}