@font-face {
   font-family: myFont;
   src: url("fonts/fonnts.com-Neulis_Neue_Regular.otf");
}

* {
   font-family: myFont;
}
body {

  
    background-image: url("images/BG-Web banner.jpg"); 
    background-repeat: no-repeat; 
    background-position: center;
    background-attachment: fixed;       
    background-size: cover;
    height:100%;
    width:100%; 
}

.form-img{
    background-image: url("images/BG Box Text-Web benner.jpg"); 
    background-repeat: no-repeat; 
    background-position: center;
    background-attachment: fixed;       
    background-size: cover;
    height:100%;
    width:100%; 
}


.mySlides {display:none}
.w3-left, .w3-right, .w3-badge {cursor:pointer}
.w3-badge {height:13px;width:13px;padding:0}

.checkbox-input{
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    color: #054F8D;
    font-weight: bolder;
}

.checkbox-input label{
    position: relative;
    cursor: pointer;
}

.checkbox-input label input{
    display:none;
}

.checkbox-input label span{
    display: inline-block;
    text-align: center;
    width: auto;
    height: auto;
    background: white;
    border:2px solid #054F8D;
    border-radius: 4px;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 10px;
}

.checkbox-input label input:checked ~ span{
    color: white;
    background-color: #054F8D;
    border:1px solid white;
}

/* สีทองตั้งแต่เริ่มต้น */
.gold-option span {
    background-color: white !important;
    border-color: #e0bf76 !important;
    color: #e0bf76 !important;
}

/* 🌟 สีทองเฉพาะช่องที่สอง */
.gold-option input:checked ~ span {
    background-color: #e0bf76 !important;
    border-color: #e0bf76 !important;
    color: white !important;
}


   

.container{
   /* margin: 3em auto; */
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}
   
.header-inform{
    font-size: 3em;
    background: white;
    padding: 1rem;
    border-radius: 5px 5px 0  0;
    color: black;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 20px; /* Space between grid items */
    background-color: transparent;
    padding: 20px;
    border-radius: 5px;
}

.grid .images {
    display: flex; /* Flexbox for horizontal layout */
    justify-content: center;
    gap: 10px; /* Space between images */
}

.grid .images img {
    width: 80%; /* Make images occupy 45% of the parent container */
    height: auto;
    object-fit: contain;
}

.grid .notice {
    text-align: center;
    font-size: 2em;
    color: black;
    margin: auto; /* Center vertically */
}

.notice{
    border-radius: 5px;
    padding: 1em;
    background-color: white;
}

.button-part{
  margin: 0;
  padding: 0;
}

.button {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.button img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
    .grid .images {
        flex-direction: column; /* Stack images vertically on small screens */
    }

    .grid .images img {
        width: 100%; /* Full width for smaller screens */
    }

    .notice{
        font-size: 1em;
    }

}
  
/* ==============================
   intl-tel-input Theme Override
   Responsive (Tailwind-like)
   ============================== */

/* ✅ Base (Mobile-first) */
.iti {
  width: 100% !important;
}

/* ✅ Selected country primary (if exists in v25) */
.iti__selected-country-primary {
  background: transparent !important;
  padding-left: 15px !important; /* Mobile */
}

/* ✅ Flag container */
.iti__flag-container {
  padding-left: 8px !important; /* Mobile */
}

/* ✅ Selected flag area */
.iti__selected-flag {
  height: 100% !important;
  border-radius: 9999px 0 0 9999px !important;
  padding-left: 8px !important;  /* Mobile */
  padding-right: 10px !important; /* Mobile */
  display: flex;
  align-items: center;
  position: relative;
}

/* ✅ Divider line */
.iti__selected-flag::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #054f8d;
  opacity: 0.7;
}

/* ✅ Dial code */
.iti__selected-dial-code {
  font-weight: 600;
  color: #0f172a;
  margin-left: 6px;
}

/* ✅ Arrow */
.iti__arrow {
  margin-left: 8px;
  border-top-color: #0f172a !important;
}

/* ✅ Dropdown theme */
.iti__dropdown-content {
  border-radius: 14px !important;
  border: 2px solid #054f8d !important;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* ✅ Search box */
.iti__search-input {
  width: 100%;
  border: 0 !important;
  outline: none !important;
  font-size: 14px;
  padding: 10px 25px !important; /* Mobile */
}

/* ✅ Hover */
.iti__country:hover {
  background: #e6f1ff !important;
}

/* ✅ Highlight selected */
.iti__country.iti__highlight {
  background: #dbeafe !important;
}

@media (max-width: 639px) {
  .iti__selected-flag::after {
    width: 1px;
    opacity: 0.5;
  }
}
/* ==============================
   sm (≥640px)
   ============================== */
@media (min-width: 640px) {
  .iti__selected-country-primary {
    padding-left: 15px !important;
  }

  .iti__flag-container {
    padding-left: 12px !important;
  }

  .iti__selected-flag {
    padding-left: 12px !important;
    padding-right: 14px !important;
  }

  .iti__selected-dial-code {
    margin-left: 8px;
  }

  .iti__search-input {
    font-size: 15px;
    padding: 10px 22px !important;

  }
}


/* ==============================
   md (≥768px)
   ============================== */
@media (min-width: 768px) {
  .iti__selected-country-primary {
    padding-left: 20px !important;
  }

  .iti__flag-container {
    padding-left: 16px !important;
  }

  .iti__selected-flag {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .iti__search-input {
    font-size: 15px;
    padding: 10px 24px !important;

  }
}


/* ==============================
   lg (≥1024px)
   ============================== */
@media (min-width: 1024px) {
  .iti__selected-country-primary {
    padding-left: 25px !important;
  }

  .iti__flag-container {
    padding-left: 20px !important;
  }

  .iti__selected-flag {
    padding-left: 20px !important;
    padding-right: 18px !important;
  }

  .iti__search-input {
    font-size: 15px;
    padding: 10px 26px !important;
  }
}


