/* Global page styling */
.contactUs-container {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  padding: 0;
}

.contact__us__page {
  position: relative;
  overflow: hidden;
  background-color: #f9fdfa; /* Consistent with previous background */
}

.page__header {
  padding-bottom: 32px;
  padding-top: 40px;
}

.page__header__title {
  font-size: 32px;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 15px;
}

.page__header__subtitle {
  font-size: 16px;
  color: #666;
}

.page__header__inner {
  width: calc(100% - 480px);
}

@media screen and (max-width: 1200px) {
  .page__header__inner {
    width: calc(100% - 300px);
  }
}
@media screen and (max-width: 991px) {
  .page__header__inner {
    width: 100%;
  }
}

.contact__us__page__content {
  padding-block: 8px 40px;
}

.contact__us__page__content__left__container {
  width: calc(100% - 432px);
  order: 0;
}

@media screen and (max-width: 1200px) {
  .contact__us__page__content__left__container {
    width: calc(100% - 300px);
    order: 0;
  }
}

@media screen and (max-width: 991px) {
  .contact__us__page__content__left__container {
    width: 100%;
    order: 0;
  }
}

.contact__us__form__btn {
  margin-top: 8px;
}

.service__info__support__stepper__container {
  width: 416px;
  order: 1;
}

@media screen and (min-width: 1200px) {
  .service__info__support__stepper__container {
    padding-inline-start: 20px;
  }
}

@media screen and (max-width: 1200px) {
  .service__info__support__stepper__container {
    width: 300px;
    order: 1;
  }
}

@media screen and (max-width: 991px) {
  .service__info__support__stepper__container {
    width: 100%;
    order: 1;
  }
}

/* Service Support Card */
.service__support {
  display: flex;
  flex-flow: column nowrap;
  gap: 24px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #d2d6db;
  background: #fff;
  padding: 40px;
  align-items: flex-start;
}

@media screen and (max-width: 1200px) {
  .service__support {
    padding: 20px;
    width: 300px;
  }
}

@media screen and (max-width: 991px) {
  .service__support {
    position: unset;
    top: unset;
    width: 100%;
    left: auto;
    margin-top: 30px;
  }
}

.service__support__title {
  color: #1f2a37;
  font-family: "IBM Plex Sans Arabic";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

.service__support__info {
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
  padding: 0;
  margin: 0;
  width: 100%;
  list-style: none;
}

@media screen and (max-width: 991px) {
  .service__support__info {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    flex-flow: row wrap;
  }
}

@media screen and (max-width: 600px) {
  .service__support__info {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    flex-flow: row wrap;
  }
}

.service__support__info__item {
  display: flex;
  flex-flow: row nowrap;
  gap: 12px;
}

.service__support__info__item__icon {
  margin-top: 2px;
}

.service__support__info__item__text {
  display: flex;
  flex-flow: column nowrap;
  gap: 4px;
  width: 100%;
}

.service__support__info__item__text__title {
  color: #1f2a37;
  font-family: "IBM Plex Sans Arabic";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.service__support__info__item__text__subtitle {
  width: fit-content;
  display: flex;
  flex-flow: row;
  gap: 8px;
  align-items: center;
}

.service__support__info__item__text__subtitle a {
  display: inline-flex;
  flex-flow: row;
  gap: 8px;
  align-items: center;
  color: #1b8354;
  font-family: "IBM Plex Sans Arabic";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  padding: 2px 4px;
  /* margin: -2px -4px; */
}

.service__support__info__item__text__subtitle a:hover {
  color: #54c08a;
  text-decoration: underline;
}
.service__support__info__item__text__subtitle a:hover + svg path {
  fill: #54c08a;
}
.service__support__info__item__text__subtitle a:active {
  color: #88d8ad;
  text-decoration: underline;
}
.service__support__info__item__text__subtitle a:active + svg path {
  fill: #88d8ad;
}

/* Custom Input Forms (replicating Angular components) */
.form-label {
  color: #1f2a37;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.form-label .required {
  color: #d9534f;
  margin-left: 4px;
}

.custom-input {
  background-color: white !important;
  color: #6C737F !important;
  border: 1px solid #d2d6db;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: none !important;
  font-size: 14px;
  min-height: 48px;
  transition: all 0.3s;
}

.custom-input:focus {
  border: 1px solid #9da4ae;
  background-color: white !important;
  outline: none;
}

textarea.custom-input {
  min-height: 120px !important;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.phone-country-code {
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6C737F;
  border-left: 1px solid #d2d6db;
}

.phone-input-wrapper input {
  flex: 1;
  border: none;
  background-color: transparent !important;
  padding: 12px 16px;
  text-align: left;
}
.phone-input-wrapper input:focus {
  border: none;
}

.subject-select-wrapper {
  position: relative;
}

.subject-select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-left: 40px; /* Make space for icon in RTL */
}

.subject-select-wrapper .select-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6C737F;
}

.btn__primary {
  background-color: #1B8354;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 150px;
}

.btn__primary:hover {
  background-color: #146c43;
}
