@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #fff;
}

label,span {
    font-family: "Poppins", sans-serif;
}

/* CONTAINER */
.container_part {
  max-width: 1060px;
  margin: 0px auto;
}

img {
    max-width: 100%;
}

li,ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.header_area {
    padding: 40px 20px;
    background: #fff;
}

.logo_part {
    max-width: 350px;
    margin: 0 auto;
}

.brand_part {
    padding: 20px 20px 25px;
    background: #fff;
}

.brand_heading p {
    color: #888;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
}

.brand_logo_area {
    max-width: 640px;
    margin: 0 auto;
}

.brand_logo_area ul {
    display: grid;
    grid-template-columns: 1fr 1fr 220px 1fr;
    align-items: center;
    gap: 20px;
}

.footer_area {
    padding: 10px 20px 50px;
}

.footer_top_part {
    max-width: 800px;
    border-top: 1px solid #cfcfcf;
    margin: 0 auto;
    padding-top: 30px;
}

.footer_top_part ul li {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #666;
    position: relative;
}

.footer_top_part ul li a {
    position: relative;
}

.footer_top_part ul li a:after {
    position: absolute;
    content: "";
    background: #c3c3c3;
    height: 12px;
    width: 1px;
    top: 50%;
    transform: translateY(-50%);
    right: -18px;
}

.footer_top_part li a {
    color: #5BA8C1;
    font-size: 13px;
}

.footer_top_part ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 24px;
}

.footer_top_part p {
    color: #666;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
    margin: 15px 20px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


/* STEPS */

.form_area {
    padding: 20px 20px 55px;
}

.form_step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.active_step {
  display: block;
}

.step_heading h2, 
.form_step h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 35px;
    line-height: 1.3;
}

/* GRID */
.grid_2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* OPTION CARD */
.option_card {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 70px;
padding: 20px 16px;
background: #4ab8c8;
border-radius: 8px;
font-size: 17px;
font-weight: 500;
color: #ffffff;
cursor: pointer;
text-align: center;
transition: all 0.2s ease;
}

.option_card:hover {
  background: #1a6a7a;  
}

.option_card.dark {
  background: #1a6a7a;
}

.option_card input {
  display: none;
}

/* HOVER + ACTIVE */
.option_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.option_card input:checked + span {
  font-weight: 600;
}

.option_card:has(input:checked) {
  background: #1a6a7a;  
}

/* FULL WIDTH */
.full_width {
  grid-column: span 2;
}


.nav_btn.between {
  display: flex;
  justify-content: space-between;
}

.back_btn, .next_btn, .submit_btn {
    border: none;
    padding: 5px 25px;
    border-radius: 50px;
    cursor: pointer;
    background: #4ab8c8;
    min-height: 50px;
    min-width: 120px;
    margin-top: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.back_btn:hover, 
.next_btn:hover, 
.submit_btn:hover {
background: #1a6a7a;  
}

.back_btn img,
.next_btn img {
    max-width: 21px;
    flex: none;
}

.form_group > label {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 0px;
    margin-bottom: 10px;
    text-align: left;
    display: inline-block;
}

.submit_area {
    display: flex;
    align-items: center;
    justify-self: center;
}

.submit_btn {
    background: #4ab8c8;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 20px;
    display: inline-block;
    padding: 20px;
    min-width: 200px;
    text-align: center;
    margin-top: 5px;
}

.form_group {
    margin-bottom: 20px;
}

.back_btn:hover {
  background: #c9c9c9;
}

.next_btn:hover,
.submit_btn:hover {
  opacity: 0.9;
}

.error_msg {
    display: none;
    color: #e74c3c;
    font-size: 14px;
    text-align: left;
    margin-top: 3px;
    line-height: 1.3;
}

.error span {
    color: #e74c3c;
    font-size: 14px;
    text-align: left;
    margin-top: 5px;
    display: inline-block;
    line-height: 1.3;
}

.check_content .error span {
    font-size: 12px;
    margin-top: 15px;
    color: #e74c3c;
}

.form_group input {
    background-color: #FFFFFF;
    color: #05445EFF;
    border-radius: 5px;
    padding: 9px 18px 9px 20px;
    box-shadow: 0px 0px 0px 0px #FFFFFF;
    font-family: 'Poppins';
    font-size: 15px;
    font-weight: 300;
    background-clip: inherit;
    border: 1px dashed #000 !important;
    width: 100%;
    min-height: 44px;
}

.form_group input:focus,
.form_group input:focus-visible {
    border: 1px dashed #00c8e5 !important;
    box-shadow: none!important;
    outline: none!important;
}

.form_group.emil_area:after {
    position: absolute;
    content: "";
    background: url(../images/envelope-image.webp);
    width: 20px;
    height: 16px;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 0 0;
    left: 14px;
    top: 51px;
    z-index: 9;
}

.form_group.emil_area {
    position: relative;
}

.form_group.emil_area input {
    padding-left: 45px;
}

/* Hide default checkbox */
.check_arae input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #4ab8c8;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  background: #fff;
  top: 2px;
}

/* Checked state (green background) */
.check_arae input[type="checkbox"]:checked {
  background-color: #4ab8c8; /* green shade */
  border-color: #4ab8c8;
}

