/* Utilities */
.btn-pill {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 6.25rem;
  background-color: var(--_btn-clr);
  color: var(--_btn-txt-clr);
  padding: 1.25em 2.25rem;
  border: none;
  border-radius: 100vw;
  font-size: var(--_btn-fs, var(--fs-400));
  font-weight: var(--_btn-fw, var(--fw-700));
  text-align: center;
  text-wrap: nowrap;
  text-transform: uppercase;
  transition: all 180ms ease;

  a {
    all: unset;
  }

  &:hover {
    color: var(--_btn-clr);
    background-color: var(--_btn-txt-clr);
    outline: 1px solid var(--_btn-clr);

    transition: all 180ms ease;
  }

  &:has(.btn-icon),
  &:has(.bx) {
    --_btn-clr: var(--_btn-icon-clr);
    --_btn-txt-clr: var(--_btn-icon-txt-clr);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.625rem;
  }

  &.btn-primary {
    --_btn-clr: var(--primary-clr);
    --_btn-txt-clr: var(--white-clr);
  }

  &.btn-secondary {
    --_btn-clr: var(--secondary-clr);
    --_btn-txt-clr: var(--white-clr);
  }

  &.btn-secondary-900 {
    --_btn-clr: var(--secondary-clr-900);
    --_btn-txt-clr: var(--white-clr);
  }

  &.btn-tertiary {
    --_btn-clr: var(--tertiary-clr);
    --_btn-txt-clr: var(--white-clr);
  }

  &.btn-tertiary-900 {
    --_btn-clr: var(--tertiary-clr-900);
    --_btn-txt-clr: var(--white-clr);
  }

  &.btn-outline,
  &.btn-outline-tertiary {
    --_btn-clr: var(--white-clr);
    --_btn-txt-clr: var(--tertiary-clr);
    border: 1px solid var(--_btn-txt-clr);
  }

  &.btn-outline-tertiary-900 {
    --_btn-clr: var(--white-clr);
    --_btn-txt-clr: var(--tertiary-clr-900);
    border: 1px solid var(--_btn-txt-clr);
  }

  &.btn-outline-secondary-900 {
    --_btn-txt-clr: var(--secondary-clr-900);
    --_btn-clr: var(--white-clr);
    border: 1px solid var(--_btn-txt-clr);
  }

  &.btn-outline-primary {
    --_btn-clr: var(--white-clr);
    --_btn-txt-clr: var(--primary-clr);
    border: 1px solid var(--_btn-txt-clr);
  }

  &.btn-outline-secondary {
    --_btn-clr: var(--white-clr);
    --_btn-txt-clr: var(--secondary-clr);
    border: 1px solid var(--_btn-txt-clr);
  }

  &.btn-outline-secondary-900 {
    --_btn-clr: var(--white-clr);
    --_btn-txt-clr: var(--secondary-clr-900);
    border: 1px solid var(--_btn-txt-clr);
  }

  &.btn-fw-500 {
    --_btn-fw: var(--fw-500);
  }

  &.btn-sm {
    padding-block: 1rem;

    @media (width <=768px) {
      --_btn-fs: 0.875rem;
    }
  }

  &.btn-md {
    padding-inline: 1.625rem;
  }

  &.btn-xl {
    padding: 1rem 2.5rem;
  }

  &.btn-2xl {
    width: 13.5rem;
  }

  &.btn-3xl {
    padding: 0.875rem;
    width: 20.5rem;
  }

  &.btn-full {
    width: 100%;
  }

  &.btn-partner {
    border: none;
    border-bottom: 2px solid var(--secondary-clr);

    &:hover {
      outline: none;
      border-bottom-color: var(--white-clr);
    }
  }
}

.h1 {
  font-weight: var(--fw-900);
  font-size: var(--fs-1000);
  line-height: 1.14;
}

h2 {
  margin-bottom: 0;
  color: var(--tertiary-clr-900);
}

