:root {
  --font-base: 'Tiro Bangla', sans-serif;

  --color-heading: #101828;
  --color-subtitle: #5C7467;
  --color-accent: #2B5940;
  --color-accent-bg: rgba(43, 89, 64, 0.15);
  --color-button: #D1373B;
  --color-button-hover: #b83034;
  --color-button-text: #fff;
  --color-dark: #333;

  --space-md: 1.5rem;
  --space-lg: 2rem;


  --fs-sm: clamp(1rem, 1vw + 0.5rem, 1.5rem);
  --fs-sm-un: 1.5rem;
  --fs-md: clamp(1.5rem, 1.5vw + 0.5rem, 2rem);

  --fs-lg-un: clamp(3.5rem, 6vw + 1rem, 4rem);

  --fs-xl: clamp(3rem, 3vw + 1rem, 6rem);
  --lh-xl: clamp(3.5rem, 4vw + 1rem, 6.75rem);
  --fs-btn: clamp(1.25rem, 1.25vw + 0.5rem, 1.75rem);

  --radius-large: 200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  background: var(--color-background);
  font-size: 1rem;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p, li, a {
    font-family: "Tiro Bangla", serif;
}

.header{
  width: 100%;
  height: auto;
}
.header__content{
  padding: 0.7rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__content .header__text{
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 400;
    text-align: center;
}

#header-wrap, #footer, #copyright{
    display: none;
}


.title-xl {
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
}

.text-sm-un {
  font-size: var(--fs-sm-un);
  line-height: 1.5;
}

.text-lg-un {
  font-size: var(--fs-lg-un);
  line-height: 1.25;
}


.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.hero__text-container{
  margin-bottom: 2.5rem !important;
}

.hero__text-container,
.hero__image-wrapper {
  flex: 1;
}

.hero__text {
  max-width: 675px;
  margin: 0 auto;
  padding: 0 1rem;
}


.hero__image-wrapper {
  background-image: url('/wp-content/themes/deshi-commerce/assets/img/webinar-hero-bg.png');
  background-size: auto 100%; /* Height = 100%, width auto */
  background-position: right top; /* Align image to the top right */
  background-repeat: no-repeat;
  min-height: 58rem;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero__image-container{
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}


.hero__image-wrapper img {
  max-width: 100%;
}

/* Brand */
.brand {
  display: block;
  max-width: 23.188rem;
  margin-bottom: 4.813rem !important;
}


.brand__logo {
  width: 100%;
}

/* Hero Content */
.hero__date {
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--color-accent);
  background-color: var(--color-accent-bg);
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.625rem !important;
  max-width: max-content;
  border-radius: 6.25rem;
}

.hero__title {
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 2.25rem !important;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-weight: 400;
  color: var(--color-subtitle);
  margin-bottom: 3.375rem !important;
}

.button {
  display: inline-block;
  background-color: var(--color-button);
  color: var(--color-button-text);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-large);
  border: 1px solid #ef3937;
  line-height: 1.5;
}

.button:hover {
  background-color: transparent !important;
  color: var(--color-button)
}

.button__hero {
  padding: 1.75rem 3.5rem;
  font-size: var(--fs-btn);
  font-weight: 600;
  line-height: 1;
  width: 100%;
}



.webinar__details {
  background: linear-gradient(180deg, #E2EFFF 0%, #FFFFFF 100%);

}

.webinar__details-content {
  display: grid;
  justify-content: center;
  gap: 0 7vw;
  grid-template-areas:
    "title  seperator   details"
    "button  seperator  details"
    ".       seperator  details";
  padding: 100px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.webinar__details-content .seperator {
  display: block;
}


.webinar__details-content .details {
  grid-area: details;
}

.webinar__details-title {
  grid-area: title;
  text-align: left;
  font-weight: 400;
  color: #101828;
  max-width: 260px;
  margin-bottom: 1.55rem !important;
  margin-left: 7vw;
}

.btn__register {
  max-width: max-content;
  height: max-content;
  display: inline-block;
  padding: 16px 40px;
  background-color: var(--color-button);
  color: var(--color-button-text);
  font-size: 24px;
  border-radius: 300px;
  text-decoration: none;
  cursor: pointer;
  margin-left: 7vw;
}

.seperator {
  font-size: 1px;
  grid-area: seperator;
  width: 1px;
  background-color: #2B5940;
}

.detail__row {
  margin-bottom: 24px !important;
}

.detail__row .label {
  font-weight: 400;
  line-height: 1;
  font-size: 24px;
  display: block;
  margin-bottom: 0.5rem !important;
  color: #2B5940;
}

.detail__row .value {
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -2%;
  color: #101828;
  line-height: 1.2em;
}


.whatyoulearn__content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  padding: 0 1.5rem;
  padding-bottom: 7rem;
}

.whatyoulearn__content .learn-image {
  max-width: 100%;
}


.whatyoulearn__content .title {
  font-size: 64px;
  letter-spacing: -2%;
  font-weight: 400;
  line-height: 1;
  color: #101828;
  margin-bottom: 34px !important;

}

.whatyoulearn__text .learn__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 4.3rem !important ;
}

