@font-face {
  font-family: Productsans;
  src: url('../fonts/ProductSans-Medium.ttf') format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Productsans;
  src: url('../fonts/ProductSans-Regular.ttf') format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #272b33;
  --secondary: #8c8c8c;
}

.body {
  color: var(--primary);
  font-family: Productsans, Arial, sans-serif;
  line-height: 100%;
}

.section {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  background-image: url('../images/Hero-min.png');
  background-position: 50%;
  background-size: cover;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 40px 40px 260px;
  display: flex;
}

.logo {
  border-radius: 80px;
  height: 140px;
  box-shadow: 0 4px 8px #00000080;
}

.text-block {
  color: #fff;
  text-shadow: 0 4px 8px #00000080;
  font-size: 60px;
  font-weight: 500;
  line-height: 120%;
}

.text-block-2 {
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 4px #00000080;
  max-width: 650px;
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
}

.buttons {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  display: flex;
}

.button {
  color: #fff;
  background-image: linear-gradient(#4785ff, #2e49c3);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  display: flex;
  box-shadow: 0 4px 16px #00000059;
}

.button2 {
  color: #4785ff;
  background-color: #fff;
  border: 2px solid #4785ff;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  display: flex;
  box-shadow: 0 4px 16px #00000059;
}

.section-2 {
  grid-column-gap: 60px;
  grid-row-gap: 60px;
  justify-content: center;
  align-items: center;
  padding: 80px 24px;
  display: flex;
}

.text-block {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 480px;
  display: flex;
}

.text-block-image {
  border-radius: 12px;
  width: 360px;
  box-shadow: 0 4px 16px #0000001a;
}

.text1 {
  color: var(--primary);
  text-shadow: none;
  font-size: 48px;
  font-weight: 400;
  line-height: 120%;
}

.text2 {
  color: var(--primary);
  text-shadow: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

.text3 {
  color: var(--primary);
  text-shadow: none;
  font-size: 16px;
  line-height: 150%;
}

.section-3 {
  grid-column-gap: 48px;
  grid-row-gap: 48px;
  border-top: 1px solid #f5f5f5;
  border-bottom: 1px solid #f5f5f5;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px;
  display: flex;
}

.rides {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.address {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.instructions {
  color: var(--secondary);
  text-align: center;
  font-size: 14px;
  line-height: 100%;
}

.ride-option {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  background-color: #fff;
  border: 1px solid #f5f5f5;
  border-radius: 12px;
  justify-content: flex-start;
  align-items: center;
  width: 240px;
  height: 78px;
  padding: 16px;
  font-size: 16px;
  line-height: 100%;
  display: flex;
  box-shadow: 0 4px 16px #0000001a;
}

.text-block-hero {
  color: #fff;
  text-shadow: 0 4px 8px #00000080;
  font-size: 60px;
  font-weight: 500;
  line-height: 120%;
}

.image {
  width: 36px;
}

.text-block-3 {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  font-size: 16px;
  display: flex;
}

.ride-options {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  display: flex;
}

.text-block-4 {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  font-size: 16px;
  line-height: 100%;
  display: flex;
}

.text4 {
  color: var(--secondary);
  font-size: 14px;
}

.footer {
  grid-column-gap: 60px;
  grid-row-gap: 60px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  padding: 80px 24px 120px;
  display: flex;
}

.text-block-5 {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 480px;
  font-size: 16px;
  line-height: 100%;
  display: flex;
}

.form {
  width: 360px;
  height: 258px;
  gap: 16px;
  opacity: 1;
  border-radius: 12px;
  border: 1px solid #F5F5F5;
  padding: 24px;
  background: #FFFFFF;
  box-shadow: 0px 4px 16px 0px #0000001A;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Registration Form Styles */
.registration-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.form-input {
  width: 312px;
  height: 48px;
  padding-right: 16px;
  padding-left: 16px;
  background: #FAFAFA;
  border: 2px solid #F5F5F5;
  border-radius: 8px;
  opacity: 1;
  font-family: Productsans, Arial, sans-serif;
  font-size: 16px;
  color: var(--primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input::placeholder {
  color: #B3B3B3;
  font-size: 16px;
}

.form-input:focus {
  border-color: #4785FF;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 312px;
  height: 18px;
  opacity: 1;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  opacity: 1;
  border-radius: 4px;
  background: #FAFAFA;
  border: 2px solid #F5F5F5;
  cursor: pointer;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-checkbox:checked {
  background-color: #4785FF;
  border-color: #4785FF;
}

.form-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label {
  width: 248px;
  height: 17px;
  opacity: 1;
  font-family: Productsans, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  color: var(--primary);
  cursor: pointer;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.release-form-link {
  font-family: Productsans, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  color: #4785FF;
  text-decoration: none;
  cursor: pointer;
}

.release-form-link:hover {
  color: #4785FF;
  text-decoration: none;
}

.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 110px;
  height: 48px;
  opacity: 1;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  margin-bottom: 0;
}

.form-radio {
  width: 18px;
  height: 18px;
  opacity: 1;
  border-radius: 50px;
  background: #FAFAFA;
  border: 2px solid #F5F5F5;
  cursor: pointer;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-radio:checked {
  border-color: #4785FF;
}

.form-radio:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #4785FF;
  border-radius: 50%;
}

.radio-label {
  /* width: 80px; */
  height: 17px;
  opacity: 1;
  font-family: Productsans, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  color: #272B33;
  cursor: pointer;
  margin: 0;
  padding: 0;
  margin-bottom: 0;
}

.form-button {
  width: 100px;
  height: 48px;
  padding: 0;
  opacity: 0.3;
  border-radius: 8px;
  background: linear-gradient(180deg, #4785FF 0%, #2E49C3 100%);
  border: none;
  color: white;
  font-family: Productsans, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s ease;
}

.form-button:enabled {
  opacity: 1;
  cursor: pointer;
}

.form-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* Success State Styles */
.form-success {
  width: 360px;
  height: 258px;
  gap: 24px;
  opacity: 1;
  border-radius: 12px;
  border: 1px solid #F5F5F5;
  padding: 24px;
  background: #FFFFFF;
  box-shadow: 0px 4px 16px 0px #0000001A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-text {
  font-family: Productsans, Arial, sans-serif;
  font-size: 16px;
  color: var(--primary);
  text-align: center;
  line-height: 1.5;
}

.text5 {
  color: var(--secondary);
  text-shadow: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
}

.text6 {
  color: var(--primary);
  text-shadow: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
}

.text-block-6 {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

@media screen and (max-width: 991px) {
  .section {
    height: 840px;
  }

  .section-2 {
    flex-flow: column;
  }

  .text-block {
    justify-content: flex-start;
    align-items: center;
  }

  .text-block-image {
    width: 100%;
    max-width: 540px;
  }

  .text1, .text2, .text3 {
    text-align: center;
  }
  
  /* Tablet form adjustments */
  .form {
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: 258px;
  }
  
  .form-input {
    width: 100%;
    max-width: 312px;
  }
  
  .checkbox-group {
    width: 100%;
    max-width: 312px;
    height: auto;
  }
  
  .checkbox-label {
    width: calc(100% - 28px);
    max-width: 248px;
    height: auto;
  }
  
  .radio-group {
    width: 110px;
    height: auto;
  }
  
  .radio-label {
    /* width: 80px; */
    height: auto;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
  }
  
  .radio-option {
    gap: 8px;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
  }
  
  .form-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
  }
  
  .form-success {
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: 258px;
  }
}

@media screen and (max-width: 767px) {
  /* Medium screen form adjustments */
  .form {
    width: calc(100vw - 48px);
    max-width: 360px;
    height: auto;
    min-height: 258px;
    padding: 24px;
  }
  
  .form-input {
    width: 100%;
    max-width: 300px;
    height: 46px;
  }
  
  .form-button {
    width: 100px;
    height: 48px;
    flex-shrink: 0;
  }
  
  .form-button:enabled {
    opacity: 1;
  }
  
  .form-button:disabled {
    opacity: 0.3;
  }
  
  .form-success {
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: 258px;
    padding: 22px;
  }
  
  .checkbox-group {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  
  .checkbox-label {
    width: calc(100% - 28px);
    max-width: 220px;
    height: auto;
  }
  
  .radio-group {
    width: 100px;
    height: auto;
  }
  
  .radio-label {
    width: 70px;
    height: auto;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
  }
  
  .radio-option {
    gap: 8px;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
  }
  
  .form-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
}

@media screen and (max-width: 479px) {
  .section {
    height: auto;
    padding: 60px 16px;
  }

  .logo {
    height: 100px;
  }

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

  .button, .button2 {
    width: 220px;
  }

  .section-2 {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .text1 {
    font-size: 30px;
  }

  .section-3 {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .instructions {
    line-height: 150%;
  }

  .text-block-hero {
    font-size: 28px;
    line-height: 150%;
  }

  .ride-options {
    flex-flow: column;
  }

  .footer {
    padding-top: 50px;
    padding-bottom: 80px;
  }
  
  /* Mobile form adjustments */
  .form {
    width: calc(100vw - 32px);
    max-width: 360px;
    height: auto;
    min-height: 258px;
    padding: 24px;
    gap: 14px;
  }
  
  .registration-form {
    gap: 14px;
  }
  
  .form-input {
    width: 100%;
    max-width: none;
    height: 44px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 15px;
  }
  
  .form-input::placeholder {
    font-size: 15px;
  }
  
  .checkbox-group {
    width: 100%;
    max-width: none;
    height: auto;
    gap: 8px;
  }
  
  .checkbox-label {
    width: calc(100% - 26px);
    max-width: none;
    height: auto;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
  }
  
  .release-form-link {
    font-size: 13px;
    line-height: 1.3;
    color: #4785FF;
    text-decoration: none;
  }
  
  .form-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  
  .radio-group {
    width: auto;
    max-width: 120px;
    height: auto;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
  }
  
  .radio-label {
    width: auto;
    min-width: 50px;
    height: auto;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
  }
  
  .radio-option {
    gap: 8px;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
  }
  
  .form-button {
    width: 100px;
    height: 48px;
    font-size: 15px;
    flex-shrink: 0;
  }
  
  .form-button:enabled {
    opacity: 1;
  }
  
  .form-button:disabled {
    opacity: 0.3;
  }
  
  .form-success {
    width: calc(100vw - 32px);
    max-width: 360px;
    height: auto;
    min-height: 258px;
    padding: 24px;
    gap: 20px;
  }
  
  .success-text {
    font-size: 15px;
  }
}


@font-face {
  font-family: 'Productsans';
  src: url('../fonts/ProductSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Productsans';
  src: url('../fonts/ProductSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}