/* White checkmark */
.check_arae input[type="checkbox"]:checked::after {
  content: "✔";
  color: #fff;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}

.input_area input:focus,
.input_area input:focus-visible {
  border: 1px dashed #5fb3bd !important;
  outline: none;
  box-shadow: none;
}

/* CONSENT AREA */
.input_bottom_part {
  margin-top: 50px;
  text-align: center;
  margin-bottom: 50px;
}

.input_bottom_part p {
    text-align: center;
    font-size: 15px;
    color: #555;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 25px;
}

.check_content label {
    color: #444;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.secure_text {
  font-size: 14px;
  margin-bottom: 15px;
  color: #333;
}

.checkbox_area {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.checkbox_area input {
  margin-top: 4px;
}


.check_content a {
    color: #4ab8c8;
    text-decoration: underline;
}

.check_content span {
    display: block;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 15px;
}

.check_content p {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  line-height: 1.4;
}

/* SORRY STEP */
.sorry_area,
.thank_area {
  text-align: center;
}

.envelope_img {
  width: 120px;
  margin: 20px 0;
}

/* ANIMATION */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

.sorry_step,
.thank_step {
    border-radius: 24px;
    padding: 60px 25px;
    text-align: center;
    max-width: 850px;
    margin: 0px auto;
    background: linear-gradient(135deg, #e8f4fc 0%, #cfe5f5 30%, #b8d9f0 60%, #d5ecf8 100%);
}

.sorry_step h2,
.thank_step h2 {
    font-size: 34px;
    font-weight: 600;
    color: #2c7fb8;
    margin-bottom: 15px;
}

.sorry_step p,
.thank_step p {
    font-size: 16px;
    color: #3a3a3a;
    margin: 0 auto 25px;
    line-height: 1.7;
    font-weight: 300;
}

/* IMAGE */
.sorry_step img,
.thank_step img {
  width: 110px;
  margin: 20px 0;
}

/* BUTTON */
.sorry_step a,
.thank_step a {
 display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
background: linear-gradient(135deg, #4a9fc8 0%, #2c7fb8 100%);
color: #ffffff;
font-size: 1.05rem;
font-weight: 700;
padding-top: 16px;
padding-bottom: 16px;
padding-left: 52px;
padding-right: 52px;
border-radius: 50px;
text-decoration: none;
box-shadow: 0 0 0 3px rgba(74, 159, 200, 0.22), 0 6px 20px rgba(44, 127, 184, 0.3);
font-family: "Poppins", sans-serif;
letter-spacing: 0.5px;
transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
white-space: nowrap;
}

/* HOVER */
.sorry_step a:hover,
.thank_step a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
.logo_part {
    max-width: 265px;
}

.header_area {
    padding: 18px 20px 14px;
}

.step_heading h2, .form_step h2 {
    font-size: 25px;
    margin-bottom: 25px;
}

.back_btn, .next_btn, .submit_btn {
    min-width: 100px;
    margin-top: 32px;
     min-height: 45px;
}

}

@media (max-width: 767px) {

  .back_btn, .next_btn, .submit_btn {
    min-height: 40px;
    min-width: 85px;
    margin-top: 24px;
}

      .logo_part {
        max-width: 200px;
    }

    .form_area {
    padding: 16px 20px 30px;
}

.step_heading h2, .form_step h2 {
    font-size: 21px;
}

.option_card {
    min-height: 50px;
    padding: 15px 12px;
    font-size: 14px;
}

  .sorry_step,
  .thank_step {
    padding: 35px 20px;
  }

     .sorry_step h2, .thank_step h2 {
        font-size: 21px;
        margin-bottom: 15px;
    }

    .sorry_step p, .thank_step p {
    font-size: 15px;
    margin: 0 auto 10px;
}

.sorry_step a, .thank_step a {
    font-size: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
}

  .sorry_step a,
  .thank_step a {
    width: 100%;
  }

      .grid_2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .brand_part {
    padding: 22px 20px 5px;
    background: #fff;
}

.brand_logo_area ul {
    grid-template-columns: 1fr 1fr 125px 1fr;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
}
    .header_area {
        padding: 15px 20px 5px;
    }
.footer_top_part ul {
    gap: 14px 30px;
    flex-wrap: wrap;
    text-align: center;
    max-width: 320px;
    margin: 0 auto 18px;
}

.footer_area {
    padding: 10px 20px 30px;
}

  .full_width {
    grid-column: span 1;
  }

  .error_msg {
    font-size: 11px;
}

.error span {
    font-size: 13px;
    margin-top: 7px;
}

.form_group > label {
    font-size: 16px;
    margin-bottom: 7px;
}

.form_group {
    margin-bottom: 12px;
}

.input_bottom_part p {
    font-size: 14px;
}

.input_bottom_part {
    margin-top: 25px;
    margin-bottom: 25px;
}

.submit_btn {
    font-size: 16px;
    padding: 16px;
    min-width: 165px;
    margin-top: 0;
}

.form_group.emil_area:after {
    left: 14px;
    top: 47px;
}

}


/* error style */
.error {
    display: block;
    color: #e53935;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

input.error_input {
    border: 1px solid #e53935 !important;
    background-color: #fff5f5;
}

input.valid_input {
    border: 1px solid #2e7d32 !important;
}

.form_group {
    margin-bottom: 20px;
}

.error {
    min-height: 16px; /* prevents layout jump */
}

.form_step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease;
}

.form_step.active_step {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

input[type="radio"]:checked + label {
    transform: scale(0.97);
    transition: transform 0.15s ease;
}