.top-header {
    height: 54px;
}

.btn-outline2 {
    font-family: "Lexend" !important;
    border-radius: 30px;
    padding: 5px 16px;
    background: white;
    color: black !important;
    border: 2px solid #0c0f3f;
    font-weight: 400;
}
.btn-outline2:hover {
    background: #0c0f3f;
    color: white !important;
}

.search-box {
    border: 2px solid #f39c37; /* default */
    transition: border-color 0.2s ease;
}

.search-box:focus-within {
    border: 2px solid #0b0f3f; /* your highlight color */
}
.lang-selector {
    display: flex;
    align-items: center;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.07rem;
    color: #222;
}
.lang-box {
    border: 1.4px solid #0c0f3f;
    background: #fff;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    width: 20px;
    height: 20px;
    display: flex;
    padding: 4px 3px;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    box-sizing: border-box;
    letter-spacing: 0.04em;
    color: #0c0f3f;
}
.help-center {
    position: relative;
    display: flex;
    align-items: center;
    font-family: "Lexend";
    font-size: 14px;
    letter-spacing: 0.01em;
}
.lang-label {
    font-family: "Lexend";
    color: #0c0f3f;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.01em;
}
.header-scrolled .menu-has_child.open > .sub-menu {
    top: 81px;
}

header.main_header {
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}
.Navbar .container,
header .container {
    width: 100%;
}

.head_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.head_first {
    display: flex;
    align-items: center;
    gap: 30px;
}

.head_navigation .main_navigation {
    position: relative;
    height: 80px;
}

.main_navigation .menu {
    display: flex;
    align-items: center;
gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main_navigation .menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Hover effect for menu items */
@media (min-width: 993px) {
    
    
    /* Rotate icon on hover */
    .main_navigation .menu > li:hover > a .fa-angle-down {
        transform: rotate(180deg);
    }
}

.main_navigation .menu > li {
    position: relative;
}
.main_navigation .menu > li a {
    font-size: 18px;
}
.fa-angle-down {
    transition: transform 0.3s ease;
    font-size: 15px;
}

.menu-has_child.open .fa-angle-down {
    transform: rotate(180deg);
}

/* Submenus */
.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    padding: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Hover functionality for desktop */
@media (min-width: 993px) {
    .menu-has_child:hover > .sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Special positioning for mega menus - adjust based on scroll */
    .menu-has_child:hover > .sub-menu.review_menu,
    .menu-has_child:hover > .sub-menu.serv_menu {
        position: fixed;
        top: 135px;
        width: 100%;
        left: 0;
        right: 0;
        transition: top 0.2s ease;
    }
    
    /* When header is scrolled, adjust dropdown position */
    .header-scrolled .menu-has_child:hover > .sub-menu.review_menu,
    .header-scrolled .menu-has_child:hover > .sub-menu.serv_menu {
        top: 81px; /* Adjust to match scrolled header height */
    }
}

/* Keep click functionality for mobile */
@media (max-width: 992px) {
    .menu-has_child.open > .sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
/* Buy Reviews simple grid */
.review_menu {
    min-width: 560px;
}
.logo {
    width: 220px;
}
@media (max-width: 1200px) {
    .logo {
        width: 150px;
    }
}
.review_menu .rev_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.rev-box a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;

    border-radius: 8px;
    text-decoration: none;
    color: #212121;
    background: #fff;
}

.rev-box a:hover {
    background: #0b0f3f0f;
}

.rev-box img {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    padding: 6px;
    background: #0b0f3f0f;
}

/* Services mega menu */


.sub_menu_cont {
    display: flex;
    gap: 24px;
}

.menu_left {
    width: 280px;
    background: #fff;
    padding: 20px 0 20px 0;
    box-shadow: 10px 0 10px 0 #dfdfdf33;
    border-bottom-left-radius: 10px;
}

.menu_left ul {
    list-style: none;
    margin: 0;
    padding: 0 20px 0 0;
    display: flex;
    flex-direction: column;
}

.menu_left li {
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: #101828;
}

.menu_left li:hover,
.menu_left li.active {
    background: #0b0f3f0f;
}

.menu_left li a {
    text-decoration: none;
    color: #101828;
    display: block;
}

.menu_right {
    flex: 1;
    padding: 10px 10px 10px 0;
}

.sub-menu__links-row {
    display: flex;
    gap: 24px;
}

.sub-menu__links-col.last-col {
    margin-left: auto;
    padding-left: 30px;
    border-left: 0.5px solid #f39c37;
}

.sub-menu__banner {
    position: relative;
    margin-bottom: 16px;
}

.sub-menu__banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f39c371a;
    border-radius: 8px;
    padding: 10px 16px;
}

