/* ===============================
   Search Popup
================================ */

.search_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--blue-color);
    border-radius: 0 0 24px 24px;
    z-index: 100;
    padding-top: 120px;
    padding-bottom: 130px;
    opacity: 0;
    -webkit-transform: translateY(calc(-100% - 80px));
    -moz-transform: translateY(calc(-100% - 80px));
    -ms-transform: translateY(calc(-100% - 80px));
    -o-transform: translateY(calc(-100% - 80px));
    transform: translateY(calc(-100% - 80px));
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transition-delay: 0.5s;
    z-index: 9999;
}

body.search-opened .search_popup {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

/* Close Button */
.search_close {
    position: absolute;
    top: 36px;
    right: 36px;
}

.search_close_btn {
    cursor: pointer;
    font-size: 24px;
    color: var(--color-common-white);
    background-color: transparent;
    line-height: 0;
}

.search_close:hover .close_icon {
    transform: rotate(90deg);
}

.close_icon {
    mask-image: url(../img/svg/close.svg);
}

/* ===============================
   Search Wrapper
================================ */

.search_wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.search_form form .search_input {
    position: relative;
    z-index: 1;
}

.search_form .title {
    color: var(--color-common-white);
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
}

/* Search Box */
.search-box {
    position: relative;
}

.search_wrapper .search_form form .search_input .search-box input[type=search] {
    width: 100%;
    font-family: var(--ff-body);
    color: var(--color-common-black);
    border: 1px solid var(--color-border-1);
    background: var(--color-common-white);
    padding: 20px 75px 20px 24px;
    border-radius: 10px;
}

.search-box input::placeholder {
    color: var(--color-text-body);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-theme-primary) !important;
}

/* Submit Button */
.search-box button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 62px;
    height: 100%;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-common-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-box button::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% - 40px);
    border-inline-start: 1px solid var(--color-border-1);
}

/* ===============================
   Overlay
================================ */

.search-popup-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(10px);
    transform: translateY(calc(-100% - 80px));
    transition: all 0.5s ease-in-out 0.3s;
    z-index: 99;
}

body.search-opened .search-popup-overlay {
    transform: translateY(0);
    transition-delay: 0.1s;
}



/* Overlay */
.body-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9998;
}

body.hamburger-opened .body-overlay {
    opacity: 1;
    visibility: visible;
}


/* ===============================
   Hamburger Area
================================ */

.hamburger-area {
    position: fixed;
    right: -490px;
    top: 15px;
    width: 450px;
    height: calc(100% - 30px);
    box-shadow: -5px 0 20px -5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition-duration: 1s;
    z-index: 9999;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
    border-radius: 12px;
}

.hamburger-area::-webkit-scrollbar {
    display: none;
}

body.hamburger-opened .hamburger-area {
    right: 15px;
}





.hamburger_bg {
    background-color: #0e0e0e;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.hamburger_bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0e0e0e;
    opacity: 0.6;
    z-index: -1;
}

.hamburger_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding: 40px;
    overflow: auto;
    height: 100%;
}

.hamburger_wrapper::before {
    content: "";
    position: absolute;
    top: 3%;
    right: 3%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--color-theme-primary);
    -webkit-filter: blur(50px);
    filter: blur(50px);
    opacity: 0.26;
    z-index: -1;
    backdrop-filter: blur(10px);
}



.hamburger_top {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile_logo img {
    max-width: 140px;
}

.hamburger_close_btn {
    display: inline-block;
    font-size: 22px;
    line-height: 1;
    color: var(--color-common-white);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

.hamburger_close_btn:hover {
    transform: rotate(90deg);
}

.hamburger-title {
    color: var(--color-common-white);
    font-size: 22px;
    line-height: 1;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.hamburger_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hamburger_menu ul li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hamburger_menu ul li a {
    color: var(--color-common-white);
    width: 100%;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 18px 0;
    display: block;
    text-decoration: none;
    transition: all 0.4s ease-in-out 0s;
}

.hamburger_menu ul li a:hover {
    color: var(--color-theme-primary);
}

.hamburger_menu ul li ul {
    display: none;
    padding-left: 20px;
}

.hamburger_menu .submenu-toggle {
    position: absolute;
    right: 0;
    top: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    font-size: 20px;
}

.hamburger_menu li.dropdown-opened>.submenu-toggle {
    transform: rotate(180deg);
    color: var(--color-theme-primary);
}

.hamburger-infos {
    margin-top: 45px;
    margin-bottom: 45px;
}

.hamburger-infos .contact-info .contact-item {
    padding: 5px 0;
    margin-bottom: 15px;
}

.hamburger-infos .contact-info .contact-item:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: var(--color-text-body);
    position: relative;
}

.contact-info a:hover {
    color: var(--color-theme-primary);
}

.contact-info .contact-item .subtitle {
    display: block;
    font-size: 14px;
    line-height: 1;
    color: var(--color-text-body);
    margin-bottom: 7px;
}

/* 
.hamburger-socials .social-links ul {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.hamburger-socials .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-common-white);
    border-radius: 8px;
    transition: all 0.3s;
}
*/
.hamburger-socials .social-links a:hover {
    color: #000;
}

/* Overlay */
.body-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out 0s;
    z-index: 9998;
}

body.hamburger-opened .body-overlay {
    opacity: 1;
    visibility: visible;
}

.contact-info a:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

.contact-info a::after {
    content: "";
    height: 1px;
    width: 100%;
    background-color: var(--color-theme-primary);
    position: absolute;
    left: 0;
    bottom: 3px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.arrowbtm_icon {
    mask-image: url(../img/svg/Chevron-down.svg);
}




.offcanvas-area {
    position: fixed;
    right: -490px;
    top: 15px;
    width: 470px;
    height: calc(100% - 30px);
    box-shadow: -5px 0 20px -5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition-duration: 0.5s;
    z-index: 9999;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-radius: 12px;
}

.offcanvas-area::-webkit-scrollbar {
    display: none;
}

.offcanvas-area.opened {
    right: 15px;
}


.hamburger_search {
    position: relative;
    margin-bottom: 30px;
}

.hamburger_search select,
.hamburger_search .nice-select,
.hamburger_search input:not([type=submit]):not([type=radio]):not([type=checkbox]),
.hamburger_search input {
    width: 100%;
    height: 60px;
    line-height: 60px;
    padding: 0 65px 0 16px;
    background: var(--color-theme-bg);
    border: none;
    outline: none;
    font-size: 16px;
    font-family: var(--ff-body);
    color: var(--color-text-body);
    border: 1px solid var(--color-border-1);
    border-radius: 10px;
}

.hamburger_search::placeholder {
    color: var(--color-text-body);
}

.hamburger_search:focus {
    border-color: var(--color-theme-primary);
}

.hamburger_search button {
    position: absolute;
    height: 58px;
    width: 58px;
    top: 50%;
    right: 0;
    font-size: 24px;
    color: var(--color-heading-primary);
    transform: translateY(-50%);
    background-color: transparent;
}

.hamburger_search button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 22px;
    border-left: 1px solid var(--color-border-1);
    transform: translateY(-50%);
}

.offcanvas-text {
    margin-bottom: 40px;
}

.contact-info .contact-item {
    width: 100%;
    max-width: 100%;
}

.social-links ul li a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 100%;
    left: 0;
    background-color: var(--color-theme-primary);
    z-index: -1;
    pointer-events: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.hamburger-socials .social-links.style-2 a {
    background-color: var(--color-theme-bg);
}

.social-links ul li a:hover::before {
    top: 0;
}