/* End of Utilities */

/* Css Only Carousel */

/* End of Css Only Carousel */

body {
  font-family: var(--ff-satoshi);
  background-color: var(--white-clr-700);
  line-height: 1.6;
}

.wrapper {
  --_max-width: 1352px;
  --_max-width: 1500px;

  @media (width <=768px) {
    --_gap: 0px !important;
  }
}

/* Hero */

.hero {
  --_gap: 3rem !important;

  @media (width <=768px) {
    --_gap: 1.125rem !important;
  }

  @media (width <=600px) {
    --_gap: 0 !important;
  }

  .column:first-of-type {
    padding-block: clamp(3rem, 5vw + 1.5rem, 6rem);
    /* padding-inline: 2.25rem; */
    padding-inline: 4rem;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 2.25rem;
    background-image: url("/assets/images/home/hero-5.png");
    background-position: center;

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background:
      /* radial-gradient(
          96.59% 167.9% at 2.35% 100.08%,
          #2c2f4a 0%,
          #642857 100%
        ), */ radial-gradient(
        96.59% 96.59% at 98.34% 100.08%,
        rgba(100, 40, 87, 0.35) 0%,
        rgba(155, 32, 100, 0.35) 100%
      );

      /* backdrop-filter: blur(40px); */
      z-index: -1;
    }

    > * {
      width: min(555px, 100%);
      margin-inline: auto;
    }

    p {
      padding-top: 1.5rem;
      line-height: 1.3;
      color: var(--white-clr);
      /* text-wrap: balance; */
    }

    @media (width <= 600px) {
      padding-inline: 1.5rem;
    }
  }
  .column:last-of-type {
    padding: clamp(3rem, 5vw + 1.5rem, 6rem) 4rem;
    padding-bottom: 2.5rem;
    background-color: var(--white-clr);
    border-radius: 1.5rem;
    border: 1px solid var(--white-clr-800);

    > * {
      width: min(500px, 100%);
      margin-inline: auto;
    }

    @media (width <= 600px) {
      padding-inline: 1.5rem;
    }
  }

  .h1 {
    text-transform: uppercase;
    font-size: var(--fs-950);
    color: var(--white-clr);
    line-height: 1.2;
    text-wrap: balance;

    @media (width <= 600px) {
      font-size: var(--fs-700);
    }
  }

  h2 {
    font-family: Satoshi;
    font-weight: var(--fw-900);
    font-size: var(--fs-950);
    line-height: 1;
    text-transform: uppercase;
    color: var(--text-clr-700);

    @media (width <= 600px) {
      font-size: var(--fs-700);
    }
  }

  .hero-content {
    /* padding-block: 1.125rem; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem;

    @media (width <= 1024px) {
      grid-template-columns: 100%;
      grid-template-rows: 500px 1fr;
    }
  }

  .contact-box {
    --_contaxt-box-row-spacing: 1.5rem;
    padding: var(--_contaxt-box-row-spacing) 2.25rem;
    border-radius: 1.125rem;
    background-color: #1c1d4be5;
    backdrop-filter: blur(40px);
  }

  .icon-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    &:first-child {
      border-bottom: 1px solid #bc2f80;
      margin-bottom: var(--_contaxt-box-row-spacing);
      padding-bottom: var(--_contaxt-box-row-spacing);
    }
    .icon {
      width: 2.75rem;
      height: 2.75rem;
      flex-shrink: 0;
    }

    a {
      color: var(--white-clr);
      text-decoration: underline;
      transition: text-decoration 300ms ease;
      &:hover {
        text-decoration: none;
      }
    }
  }

  .column-header {
    p {
      margin-top: 1.125rem;
      font-weight: var(--fw-500);
      line-height: 1.4;
      max-width: 35ch;
    }
  }

  .courses-tabs {
    --_slide-fs: 0.875rem;
    --_slide-lh: 1;
    --_tab-mx: revert;

    margin-block: 1.5rem;

    border: 1px solid var(--border-clr-800);
    background-color: var(--white-clr);

    @media (width <= 600px) {
      --_slide-fs: 0.75rem;
    }

    @media (width <= 480px) {
      --_slide-fs: 0.625rem;
      --_tab-padding-inline: 0.25rem;
    }
  }

  .contact-form {
    display: grid;
    gap: 0.75rem;
  }

  .btn-pill {
    margin-top: 0.5rem;
    /* height: 44px; */
    --_btn-fs: 0.875rem;
  }
}
/* End of Hero */