.learn__list li {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  color: #5C7467;
  display: flex;
  gap: 24px;
}

.btn__whatyoulean {
  text-align: left !important;
  margin-left: 0;
} 

.webinar__details-content .mobile {
  display: none;
}



.r-container {
  max-width: 1440px;
  margin: 0 auto;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 121px 0px;
  background-color: #E2E6D1;
}

.contact__content {
  display: flex;
  gap: 6rem;
  padding: 0 1.5rem;
}


.contact__content>div {
  display: flex;
  align-items: center;
}

.contact__content .contact__text {
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 1;
}

.contact__content .contact__form-card {
  flex: 1.3;
}


.contact__content .contact__title {
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #101828;

}



.contact__form-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 64px 42px;
  background-color: white;
  box-shadow: 0px 4px 16.9px 3px #C2C5B1;
  border-radius: 16px;
  max-width: 100%;

}


.contact__form-card .seperator {
  height: 1px;
  width: 100%;
  margin: 32px auto 44px auto;
  background-color: #B7C3B7;
}

.contact__form-card .form__title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

.contact__form-card .form .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px !important;
}

.contact__form-card .form .field label {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -2%;
  font-weight: 400;
  color: #2B5940;
  margin-bottom: 20px !important;
}

.contact__form-card .form .field input {
  border-radius: 10px;
  background-color: #E6E8E0;
  border: none;
  padding: 20px 15px;
}

.contact__form-card .form__checkbox {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -2%;
  color: #2B5940;
  display: flex;
  align-items: center;
}

.contact__form-card .form__checkbox input {
  display: none;
}

.contact__form-card .form__checkbox .checkmark {
  display: inline-block;
  min-width: 30px;
  height: 30px;
  background-color: #E6E8E0;
  border: none;
  border-radius: 6px;
  position: relative;
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.3s;
}


.contact__form-card .form__checkbox input:checked+.checkmark::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 4px;
  width: 8px;
  height: 15px;
  border: solid #2B5940;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}


.button__submit {
  width: 100%;
  padding: 1.5rem 0rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 28px;
  cursor: pointer;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.contact__form-card form {
  width: 100%;
}

.contact__form-card .form .field-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.contact__form-card .form .field-row .field {
  flex: 1;
}

#form-message {
    margin-top: 1rem;
}

@media (max-width: 768px) {
  .contact__form-card .form .field-row {
    flex-direction: column;
  }
}



/* gift */

.gift {
  background-color: #186C8BDE;
  backdrop-filter: blur(19.100000381469727px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

}

.gift__content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 8rem 0;

  margin: 0 auto;
}

.gift__content .gift__title {
  letter-spacing: -2%;
  font-weight: 400;
  color: #ffffff;
}

.gift__content .gift__desc {
  font-weight: 400;
  margin-bottom: 3rem !important;
  color: #ffffff;
}

.gift__content .gift__desc span {
  font-weight: 700;
}

.gift__content .gift__button {
  background-color: #EE3937;
  padding: 1.5rem 3.25rem;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
}

footer.footer {
  display: flex;
  justify-content: center;
  padding: 1.25rem 0;
}

.footer .footer__text {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
}

.footer .footer__text a {
  letter-spacing: -2%;
  font-weight: 600;
  color: #2B5940;
  text-decoration: none;
}





/* reviews */

.reviews {
  background-color: #083b4c;
  padding: 5.5rem 2rem;
  text-align: center;
  color: white;
}

.reviews__container {
  max-width: 1040px;
  overflow: hidden;
  margin: 0 auto;
  overflow:visible;
  position: relative;
}

.reviews__slider {
  margin: 0 auto;
  position: relative;
  max-width: 1000px !important;
  margin-bottom: 5rem !important;
  overflow: hidden !important;
  border-radius: 7px;
}

.reviews__title {
  letter-spacing: -2%;
  font-weight: 400;
  margin-bottom: 4rem !important;
  color:#fff;
}


.reviews__card {
  background-color: #D7ECF1;
  color: #000;
  padding: 3.4rem 4.8rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 16.3px 2px #003547;

}

.reviews__avatar {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 1rem !important;
  }

.reviews__text {
  font-size: 1.5rem;
  margin-bottom: 1.5rem !important;
  color: #08475D;
  font-weight: 400;
  line-height: 1.5;
}

.reviews__location {
  font-weight: bold;
}

.reviews__cta {
  margin-top: 2rem;
}

.reviews__button {
  background-color: #D1373B;
  color: white;
  padding: 1rem 4rem;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius:var(--radius-large);
  cursor: pointer;
}

.reviews__arrow {
  background-color: white;
  color: #000;
  border-radius: 50%;
  min-width: 40px;
  max-height: 40px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 100;

}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: bold;
}

.swiper-button-prev {
  left: 0px !important;
  top: 54% !important;
}

.swiper-button-next {
  right: 0px !important;
  top: 54% !important;
}

/* form error styles */
.form__input.error {
    border: 2px solid red;
    background-color: #fff0f0;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}