.menu-img-box {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    width: 100%;
}

.menu-img-box:hover {
    background: #0b0f3f0f;
}

.menu-img-box figure {
    margin: 0;
    width: 20%;
}

.menu-img-box figure img {
    max-width: 100%;
    background: #f39c371a;
    padding: 10px 10px;
    border-radius: 50px;
}

.menu-img-box:hover figure img {
    max-width: 100%;
    /* background: #ebe1d71a; */
    padding: 10px 10px;
    border-radius: 50px;
}

.menu-img-box div {
    width: 70%;
}

.menu-img-box p {
    margin: 0 0 2px 0;
    font-size: 14px;
    color: #000;
}

.menu-img-box span {
    font-size: 11px;
    color: #515151;
    display: block;
    line-height: 1.4;
}

/* Simple list submenu (Resources) */
.sub-menu.resources {
    min-width: 240px;
    padding: 10px;
}

.sub-menu.resources li {
    list-style: none;
    margin: 0;
}

.sub-menu.resources a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #000;
    border-radius: 6px;
}

.sub-menu.resources a:hover {
    background: #0b0f3f0f;
}

@media (max-width: 991px) {
    .main_navigation .menu {
        gap: 12px;
    }

    .sub-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 10px;
    }

    .service-menu.full-width {
        width: 100%;
    }

    .review_menu {
        min-width: auto;
    }
}

/* Mobile Navigation Styles */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    padding: 15px;
    z-index: 999;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-logo img {
    height: 40px;
}

.mobile-close {
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #eee;
    position: relative;
}

.mobile-menu-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.mobile-sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f9f9f9;
    max-height: none;
    opacity: 1;
    transition: none;
}

.mobile-sub-menu li a {
    display: block;
    padding: 12px 30px;
    color: #555;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-sub-menu li a:hover {
    background-color: #f0f0f0;
    border-left-color: #f39c37;
    padding-left: 35px;
}

