.custom-navbar3 {
    background: transparent;
    padding: 20px 75px;
    width: 100%;
    transition: all 0.3s ease;
    z-index: 999;
    position: absolute;
    border-bottom: 1px solid #454545;
    top: 0;
    left: 0;
    right: 0;
}
.custom-navbar3.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(278deg, #505050 -0.07%, #000 81.6%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.contact-section {
    position: relative;
    background: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('/assets/img/bg-about.png') no-repeat center center/cover;
    height: 533px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 50px !important;
}
.contact-section-mobile {
    position: relative;
    background: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('/assets/img/bg-about.png') no-repeat center center/cover;
    width: 100%;
    height: 250px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding-top: 130px !important;
}
.contact-offset-section {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-offset-section > div {
    max-width: 1200px;
}

.contact-offset-section-mobile {
    background-color: #fff;
    padding-left: 20px !important;
    padding-right: 20px !important;
    display: flex;
    flex-direction: column;
}
  
.contact-box {
    color: #fff;
    padding: 2rem !important;
    height: 178px;
    border-radius: 20px;
    background: #212123;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.contact-box-mobile {
    color: #fff;
    padding: 18px !important;
    width: 100%;
    max-width: 100%;
    height: 160px;
    border-radius: 10px;
    background: #212123;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.content-box{
    display: flex;
}

.offset-up {
    position: relative; 
    top: -100px;
}
.offset-up-mobile {
    position: relative; 
    top: -60px;
}
.txt_content_box{
    color: var(--lighter-2-background, #C4C4C4);
    font-family: 'Inter-regular',sans-serif;
    font-size: 14px;
    line-height: 18.2px;
}
.txt_content_box_mobile{
    color: var(--lighter-2-background, #C4C4C4);
    font-family: 'Inter-regular',sans-serif;
    font-size: 11px;
    line-height: 13px;
}
.txt_title_content{
    color: var(--White, #FFF);
    font-family: 'Roboto-bold',sans-serif;
    font-size: 22px;
    line-height: 28.6px;
}
.txt_title_content_mobile{
    color: var(--White, #FFF);
    font-family: 'Roboto-bold',sans-serif;
    font-size: 17px;
    line-height: 22.1px;
}
.txt_btn{
    color: var(--White, #FFF);
    text-align: center;
    font-family: 'Inter-bold',sans-serif;
    font-size: 14px;
    line-height: 18.2px;
}
.txt_form_content{
    color: var(--lighter-2-background, #C4C4C4);
    text-align: center;
    font-family: 'Lato-regular',sans-serif;
    font-size: 16px;
    line-height: 20.8px;
    margin-bottom: 100px;
}
.txt_form_content_mobile{
    color: var(--lighter-2-background, #C4C4C4);
    text-align: center;
    font-family: 'Lato-regular',sans-serif;
    font-size: 11px;
    line-height: 13px;
    /* margin-bottom: 50px; */
    margin: 16px 0
}
.btn-contact-us {
    background: var(--Red-Guideline, #E63822);
    color: white;
    border: none;
    padding: 15px 20px;
    display: flex;
    width: 157px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.btn-contact-us-mobile {
    background: var(--Red-Guideline, #E63822);
    color: white;
    border: none;
    padding: 10px;
    display: flex;
    border-radius: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
  
.form-contact{
    padding: 50px !important;
}
.title{
    color: var(--White, #FFF);
    text-align: center;
    font-family: 'Roboto-bold',sans-serif;
    font-size: 53px;
    line-height: 68.9px;
}
.title-mobile{
    color: var(--White, #FFF);
    text-align: center;
    font-family: 'Roboto-bold',sans-serif;
    font-size: 25px;
    line-height: 32.5px;
}
.contact-form-section {
    background-color: #212123;
    border-radius: 12px;
    color: white;
    margin: auto;
}
.contact-form-section-mobile {
    background-color: #212123;
    border-radius: 12px;
    color: white;
    margin: auto;
}
.box-form{
    width: 100%;
    padding: 80px !important;
    height: 680px;
    position: relative;
    top: -70px;
    border-radius: 20px;
    background: #212123;
}
.box-form-mobile{
    width: 100%;
    max-width: 100%;
    padding: 18px !important;
    /* padding-bottom: 4px !important; */
    /* height: 715px; */
    position: relative;
    top: -50px;
    border-radius: 10px;
    background: #212123;
}
  
.contact-form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.contact-left {
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 50px !important;
}
.contact-left-mobile {
    min-width: 300px;
    margin-top: 50px !important;
}

.contact-left h4 {
    font-family: 'Roboto-bold',sans-serif;
    margin-bottom: 5px;
    font-size: 16px;
}
.contact-left-mobile h4 {
    font-family: 'Roboto-bold',sans-serif;
    margin-bottom: 5px;
    font-size: 11px;
    color: #fff;
}

.contact-left p {
    font-family: 'Roboto-regular',sans-serif;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 14px;
}
.contact-left-mobile p {
    font-family: 'Roboto-regular',sans-serif;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 9px;
}

.contact-right {
    flex: 2;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px !important;
}

.form-grid input {
    padding: 12px;
    border: none;
    border-radius: 4px;
    background: #333;
    color: #fff;
    width: 100%;
    font-size: 12px;
}

.form-grid input::placeholder {
    font-size: 12px;
    color: #aaa; /* Adding explicit placeholder color */
    opacity: 1; /* Ensuring consistent opacity across browsers */
}

.form-group input.form-control {
    padding: 12px;
    border: none;
    border-radius: 4px;
    background: #333;
    color: #fff;
    width: 100%;
    font-size: 12px;
}

.form-group input.form-control::placeholder {
    font-size: 12px;
    color: #aaa; /* Adding explicit placeholder color */
    opacity: 1; /* Ensuring consistent opacity across browsers */
}

/* Add margin to match the form-grid spacing - only for subject input */
.form-group input[name="subject"] {
    margin-bottom: 15px;
}

/* Mobile specific styling for form control */
@media (max-width: 768px) {
    .form-group input.form-control {
        padding: 10px;
        font-size: 12px;
    }
    
    .form-group input.form-control::placeholder {
        font-size: 12px;
        color: #aaa; /* Adding explicit placeholder color */
        opacity: 1; /* Ensuring consistent opacity across browsers */
    }
    
    .form-group input[name="subject"] {
        margin-bottom: 15px;
    }
    
    .form-grid-mobile input::placeholder {
        font-size: 12px;
        color: #aaa; /* Adding explicit placeholder color */
        opacity: 1; /* Ensuring consistent opacity across browsers */
    }
}

.form-grid-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px !important;
}

.form-grid-mobile input {
    padding: 10px;
    border: none;
    font-size: 12px;
    line-height: 10.4px;
    border-radius: 4px;
    background: #333;
    color: #fff;
    width: 100%;
}

.form-grid-mobile input::placeholder {
    font-size: 12px;
}

@media (max-width: 768px) {
    .form-grid-mobile {
        grid-template-columns: 1fr;
    }
}

textarea {
    width: 100%;
    padding: 12px;
    background: #333;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
}

textarea::placeholder {
    font-size: 12px;
}

.form-group-textarea-mobile {
    font-size: 12px;
}

.form-group-textarea-mobile::placeholder {
    font-size: 12px;
}

.btn-send {
    width: 157px;
    justify-content: center;
    align-items: center;
    float: right;
    gap: 4px;
    font-family: 'Inter-regular',sans-serif;
    font-size: 14px;
    margin-top: 15px;
    background-color: #e5432e;
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 4px;
    cursor: pointer !important;
    font-weight: bold;
}
.btn-send:disabled {
    background-color: #aaa !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}
.btn-send-mobile {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-family: 'Inter-regular',sans-serif;
    font-size: 14px;
    margin-top: 15px;
    background-color: #e5432e;
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 4px;
    cursor: pointer !important;
    font-weight: bold;
}
.btn-send-mobile:disabled {
    background-color: #aaa !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}
.custom-border{
    border: 1px solid #464646 !important;
}
.txt_send_message{
    color: var(--White, #FFF);
    font-family: 'Lato-regular',sans-serif;
    text-align: left;
    font-size: 18px;
    line-height: 23.4px;
}
.txt_send_message_mobile{
    color: var(--White, #FFF);
    font-family: 'Lato-regular',sans-serif;
    text-align: left;
    font-size: 11px;
    line-height: 13px;    
}
.map-section{
    padding: 100px !important;
}
.map-section-mobile{
    /* padding: 100px !important; */
}
#map {
    height: 400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

#map-mobile {
    height: 300px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.custom-info-box {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 800; 
    background-color: white;
    padding: 15px !important;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
}

.custom-info-box i {
    font-size: 20px;
    margin-right: 10px;
}

.custom-info-box .text {
    font-size: 14px;
    z-index: 1000;
}

.info-slider-container {
    flex-grow: 1;
    margin: 0 10px;
}

.info-slide {
    display: none;
}

.info-slide.active {
    display: block;
}

.custom-info-box .arrow {
    margin-left: auto;
    background: #E63822;
    color: white;
    border: none;
    /* padding: 10px; */
    border-radius: 4px;
    cursor: pointer;
    
    display: flex;
    height: 56px;
    padding: 0px 5px;
    align-items: center;
    gap: 10px;
}
.spinner {
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.spinner i {
    font-size: 16px;
}

.map-button-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 800;
}

/* Validation Styles */
.is-invalid {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Responsive adjustments for validation messages on mobile */
@media (max-width: 768px) {
    .invalid-feedback {
        font-size: 0.75em;
    }
}

/* Responsive adjustments for contact form grid */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1025px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-boxes-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.contact-box-item {
    flex: 1;
}


.footer-border {
    border: 1px solid #464646 !important;
}

.form-group-textarea-mobile {
    font-size: 11px;
}

.form-group-textarea-mobile::placeholder {
    font-size: 11px;
}

/* Phone input group styling */
.phone-input-group {
    display: flex;
    align-items: center;
    background: #333;
    border-radius: 4px;
    padding: 0;
    width: 100%;
    height: 40px; /* Match height of other form inputs */
    font-family: 'Inter-regular', sans-serif; /* Match font family */
    font-size: 12px; /* Match font size */
}

/* Style the Select2 container and the adjacent input field */
.phone-input-group .select2-container--default,
.phone-input-group input[name="phone_number_desktop"],
.phone-input-group input[name="phone_number_mobile"] {
    background: #333;
    height: 100%;
    display: flex !important;
    align-items: center;
    border-radius:4px;
}

.phone-input-group .country-code-select {
    color: #fff;
    background: transparent;
    border: none;
    border-right: 1px solid #464646;
    border-radius: 4px 0 0 4px;
    height: 100%;
    min-width: 120px;
    font-family: 'Inter-regular', sans-serif; /* Match font family */
    font-size: 12px; /* Match font size */
    padding: 0 10px; /* Adjust padding to match other inputs */
    appearance: none; /* Remove default styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

.phone-input-group .country-code-select:focus {
    outline: none;
    box-shadow: none;
}

.phone-input-group input {
    flex-grow: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px;
    color: #fff;
    width: 100%;
    font-family: 'Inter-regular', sans-serif; /* Match font family */
    font-size: 12px; /* Match font size */
    border-radius: 0 4px 4px 0;
}

.phone-input-group input:focus {
    outline: none;
    box-shadow: none;
}

.phone-input-group input::placeholder {
    font-size: 12px;
    color: #aaa;
    opacity: 1;
}

/* For mobile */
@media (max-width: 768px) {
    .phone-input-group {
        height: 38px; /* Adjust height for mobile */
    }
    
    .phone-input-group .country-code-select {
        padding: 0 8px; /* Adjust padding for mobile */
        font-size: 12px;
        min-width: 100px;
    }

    .phone-input-group input {
        padding: 10px;
        font-size: 12px;
    }

    .phone-input-group input::placeholder {
        font-size: 12px;
    }
}

/* Select2 custom styling to match the dark theme */
.select2-container--default .select2-selection--single {
    background-color: #333 !important;
    color: white !important;
    border: none !important;
    border-right: 1px solid #464646;
    border-radius: 4px 0 0 4px;
    height: 100%;
    min-width: 120px;
    font-family: 'Inter-regular', sans-serif; /* Match font family */
    font-size: 12px; /* Match font size */
    outline: none;
    display: flex !important;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ddd !important;
    line-height: 38px; /* Adjust line height to match input height */
    padding-left: 12px;
    padding-right: 30px; /* Make space for the arrow */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0;
    right: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #aaa transparent transparent transparent;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    /* background-color: #333;  */
    /* color: #fff;  */
    /* border: none;  */
    outline: none;
    box-shadow: none;
}

.select2-dropdown {
    background-color: #333;
    border: 1px solid #464646;
    border-radius: 4px;
    z-index: 1050; /* Ensure it's above other elements */
    font-family: 'Inter-regular', sans-serif; /* Match font family */
    font-size: 12px; /* Match font size */
}

.select2-results__option {
    padding: 10px;
    color: #fff;
    background-color: #333;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #444;
}

.select2-results__option[aria-selected=true] {
    background-color: #555;
}

/* Hide Turnstile container initially */
#turnstile-container-desktop,
#turnstile-container-mobile {
    display: none;
}
