@import url(../fonts/BisonBold.css);
@import url(../fonts/Montserrat.css);

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Bison Bold";
}

[x-cloak] {
    display: none !important;
}

.scrollbar-track {
    background: #E7E7E7;
    box-shadow: -5px 0 7px 0 rgba(0, 0, 0, 0.15);
    opacity: 0.2;
}

/* Thumbs */
.scrollbar-thumb {
    background-color: #fff;
    border-radius: 9999px;
    border: 2px solid transparent;
    opacity: 0.3;
    background-clip: content-box;
}

.select2-container--default .select2-selection--single {
    background-color: #fff !important;
    height: 46px !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 24px !important;
    padding: 8px 16px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.select2-dropdown {
    border-radius: 16px !important;
    padding: 8px;
    border-top: 16px !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #263B83 !important;
    border-radius: 4px;
}

.select2 {
    width: 100% !important;
}

/* Style when placeholder is showing */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(0, 0, 0, 0.2) !important;
    font-weight: 500 !important;
}

/* Style when user has selected something */
.select2-container--default .select2-selection--single .select2-selection__rendered[title] {
    color: #000 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

.underline-hover,
.underline-black-hover {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.underline-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.underline-hover:hover::after,
.underline-black-hover:hover::after {
    transform: scaleX(1);
}

.underline-black-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: black;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}


/* Blog detail */

#blog_detail h2>span>span,
#blog_detail h2 {
    font-size: 40px !important;
    font-weight: 500 !important;
    font-family: 'Bison Bold' !important;
}

#blog_detail h3>span>span,
#blog_detail h3 {
    font-size: 32px !important;
    font-weight: 500 !important;
    font-family: 'Bison Bold' !important;
}

#blog_detail h4>span>span,
#blog_detail h4 {
    font-size: 24px !important;
    font-weight: 500 !important;
    font-family: 'Bison Bold' !important;
}

#blog_detail h5>span>span,
#blog_detail h5 {
    font-size: 20px !important;
    font-weight: 500 !important;
    font-family: 'Bison Bold' !important;
}

#blog_detail h6>span>span,
#blog_detail h6 {
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: 'Bison Bold' !important;
}

#blog_detail p>span>span,
#blog_detail p {
    color: #000 !important;
}

#blog_detail strong,
#blog_detail h1>span>span>strong,
#blog_detail h2>span>span>strong,
#blog_detail h3>span>span>strong,
#blog_detail h4>span>span>strong,
#blog_detail h5>span>span>strong,
#blog_detail h6>span>span>strong {
    /* font-weight: normal !important; */
}

/* Contact US POPUP */
.open-button {
    background-color: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: none;
    cursor: pointer;
    position: fixed;
    border-radius: 50%;
    bottom: 24px;
    right: 24px;
    z-index: 6;
    box-shadow: 0px 0px 12px 0 #fff;
}

.close-button {
    border: none;
    cursor: pointer;
    position: absolute;
    right: 10px;
    z-index: 10;
    background: transparent;
    transform: translate(0px, -53px);
}

/* The popup chat - hidden by default */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 60;
    transition: all 2s ease-in-out 0s;
    max-height: calc(100% - 47px);
    border-radius: 24px;
}

/* Add styles to the form container */
.form-container {
    max-width: 465px;
    background-color: #263B83;
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.15);
    padding: 28px 32px;
    color: #FFF;
    font-style: normal;
    line-height: normal;
    border-radius: 24px;
}

.form-container h1 {
    font-family: 'Bison Bold';
    font-size: 28px;
    font-weight: 300;
}

.form-container p {
    font-family: 'Montserrat SemiBold';
    font-size: 14px;
}

/* Set a style for the submit/send button */
.form-container .btn {
    background-color: #000;
    color: #FFF;
    padding: 19px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 13px;
    text-align: center;
    font-family: 'Montserrat SemiBold';
    font-size: 18px;
    font-style: normal;
    border-radius: 24px;
}

.form-container .btn:hover {
    color: #FFF;
}

/* Add some hover effects to buttons */
.form-container {
    opacity: 1;
}

.form-container>.contact_us_form {
    gap: 12px;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 12px;
}

