html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

* {
    box-sizing: border-box;
}


/* =========================================
   HEADER CSS
========================================= */

.site-header {
    position: relative;
    width: 100%;
    background: #ffffff;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-inner {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   LOGO
========================================= */

.site-logo a {
    display: flex;
    align-items: center;
}

.site-logo img {
    width: 150px;
    height: auto;
    display: block;
}


/* =========================================
   DESKTOP MENU
========================================= */

.main-navigation {
    height: 100%;
    margin-left: auto;
}

.main-menu {
    height: 100%;
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-menu > li > a {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 17px;
    color: #000;
    text-decoration: none;
    font-size: 19px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.main-menu > li > a:hover {
    color: #e21f26;
}


/* =========================================
   MENU HOVER LINE
========================================= */

.main-menu > li > a::after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 22px;
    height: 2px;
    background: #e21f26;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-menu > li:hover > a::after {
    transform: scaleX(1);
}


/* =========================================
   DROPDOWN ARROW
========================================= */

.dropdown-arrow {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-top: -4px;
}


/* =========================================
   FIRST DROPDOWN
========================================= */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border-top: 3px solid #e21f26;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: all 0.25s ease;
}

.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    position: relative;
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 10px;
    color: #232323;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.25s ease;
}

.dropdown-menu li > a:hover {
    background: #e21f26;
    color: #ffffff;
}


/* =========================================
   SUB DROPDOWN
========================================= */

.submenu-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
}

.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    width: 310px;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border-left: 2px solid #e21f26;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);

    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);

    transition: all 0.25s ease;
}

.dropdown-menu .has-submenu:hover > .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


/* =========================================
   ENQUIRY NOW BUTTON
========================================= */

.main-menu > li.enquiry-btn {
    height: auto;
    margin-left: 35px;
}

.main-menu > li.enquiry-btn > a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 80px;
    height: 40px;
    padding: 0 25px;

    background: #f0180f;
    color: #ffffff !important;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;

    border-radius: 50px;

    transition: all 0.3s ease;
}

.main-menu > li.enquiry-btn > a:hover {
    background: #c9110a;
    color: #ffffff !important;
}


/* BUTTON PAR MENU HOVER LINE NA AAYE */

.main-menu > li.enquiry-btn > a::after {
    display: none;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.mobile-menu-toggle {
    width: 45px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #222;
    transition: all 0.3s ease;
}


/* HAMBURGER TO CROSS */

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* =========================================
   MOBILE NAVIGATION
========================================= */

.mobile-navigation {
    display: none;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1200px) {

    .main-menu > li > a {
        padding: 0 10px;
        font-size: 15px;
    }

    .main-menu > li.enquiry-btn {
        margin-left: 20px;
    }

    .main-menu > li.enquiry-btn > a {
        min-width: 180px;
        height: 56px;
        padding: 0 20px;
        font-size: 15px;
    }

    .header-container {
        max-width: 100%;
    }

}


/* =========================================
   MOBILE & TABLET
========================================= */

@media (max-width: 991px) {

    .header-inner {
        height: 70px;
    }


    /* HIDE DESKTOP MENU */

    .main-navigation {
        display: none;
    }


    /* SHOW HAMBURGER */

    .mobile-menu-toggle {
        display: flex;
    }


    /* MOBILE MENU */

    .mobile-navigation {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: #ffffff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: max-height 0.4s ease;
    }

    .mobile-navigation.active {
        max-height: 85vh;
        overflow-y: auto;
    }

    .mobile-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu > li {
        border-top: 1px solid #eeeeee;
    }

    .mobile-menu a {
        color: #222;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
    }


    /* NORMAL MOBILE LINK */

    .mobile-menu > li:not(.mobile-dropdown) > a {
        display: block;
        padding: 17px 15px;
    }


    /* DROPDOWN ROW */

    .mobile-menu-row {
        min-height: 55px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu-row > a {
        width: 100%;
        padding: 17px 15px;
    }


    /* PLUS BUTTON */

    .mobile-dropdown-btn {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
        border: none;
        border-left: 1px solid #eeeeee;
        background: #f7f7f7;
        color: #222;
        font-size: 24px;
        cursor: pointer;
    }


    /* MOBILE SUBMENU */

    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        list-style: none;
        padding: 0;
        margin: 0;
        background: #f7f7f7;
        transition: max-height 0.4s ease;
    }

    .mobile-dropdown.active > .mobile-submenu {
        max-height: 2000px;
    }

    .mobile-submenu li {
        border-top: 1px solid #e5e5e5;
    }

    .mobile-submenu li a {
        display: block;
        padding: 14px 15px 14px 30px;
        font-size: 14px;
        line-height: 1.5;
    }


    /* NESTED MOBILE SUBMENU */

    .mobile-submenu .mobile-submenu {
        background: #eeeeee;
    }

    .mobile-submenu .mobile-submenu li a {
        padding-left: 45px;
        font-size: 13px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .header-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-inner {
        height: 75px;
    }

    .site-logo img {
        width: 110px;
    }

}

/* =========================================
   ACTIVE MENU ITEM
========================================= */

.main-menu > li > a.active {
    color: #e21f26 !important;
    font-weight: 600;
}

/* Active menu ke neeche red line */
.main-menu > li > a.active::after {
    transform: scaleX(1);
}

/* Parent menu active ho to Industrial Machine bhi red */
.main-menu > li.active > a {
    color: #e21f26 !important;
    font-weight: 600;
}

.main-menu > li.active > a::after {
    transform: scaleX(1);
}


/* =========================================
   MOBILE ACTIVE MENU
========================================= */

.mobile-menu a.active {
    color: #e21f26 !important;
    font-weight: 600;
}

.mobile-menu > li > a.active {
    background: #fff5f5;
    border-left: 2px solid #e21f26;
}

/* =========================================
   ENQUIRY NOW BUTTON ACTIVE FIX
========================================= */

.main-menu > li.enquiry-btn > a,
.main-menu > li.enquiry-btn > a.active,
.main-menu > li.enquiry-btn.active > a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.main-menu > li.enquiry-btn > a:hover,
.main-menu > li.enquiry-btn > a.active:hover,
.main-menu > li.enquiry-btn.active > a:hover {
    color: #ffffff !important;
}