.header-btns-wrap{
    display:flex;
    gap:20px;
}
.btn-nav svg {
    width: 20px;
}
.btn-nav.btn-one{
    padding: 20px 40px;
    text-transform: uppercase;
    display: block;
    font-size: 16px;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.32px;
}
a.btn-nav.btn-one:hover {
    background-color: #E84E0E !important;
    color: white !important;
}
a.btn-nav.btn-two:hover {
    background: transparent !important;
    color: #E84E0E !important;
    border: 1.5px solid #E84E0E !important;
}
.btn-nav.btn-two{
    padding: 20px 40px;
    text-transform: uppercase;
    display: block;
    font-size: 16px;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.32px;
}

/*   POPUP CSS   */


/*
////////////
//Team Page Popup
////////////
*/
.modalWindow iframe {
    height: 650px;
}
section.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
}
section.modalWindow {
    display: none;
    position: fixed;
    top: 10%;
    left: 35%;
    z-index: 999 !important;
    width: 1200px;
    min-height: 700px;
    margin-left: -300px;
    background: #FFF;
    cursor: default;
  border-radius: 10px;
}
section.modal.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 997;
    cursor: pointer;
}
section.modalWindow section.modalWrapper {
    margin: 20px;
    padding: 15px;
    text-align: left;
    line-height: 20px !important;
  height: 629px;
}
.closeBtn {
    position: absolute;
    right: 10px;
    top: 6px;
    cursor: pointer;
}
 a.closeBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E84E0E;
    color: #fff;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    height: 30px !important;
    width: 31px !important;
    border-radius: 100px;
    text-wrap: nowrap;
    border: 1.5px;
}






/* Search Icon */
.custom-search {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px;
}

.custom-search-icon {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #575756;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-search-icon:hover {
    color: #EC5418;
}

/* Search Overlay */
.custom-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(255 255 255 / 67%); /* Reduced opacity for the background */
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.custom-search-overlay.active {
    display: block;
    opacity: 1;
}
/* For better accessibility, you might want to add a different focus indicator */
.custom-search-input:focus {
    outline: none;
    /* Optional: add your own focus style, e.g., box-shadow or border color */
    border-color: #EC5418; /* SOLVIN's orange color */
}
/* Search Container */
.custom-search-container {
    max-width: 1490px !important;
    margin: 0 auto;
    padding: 20px;
}

/* Search Header Container - Full opacity */
.custom-search-header {
    background: #fff; /* Fully opaque white background */
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 8px 5px 30px !important;
    border-bottom: 0px solid #DADADA;
}

.custom-search-logo {
    height: auto;
    width: 167px !important;
}

/* Search Input and Button Styles */
.custom-search-input-wrap {
    position: relative;
    flex: 1;
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #EC5418;
    border-radius: 100px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #fff;
}

.custom-search-input::placeholder {
    color: #EC5418;
    opacity: 1;
}

/* Search Button */
.custom-search-submit {
    background: #EC5418;
    border: none;
    border-radius: 100px;
    color: white;
    padding: 14px 30px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.custom-search-submit:hover {
    background: #d94813;
}

/* Close Button */
.custom-search-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #575756;
    transition: color 0.3s ease;
    margin-left: 10px;
}

.custom-search-close:hover {
    color: #EC5418;
}

/* Results area - semi-transparent */
.custom-search-results {
    background: rgb(255 255 255 / 87%);
    padding: 40px 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}
.custom-search-result {
    padding: 20px;
    border-bottom: 1px solid #DADADA;
}

.custom-search-result:last-child {
    border-bottom: none;
}

.custom-search-result-title {
    color: #EC5418;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

.custom-search-result-title:hover {
    text-decoration: underline;
}

.custom-search-result-url {
    color: #575756;
    font-size: 14px;
    margin-bottom: 8px;
}

.custom-search-result-excerpt {
    color: #575756;
    font-size: 16px;
    line-height: 1.5;
}

/* Loading State */
.custom-search-loading {
    padding: 40px;
    text-align: center;
    color: #575756;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-search-header {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .custom-search-logo {
        height: 30px;
    }
    
    .custom-search-input-wrap {
        order: 3;
        width: 100%;
        max-width: none;
    }
   .custom-search-input-wrap {
        flex-direction: column;
        gap: 15px;
    }

    .custom-search-submit {
        width: 100%;
        padding: 12px 20px;
    }
}