@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: 192px;
    background-image: url('../images/bg_visitor_2026.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; 
    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: #858282;
    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;
}

  .form-error{
    color: red;
    font-size: 12px;
    margin-bottom: 5px;
  }

  .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;
}
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
    color: #fff;
    background-color: #da0d15;
    border-color: #da0d15;
}
.btn-primary.active, .btn-primary:active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #da0d15 !important;
    background-image: none !important;
    border-color: #da0d15 !important;
}
#refer_title h2{
    font-size: 19px;
}
div#refer_title {
    margin-bottom: 0px;
}

  /* 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) {
    .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;
    }
      .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;
    } 
    .banner-conatiner {
    width: 100%;
    height: 450px;
     background-image: url('../images/bg_visitor_mob_2026.jpg'); 
    }
    .form-group {
    margin-bottom: 15px;
    padding-bottom: 4px;
    }
    .form-container {
    width: 90%;
    }
  }


  @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;
}

