@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
@font-face {
    font-family: 'Bebas Kai';
    src: url('../fonts/BebasKai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
background-color: #202020;
font-family: 'Poppins', sans-serif;
padding-bottom: 55px;
}
.banner-conatiner{
    width: 100%; 
    height: 195px;
    background-image: url('../images/Conference_nwbg.jpg'); 
    background-size: contain;
    background-position: center; 
    background-repeat: no-repeat; 
    margin: 0px 0px 50px 0px;
}

.form-container{
    width: 80%;
    margin: 0 auto;
    background-color: #fff;
}
.contact-title h1 {
    font-family: 'Bebas Kai', Arial, sans-serif;
    padding-top: 17px;
    padding-bottom: 17px;
    font-size: 30px;
}

.contact-title {
    background-color: #DA0D15;
    color: #fff;
    text-align: center;
    position: relative;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 18px;
}
.contact-title:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #DA0D15;
    position: absolute;
    bottom: -15px;
    left: 7%;
    transform: translateX(-50%);
}
.form-container form {
    padding: 24px 55px 37px 55px;
}
select {
    position: relative;
    z-index: 10; /* Ensures it renders above other elements */
    display: block;
}

.form-group {
    overflow: visible; 
}
.form-control{   
    font-size: 14px;
    height: 45px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0.25rem;
    border-color: transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background: #0000000d !important;
    box-shadow: none;
}

label {
    font-weight: 400;
    color: #666;
    line-height: 1.7em;
    font-size: 16px;
}
.form-control:focus {
    border-color: #da0d15;
    outline: 0;
    -webkit-box-shadow: none !important;
    box-shadow: none;
    color: #666;
    font-family: 'Poppins', sans-serif;
}
.btn-primary{
    border-radius: 27px;
    font-size: 16px;
    padding: 10px 40px;
    margin-top: 10px ! important;
    background: #202020;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}
.btn-secondary {
    border-radius: 27px;
    font-size: 16px;
    padding: 10px 40px;
    margin-top: 10px ! important;
    background: #da0d15;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}
.btn-primary:hover{
    background: #da0d15;
}
.btn-secondary:hover{
    background: #202020;
    color: #fff;
}
button.btn.btn-primary {
    margin-left: 15px;
}
select:disabled {
    cursor: not-allowed !important;
}

#dynamic-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
  }
  
  #dynamic-form .form-group {
    flex: 1 1 45%;
    min-width: 300px;
    margin-top: 10px;
    margin-bottom: 0px;
}
a#show-coupon {
    color: blue;
    cursor: pointer;
    padding-top: 12px;
    text-align: right;
    float: right;
}
.d-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 13px;
}
button#apply-coupon {
    margin-top: 0px !important;
}
.form-group.my-4.flex-column {
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    padding: 12px;
}
  .form-error{
    color: red;
    font-size: 12px;
    margin-bottom: 5px;
  }
   /* Hide the spinner on Webkit browsers (Chrome, Safari) */
   input[type="number"]::-webkit-outer-spin-button,
   input[type="number"]::-webkit-inner-spin-button {
       -webkit-appearance: none;
       margin: 0;
   }

   /* Hide the spinner on Firefox */
   input[type="number"] {
       -moz-appearance: textfield;
   }

   
   label.radio-inline {
    accent-color: #da0d15;
}
.radio-inline h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 4px;
}
.radio-inline ul {
    padding-left: 21px !important;
    padding-top: 10px;
    font-size: 15px !important;
}
.pack-label{
margin-left: 27px;
}
.flex-column:has(
    .radio-inline input:checked
  )
  {
    border-color: #da0d15;
    border-width: 2px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  .btn-box {
    display: flex;
    gap: 12px;
    justify-content: left;
    width: 100%;
}
.btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background-color: #da0d15;
    border-color: #da0d15;
}
  /* Default styles */
select.form-control {
    border: 1px solid transparent;
    color: #666; 
}

/* Style for the placeholder option */
select.form-control option[value=""] {
    color: #aaa; 
}

/* When an error occurs */
select.form-control.error {
    border-color: red;
    background-color: #ffe6e6; 
    color: #666; 
}

/* For invalid placeholder (default option) */
select.form-control.error option[value=""]:checked {
    color: red; 
}

  @media (max-width: 767px) {
  .banner-conatiner {
    width: 100%;
    height: 450px;
     background-image: url('../images/bg_conference_mob_2026.jpg'); 
     background-position-y: -24px;
    }
    #dynamic-form .form-group {
        padding-left: 0px;
        padding-right: 0px;
        width: 100%;
        min-width: 100%;
    }
    #dynamic-form input{
        margin-bottom: 7px;
    }
    .contact-title h1 {
        font-size: 18px;
    }
    .contact-title:after {
        left: 20%;
    }
    .form-container form {
        padding: 22px 5px;
    }
    button.btn.btn-secondary{
        margin-left: 0px;
    }
    label {
        font-size: 14px;
    }
    .form-group {
        overflow: hidden;
    }
    .d-flex {
        display: block;
        margin-bottom: 18px;
    }
    input#coupon-code {
        margin-bottom: 13px;
    }
    button#apply-coupon {
        margin-left: 0px !important;
    }
    .pack-label {
        margin-left: 1px;
    }
    .btn-box {
    display: block;
    }  
    .form-container {
    width: 90%;
   }
   .btn-box {
    display: flex;
    justify-content: left;
    align-items: start;
    padding-right: 15px;
    padding-left: 15px;
    }
   .btn-primary {
    font-size: 14px;
    padding: 10px 26px;
   }
   .btn-secondary {
   font-size: 14px;
    padding: 10px 26px;
   }
   button.btn.btn-primary {
    margin-left: 0px;
    }
      .form-group {
    padding-bottom: 4px;
    }
  
  }


  @media (min-width: 768px) and (max-width: 1300px) {

    .contact-title h1 {
        font-size: 25px;
    }
    .form-container form {
        padding: 24px 29px 37px 29px;
    }
    .banner-conatiner {
    height: 120px;
    }
  }
  .form-fields-row.col-md-12 {
    padding: 0 !important;
}

 .form-control:focus {
    box-shadow: 0px 2px 0px 1px #da0d15!important;
    background-color: #da0d150d !important;
}


  