/* FAQ */
.faqs-wrapper {
  --_gap: 3rem !important;
  @media (width <=768px) {
    --_gap: 1.125rem !important;
  }

  @media (width <=600px) {
    --_gap: 0 !important;
  }
}
.faqs-content {
  margin-block: 1.125rem;
  padding: clamp(3rem, 5vw + 1.5rem, 6rem) 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border-radius: 2.25rem;
  background: radial-gradient(
      96.59% 167.9% at 2.35% 100.08%,
      #2c2f4a 0%,
      #642857 100%
    ),
    radial-gradient(
      96.59% 96.59% at 98.34% 100.08%,
      rgba(100, 40, 87, 0.35) 0%,
      rgba(155, 32, 100, 0.35) 100%
    );

  /* @media (width <= 1200px) {
    grid-template-columns: 1fr 300px;
    grid-template-columns: 350px 1fr;
  } */
  @media (width <= 1024px) {
    grid-template-columns: 100%;
    grid-template-rows: auto 1fr;
  }

  @media (width <= 600px) {
    padding-inline: 1.125rem;
  }

  .column:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .courses-tabs {
    --_slide-fs: 0.875rem;
    --_slide-lh: 1;
    --_tab-border: 1px solid var(--secondary-clr-900);
    --_tab-bg-clr: var(--text-clr-700);
    --_tab-clr: var(--white-clr);
    --_tab-active-bg-clr: var(--secondary-clr-900);
    margin-block: 1.5rem;

    @media (width > 1024px) {
      --_tab-mx: 0;
    }
    @media (width <= 600px) {
      --_slide-fs: 0.75rem;
    }

    @media (width <= 480px) {
      --_slide-fs: 0.625rem;
    }
    /* background-color: var(--white-clr); */
  }

  header {
    color: var(--white-clr);

    h2 {
      font-size: 128px;
      line-height: 1.2;
      color: var(--white-clr);

      @media (width <= 600px) {
        font-size: var(--fs-1000);
      }
    }

    p {
      font-weight: var(--fw-500);
      font-size: var(--fs-450);
      line-height: 1.3;
    }
  }
}

/* End of FAQ */

/* Maps */
.maps-content {
  display: grid;
  margin-bottom: 1.125rem;

  header {
    padding: clamp(2.75rem, 5vw, 3.5rem);

    background: linear-gradient(0deg, #ffffff, #ffffff),
      linear-gradient(0deg, rgba(155, 32, 100, 0.8), rgba(155, 32, 100, 0.8));
    background: var(--secondary-clr-900);
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;

    > * {
      color: var(--white-clr);
    }

    h2 {
      width: min(15ch, 100%);
      font-weight: var(--fw-900);
      font-size: var(--fs-950);
      line-height: 1.2;
      text-transform: uppercase;

      @media (width <= 600px) {
        font-size: var(--fs-700);
      }
    }

    p {
      margin-top: 1.5rem;
    }
  }
}

.map {
  /* margin-top: 4rem; */

  /* height: 600px; */
  height: 720px;
  border-bottom-left-radius: 2.25rem;
  border-bottom-right-radius: 2.25rem;
  animation: fadeIn 300ms ease;
  position: relative;

  @media (width <=600px) {
    padding: 0;
    height: 500px;
  }
}

.office-marker {
  --_dot-size: 1.5rem;

  &:has(.head-office) {
    --_dot-size: 2rem;
  }

  .marker-content {
    position: relative;
    width: 24px;
    height: 24px;
  }

  .office-dot {
    width: var(--_dot-size);
    height: var(--_dot-size);
    background-color: var(--secondary-clr);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .office-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--_dot-size);
    height: var(--_dot-size);
    background-color: var(--secondary-clr);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0;
    z-index: -1;
  }
}

