:root {
  --font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h5,
p {
  margin: 0;
}

.container {
  max-width: 1384px;
  padding: 0px 15px;
  margin: auto;
}

.rr-features {
  padding: 40px 0 120px;
  font-family: var(--global-font);
}

.rr-features__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 160px;
}

.rr-features__row:last-child {
  margin-bottom: 0;
}

.rr-features__row--reverse .rr-features__media {
  order: 2;
}

.rr-features__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 10 / 5;
}

.rr-features__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
  justify-content: space-between;
}

.rr-features__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.rr-home-gallery {
  padding: 80px 0 120px;
  font-family: var(--global-font);
}

.rr-home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 393px;
  gap: 20px;
}

.rr-home-gallery__item {
  margin: 0;
  height: 393px;
  overflow: hidden;
  border-radius: 36px;
}

.rr-home-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rr-home-gallery__item--narrow {
  grid-column: span 1;
}

.rr-home-gallery__item--wide {
  grid-column: span 2;
}

@media (max-width: 991px) {
  .rr-home-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .rr-home-gallery__item {
    height: 280px;
  }
  .rr-home-gallery__item--narrow,
  .rr-home-gallery__item--wide {
    grid-column: 1 / -1;
  }
}

.rr-team {
  padding: 120px 0;
  font-family: var(--global-font);
  background: #f3f2ef;
}

.rr-team__title {
  text-align: center;
  color: #c0604b;
  font-size: 80px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 80px;
}

.rr-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.rr-team__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.rr-team__photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 32 / 23;
  overflow: hidden;
  border-radius: 200px;
  background: #e5e5e5;
}

.rr-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rr-team__role {
  color: #7bb2a7;
  font-size: 29px;
  font-weight: 500;
  margin: 0;
}

.rr-team__name {
  color: #000;
  font-size: 45px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 1199px) {
  .rr-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }
}

@media (max-width: 575px) {
  .rr-team__grid {
    grid-template-columns: 1fr;
  }

  .rr-team__title {
    font-size: 40px;
    margin-bottom: 48px;
  }
}

.rr-features__text {
  font-size: 20px;
  line-height: 1.5;
  color: #000;
}

.rr-features__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 20px;
  line-height: 1.5;
  color: #000;
}

.rr-features__list li {
  position: relative;
  padding-left: 18px;
}

.rr-features__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 991px) {
  .rr-features__row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }

  .rr-features__row--reverse .rr-features__media {
    order: 0;
  }
}

.rr-eisstock__inner {
  position: relative;
  width: 100%;
  padding: 0 0px;
  overflow: hidden;
}

.rr-eisstock__figure {
  position: absolute;
  top: 294px;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: visible;
}

.rr-eisstock__image {
  overflow: visible;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-position: 50%;
}

.rr-eisstock__content {
  font-family: var(--font-family);
  position: relative;
  padding: 90px 0px;
  font-size: 25px;
  display: flex;
  flex-direction: column;
  gap: 39px;
}

.content-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-heading__tagline {
  font-family: var(--font-family);
  color: #7bb2a7;
  font-weight: 500;
  font-style: normal;
  font-size: 37px;
  line-height: 1.2;
}

.content-heading__title {
  font-family: var(--font-family);
  color: #000000;
  font-weight: 500;
  font-style: normal;
  font-size: 55px;
  line-height: 1.2;
}

