/*-------------------------------------------------hero section----------------------------------------*/

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6.25rem 0 3.1875rem 0;
}

.card-section {
  background-color: #F2F2F2;
  padding: 1rem 0 ;
}

.query{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0 3rem 0;
  background-color: #F2F2F2;
}

.hero-container {
  display: flex;
  flex-direction: column;
  padding: 0 1rem 0 1rem;
}

.card-container {
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
  margin-bottom: 10px;
}

.query-container {
  display: flex;
  flex-direction: column;
  padding: 0 1rem 0 1rem;
}

.hero-container h1 {
  font-family: var(--secondary-font);
  font-size: 2rem;
  font-weight: 700;
  line-height: 47px;
  padding: 0 0;
}

.store-image-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  padding-top: 30px;
  gap: 6%
}

/* .store-image-container{
  display: flex;
  padding: 30px 0px;
  justify-content: space-around
} */

.store-image{
  width: 100%;
}

.card {
  text-align: left;
  margin: 25px 0px;
}

.card-image {
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  max-height: 200px;
  min-height: 200px;
  object-fit: cover;
  overflow: hidden;
}

.card-title {
  font-size: 1.6em;
  margin-bottom: 17px;
  font-weight: 500;
  line-height: 1.2;
}

.card-text {
  line-height: 1.6;
  font-size: 1.1em;
}

.query-container h1 {
  font-family: var(--secondary-font);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 54px;
  padding: 0 0;
}

.query-container h1 span a {
  color: var(--highlight-color);
}
.hero-container h1 span {
  color: var(--highlight-color);
}

.card-section h1{
  font-family: var(--secondary-font);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 54px;
  text-align: center;
  padding: 5px 0.8rem;
}

.card-section h1 span {
  color: var(--highlight-color);
}

.hero-container p {
  margin: 1.5rem 0 0 0;
}

.query-question {
  color: var(--highlight-color);
  width: 100%;
}

.hero-container .subscribe-container {
  width: 100%;
  max-width: 500px;
  height: 50px;
  background-color: #f4f4f4;
  border: solid #ececec 1px;
  border-radius: 50px;
  margin: 12px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-container .subscribe-input {
  border: none;
  outline: none;
  background-color: transparent;
  padding: 0 0.9375rem;
  font-size: 0.875rem;
  color: #222020;
  border-radius: 50px;
  font-family: var(--primary-font);
  width: 100%;
}

.hero-container .subscribe-input::placeholder {
  font-size: 0.875rem;
  opacity: 0;
  color: #cbcbcb;
  line-height: 24px;
  font-weight: 400;
}

.hero-container .subscribe-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem 1rem 1.5rem;
  background-color: var(--subscribe-btn);
  color: #202020;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500 !important;
  cursor: pointer;
  border: none;
  line-height: 21px;
  width: 120px;
  height: 40px;
  margin-right: 5px;
}
.hero-container.subscribe-button:hover {
  background: #fecd39;
}
.hero-img {
  display: flex;
  margin: 2.25rem 0 0 0;
  align-items: center;
  background-image: url("/static/assets/hero/el-bg.svg");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
}

.hero-img img {
  width: 343px;
  height: 329px;
}

/*-------------------------------------------------FAQ section----------------------------------------*/

.faq-section {
  padding: 6.25rem 1rem 1.75rem 1rem;
  display: flex;
  flex-direction: column;
}

.faq-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 36px;
  font-family: var(--secondary-font);
  color: var(--highlight-color);
}

.faq-container {
  margin: 1.4375rem 0 0 0;
  padding: 2rem 0;
}

.question-box {
  background: #ffffff;
  padding: 1.125rem 1.5rem 1.125rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 0.875rem;
  cursor: pointer;
}

.inline-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inline-container span {
  font-weight: 500;
  font-size: 1rem;
  color: #000000;
  line-height: 19.2px;
}

.inline-container button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: transparent;
  cursor: pointer;
}

