* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nav-height: 70px;
}

body {
    padding-top: var(--nav-height);
}

.navbars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: var(--nav-height);
    z-index: 999;
    background: #fff;
    padding: 5px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* PRELOADER FULL SCREEN */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* BOX CONTAINER */
.box-loader {
    display: flex;
    gap: 10px;
}

/* EACH BOX */
.box-loader span {
    width: 20px;
    height: 20px;
    background: teal;
    animation: bounce 0.6s infinite alternate;
}

/* DELAY FOR EACH BOX */
.box-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.box-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ANIMATION */
@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}

.banner {
    background: url('../images/ctp\ and\ commercial\ printing.png') bottom/cover no-repeat;
    position: relative;
    height: 400px;
    margin-top: 0px;
}

/* DARK OVERLAY */
/* .banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
} */
/*  */

/* NAVBAR-LOGO RESIZE HERE */
.nav-img {
    width: 200px;
    max-width: 100%;
    height: auto;
}

/* WHOLE NAVBAR DESIGN */


.nav-list {
    display: flex;
    /* border: solid; */
    align-items: center;
    list-style-type: none;
    gap: 30px;
}

.nav-list li {
    font-weight: bold;
    width: auto;
    background-color: teal;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    transition: 0.4s;

}

/* NAVLINK HOVER HERE */


.nav-list a {
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
    font-size: 16px
}

.nav-list li:hover a {
    color: #000;
}

/* UNDERLINE DESIGN HERE */
.under-line {
    width: 100%;
    height: 3px;
    background-color: rgb(226, 226, 226);
}

.dropdown {
    position: relative;
}

/* hidden */
.dropdown-menu {
    position: absolute;
    top: 50px;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    display: none;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* items */
.dropdown-menu li {
    padding: 10px 20px;
    background: none;
}

.dropdown-menu li a {
    color: black;
}

/* show on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

.btns {
    display: none;
    border: none;
    background-color: transparent;
}

.lay-2 {
    text-align: center;
    padding: 40px 80px;
}

.layer-2 {

    display: flex;
}

.layer-2 img {
    width: 40%;
}

.lay2-cont {
    text-align: left;
    padding: 20px;
}

.lay2-cont span {
    color: #BE3538;
}

.lay2-cont h1 {
    color: teal;
}

.lay2-cont p {
    font-size: 16px;
}

#topBtn {
    background-color: #BE3538;
    color: #fff;
    border: none;
    outline: none;
    padding: 10px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

#topBtn:hover {
    background-color: #055c52;
    transform: scale(1.1);
}

/* FOOTER DESIGN HERE */
footer {
    background-color: teal;
    padding: 30px 0;
    text-align: center;
    color: #fff;
    font-size: 16px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

@media(max-width:1000px) {
    .banner {
        text-align: center;

    }

    .dropdown-menu {
        left: 0;
        width: 100%;
    }

    .banner h1 {
        font-size: 30px;
    }

    .layer-2 {
        flex-direction: column;
        align-items: center;
    }

    .layer-2 img {
        width: 100%;
    }

    .btns {
        display: block;
        font-size: 18px;
    }


    .nav-list {
        display: none;
        position: absolute;
        z-index: 999;
        left: 0;
        top: 70px;
        padding: 20px;
        width: 100%;
        background-color: #fff;
        animation: slide-down 0.5s linear;
    }

    .nav-list.active {
        display: block;
    }

    .nav-list li {
        background-color: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        align-items: center;
    }

    .nav-list li a {
        color: #000;

    }
}

@media(max-width:768px) {
    .dropdown-menu {
        left: 0px;
    }

    .navbars {
        justify-content: space-between !important;
        padding: 0 10px;
        align-items: center;
    }

    .nav-img {
        width: 140px;
    }
}

@media(max-width:600px) {
    .lay-2 {
        padding: 10px;
    }

    .banner {
        text-align: center;
    }

    footer {
        font-size: 14px;
    }
}

@media(max-width:480px) {
    .banner {
        margin-top: 0px;
        height: 20%;
    }

    .nav-img {
        width: 110px;
    }
}