.menu-has_child > a .fa-angle-down {
    transition: transform 0.3s ease;
}
.menu-has_child.open > a .fa-angle-down {
    transform: rotate(180deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    /* Ensure only opened item rotates in mobile */
    .mobile-nav .menu-has_child > a .fa-angle-down {
        transform: rotate(0deg) !important;
    }
    .mobile-nav .menu-has_child.open > a .fa-angle-down {
        transform: rotate(180deg) !important;
    }
    .main_navigation {
        display: none;
    }
    .top-header {
        height: auto !important;
    }
    .logo {
        width: 170px;
    }
    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav.active {
        left: 0;
    }

    .mobile-nav-overlay.active {
        display: block;
        opacity: 1;
    }

    .menu-has_child.open > .mobile-sub-menu {
        display: block;
    }
}

@media (min-width: 991px) {
    .mobile-nav,
    .mobile-nav-overlay {
        display: none !important;
    }
}
/* Help Center Popup Styles */
.help-center-popup-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.help-center-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.help-center-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.help-center-popup-body {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.help-center-option {
    margin-bottom: 20px;
}

.help-center-option:last-child {
    margin-bottom: 0;
}

.help-center-option h5 {
    margin: 0 0 8px 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    font-family: "Lexend", sans-serif;
}

.help-center-option p {
    margin: 0 0 12px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.help-center-option ul {
    margin: 0;
    padding-left: 20px;
}

.help-center-option ul li {
    margin-bottom: 6px;
    color: #4b5563;
    line-height: 1.4;
}

.help-center-option ul li:last-child {
    margin-bottom: 0;
}

.help-center-option ul li a {
    color: #0c0f3f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.help-center-option ul li a:hover {
    color: #f39c37;
    text-decoration: underline;
}

.help-center-popup .btn {
    background: #0c0f3f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-family: "Lexend", sans-serif;
}

.help-center-popup .btn:hover {
    background: #1a1f4a;
    color: white;
    text-decoration: none;
}

.help-center-popup .btn-primary {
    background: #0c0f3f;
}

.help-center-popup .btn-primary:hover {
    background: #1a1f4a;
}

/* Help center clickable styles */
.help-center {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.help-center:hover {
    background: rgba(12, 15, 63, 0.08);
    color: #0c0f3f;
}

/* Responsive styles for popup */
@media (max-width: 576px) {
    .help-center-popup {
        width: 95vw;
        margin: 20px;
    }

    .help-center-popup-body {
        padding: 20px;
    }

    .help-center-popup-header {
        padding: 20px 20px 16px;
    }
}
/* For Chrome, Edge, Safari */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* For Firefox */
input[type="search"]::-moz-search-clear {
    display: none;
}
.menu-has_child > button {
    background: none;
    border: none;
    outline: none;

    color: inherit;
    font: inherit;
    display: inline-flex;
    align-items: center;
    display: flex;
    gap: 4px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Hover effect for button menu items */
@media (min-width: 993px) {
   
    
    /* Rotate icon on hover for buttons */
    .main_navigation .menu > li:hover > button .fa-angle-down {
        transform: rotate(180deg);
    }
}

.menu-has_child > button:focus {
    outline: none;
    box-shadow: none;
}
@media (max-width: 992px) {
    .menu-has_child > button {
        padding: 10px 14px;
        width: 100%;
        justify-content: space-between;
    }
}
.mobile-menu .menu-has_child > button i,
.mobile-menu .menu-has_child > a i {
  transition: transform 0.3s ease;
}

.mobile-menu .menu-has_child > button i.rotated,
.mobile-menu .menu-has_child > a i.rotated {
  transform: rotate(180deg);
}

/* Swiper Custom Styles */
.productSwiper {
    width: 100%;
    padding: 20px 50px 50px 50px;
}

/* Ensure Swiper doesn't clip arrows even if Swiper CSS loads after this file */

/* Wrapper to anchor arrows outside the swiper */
.product-swiper-wrap {
    position: relative;
    overflow: visible; /* make sure wrapper doesn't clip */
}

.swiper-slide {
    height: auto;
}

/* Navigation buttons styling */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    color: #fff !important;
    background: #0c0f3f !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    /* no margin-top needed when using top:50% */
}

/* Place arrows outside of the swiper */
.product-swiper-wrap .swiper-button-prev {
    left: -28px;
}
.product-swiper-wrap .swiper-button-next {
    right: -28px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: #fff !important; /* fixed invalid value */
    border-radius: 50%;
    padding: 8px;
    font-size: 18px !important;
    font-weight: bold !important;
}

/* Pagination styling */
.swiper-pagination-bullet {
    background: #009384;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #009384;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .productSwiper {
        padding: 20px 20px 50px 20px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Hide product arrows on very small screens */
@media (max-width: 576px) {
    .product-swiper-wrap .swiper-button-prev,
    .product-swiper-wrap .swiper-button-next {
        display: none !important;
    }
    .productSwiper {
        padding: 10px 0 30px;
    }
}
.reviews-section {
    background: #f1f1f1;
}
.reviews-swiper-wrap {
    position: relative;
    overflow: visible;
}
.reviewsSwiper {
    width: 100%;
    padding: 10px 40px 40px 40px;
    overflow: visible;
}
.reviewsSwiper .swiper-slide {
    height: auto;
}
.customer-review-card {
    border: 1px solid #0c0f3f;
    border-radius: 16px;
    
    background: #fff !important;
}

.reviews-swiper-wrap .reviews-button-prev,
.reviews-swiper-wrap .reviews-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0c0f3f;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


