/* ================= HeroContactSection ================= */
.hero-contact-section {
    background-image: url('../../assets/images/get-quote.webp');
}

.flex-main {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.flex-left,
.flex-right {
    border-radius: 8px;
    padding: 30px;
}

.flex-left {
    width: 65%;
    border: 2px solid #eeeeee;
    background-color: #ffffff;
    box-shadow: 5px 8px 30px rgba(23, 36, 38, 0.08);
}

.flex-right {
    width: 30%;
    height: fit-content;
    background-color: #fafafa;
    position: sticky; 
    top: 100px;        
}


.form-container h2 {
    font-size: 22px;
    font-weight: 600;
    color: #15324B;
    line-height: 22px;
    text-align: center;
}

.form-container p.subtitle {
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    color: #6E6E6E;
    text-align: center;
    margin: 10px 0 40px 0;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #444444;
}

.required {
    color: #FF0000;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #d3d3d3;
    line-height: 26px;
    border-radius: 4px;
    padding: 5px 10px;
    color: #000000;
    font-size: 16px;
    height: 52px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group select {
    font-size: 16px;
    font-weight: 400;
    color: #313B3D;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    line-height: 52px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    outline: none;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
    max-height: 100px;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Custom select */
.custom-select {
    position: relative;
    display: inline-block;
    height: 52px;
}

.custom-select select {
    width: 100%;
    height: 100%;
    padding: 0 40px 0 10px;
    font-size: 16px;
    line-height: 52px; /* vertical center text */
    border-radius: 4px;
    border: 1px solid #d3d3d3;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

.custom-select i {
    position: absolute;
    right: 12px;
    top: 0;
    bottom: 0;
    margin: auto 0; /* perfectly centers the chevron */
    height: 16px; /* icon height */
    line-height: 16px;
    pointer-events: none;
    color: #313B3D;
    transition: transform 0.3s ease;
}

.custom-select.open i {
    transform: rotate(180deg);
}

.checkbox-wrapper-4 * {
    box-sizing: border-box;
}

.checkbox-wrapper-4 {
    position: relative;
    margin-bottom: 20px;
}

.checkbox-wrapper-4 .inp-cbx {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    z-index: 2; /* ensures clickable */
    cursor: pointer;
}
.checkbox-wrapper-4 .cbx {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    user-select: none;
    padding: 1px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.checkbox-wrapper-4 .cbx span:first-child {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #cccfdb;
    border-radius: 4px;
    position: relative;
    margin-right: 8px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0,16,75,0.05);
    transition: all 0.2s ease;
}
.checkbox-wrapper-4 .cbx:hover span:first-child {
    border-color: #07f;
}
.checkbox-wrapper-4 .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 1px;
    width: 14px;
    height: 10px;
}
.checkbox-wrapper-4 .cbx span:first-child polyline {
    fill: none;
    stroke: #fff; /* white tick */
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16;
    stroke-dashoffset: 16; /* hidden initially */
    transition: stroke-dashoffset 0.3s ease;
}
.checkbox-wrapper-4 .inp-cbx:checked + .cbx span:first-child {
    background: #07f;
    border-color: #07f;
}
.checkbox-wrapper-4 .inp-cbx:checked + .cbx span:first-child polyline {
    stroke-dashoffset: 0; /* reveals tick */
}
.checkbox-wrapper-4 .cbx span:last-child {
    line-height: 18px;
}
.checkbox-wrapper-4 .cbx .terms a {
    color: #07f;
    text-decoration: underline;
}
@keyframes wave-4 {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.flex-right h1{
    font-size: 24px;
    font-weight: 600;
    color: #222222;
}
.flex-right p{
    font-size: 16px;
    line-height: 22px;
    margin: 15px 0 0 0;
}
.contact-methods {
    margin: 30px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* spacing between cards */
}

.contact-card {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 2px solid #EEEEEE;
}
.last-card{
    border: none;
}
.contact-icon {
    font-size: 30px;
    width: 50px;
    height: 50px;
    background: #3d54b8; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.contact-icon svg{
    stroke: #ffffff;
    height: 30px;
    width: 30px;
}
.contact-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #222222;
}

.contact-info p {
    margin: 0;
    font-size: 15px;
    color: #2D2F44;
    font-weight: 400;
}

.contact-info small {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: #888;
}
.cunsoltation-main {
    background-image: url('../assets/images/collab.webp'); 
}
@media screen and (max-width: 640px) {
    .checkbox-wrapper-4 .cbx {
        width: 100%;
        display: inline-block;
    }
}
@-moz-keyframes wave-4 {
    50% { transform: scale(0.9); }
}
@-webkit-keyframes wave-4 {
    50% { transform: scale(0.9); }
}
@-o-keyframes wave-4 {
    50% { transform: scale(0.9); }
}
@keyframes wave-4 {
    50% { transform: scale(0.9); }
}
.checkbox-wrapper-4 .cbx .terms a{
    color: #3d54b8;
}
.btn-submit{
    cursor: pointer;
}
.submit-message {
    position: fixed;
    display: none;
    top: 450px;           
    right: 0;         
    width: 300px;        
    padding: 10px;
    background: rgba(61, 84, 184, 0.13); 
    color: #3d54b8;
    font-weight: 600;
    text-align: left;
    border-radius: 6px;  
    z-index: 10;         
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}
.quote-gurantee{
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.05); 
}
.quote-gurantee h1{
    font-size: 20px;
    font-weight: 600;
    color: #222222;
}
.quote-gurantee ul{
    margin: 14px  0 0 0;
}
.quote-gurantee ul li{
    font-size: 16px;
    color: #2D2F44;
    font-weight: 400;
    margin-bottom: 8px;
}
.quote-gurantee ul li i{
    font-size: 18px;
    margin: 0 8px 0 0;
    color: #28a745;
}
/* ================= Responsive ================= */
@media screen and (max-width: 1160px) {
  .flex-left {
    width: 60%;
  }

  .flex-right {
    width: 38%;
  }

  .global-locations-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }
   .form-row,
  .flex-main {
    flex-direction: column;
    gap: 0;
  }

  .flex-left,
  .flex-right {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
    .form-group label,
   .checkbox-wrapper-4 .cbx span:last-child{
    font-size: 14px;
   }
   .contact-info h4{
    font-size: 16px;
   }
  .flex-right {
    position: relative;
    top: 0;
    margin-top: 30px;
  }

  .form-container h2 {
    font-size: 20px;
  }

  .form-container p.subtitle {
    font-size: 14px;
  }

  .global-locations-horizontal {
    grid-template-columns: 1fr;
  }

  .location-item {
    flex-direction: row;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {
  .flex-left,
  .flex-right {
    padding: 20px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 14px;
  }

  .location-flag{
    height: 40px;
    width: 40px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-info h4 {
    font-size: 16px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .quote-gurantee h1 {
    font-size: 18px;
  }

  .quote-gurantee ul li {
    font-size: 14px;
  }

  .location-item {
    padding: 12px 15px;
  }

  .location-details h5 {
    font-size: 0.95rem;
  }

  .location-details p {
    font-size: 0.8rem;
  }
}