/* offer page */
.offer-pic {
  visibility: hidden;
}

.offer-banner {
  /* background-color: #f2d09f; */
  background-image: url("../images/offers/Pc\ Banner.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
  margin: 0;
  left: 0%;
  right: 0%;
  position: relative;
  width: 100%;
  padding-bottom: 30px;
}

/* main-offers */

.main-offer {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  width: 100%;
  margin-bottom: 50px;
  background-color: #fff;
}

.offer-pc {
  width: 100%;
  height: 800px;
}

.main-offer-two {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.main-offer-two img {
  width: 100%;
  height: 385px;
}

.offer-pc {
  display: block;
}

.offer-mobile {
  display: none;
}

@media (max-width: 1920px) {
  .main-offer {
    max-width: 100%;
  }

  .offer-pc {
    height: 1000px;
  }

  .main-offer-two img {
    height: 485px;
  }
}

@media (max-width: 1440px) {
  .main-offer {
    max-width: 100%;
  }

  .offer-pc {
    height: 635px;
  }

  .main-offer-two img {
    height: 300px;
  }
}

.error {
  color: red;
}

.offer-banner-content {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offer-banner-text {
  width: 100%;
  max-width: 75%;
}

.offer-form {
  width: 100%;
  max-width: 75%;
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 40px;
  box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
}

.offer-btn {
  display: flex;
  justify-content: center;
}

.offer-btn button {
  padding: 4px 20px;
  color: #fff;
  background-color: #2668e1;
  border-radius: 10px;
  border: 1px solid black;
  font-size: 20px;
  font-weight: 100;
  border: none;
  margin-bottom: 10px;
}

.slot-offer-button {
  background-color: #f14d5d;
  color: white;
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  border-radius: 0.5rem;
  margin-top: 15px;
}

.select-box-one {
  appearance: auto;
  -webkit-appearance: auto;
  display: block;
  width: 100%;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #f5f5f5;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-size: 16px;
  padding: 10px 0;
  padding-left: 10px;
}

.select-box-two {
  appearance: auto;
  -webkit-appearance: auto;
  display: block;
  width: 100%;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #f5f5f5;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-size: 16px;
  padding: 10px 0;
  padding-left: 10px;
}

.offer-inner-form {
  display: flex;
  gap: 15px;
}

.offer-inner-form-one {
  display: flex;
  gap: 15px;
}

.offer-input {
  display: block;
  width: 100%;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #f5f5f5;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-size: 16px;
  padding: 10px 0;
  padding-left: 10px;
}

.offer-input::placeholder {
  color: #000;
}

/* offer card */
.offer-why {
  padding-top: 50px;
  padding-bottom: 30px;
  text-align: center;
}

.offer-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 100px;
}

.offer-card>img {
  margin-bottom: 15px;
  background-color: #2668e1;
  border-radius: 50%;
}

.offer-title {
  line-height: 30px;
  font-size: 16px;
}

@media (max-width: 1200px) {
  .offer-card {
    padding: 20px 80px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .offer-form {
    max-width: 90%;
  }
}

/* new */
.offer-block {
  padding-top: 40px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.offer-content {
  max-width: 60%;
}

.banner-text-content {
  display: none;
}

@media (max-width: 991px) {
  .offer-pic {
    width: 100%;
    visibility: visible;
  }

  .offer-banner-content {
    display: flex;
    justify-content: center;
  }

  .offer-card {
    padding: 20px 40px;
  }

  .offer-banner {
    background-image: unset;
    width: 100%;
    height: auto;
    background-color: #f2d09f;
  }

  .banner-text-content {
    display: block;
  }

  .offer-banner-content {
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .offer-banner-text {
    display: none;
  }

  .offer-form {
    padding: 40px;
  }

  .banner-text-content {
    text-align: center;
    margin-top: 20px;
  }

  .banner-text-content p {
    font-size: 42px;
    font-weight: 600;
    color: #000;
    font-style: italic;
  }

  .banner-text-content span {
    font-size: 42px;
    color: #000;
    line-height: 1;
  }

  hr.banner-hr {
    width: 50%;
  }

  .main-offer {
    grid-template-columns: 1fr;
  }

  .offer-pc {
    display: none;
  }

  .offer-mobile {
    display: block;
    height: 100%;
    width: 100%;
  }

  .main-offer-two img {
    height: 100%;
  }

  .offer {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .banner-text-content {
    text-align: center;
    padding-top: 20px;
  }

  .moble-offer {
    display: block;
  }

  .banner-text-content p {
    font-size: 32px;
  }

  .banner-text-content span {
    font-size: 32px;
    line-height: 1;
  }
}

@media (max-width: 599px) {
  .offer-inner-form {
    flex-direction: column;
  }

  .banner-text-content p {
    font-size: 22px;
    line-height: 0;
  }

  .banner-text-content span {
    font-size: 22px;
  }

  .offer-form {
    max-width: 95%;
    padding: 20px;
  }

  .offer-card {
    padding: 20px 20px;
  }
}

@media (max-width: 480px) {
  .offer-form {
    max-width: 95%;
    padding: 20px;
  }

  .banner-text-content p {
    font-size: 20px;
    line-height: 0;
  }

  .banner-text-content span {
    font-size: 20px;
  }

  .offer-card {
    padding: 20px 30px;
  }
}

@media (max-width: 380px) {
  .offer-form {
    max-width: 98%;
    padding: 20px;
  }
}

/* refer css start*/
.offer-refer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: flex-end;
  margin-bottom: 50px;
}

.refer-pc-img {
  display: block;
  width: 100%;
}

.refer-mo-img {
  display: none;
}

.refer-grid-mo {
  display: none;
}

.refer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
  position: absolute;
}

.refer {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  column-gap: 10px;
  grid-column-start: 3;
  grid-column-end: span 5;
}

.refer p {
  font-size: 16px;
  color: #000;
  margin-top: 10px;
  font-weight: 500;
}

.refer-btn-grid {
  background-color: #0b974e;
  color: #fff;
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  /* margin-left: 10px; */
}

/* .refer-btn-grid:hover {} */

.refer-btn:hover {
  background-color: #0b974e;
  color: white;
}

@media (min-width: 1920px) {
  .refer-grid {
    margin-bottom: 20px;
  }
}

@media (max-width: 1919px) {
  .refer-grid {
    margin-bottom: 20px;
  }
}

@media (max-width: 1780px) {
  .refer-grid {
    margin-bottom: 14px;
  }
}

@media (max-width: 1567px) {
  .refer-grid {
    margin-bottom: 3px;
  }
}

@media (max-width: 1320px) {
  .refer-grid {
    margin-bottom: 0px;
  }
}

@media (max-width: 1200px) {
  .refer-grid {
    margin-bottom: -2px;
  }
}

@media (max-width: 1100px) {
  .refer-grid {
    margin-bottom: -5px;
  }
}

@media (max-width: 991px) {
  .refer-mo-img {
    display: block;
  }

  .refer-content {
    margin-bottom: -10px;
  }

  .refer-btn {
    text-decoration: none;
    background-color: #0b974e;
    color: white;
    font-size: 16px;
    padding: 5px 20px;
    letter-spacing: 0px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
  }

  .offer-refer {
    display: flex;
    justify-content: end;
  }

  .refer-pc-img {
    display: none;
  }

  .refer-grid-mo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
  }

  .refer-img-content {
    width: 100%;
    max-width: 75%;
  }

  .refer-img-student {
    width: 100%;
    max-width: 90%;
    margin-left: 30px;
  }
}

@media (max-width: 767px) {
  .offer-refer {
    display: flex;
    justify-content: end;
  }

  .refer-pc-img {
    display: none;
  }

  .refer-grid-mo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
  }

  .refer-btn {
    padding: 2px 20px;
  }

  .refer-img-content {
    width: 100%;
    max-width: 75%;
  }

  .refer-img-student {
    width: 100%;
    max-width: 90%;
    margin-left: 30px;
  }
}

@media (max-width: 480px) {
  .refer-btn {
    font-size: 12px;
    padding: 1px 15px;
  }

  .refer-img-student {
    margin-left: 10px;
  }
}

/* refer css end */