.navbar {
    background: white;
    
    position: sticky;
    z-index: 1000;
    top: 0px;
    transition: all ease-in-out .25s;
}
.navbar.scrolled{
    transition: all ease-in-out .25s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0px;
    /*height: 70px;*/
    position: relative;
}
.nav-main .logo img{
    width:280px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-item.simple-dropdown {
    position: relative;
}
#navMenu{
    margin:0;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    /*padding: 25px 20px;*/
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    margin-right: 2rem;
    height:45px;
}

.nav-link:hover {
    color: #BA272E;
}

.nav-link.no-dropdown::after {
    display: none;
}
.nav-item svg{
    transition: 0.3s;
}
.nav-item:hover svg {
    transform: rotate(180deg);
    transition: 0.3s;
}
.nav-item:hover svg path{
    stroke: #2d3748;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    color: #2d3748;
    transition: color 0.3s ease;
}

.nav-icon:hover {
    color: #BA272E;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2d3748;
    margin: 3px 0;
    transition: 0.3s;
}
.hamburger.active span {
    background: var(--red);
}
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.megamenu {
    position: absolute;
    top: 80%;
    left: 0%;
    transform: translateX(0%) translateY(-10px);
    width: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-item:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%) translateY(0);
}

/* Simple dropdown styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    min-width: 250px;
    margin-top: 4px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-size: 18px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #BA272E;
    padding-left: 24px;
}

.megamenu-content {
   
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 40px;
}

.megamenu-sidebar {
    width: 330px;
    flex-shrink: 0;
}

.region-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 100%;
    padding: 8px;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
    border-bottom: 0;
    color: #201B1D;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 17px;
}

.region-item:hover {
    color: #BA272E;
    padding-left: 10px;
}

.region-item::after {
    content: '›';
    font-size: 18px;
    color: #cbd5e0;
}

.region-item:hover::after {
    color: #BA272E;
}

.region-item.active {
    color: #BA272E;
    font-weight: 600;
    background: #F8F6F6 !important;
}

.megamenu-main {
    flex: 1;
    padding: 0px 0px 0px 30px;
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 30px;
    border-left: 1px solid #e8e8e8;
}

.region-header {
    font-style: italic;
    color: #64748b;
    margin-bottom: 10px;
    font-family: 'Magazine Grotesque';
    font-size: 13px;
}

.region-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    font-family: 'Magazine Grotesque';
    margin-bottom: 15px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 5px 20px;
    margin-bottom: 30px;
}

.country-item {
    white-space: nowrap;
    border-radius: 0.5rem;
    text-transform: capitalize;
    background: none;
    box-shadow: none;
    color: #201B1D;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    font-weight: 500;
    font-size: 18px;
}

.country-item:hover {
    transform: translateY(-2px);
    color: #BA272E;
    background: #F8F6F6 !important;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #201B1D;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.view-all-link span{
    color: #BA272E;
}

/*.view-all-link:hover {*/
/*    gap: 12px;*/
/*}*/

.view-all-link::after {
    content: '›';
    font-size: 18px;
}

.megamenu-content-area {
    /* This contains the title, grid, and view all link */
}

