* {
    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 {
    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);
    }
}

/* NAVBAR-LOGO RESIZE HERE */
.navbars .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;
    top: var(--nav-height);
}

.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;
    font-size: 16px;
    text-decoration: none;

}

.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;
}

/* BANNER-DESIGN HERE */
.banner {
    background-image: url('../images/tr-up-contact.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    margin-top: 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#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);
}

.form-section {

    display: flex;
    padding: 100px 30px;
    gap: 30px;

}

.form {
    width: 100%;
    transition: 0.4s linear;
    text-align: center;
    color: #055c52;

}

/* 
.form:hover {
    box-shadow: 10px 10px 10px gainsboro;
} */

.form form {
    display: flex;
    flex-direction: column;
    padding: 30px;

    align-items: center;
}

input,
textarea {
    border: 2px solid #ccc;
    padding: 10px;
    transition: all 0.3s ease;
    /* 🔥 animation */

}

input:focus,
textarea:focus {
    border-color: #BE3538;
    outline: none;

}

textarea {
    width: 100%;
    max-width: 100%;
    height: 150px;
    padding: 10px;
    font-size: 14px;
    resize: none;
}

.inp-box,
textarea {
    border: 1px solid gainsboro;
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.forms {
    display: flex;
    width: 100%;
}

form {
    width: 100%;
}

.maps {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.maps p {
    font-size: 16px;
}

.maps iframe {
    height: 300px;
}

.maps div {
    padding-top: 80px;
    color: #055c52;
}

footer {
    background-color: teal;
    padding: 30px 0;
    text-align: center;
    color: #fff;
    font-size: 16px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

.btn {
    font-size: 16px;
}

@media (max-width:1000px) {
    .form-section {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        margin-top: 60px;
    }

    .dropdown-menu {
        left: 0;
        width: 100%;
    }

    .forms form {
        width: 100%;

    }

    .inp-box,
    textarea {
        border: 1px solid gainsboro;
        width: 100%;
        padding: 10px;
    }

    .banner {
        width: 100%;
    }

    .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;

    }

    .btns {
        display: block;
        border: none;
        background-color: transparent;
        font-size: 20px;
    }

    .maps {
        align-items: center;
    }

    .maps iframe {
        width: 100%;
        height: 100%;
    }
}

@media(max-width:768px) {
    .navbars .nav-img {
        width: 140px !important;
    }

    .navbars {
        justify-content: space-between !important;
        padding: 0 10px;
        align-items: center;
    }

    .banner {
        margin-top: 0px;
        height: 300px;
    }
}

@media (max-width:480px) {
    .navbars .nav-img {
        width: 110px !important;
    }

    .banner {
        height: 23%;
    }
}

@media(max-width:426px) {
    .forms form {
        padding: 0;
    }

}