.inline-container img {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.toggle-button.active img {
  transform: rotate(90deg);
}

.answer {
  display: none;
  color: #3c3c43d9;
  margin: 1.125rem 0 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 22.4px;
}

/*------------------------------------responsive design for large screens---------------------------------------------*/

/*-------------------------------------------Desktop screen-----------------------------------------------------------*/
@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8.3125rem 6.3125rem 0 6.3125rem;
    margin-bottom: 7.375rem;
  }
  .store-image-container{
      gap: 4%;
    }
    .store-image {
      width: 160px;
  }

  .card{
    width: 29.5%;
  }
  .card-section {
    padding: 2.5rem 6.3125rem;
  }

  .card-section h1{
    padding: 25px 0;
    font-size: 2rem;
  }
  .card-image {
    max-height: 170px;
    min-height: 170px;
    object-fit: cover;
    overflow: hidden;
  }

  .card-container{
    flex-direction: row;
    justify-content: space-between
  }

  .hero-container {
    width: 100%;
    padding: 0 0;
    align-items: flex-start;
  }

  .query {
    flex-direction: row;
    align-items: center;
    padding: 3.5rem 6.3125rem 3.5rem 6.3125rem;
  }
  
  .query-container h1 {
    text-align: left;
    font-size: 1.8rem;
    line-height: 63px;
  }

  .hero-container h1 {
    text-align: left;
    font-size: 2.625rem;
    line-height: 56px;
    width: 80%;
  }
  .hero-container .subscribe-container {
    margin-top: 1.5rem;
    width: 449px;
    height: 58px;
  }

  .hero-container .subscribe-input {
    font-size: 1rem;
  }
  .hero-container .subscribe-input::placeholder {
    font-size: 1rem;
    opacity: 1;
  }
  .hero-container .subscribe-button {
    font-size: 1rem;
    line-height: 24px;
    font-weight: 500;
    padding: 24px;
  }
  .hero-img {
    display: flex;
    justify-content: center;
  }

  .hero-img img {
    width: 433px;
    height: 413px;
  }
  .hero-container p {
    width: 80%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
  }

  .query-question {
    font-size: 1rem;
  }

  .faq-section {
    align-items: center;
  }
  .faq-heading {
    font-size: 2rem;
    line-height: 48px;
  }

  .faq-container {
    width: 780px;
    margin-bottom: 3rem;
  }

  .inline-container span {
    font-size: 1.125rem;
    line-height: 21.6px;
  }
}

/*-----------------------------------------------------------------for very large desktop-----------------------------------------------*/
@media (min-width: 1260px) {
  .hero {
    padding: 9.3125rem 10.3125rem 0 10.3125rem;
  }
  .card{
    width: 29.5%;
  }
  .card-section {
    padding: 2.5rem 10.3125rem 2.5rem 10.3125rem;
  }

  .card-section h1{
    padding: 25px 0;
    font-size: 2rem;
  }

  .card-container{
    flex-direction: row;
    justify-content: space-between
  }
  .hero-container h1 {
    width: 75%;
  }

  .query {
    padding: 3.5rem 10.3125rem 3.5rem 10.3125rem;
  }

  .hero-container p {
    width: 80%;
  }

  .hero-img img {
    width: 473px;
    height: 453px;
  }
}

/*------------------------------------responsive design for medium screens---------------------------------------------*/

/*-----------------------------------------Tablets and medium devices----------------------------------*/
@media (min-width: 648px) and (max-width: 1023px) {
  .hero {
    padding: 8rem 2rem 4rem 2rem;
    align-items: flex-start;
    flex-direction: row;
  }

  .hero-container {
    width: 55%;
    padding: 0;
  }

  .query {
    padding: 2.5rem 2rem 2.5rem 2rem;
    align-items: flex-start;
    flex-direction: row;
  }

  .hero-container h1 {
    font-size: 2rem;
    line-height: 60px;
    max-width: 320px;
  }

  .hero-container p {
    font-size: 0.875rem;
    line-height: 21px;
    max-width: 320px;
  }
  .hero-container .subscribe-container {
    width: 320px;
    height: 54px;
  }
  .hero-container .subscribe-input {
    font-size: 0.875rem;
  }
  .hero-container .subscribe-input::placeholder {
    font-size: 0.875rem;
  }
  .hero-container .subscribe-button {
    font-size: 0.875rem;
    line-height: 21px;
    font-weight: 500;
    padding: 18px;
  }

  .hero-img {
    width: 290px;
    height: 290px;
  }

  .hero-img img {
    width: 290px;
    height: 290px;
  }

  .faq-section {
    padding: 5rem 2.5rem;
  }

  .faq-container {
    margin-top: 1.25rem;
    padding: 0;
  }

  .inline-container span {
    font-size: 1.125rem;
    line-height: 21.6px;
  }
}

/*---------------------------small screen ----------- 420px-647px--------------------------------------*/
@media (min-width: 420px) and (max-width: 647px) {
    .store-image-container{
      gap: 3.5%;
    }
    .store-image {
      width: 150px;
  }
  .card-image {
    max-height: 250px;
    min-height: 250px;
    object-fit: cover;
    overflow: hidden;
  }
}
