.checkbox-group,
.contact-container,
.contact-header,
.form1 {
    display: flex;
}


.maincontact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: start;
    justify-items: center;
}

/* ===== Header ===== */
.contact-header {
    justify-content: center;
    align-items: center;
    background-color: #000000;
    padding: 10pc 200px 20pc;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.contact-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../bgimage/contact.webp") center/cover no-repeat fixed;
    opacity: 0.20;
}

.contact-header::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 300px;
    height: 300px;
    opacity: 0.35;
    filter: blur(52px);
    border-radius: 50%;
}

.contact-header > * {
    position: relative;
    z-index: 2;
}

.header-text {
    padding:10pc 0px 0px 12pc;
    width: auto;
}

.contact-header h1 {
      font-family: "Inter", sans-serif;
    font-size: 56px;
    font-weight: 700;
    text-shadow: #000 5px 5px 0px;
    padding: 0px 0px 31px 0px;
    color: #b57e10;
}



.contact-header h2 {
    font-size: 18px;
    line-height: 1.3;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: #ffffff;
}

/* ===== Container ===== */
.contact-container {
    gap: 60px;
    /* padding: 60px 100px; */
}

/* ===== Form ===== */
.form-column{
     max-width: 500px;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}
.form-title {
    font-size: 25px;
    line-height: 1.3;
    padding: 0px 0px 20px;
    font-family: "Poppins", sans-serif;
    text-align: center;
    font-weight: 550 !important;
    color: #121F3E !important;
}
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #121F3E;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btnn {
    width: 100%;
    padding: 14px;
    background: #121F3E;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.submit-btnn:hover {
    transform: translateY(-2px);
}

  /* Common popup style */
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
  }

  .popup-content {
      background-color: #fff;
    padding: 62px 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    animation: slideDown 0.3s ease-in-out;
  }

  .popup-content h3 {
    margin-top: 0;
    color: #333;
    padding: 0px 0px 30px;
  } 
  
  .popup-content h2 {
    margin-top: 0;
    color: #333;
    padding: 0px 0px 30px;
  }


  .popup-content p {
    color: #555;
    margin: 15px 0;
  }

  .popup-content input[type="text"],
  .popup-content input[type="time"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
  }

  .popup-content .btn {
    background: linear-gradient(to right, #f5d56f, #b57e10);
    border: 1px solid #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
      font-family: "Inter", sans-serif;
    /* font-size: 21px; */
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    border: 1px solid #b57e10;
}

  .popup-content .btn1 {
    /* background: linear-gradient(to right, #b57e10, #f5d56f); */
    border: 1px solid #b57e10;
    padding: 12px 28px;
    border-radius: 30px;
      font-family: "Inter", sans-serif;
    /* font-size: 21px; */
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
}

.btn1:hover {
    background: linear-gradient(to right, #f5d56f, #b57e10);
    border: 1px solid #ffffff;
}
 .popup-content .btn2 {
    background: linear-gradient(to right, #f5d56f, #b57e10);
    border: 1px solid #ffffff;
    padding: 12px 5pc;
    border-radius: 30px;
      font-family: "Inter", sans-serif;
    /* font-size: 21px; */
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
}

.btn2:hover {
    background: transparent;
    border: 1px solid #b57e10;
}
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes slideDown {
    from {
      transform: translateY(-20px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* =========================
   PHONE INPUT STYLING
========================= */
  .iti {
    margin: 0px 0px 25px 0px;
    width: 100%;
  }

  .iti__flag-container {
    border-radius: 8px 0 0 8px;
  }

  #phone {
    width: 100%;
    padding: 12px 14px;
    padding-left: 60px;
    /* space for flag + code */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  #phone:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
  }

  /* Flag dropdown */
  .iti__selected-flag {
    padding-left: 12px;
  }

  .iti__country-list {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-size: 14px;
  }

  /* Error state (optional) */
  #phone.error {
    border-color: #dc3545;
  }

  #phone.error:focus {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
  }

  /* =========================
   PHONE INPUT – COLOURS
========================= */

  /* Flag + dial code area */
  .iti__selected-flag {
    background: #f6f7f9;
    /* light neutral */
    border-right: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    transition: background 0.2s ease;
  }

  .iti__selected-flag:hover {
    background: #eef2f7;
  }

  /* Phone input */
  #phone {
    background: #ffffff;
    color: #1f2937;
  }

  /* Input focus */
  #phone:focus {
    border-color: #121f3e;
    /* brand purple */
    box-shadow: 0 0 0 2px rgba(90, 34, 102, 0.15);
  }

  /* Dropdown container */
  .iti__country-list {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }

  /* Country row */
  .iti__country {
    padding: 10px 14px;
    font-size: 14px;
    color: #121f3e;
    transition: background 0.2s ease, color 0.2s ease;
  }

  /* Hover row */
  .iti__country:hover {
    background: #f3e8ff;
    /* soft purple hover */
  }

  /* Active / selected country */
  .iti__country.iti__active {
    background: #121f3e;
    /* brand purple */
    color: #ffffff;
  }

  .iti--separate-dial-code .iti__selected-flag {
    background-color: #121f3e9c;
  }

  .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: #303746ff;
  }

  /* Dial code */
  .iti__dial-code {
    color: #6b7280;
    font-weight: 500;
  }

  /* Active dial code */
  .iti__country.iti__active .iti__dial-code,
  .iti__country.iti__active .iti__country-name {
    color: #ffffff;
  }

  /* Error state */
  #phone.error {
    border-color: #dc2626;
  }

  #phone.error:focus {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
  }

  @media screen and (max-width: 1440px) {
      .header-text {
    padding: 0px 0px 0px 5pc;
    width: auto;
}
.contact-header h1 {
    font-size: 50px;}
  }
  /* ===== Global Styles ===== */