.form-container>.contact_us_form div {
    gap: 4px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-container>.contact_us_form label {
    color: #FFF;
    font-family: 'Montserrat SemiBold';
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    text-transform: uppercase;
}

.form-container>.contact_us_form input,
.captch_color {
    color: #000;
    font-family: 'Montserrat SemiBold';
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    padding: 16px;
    border: 1px solid #CCC;
    background: #FFF;
    border-radius: 24px;
}

.form-container>.contact_us_form textarea {
    color: #000;
    font-family: 'Montserrat SemiBold';
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    padding: 16px;
    border: 1px solid #CCC;
    background: #FFF;
    border-radius: 16px;
}

.form-container>.contact_us_form select {
    font-family: 'Montserrat SemiBold';
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    height: 38px;
    border: 1px solid #CCC;
    background: #FFF;
    border-radius: 24px;
}

.form-container>.contact_us_form input::placeholder,
.form-container>.contact_us_form textarea::placeholder,
.captch_color::placeholder {
    color: rgba(0, 0, 0, 0.25);
}


/* Full-width textarea */
.contact_us_form textarea {
    border: none;
    background: #f1f1f1;
    resize: none;
    min-height: 100px !important;
}

/* When the textarea gets focus, do something */
.contact_us_form textarea:focus,
.contact_us_form input:focus {
    background-color: #fff;
    outline: none;
}

.privacy_container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.privancy_main_heading {
    color: #000;
    font-family: 'Bison Bold';
    font-size: 42px;
    font-style: normal;
    line-height: 40px;
}

.privancy_sub_heading {
    color: #000;
    font-family: 'Bison Bold';
    font-size: 36px;
    font-style: normal;
    line-height: 40px;
}

.privacy_content {
    color: #000;
    font-family: 'Montserrat SemiBold';
    font-size: 20px;
    font-style: normal;
    line-height: 34px;
}

.privacy_content_container>ul {
    list-style: disc;
}

.privacy_content_container>ul li {
    margin-left: 26px;
}

.privacy_links>a {
    color: #FFF !important;
    font-family: 'Montserrat SemiBold';
    font-size: 14px;
    font-style: normal;
    line-height: normal;
}

.custom-select:invalid {
    color: rgba(0, 0, 0, 0.2) !important;
}

.custom-select option {
    color: #000;
}

#news_letter_email:-webkit-autofill {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.15) inset !important;
    -webkit-text-fill-color: #fff !important;
    /* adjust text color if needed */
    transition: all 5000s ease-in-out 0s;
    /* trick to override */
}

.placeholder-red::placeholder {
    color: #dc2626;
    /* Tailwind red-600 */
    opacity: 1;
    /* make sure it shows fully */
    font-size: 13px;
}

.is-invalid {
    border: 1px solid #dc2626 !important;
    /* Tailwind red-600 */
}

.is-valid {
    border: 1px solid #16a34a !important;
    /* Tailwind green-600 */
}

/* Override Select2 invalid state */
.select2-selection.is-invalid {
    border: 1px solid #dc2626 !important;
}

/* Optional: valid state styling */
.select2-selection.is-valid {
    border: 1px solid #16a34a !important;
    /* Tailwind’s green-600 */
}



#page-loader {
    transition: opacity 0.3s ease;
    z-index: 10000;
}

#page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.left-circle-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 520px;
    height: 520px;
    border: 2px solid rgba(30, 199, 129, 0.10);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* so it doesn't block hover/click */
}

/* Base footer background (default theme) */
.footer-theme {
    background: var(--footer-bg, #243D81); /* default color */
    position: relative;
}

/* Footer image layer (always on top) */
.footer-theme::after {
    content: "";
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background-image: url('../images/footer.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 900px auto;
    pointer-events: none; /* allows clicking content above */
}

/* Default Theme */
.theme-default {
    --footer-bg: #243D81; /* solid blue */
}

/* Green Theme */
.theme-green {
    --footer-bg: linear-gradient(270deg, #0E603E -1.37%, #1DC580 100%);
}

@keyframes smooth-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.smooth-spin {
  animation: smooth-spin 0.8s linear infinite;
}

body:has(#equipmentModal:not(.hidden)) {
  overflow: hidden;
}

/* @media only screen and (max-width:1536px) {
    .left-circle-container::before {
        width: 500px;
        height: 500px;
    }
} */

@media only screen and (max-width:1280px) {
    .left-circle-container::before {
        width: 380px;
        height: 380px;
    }
}

@media only screen and (max-width:1124px) {
    .privancy_main_heading {
        font-size: 40px;
    }

    .privancy_sub_heading {
        font-size: 32px;
    }

    .privacy_content {
        font-size: 18px;
        line-height: 28px;
    }

    .privacy_content_container {
        margin-top: 14px !important;
    }

    .privacy_links>a {
        font-size: 12px;
    }
    .left-circle-container::before {
        width: 370px;
        height: 370px;
    }
}

@media only screen and (max-width:1024px) {
    .chat-popup {
        right: 0 !important;
        bottom: 0 !important;
    }
}

@media only screen and (max-height: 1024px) {
    .form-container>.contact_us_form label {
        font-size: 12px;
    }

    .form-container>.contact_us_form input,
    .form-container>.contact_us_form textarea {
        font-size: 12px;
        padding: 12px;
    }

    /* Full-width textarea */
    .contact_us_form textarea {
        min-height: 50px !important;
    }

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

    .form-container h1 {
        font-size: 24px;
    }
}

@media only screen and (max-width:992px) and (max-height: 1024px) {
    .form-container>.contact_us_form label {
        font-size: 12px;
    }

    .form-container>.contact_us_form input,
    .form-container>.contact_us_form textarea {
        font-size: 12px;
        padding: 12px;
    }

    /* Full-width textarea */
    .contact_us_form textarea {
        min-height: 50px !important;
    }

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

    .form-container h1 {
        font-size: 24px;
    }
}

@media only screen and (max-width: 576px) {
    
    .left-circle-container::before {
        width: 300px;
        height: 300px;
    }
    .close-button {
        transform: translate(0px, -28px);
    }

    .form-container .btn {
        padding: 14px 16px;
        font-size: 16px;
    }

    .chat-popup {
        overflow-y: auto;
    }

    .privancy_main_heading {
        font-size: 36px;
    }

    .privancy_sub_heading {
        font-size: 28px;
    }

    .privacy_content {
        font-size: 16px;
        line-height: 24px;
    }

    .privacy_content_container {
        margin-top: 4px !important;
    }
}

@media only screen and (max-width: 440px) {
    
    .left-circle-container::before {
        width: 270px;
        height: 270px;
    }
}