.content-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-container .btn {
  padding: 8px 24px;
  background: #6bb8a8;
  color: var(--color-light);
  border: none;
  border-radius: 10px;
  font: 400 21px / 1.2 var(--global-font);
  text-transform: none;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.content__span {
  display: block;
  word-break: break-all;
}

.content__span--red {
  display: block;
  color: red;
}

.content-actions {
  display: flex;
  gap: 50px;
}

.btn {
  background-color: #7db2a7;
  border-radius: 10px;
  font-size: 29px;
  line-height: 37px;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  color: #fff;
}

/* inquiry */
.rr-inquiry-container {
  margin: 144px 0px;
}

.rr-inquiry__section-title {
  font-size: 55px;
  font-style: normal;
  font-weight: 400;
  font-family: var(--font-family);
  color: #000000;
  letter-spacing: 3%;
  line-height: 74px;
}

.term-box {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.term-check-box {
  width: 40px;
  height: 40px;
  background-color: #e5e7eb;
}

.term-tag {
  color: #919191;
}

.check-box {
  display: flex;
  gap: 17px;
}

.check-box__text {
  max-width: 411px;
}

/* faq */
.faq__inner {
  font-family: var(--font-family);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 70px 0px 206px 0px;
  border-top: 1px solid #707070;
}

.faq__title {
  font-family: var(--font-family);
  color: #393c40;
  font-size: 56px;
  font-weight: 400;
}

.faq__question h3 {
  font-family: var(--font-family);
  color: #000000;
  font-size: 36px;
}

.faq__answer p {
  font-size: 20px;
  color: #00000060;
}

.faq__item:not(:last-child) {
  border-bottom: 2px solid #cdcdcd50;
}

.faq__icon svg {
  stroke: black;
}

@media (max-width: 1023px) {
  .faq__title {
    font-size: 48px;
  }

  .faq__question h3 {
    font-size: 32px;
  }

  .faq__answer p {
    font-size: 18px;
  }

  .content {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .faq__title {
    font-size: 40px;
  }

  .faq__question h3 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .faq__title {
    font-size: 36px;
  }

  .faq__question h3 {
    font-size: 24px;
  }

  .faq__answer p {
    font-size: 16px;
  }

  .faq__icon svg {
    width: 16px;
  }

  .content-container {
    gap: 20px;
  }

  .content {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  /* .faq__title{
    font-size: 48px;
} */
}

/* ====================================================for the news latter ========================== */
.news-latter {
  background-image: linear-gradient(#00000060), url("../images/thumb-02.webp");
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0px;
  margin-bottom: 162px;
}

.news-latter {
  padding: 45px 0px;
}

.news-latter__container {
  max-width: 1665px;
  /* border: 1px solid red; */
  margin: 0px auto;
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.news-latter__content {
  font-family: var(--font-family);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.news-latter__title {
  font-size: 61px;
  line-height: 100%;
  color: #ffffff;
  font-weight: 400;
}

.news-latter__description {
  font-size: 31px;
  line-height: 100%;
  color: #ffffff;
  font-weight: 400;
  max-width: 736px;
  margin: auto;
  font-style: normal;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin: auto;
  gap: 55px;
}

.subscribe-form__input {
  background-color: transparent;
  border: none;
  font-size: 24px;
  min-width: 614px;
  border-bottom: 2px solid #ffffff;
  text-align: center;
  color: white;
  padding: 30px;
}

.subscribe-form__input::placeholder {
  color: #ffffff60;
}

.subscribe-form__input:focus {
  outline: none;
  border-color: inherit;
  box-shadow: none;
}

.subscribe-form__submit-button {
  border: none;
  background-color: #7cb2a7;
  color: white;
  line-height: 100%;
  padding: 20px 75px;
  font-size: 25px;
  text-align: center;
  border-radius: 9px;
}

/*  */

/* for the small device =================*/
@media (max-width: 1024px) {
  .rr-eisstock__content {
    font-size: 18px;
  }

  .news-latter__container {
    gap: 50px;
  }

  .news-latter__title {
    font-size: 44px;
  }

  .news-latter__description {
    font-size: 24px;
    max-width: 625px;
  }

  .subscribe-form {
    gap: 30px;
  }

  .subscribe-form__input {
    min-width: 400px;
  }

  /* heading */
  .content-container {
    gap: 20px;
  }

  .content-heding {
    gap: 8px;
  }

  .content-heading__tagline {
    font-size: 24px;
  }

  .content-heading__title {
    font-size: 32px;
  }

  .content-actions {
    gap: 10px;
  }

  .btn {
    font-size: 18px;
    padding: 8px 12px;
  }

  .rr-inquiry__section-title {
    font-size: 32px;
  }

  /* faq */
  .faq__inner {
    padding: 50px 0px 150px 0px;
  }
}

@media (max-width: 768px) {
  .content-container {
    gap: 16px;
  }

  .rr-eisstock__content {
    padding: 40px 0px;
    font-size: 16px;
  }

  /* news later */
  .news-latter__container {
    gap: 40px;
  }

  .news-latter__title {
    font-size: 32px;
  }

  .news-latter__description {
    font-size: 18px;
    max-width: 400px;
  }

  .subscribe-form {
    min-width: 300px;
    gap: 20px;
  }

  .subscribe-form__input {
    min-width: 200px;
    max-width: 240px;
  }

  .subscribe-form__submit-button {
    padding: 13px 20px;
    text-overflow: ellipsis;
  }

  /* heading */
  .content-heding {
    gap: 6px;
  }

  .content-heading__tagline {
    font-size: 18px;
  }

  .content-heading__title {
    font-size: 24px;
  }

  .content-actions {
    flex-direction: column;
    align-items: start;
  }

  .btn {
    font-size: 14px;
    padding: 2px 10px;
  }

  .rr-inquiry__section-title {
    font-size: 24px;
  }

  /* faq */
  .faq__inner {
    padding: 50px 0px 80px 0px;
  }
}