@media screen and (max-width: 1200px) {
  /* Main contact layout */
  
   .header-text {
    padding: 0px 0px 0px 0pc;
    width: auto;
}

  .contact-header {
    padding: 8pc 100px 15pc; /* Reduce padding */
  }

  .contact-header h1 {
    font-size: 40px; /* Smaller header font */
  }

  .contact-header h2 {
    font-size: 18px; /* Adjust subheader font */
  }

  /* Form styling adjustments */
  .form-column {
    padding: 20px; /* Reduced padding */
  }

  label {
    font-size: 14px; /* Smaller label font */
  }

  input,
  select,
  textarea {
    font-size: 12px; /* Smaller input font */
  }

  .submit-btnn {
    font-size: 14px; /* Smaller button text */
  }

  .popup-content {
    padding: 40px 20px; /* Adjust popup padding */
  }

  .popup-content .btn,
  .popup-content .btn1 {
    font-size: 16px; /* Adjust button font size */
  }
}

@media screen and (max-width: 992px) {
  /* For tablets and smaller screens */
  .maincontact {
    grid-template-columns: 1fr; /* Single column for smaller devices */
    gap: 30px; /* Adjust grid gap */
  }

  .contact-header {
    padding: 7pc 80px 10pc; /* Adjust padding */
  }

  .contact-header h1 {
    font-size: 30px;
    color: #ffffff; /* Smaller header font */
  }

  .contact-header h2 {
    font-size: 16px; /* Smaller subheader font */
  }

  .form-column {
    padding: 18px;
  }

  .submit-btnn {
    font-size: 15px;
    padding: 12px; /* Adjust button padding */
  }

  .popup-content {
    padding: 35px 15px; /* Adjust padding */
  }

  .popup-content .btn,
  .popup-content .btn1 {
    font-size: 15px; /* Adjust button font size */
  }
}

@media screen and (max-width: 768px) {
  /* For mobile devices */
  .contact-header {
    padding: 5pc 40px 8pc;
  }
  .header-text {
    text-align: center;
    padding: 0px 0px 0px 0pc;
    width: auto;
}

  .contact-header h1 {
    font-size: 45px; /* Even smaller font for small screens */
  }

  .contact-header h2 {
        padding: 0px 6pc;
        font-size: 17px;
    }

  .form-column {
    padding: 15px; /* Less padding for mobile */
  }

  input,
  select,
  textarea {
    font-size: 14px; /* Adjust input size */
  }

  .submit-btnn {
    font-size: 14px;
    padding: 12px; /* Smaller padding */
  }

  .popup-content {
    padding: 25px 10px; /* Less padding for mobile devices */
  }

  .popup-content .btn,
  .popup-content .btn1 {
    font-size: 14px; /* Adjust button font size */
  }
}

@media screen and (max-width: 480px) {
  /* For very small screens (small mobile phones) */
  .contact-header {
    padding: 4pc 20px 6pc;
  }
   .header-text {
    text-align: center;
    padding: 0px 0px 0px 0pc;
    width: auto;
}

  .contact-header h1 {
        font-size: 34px;/* Even smaller font */
  }
 

  .contact-header h2 {
        padding: 0px 0pc;
        font-size: 15px; /* Smaller subheader */
  }

  .form-column {
    padding: 10px;
  }

  .form-title h2 {
    font-size: 20px !important;
  }

  input,
  select,
  textarea {
    font-size: 12px; /* Smaller font for inputs */
  }

  .submit-btnn {
    font-size: 12px;
    padding: 10px; /* Smaller padding for button */
  }

  .popup-content {
    padding: 20px 8px; /* Less padding for tiny screens */
  }

  .popup-content .btn,
  .popup-content .btn1 {
    font-size: 12px; /* Adjust button font size */
  }
}