.head-office-badge {
  background: var(--secondary-clr);
  color: var(--white-clr);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: var(--fs-200);
  font-weight: var(--fw-600);
}

.office-info-window {
  max-width: 300px;
}

.office-info-header {
  display: grid;
  grid-template-columns: 64px auto;
  margin-bottom: 0.75rem;
  gap: 0.25rem 0.75rem;
  align-items: center;

  &:has(.head-office-badge) {
    align-items: center;
    justify-items: start;

    .office-image {
      grid-row: 1 / span 2;
    }

    h3 {
      align-self: end;
    }

    .head-office-badge {
      align-self: start;
    }
  }

  h3 {
    font-size: var(--fs-500);
    font-weight: var(--fw-600);
    color: var(--tertiary-clr);
  }
}

.office-info-row {
  display: flex;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
  color: var(--black-clr);

  .bx {
    margin-top: 1px;
  }

  a,
  span {
    font-size: var(--fs-300);
  }

  a {
    color: var(--secondary-clr);

    &:hover {
      text-decoration: underline;
    }
  }

  color: var(--black-clr);
}

.office-image {
  width: 4rem;
  height: 4rem;

  img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
}

/* End of Maps */
.courses-tabs {
  margin-inline: var(--_tab-mx, auto);

  position: relative;
  isolation: isolate;
  padding: 0.375rem;
  width: fit-content;
  min-height: 50px;
  display: flex;
  align-items: stretch;
  border: var(--_tab-border, none);
  background-color: var(--_tab-bg-clr, var(--tertiary-clr-100));
  border-radius: 100vw;

  .slide {
    position: absolute;
    height: calc(100% - 10px);
    top: 5px;
    left: var(--_slide-left, 0.25rem);
    width: var(--_slide-width);
    z-index: -1;
    background-color: var(--_tab-active-bg-clr, var(--tertiary-clr-900));
    border-radius: inherit;
    transition: all 0.5s ease;
  }

  .tab {
    --_tab-padding-inline: 0.625rem;
    cursor: pointer;
    flex: 0 0 auto;
    /* Will be set by JS */
    width: auto;
    min-width: auto;
    padding: var(--_tab-padding-inline) 1rem;
    text-align: center;
    padding: var(--_tab-padding-inline) 1rem;
    text-align: center;
    font-weight: var(--fw-500);
    font-size: var(--_slide-fs, var(--fs-400));
    line-height: var(--_slide-lh, var(--fs-400));
    text-transform: uppercase;
    color: var(--_tab-clr, var(--black-clr));
    background-color: transparent;
    border: none;
    border-radius: inherit;
    transition: color 0.3s ease;
    position: relative;

    &.tab-active {
      color: var(--_tab-active-clr, var(--white-clr));
    }
  }
  @media (width >600px) {
    --_slide-width: 190px;
  }

  @media (width <=768px) {
    --_slide-fs: 0.875rem;
  }

  @media (width <=600px) {
    width: 100%;
    --_slide-width: 50%;
  }

  @media (width <=480px) {
    --_slide-fs: 0.75rem;
  }
}

.input-wrapper {
  font-weight: var(--fw-500);
  --_input-wrapper-padding: 1rem;

  input,
  select,
  textarea {
    border: 1px solid #e4e4ff;
    background-color: #fcfcff;
  }

  .upload-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    background-color: var(--white-clr-900);
    border-radius: 0.5rem;
  }
}
