/*=========================================================
  FERROBEND
  GLOBAL STYLES
=========================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #222;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/*=========================================================
  CONTAINER
=========================================================*/

.container {
    width: 92%;
    max-width: 1380px;
    margin: auto;
}

/*=========================================================
  TOP BAR
=========================================================*/

.top-bar {
    background: #232323;
    height: 42px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.top-left a,
.top-right a {
    color: #ffffff;
    font-size: 14px;
    transition: .3s;
}

.top-left a:hover,
.top-right a:hover {
    color: #ff6b00;
}

.top-right i {
    color: #ff6b00;
    margin-right: 7px;
}

/*==================================================
TOP BAR — MOBILE
==================================================*/

@media (max-width: 768px) {

    .top-bar {
        height: auto;
        padding: 10px 0;
    }

    .top-bar-container {
        height: auto;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-left,
    .top-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .top-left a,
    .top-right a {
        font-size: 12px;
    }

}

/*==================================================
TOP BAR — SMALL MOBILE
==================================================*/

@media (max-width: 400px) {

    .top-bar {
        padding: 8px 0;
    }

    .top-left,
    .top-right {
        gap: 6px 14px;
    }

    .top-left a,
    .top-right a {
        font-size: 11px;
    }

}


/*=========================================================
  HEADER
=========================================================*/

.header {
    background: #ffffff;
    border-bottom: 1px solid #ececec;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    height: 95px;

}

/*=========================================================
  LOGO
=========================================================*/

.logo {

    flex: 0 0 200px;

}

.logo img {

    width: 200px;

}

/*=========================================================
  NAVIGATION
=========================================================*/

.navbar {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    margin-left: 20px;
}

.header .navbar>ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header .navbar>ul>li {
    white-space: nowrap;
}

.header .navbar>ul>li>a {

    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 17px;
    font-weight: 400;

    color: #111111;

    transition: .3s;

}

.header .navbar > ul > li > a:hover{

    color:#ff6b00;

}
.navbar ul li a i {

    font-size: 11px;
    margin-left: 6px;

    transition: 0.3s;

}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    display: none;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    padding: 10px 0;
    z-index: 9999;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a{

    display:block;

    padding:12px 20px;

    color:#222 !important;

    background:#ffffff;

}

.dropdown-menu li a:hover{

    background:#ff6b00 !important;

    color:#ffffff !important;

}

/*==================================================
  DIMENSIONS MEGA DROPDOWN
==================================================*/

.navbar {
    position: relative;
}

.nav-menu > li.dropdown:has(.dimensions-dropdown-menu) {
    position: static;
}

.nav-menu > li.dropdown > .dimensions-dropdown-menu {

    display: none;

    position: absolute;

    top: calc(100% + 20px);
    left: 50%;

    transform: translateX(-50%);

    width: 900px;
    min-width: 900px;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px 30px;

    padding: 20px;

    margin: 0;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    z-index: 9999;

    box-sizing: border-box;
}

.nav-menu > li.dropdown:hover > .dimensions-dropdown-menu {
    display: grid;
}

.nav-menu > li.dropdown > .dimensions-dropdown-menu li a {

    display: block;

    padding: 12px 20px;

    color: #222222;

    white-space: nowrap;
}

.nav-menu > li.dropdown > .dimensions-dropdown-menu li a:hover {
    background: #ff6b00 !important;
    color: #ffffff !important;
}

.dimensions-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}


@media (hover: hover) and (pointer: fine) {
    .dropdown-menu li a:hover{

        background:#ff6b00 !important;

        color:#ffffff !important;

    }
}



/*=========================================================
  HEADER RIGHT
=========================================================*/

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}


/*=========================================================
  BUTTON
=========================================================*/
.contact-btn {

    padding: 14px 22px;

    border: 1px solid #d7d7d7;

    color: #0B1F33;

    border-radius: 5px;

    font-size: 15px;

    font-weight: 600;

    transition: .25s ease;

}

.contact-btn:hover {

    background: #0B1F33;

    color: #ffffff;

}

.quote-btn {

    background: #ff6b00;

    color: #ffffff;

    padding: 18px 32px;

    border-radius: 5px;

    font-size: 17px;

    font-weight: 600;

    transition: .25s ease;

}

/*=========================================================
  SEARCH
=========================================================*/

.search-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #d9d9d9;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #111111;

    font-size: 22px;

    transition: 0.25s;

}

.search-btn:hover {

    border-color: #ff6b00;
    color: #ff6b00;

}

/*==================================================*
*MENU TOGGLE — DESKTOP (hidden)*
*==================================================*/

.menu-toggle {

    display: none;

    background: none;

    border: none;

    font-size: 26px;

    color: #111111;

    cursor: pointer;

}


/*==================================================
  MOBILE HEADER
==================================================*/

@media (max-width: 768px) {

    .header-container {

        position: relative;

        height: 80px;

    }


    /* LOGO */

    .logo {

        flex: 0 0 auto;

    }

    .logo img {

        width: 170px;

    }


    /* HIDE DESKTOP CONTROLS */

    .header-right {

        display: none;

    }


    /* HAMBURGER */

    .menu-toggle {

        display: flex;

        align-items: center;

        justify-content: center;

        margin-left: auto;

        width: 44px;

        height: 44px;

        background: none;

        border: none;

        font-size: 26px;

        color: #111111;

        cursor: pointer;

    }


    /* MOBILE NAVIGATION */

.navbar {
    display: none;
    order: 3;
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: #ffffff;
    margin-left: 0;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);

    max-height: calc(100vh - 78px);
    overflow-y: auto;
}


    .navbar.active {

        display: block;

    }


    .header .navbar > ul {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        width: 100%;

    }


    .header .navbar > ul > li {

        width: 100%;

        border-bottom: 1px solid #ececec;

    }


    .header .navbar > ul > li > a {

        width: 100%;

        padding: 14px 20px;

        justify-content: space-between;

    }


    /* MOBILE DROPDOWN */

    .dropdown-menu {

        position: static;

        display: none;

        width: 100%;

        min-width: 0;

        padding: 0 0 0 15px;

        box-shadow: none;

        border-radius: 0;

    }


    .dropdown.active .dropdown-menu {

        display: block;

    }

        /* DIMENSIONS MEGA DROPDOWN — MOBILE */

.dropdown.active > .dimensions-dropdown-menu {

    display: block !important;

    position: static !important;

    grid-template-columns: 1fr !important;

    width: 100% !important;
    min-width: 0 !important;

    transform: none !important;
    left: auto !important;

    padding: 10px 0 !important;

    box-shadow: none !important;

    gap: 0 !important;

}

.nav-menu > li.dropdown > .dimensions-dropdown-menu li a {

    padding: 12px 20px !important;

    white-space: normal !important;

}

}

/*==================================================
  SMALL MOBILE HEADER
==================================================*/

@media (max-width: 400px) {

    .header-container {

        height: 72px;

    }


    .logo img {

        width: 150px;

    }


    .menu-toggle {

        width: 40px;

        height: 40px;

        font-size: 24px;

    }


    .header .navbar > ul > li > a {

        padding: 13px 16px;

        font-size: 15px;

    }

          @media (max-width: 480px) {

    .dimensions-dropdown-menu li a {

        padding: 10px 16px !important;

        font-size: 14px !important;

    }
}

}
