@media (max-width: 1440px) {
    .header-inner, 
    .header-top-inner,
    .header-container {
        max-width: 90%;
    }
}

@media (max-width: 1024px) {
    .header-inner {
        gap: 10px;
		padding: 15px 0;
    }
     .header-nav {
        width: 56%;
    }
    .header-right {
        width: 200px;
    }
	.header-right a {
        padding: 12px 20px;
    }
    .header-nav ul.header-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 15px 30px 30px;
        z-index: 100;
        background-color: #ffffff;
        text-align: center;
    }
    .header-front .header-nav ul.header-nav-menu li > a,
    .header-ydts.mega-menu-active .header-nav ul.header-nav-menu li > a,
    .header-second .header-nav ul.header-nav-menu li > a {
        color: #000000;
    }
    .header-nav ul.header-nav-menu li > a,
    .ydts-mega-menu-parent a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 27px;
        line-height: 70px;
        padding: 0;
    }
    .ydts-mega-menu-parent a {
        color: #CE011F;
    }
    .ydts-mega-menu-item h3 a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header-front .header-nav ul.header-nav-menu li > a::after,
    .ydts-mega-menu-item h3 a::after {
        content: "";
        display: block;
        height: 36px;
        width: 36px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M24.8683 9L33.8182 17.8817L25.2656 26.3661L23.8305 25.5512L30.588 18.7254L2.25 18.7254L2.25 17.0379L30.588 17.0379L23.4281 9.80975L24.8683 9Z' fill='%234E4E4E'/%3E%3C/svg%3E");
    }
    .ydts-mega-menu-item h3 {
        font-size: 27px;
        line-height: 70px;
        padding: 0;
        font-weight: 400;
    }
    .header-nav ul li.menu-item-has-children > a {
        padding-left: 0;
    }
    .header-nav ul li.menu-item-has-children > a::before {
        display: none;
    }
    .mega-menu-img {
        display: none;
    }
    .header-mobile-act {
        display: block;
        position: relative;
        width: 33px;
        height: 33px;
        border-radius: 3px;
        background-color: #CE011F;
        cursor: pointer;
        margin-left: auto;
    }
    .header-mobile-act::before,
    .header-mobile-act::after,
    .header-mobile-act span {
        content: "";
        position: absolute;
        width: 17px;
        height: 2.2px;
        left: 50%;
        background-color: #ffffff;
        transition: all 0.3s ease;
    }
    .header-mobile-act span {
        top: 50%;
        transform: translateY(-50%) translateX(-50%);
        -webkit-transform: translateY(-50%) translateX(-50%);
    }
    .header-mobile-act::before {
        top: 32%;
        transform: translateY(-32%) translateX(-50%) rotate(0deg);
        -webkit-transform: translateY(-32%) translateX(-50%) rotate(0deg);
    }
    .header-mobile-act::after {
        top: 70%;
        transform: translateY(-70%) translateX(-50%) rotate(0deg);
        -webkit-transform: translateY(-70%) translateX(-50%) rotate(0deg);
    }
    .header-mobile-act.active span {
        opacity: 0;
    }
    .header-mobile-act.active::before {
        top: 46%;
        transform: translateY(-46%) translateX(-50%) rotate(0deg);
        -webkit-transform: translateY(-46%) translateX(-50%) rotate(45deg);
    }
    .header-mobile-act.active::after {
        top: 48%;
        transform: translateY(-48%) translateX(-50%) rotate(0deg);
        -webkit-transform: translateY(-48%) translateX(-50%) rotate(-45deg);
    }
    .mega-container .sub-menu {
        margin: 0 auto;
        gap: 0;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .container {
        max-width: calc(100% - 30px);
    }
    .header-loffler {
        border-top: 0;
        box-shadow: 0px 5px 10px 0px #00000012;
    }
    .top-header-right {
        display: none;
    }
    .header-mobile-item {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .header-mobile-item .mobile-online-support {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 37px;
        border-radius: 5px;
        background-color: #990000;
    }
    .mobile-top-header {
        display: block;
        background:#2B2B2B;
    }
    .mobile-top-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
    }
    .mobile-phone-number {
        /* font-family: Helvetica Neue; */
        font-size: 12px;
        font-weight: 400;
        line-height: 26px;
        letter-spacing: -0.02em;
        color: #ffffff;
        margin: 0;
    }
    .mobile-multi-lang {
        display: flex;
        align-content: center;
        gap: 15px;
    }
    .mobile-multi-lang a svg {
        width: 19px;
        height: 14px;
    }
    .header-nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        border-radius: 0;
        padding: 30px 30px 20px;
        display: none;
        z-index: 999;
    }
    .header-nav-menu .menu-item {
        display: block;
        text-align: center;
        border-bottom: 1px solid #A5A5A5;
    }
    .mega-menu-wrap {
        display: block;
        padding: 0;
        top: -113px;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    .mega-menu-wrap.mobile-mega-active {
        opacity: 1;
        pointer-events: auto;
        height: 100%;
    }
    .mega-container {
        margin-top: 30px;
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 100%;
        transform: translateX(-10%);
        -webkit-transform: translateX(-10%);
        transition: all 0.3s ease;
    }
    .mega-container.mobile-mega-active {
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }
    .mobile-mega-menu {
        display: flex;
        width: 100%;
        height: 70px;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        background: #CE011F;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    body.mobile-mega-active {
        overflow-y: hidden;
    }
    .mobile-mega-menu.mobile-mega-active {
        opacity: 1;
        pointer-events: auto;
        transition: all 0.3s ease;
    }
    .megamenu-mobile-close {
        position: relative;
        width: 22px;
        height: 22px;
    }
    .megamenu-mobile-close::before,
    .megamenu-mobile-close::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        top: 50%;
        background-color: #ffffff;
    }
    .megamenu-mobile-close::before {
        left: 0;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .megamenu-mobile-close::after {
        right: 0;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .mobile-back {
        color: #FFF;
        font-family: Roboto;
        font-size: 21px;
        font-style: normal;
        font-weight: 500;
        line-height: 25px;
        margin: 0;
    }
    .mobile-back::before {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='16' viewBox='0 0 10 16' fill='none'%3E%3Cpath d='M9 15L2 8L9 1' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
        display: inline-flex;
        height: 14px;
        width: 7px;
        margin-right: 13px;
        background-position: center center;
        background-size: cover;
    }
    .ydts-mega-menu-item p {
        display: none;
    }
    .ydts-mega-menu-parent {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: 1px solid #A5A5A5;
    }
    .header-nav-menu .menu-item a {
        width: 100%;
        font-weight: 400;
    }
    .header-mobile-act {
        position: relative;
        width: 33px;
        height: 33px;
        border-radius: 3px;
        background-color: #CE011F;
        cursor: pointer;
    }
    .header-mobile-act::before,
    .header-mobile-act::after,
    .header-mobile-act span {
        content: "";
        position: absolute;
        width: 17px;
        height: 2px;
        left: 50%;
        background-color: #ffffff;
        transition: all 0.3s ease;
    }
    .header-mobile-act span {
        top: 50%;
        transform: translateY(-50%) translateX(-50%);
        -webkit-transform: translateY(-50%) translateX(-50%);
    }
    .header-mobile-act::before {
        top: 32%;
        transform: translateY(-32%) translateX(-50%) rotate(0deg);
        -webkit-transform: translateY(-32%) translateX(-50%) rotate(0deg);
    }
    .header-mobile-act::after {
        top: 70%;
        transform: translateY(-70%) translateX(-50%) rotate(0deg);
        -webkit-transform: translateY(-70%) translateX(-50%) rotate(0deg);
    }
    .header-mobile-act.active span {
        opacity: 0;
    }
    .header-mobile-act.active::before {
        top: 46%;
        transform: translateY(-46%) translateX(-50%) rotate(0deg);
        -webkit-transform: translateY(-46%) translateX(-50%) rotate(45deg);
    }
    .header-mobile-act.active::after {
        top: 48%;
        transform: translateY(-48%) translateX(-50%) rotate(0deg);
        -webkit-transform: translateY(-48%) translateX(-50%) rotate(-45deg);
    }
    .header-main {
        padding-bottom: 20px;
    }
    .top-header {
        flex-wrap: wrap;
    }
    .footer-inner {
        column-gap: 0;
        row-gap: 30px;
    }
    .footer-widget-text {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 30px;
    }
    .footer-widget-text,
    .footer-gmaps {
        grid-column: span 12 / span 12;
    }
    .footer-social {
        display: none;
    }
    .footer-logo img {
        margin-bottom: 0;
    }
    .footer-mobile-link {
        display: block;
        grid-column: span 12 / span 12;
    }
    .footer-nav-menu {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .footer-nav-menu li a {
        position: relative;
        display: inline-block;
        /* font-family: Helvetica Neue; */
        font-size: 10px;
        font-weight: 400;
        line-height: 11.93px;
        color: #ffffff;
    }
    /* .footer-nav-menu li:not(:last-child) a {
        padding-right: 15px;
        margin-right: 15px;
    } */
    .footer-nav-menu li:not(:last-child) a::before {
        content: "";
        position: absolute;
        width: 1px;
        height: 10px;
        top: 50%;
        right: 0;
        background-color: #ffffff;
        transform: translateY(-50%);
        -webkik-transform: translateY(-50%);
    }
    .footer-detail-mobile {
        display: block;
        grid-column: span 12 / span 12;
    }
    .footer-socila-mobile {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 12px;
    }
    .footer-mobile-copyright {
        display: block;
    }
    .footer-mobile-copyright p {
        /* font-family: Helvetica Neue; */
        font-size: 10px;
        font-weight: 400;
        line-height: 11.93px;
        text-align: left;
        text-align: center;
        color: #ffffff;
        margin: 0;
    }
    .loffer-footer {
        padding: 50px 0;
    }
    .ydts-footer .footer-bottom {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .header-top,
    .header-right {
        display: none;
    }
	.header-inner {
        flex-wrap: wrap;
    }
    .footer-online-support a {
        width: 100%;
    }
    .ydts-footer .footer-top {
        padding-bottom: 30px;
    }
    .ydts-footer .footer-menu ul {
        flex-direction: column;
    }
    .ydts-footer .footer-menu {
        width: 100%;
        border-width: 1px 0px 1px 0px;
        border-color: #E7E7E7;
        border-style: solid;
        padding-top: 27px;
    }
    .ydts-footer .footer-menu ul {
        gap: 0;
    }
    .ydts-footer .footer-social-media {
        padding-top: 30px;
    }
    .ydts-footer .footer-bottom {
        margin: 0 -15px;
    }
	.header-nav ul.header-nav-menu li > a, 
    .ydts-mega-menu-parent a {
        font-size: 20px;
        line-height: 1.5;
        text-align: left;
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .header-ydts .header-logo-wrap img {
        min-width: 139px;
        width: 139px;
        height: 58px;
        object-fit: scale-down;
    }
	.header-nav ul.header-nav-menu li > a, 
    .ydts-mega-menu-parent a {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .header-top-menu li a {
        white-space: nowrap;
    }
}

@media (max-width: 320px) {
    .header-top-menu li a {
        font-size: 10px;
    }
}