.section-header {
  width: 100%;
  height: 754px;
  margin-top: -112px;

  background-image: linear-gradient(
      to bottom,
      rgba(13, 13, 13, 0.8) 0%,
      rgba(13, 13, 13, 0.4) 40%,
      rgba(13, 13, 13, 0) 80%
    ),
    url("../../assets/images/PNG/hero_bg-team.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom-right-radius: 60px;
  border-bottom-left-radius: 60px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  padding-top: 192px;
  flex-direction: column;
}

.section-header-main-title {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: 0px;
  text-align: center;
}

.section-header-main-title.BG {
  max-width: 760px;
}

.section-header-secondary-title {
  font-family: Montserrat;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
}

.section-calendar {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.calendar-container {
  display: flex;

  margin-top: -400px;

  width: 100%;
  height: 600px;

  max-width: 1280px;

  background: linear-gradient(257.61deg, #141414 0%, #262626 50%, #141414 100%);
  border: 1px solid var(--grey-20);
  border-radius: 16px;
}

.calendar-container.BG {
  margin-top: -340px;
}

.calendar-container.summary-mode {
  height: fit-content;
}

.calendar-left {
  width: 30%;
  padding: 32px;

  max-width: 344px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-right: 1px solid var(--grey-20);
}

.calendar-left-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-container-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.left-heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
}

.left-note {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0px;
}

.left-info {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: #ffffffcc;
}

.calendar-left-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.bottom-info-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: flex-start;

  font-family: Montserrat;
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
}

.calendar-mid {
  border-right: 1px solid var(--grey-20);
  width: 100%;
  max-width: 592px;
  padding: 32px;

  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calendar-right {
  width: 30%;
  max-width: 344px;
}

.calendar-mid-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-mid-top-right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.calendar-mid-top-left {
  display: flex;
  gap: 32px;
}

.month {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
}

.year {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 20px;
  line-height: 20px;
  color: #ffffffcc;
}

.arrow {
  cursor: pointer;
}

.arrow.end {
  filter: brightness(0) saturate(100%) invert(46%) sepia(1%) saturate(1742%)
    hue-rotate(314deg) brightness(93%) contrast(85%);
  cursor: not-allowed;
}

.arrow.left {
  rotate: 180deg;
}

.dow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #ffffffcc;
}

.calendar-mid-mid {
  display: flex;
  justify-content: space-around;
}

.calendar-mid-bot {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
  gap: 4px;
}

.row {
  display: flex;
  justify-content: space-between;
  height: 100%;
  gap: 4px;
}

.chip {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 8px;

  font-family: Montserrat;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  text-align: center;

  border: 2px solid transparent;

  cursor: pointer;
}

.chip.today {
  /* font-size: 22px; */
}

.chip.selected {
  background: linear-gradient(135deg, #6000e5 0%, #8833ff 100%);
}

.chip.not-allowed {
  background-color: #ffffff1a;
  color: #ffffff40;
  cursor: not-allowed;
}

.chip.next {
  color: #ffffff99;
}

.chip:hover {
  border: 2px solid white;
}

.chip.previous {
  color: #ffffff40;
  cursor: not-allowed;
}

.chip.not-allowed:hover,
.chip.previous:hover {
  border: 2px solid transparent;
}

.calendar-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
}

.calendar-right-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.calendar-right-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.time-chip {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #ffffff1a;
  border: 1px solid var(--grey-30);
  border-radius: 8px;

  color: #ffffff;

  font-family: Montserrat;
  font-size: 14px;
  line-height: 14px;
  text-align: center;

  cursor: pointer;
}

.time-chip.selected {
  background-color: #ffffff33;
  border: 1px solid white;
}

[hidden].time-chip {
  display: none !important;
}

.time-chip:hover {
  border: 1px solid white;
}

.section-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 200px;
}

.connect-container {
  max-width: 1280px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
  justify-content: center;
}

.connect-left {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 32px;
  padding: 48px;
  border: 1px solid var(--grey-30);
  border-radius: 16px;
  background: linear-gradient(
    205.54deg,
    #0d0d0d 0%,
    #2c0a5c 50.28%,
    #0d0d0d 100%
  );
  width: 100%;
  max-width: 600px;
}

.left-header {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
}

.left-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.connect-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #0d0d0d4d;
  border: 2px solid var(--grey-30);
  width: 100%;
  height: 56px;
  border-radius: 60px;
}

.connect-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.right-heading {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 34px;
  line-height: 50px;
  letter-spacing: 0px;
  color: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, #ffffff 60%);
}

.right-text {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0px;
  color: #b2b2b2;
}

