@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --white: white;
    --black: black;
    --main-color: #ef4444;
    --background: #161324;
}

/* all button hover */
.button {
    width: 120px;
    padding: 5px;
    border: 2px solid var(--main-color);
    text-decoration: none;
    color: var(--main-color);
    background-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: .8s;
}

.button:hover {
    color: var(--white);
}

.button::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s;
    z-index: -1;
}

.button:hover::before {
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.5s;
}

/* header-navbar section */

.header {
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 200;
}

.logo img {
    width: 80px;
    height: 80px;
}

.logo img:hover {
    transform: scale(1.1);
    transition: .4s;
}

.list-bar {
    display: none;
}

.list-bar i {
    font-size: 30px;
    color: var(--main-color);
    display: none;
    cursor: pointer;
}

#xmark {
    display: none;
    color: var(--main-color);
}

.nav {
    margin-right: -150px;
}

.nav a {
    text-decoration: none;
    color: var(--main-color);
    margin: 0 10px;
    font-weight: 500;
    transition: .4s;

}

.nav a:hover {
    color: var(--main-color);
    transform: translateY(-3px);
}


/* side-navbar */
.side-navbar {
    background-color: rgb(252, 228, 228);
    padding: 30px;
    margin-top: -330px;
    transition: .5s;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 150;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.side-nav a {
    text-decoration: none;
    color: var(--background);
    font-weight: 500;
    transition: .3s;
}

.side-nav a:hover {
    color: var(--main-color);
}

/* intro page  */

.locations-intro {
    position: relative;
    background-image: url("../agent-assets/locations-bus-wallpaper.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.locations-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

/* location boxes */

.margin-ul {
    margin: 30px 50px;
}

#map {
    width: calc(100% - 100px);
    margin: 50px;
}

/* animations */

.left-box {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.bottom-box {
    opacity: 0;
    transform: translateY(-100px);
    transition: all 1s ease-out;
}

.right-box {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

.left-box.show,
.bottom-box.show,
.right-box.show {
    opacity: 1;
    transform: translateX(0);
}

/* map tooltip */
.leaflet-tooltip {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.custom-tooltip {
    background: var(--background);
    color: var(--main-color);
    padding: px;
    border-radius: 10px;
    font-size: 14px;
}

/* footer-section */
.footer-section {
    width: 100%;
    height: max-content;
    background-color: var(--background);
    margin-top: 5%;
    padding: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

/* footer-address */
.footer-address {
    width: 300px;
    color: var(--white);
    height: max-content;
}

.footer-address i {
    font-size: 22px;
}

.footer-address p {
    font-size: 14px;
}

/* footer-social-media links */
.footer-solical-link i {
    font-size: 20px;
    margin: 0 5px;
    border: 2px solid var(--white);
    padding: 5px;
    border-radius: 100px;
    transition: .3s;
    color: var(--white);
}

.footer-solical-link i:hover {
    color: var(--white);
    border: 2px solid var(--main-color);
    transform: translateY(-10px);
    background-color: var(--main-color);
}

/* footer-service */
.footer-service {
    color: var(--white);
}

.footer-services {
    width: 310px;
    display: flex;
    gap: 10px;
    transition: .3s;

}

.footer-services a {
    font-size: 14px;
    text-decoration: none;
    color: var(--white);
    transition: .3s;
}

.footer-services a:hover {
    color: var(--main-color);
}

/* footer-navbar */
.footer-nav-link {
    display: flex;
    flex-direction: column;
}

.footer-nav-link a {
    text-decoration: none;
    transition: .2s;
    color: var(--white);
    font-size: 14px;
}

.footer-nav-link a:hover {
    color: var(--main-color);
    transform: translateX(5px);
}

/* footer-email */
.footer-email input {
    background-color: transparent;
    border: none;
    border: 1px solid var(--white);
    padding: 5px;
    outline: none;

}

.footer-finish {
    text-align: center;
    margin-top: 3%;
}