.megamenu-image {
    background: linear-gradient(135deg, #BA272E 0%, #9f7aea 100%);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 360px;
}
.megamenu-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*.megamenu-image::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,0 80,100 0,100" fill="rgba(255,255,255,0.1)"/></svg>');*/
/*    background-size: cover;*/
/*}*/

.region-content {
    display: none;
}

.region-content.active {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
#nav-tel{
    display: grid;
    align-items: start;
    gap: 1px;
    padding-top: 5px;
}
#nav-tel .tel-close-info{
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
    cursor: default;
    text-transform: uppercase;
    margin: 0;
}
#nav-tel .tel-num{
    font-family: "Magazine Grotesque", Sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    white-space: nowrap;
    color: #000;
    text-decoration: none;
}
#nav-appointment{
    display: flex;
    align-items: center;
    gap: 6px;
}
#nav-appointment .nav-appointment_cta{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #ba272e;
    border-radius: 10px;
    padding: 12px 30px;
    font-family: "Magazine Grotesque", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    /*line-height: 1;*/
    text-align: center;
    margin: 0;
    cursor:pointer;
    transition:all 0.25s ease-in-out;
}
#nav-appointment .nav-appointment_cta:hover {
    color: white;
    background-color: #363636;
}
.logo .custom-logo-link {
    display: flex;
}
.nav-main .relative {
    position:relative;
}
/* Mobile Styles */
@media (max-width: 1349px) {
    .hamburger {
        display: flex;
    }
    .hamburger.active {
        z-index: 999999;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 500px;
        max-width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 99999;
    }
    .navbar.scrolled .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .nav-menu.active {
        left: auto;
        right:0px;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-link {
        padding: 20px 0;
        justify-content: space-between;
    }

    /*.nav-actions {*/
    /*    display: none;*/
    /*}*/

    .megamenu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0;
    }

    .nav-item.active .megamenu,
    .nav-item.active .dropdown {
        max-height: 100%;
    }

    .megamenu-content {
        flex-direction: column;
        padding: 20px 0;
    }

    .megamenu-sidebar {
        width: 100%;
        order: 1;
    }

    .megamenu-main {
        display: none;
    }

    .mobile-region-dropdown {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: white;
        margin-left: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .mobile-region-dropdown.active {
        max-height: 500px;
    }

    .mobile-region-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        border-bottom: 1px solid #e2e8f0;
        color: #2d3748;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
    }

    .mobile-region-item.active, .nav-item.megamenu-item.active > a {
        background: #f8f9fa;
        color: #BA272E;
    }

    .mobile-region-item::after {
        content: '';
        transition: transform 0.3s ease;
        background-image: url(/wp-content/uploads/2025/09/down.svg);
        display: block;
        width: 20px;
        height: 20px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        filter: brightness(0);
    }

    .mobile-region-item.active::after {
        transform: rotate(180deg);
    }

    .mobile-country-list {
        background: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mobile-country-list.active {
        max-height: fit-content;
    }

    .mobile-country-item {
        display: block;
        padding: 12px 30px;
        color: #64748b;
        text-decoration: none;
        border-bottom: 1px solid #e2e8f0;
        transition: all 0.3s ease;
    }

    .mobile-country-item:hover {
        background: white;
        color: #BA272E;
        padding-left: 35px;
    }

    .mobile-country-item:last-child {
        border-bottom: none;
    }

    .mobile-view-all {
        display: block;
        padding: 15px 30px;
        color: #BA272E;
        text-decoration: none;
        font-weight: 600;
        background: #f0f4ff;
        border-top: 1px solid #e2e8f0;
    }

    .mobile-view-all:hover {
        background: #e6f0ff;
    }

    .region-title {
        font-size: 28px;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }
}

/*.content-area {*/
/*    padding: 60px 20px;*/
/*    text-align: center;*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*}*/

/*.content-area h1 {*/
/*    font-size: 48px;*/
/*    margin-bottom: 20px;*/
/*    color: #2d3748;*/
/*}*/

/*.content-area p {*/
/*    font-size: 18px;*/
/*    color: #64748b;*/
/*    max-width: 600px;*/
/*    margin: 0 auto;*/
/*}*/

/* Mobile region dropdown visibility */
@media (min-width: 1350px) {
    .mobile-region-dropdown {
        display: none;
    }
    .mobile-menu-actions {
        display: none !important;
    }
}

@media (max-width: 1349px) {
    .region-item:not(.mobile-region-item) {
        display: none !important;
    }
    
    .mobile-region-dropdown {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .mobile-region-item {
        display: flex !important;
    }
    
    .content-area h1 {
        font-size: 36px;
    }
    .nav-actions {
        margin-left: auto;
        margin-right: 50px;
    }
    .mobile-region-dropdown {
        margin-left: 0px;
        box-shadow: none;
    }
    nav.navbar div.megamenu-content {
        padding: 0px;
        gap: 20px;
        max-width: 100%;
    }  
    .navbar .nav-menu a.nav-link, .mobile-region-item, .mobile-country-item {
        font-size: 18px;
        margin-right: 0rem;
    }
    .navbar .nav-menu a.nav-link svg, .mobile-country-item svg {
        width: 22px;
        height: 22px;
    }
    .navbar .nav-menu a.nav-link svg path, .mobile-country-item svg path {
        stroke: black;
    }    
    .navbar .nav-menu .nav-item.active a.nav-link svg path, .mobile-country-item.active svg path {
        stroke: var(--red);
    }  
    .navbar.scrolled .nav-main {
        row-gap: 5px;
        padding: 10px 0px;
    }
    .navbar.scrolled .logo img {
        width: 150px;
    }
    .mobile-menu-actions{
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        padding: 0 20px;
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    .mobile-menu-actions .mobile-menu-btn-primary{
        color: white;
        background-color: #ba272e;
        border-radius: 10px;
        padding: 12px 30px;
        font-family: "Magazine Grotesque", Sans-serif;
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        margin: 0;
        cursor: pointer;
        transition: all 0.25s ease-in-out;
        width: 250px;
    }
    .mobile-menu-actions .mobile-menu-btn-secondary{
        color: white;
        background-color: #363636;
        border-radius: 10px;
        padding: 12px 30px;
        font-family: "Magazine Grotesque", Sans-serif;
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        margin: 0;
        cursor: pointer;
        transition: all 0.25s ease-in-out;
        text-decoration: none;
        width: 250px;
    }
    .nav-menu {
        top: 0px;
        height: 100%;
        padding-top: 60px;
    }
    .hamburger.active {
        top: 0px;
        right: 0px;
        padding: 15px 20px 5px 10px;
        position: fixed;
        width: 100%;
        background-color: white;
        align-items: flex-end;
    }
    .navbar.scrolled .nav-menu {
        top: 0px;
        height: 100%;
    }
    .mobile-menu-actions{
        flex-direction: column;
    }
    .mobile-menu-actions .mobile-menu-btn-primary,
    .mobile-menu-actions .mobile-menu-btn-secondary{
        width:100%;
    }
    .mobile-menu-actions {
        position: static; 
        padding: 0px;
        margin-top: auto;
    }
    
}
@media (max-width: 992px) {
    .nav-item{
        border-bottom:none;
    }
    .navbar .nav-menu a.nav-link{
        font-size:22px;
        font-weight:700;
        padding-left:10px;
        padding-right:10px;
    }
    .nav-menu{
        gap:10px
    }
    
    
}
@media (max-width: 768px) {

    
}
    
    
    
    