.calendar-right-big {
  padding: 32px 48px;
  gap: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* When summary mode is active */
.calendar-container.summary-mode .calendar-mid,
.calendar-container.summary-mode .calendar-right {
  display: none;
}

.calendar-container.summary-mode .calendar-right-big {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.name-email {
  display: flex;
  width: 100%;
  gap: 24px;
}

.input-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
}

.input-label {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  color: #ffffffe5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.connect-input {
  display: flex;
  width: 100%;
  padding: 16px 18px;
  background-color: #ffffff1a;
  border: 1px solid var(--grey-30);
  border-radius: 8px;
}

.connect-input::placeholder {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  color: var(--grey-60);
}

.connect-textarea {
  display: flex;
  width: 100%;
  padding: 16px 18px;
  background-color: #ffffff1a;
  border: 1px solid var(--grey-30);
  border-radius: 8px;
  height: 104px;
}

.buttons-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: auto;
  flex-shrink: 0;
}

.terms-text {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  color: #b2b2b2;
  width: 100%;
  text-align: left;
  line-height: 20px;
}

.terms {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  color: #ffffff;
}

.form-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  border-radius: 8px;
  font-family: Montserrat;
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
  color: white;
  padding: 16px 48px;
  width: 168px;
}

.form-button.back {
  background-color: #0d0d0d4d;
  border: 2px solid var(--grey-30);
}

.form-button.continue {
  background-color: #ffffff0d;
  border: 2px solid var(--grey-60);
}

.contact-form-connect {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.hp-wrap {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.error-text {
  color: #e53935;
  font-size: 12px;
  display: none;
}

.input-main-container.invalid .error-text {
  display: block;
}

.input-main-container {
  width: 100%;
}

@media (max-width: 1320px) {
  .calendar-container,
  .connect-container {
    width: 1000px;
  }

  .calendar-mid {
    width: 50%;
    padding: 32px 24px;
  }

  .calendar-right,
  .calendar-left {
    width: 25%;
    padding: 24px;
  }

  .calendar-right-bottom {
    gap: 6px;
  }

  .terms-text {
    flex-shrink: unset;
    line-height: 22px;
  }
}

@media (max-width: 1080px) {
  .section-calendar {
    padding-left: 48px;
    padding-right: 48px;
  }

  .section-connect {
    padding-left: 48px;
    padding-right: 48px;
    margin-top: 104px;
  }

  .connect-container {
    width: 100%;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }

  .calendar-container {
    width: 100%;
    flex-direction: column;
    height: fit-content;
    max-width: 616px;
  }

  .calendar-mid {
    width: 100%;
    max-width: unset;
    border-right: unset;
  }

  .calendar-right {
    width: 100%;
    max-width: unset;

    border-left: unset;
    border-top: 1px solid var(--grey-20);
  }

  .calendar-left {
    width: 100%;
    max-width: unset;

    border-right: unset;
    border-bottom: 1px solid var(--grey-20);
    gap: 48px;
  }

  .chip {
    height: 72px;
  }

  .calendar-right-bottom {
    gap: 12px;
  }

  .calendar-right-big {
    padding: 32px 24px;
  }

  .name-email {
    flex-direction: column;
  }

  .buttons-container {
    flex-direction: column;
  }

  .form-button {
    width: 168px;
    max-width: 228px;
  }
}

@media (max-width: 970px) {
  .section-calendar {
    padding-left: 32px;
    padding-right: 32px;
  }

  .section-connect {
    padding-left: 32px;
    padding-right: 32px;
  }

  .section-header-main-title {
    font-size: 32px;
    line-height: 32px;
  }
}

@media (max-width: 700px) {
  .section-calendar {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-connect {
    padding-left: 24px;
    padding-right: 24px;
  }

  .right-heading {
    font-size: 20px;
    line-height: 28px;
    text-align: center;
  }

  .right-text {
    font-size: 14px;
    line-height: 22px;
    text-align: center;
  }

  .connect-container {
    gap: 40px;
  }

  .connect-left {
    padding: 32px 24px;
  }

  .left-header {
    font-size: 20px;
    line-height: 20px;
  }

  .connect-textarea {
    height: 142px;
  }
}

@media (max-width: 500px) {
  .calendar-container.BG {
    margin-top: -400px;
  }

  .section-calendar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-connect {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-header-main-title {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
  }

  .section-header-secondary-title {
    font-size: 14px;
    line-height: 22px;
  }

  .calendar-container {
    margin-top: -440px;
  }

  .section-header {
    gap: 16px;
  }

  .left-heading {
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0px;
  }

  .month,
  .year {
    font-size: 16px;
    line-height: 16px;
  }

  .chip {
    font-size: 14px;
    height: 40px;
    border-radius: 4px;
  }

  .chip:hover {
    border: 2px solid transparent;
  }

  .form-button {
    width: 100%;
    max-width: unset;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .calendar-container.BG {
    margin-top: -370px;
  }
}
