@import url("./variables.css");
@import url("./button.css");
@import url("./header.css");
@import url("./slider.css");
@import url("./event.css");

@font-face {
    font-family: "Helvetica";
    src: url("../fonts/Helvetica.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Helvetica";
    src: url("../fonts/Helvetica-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: "Helvetica";
    src: url("../fonts/Helvetica-Oblique.ttf") format("truetype");
    font-weight: normal;
    font-style: oblique;
}
@font-face {
    font-family: "Helvetica";
    src: url("../fonts/Helvetica-BoldOblique.ttf") format("truetype");
    font-weight: bold;
    font-style: oblique;
}

body {
    font-family: "Helvetica", Arial, sans-serif;
    background-color: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.body-container {
    max-width: 100vw;
    padding: 0 80px;
}

@media screen and (max-width: 768px) {
    .body-container {
        padding: 0 16px;
    }
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

.hero-icon-card {
    background-color: #000;
    border-radius: 0.5rem;
    padding: 1.5rem;
    flex: 1 1 0%;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-icon-card img {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    aspect-ratio: 1;
}

#brand-carousel-track {
    padding: 0.8rem;
}

#brand-carousel-track::-webkit-scrollbar {
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
}

#brand-carousel-track::-webkit-scrollbar-button {
    display: none;
}

#brand-carousel-track::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 3px;
}
#brand-carousel-track::-webkit-scrollbar-track {
    background: #e5e5e5;
    border-radius: 3px;
}

.testimonial-row {
    align-items: stretch;
}

.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f4f4f4;
}

.hover-map-content {
    position: absolute;
    bottom: -300px;
    z-index: 60;
    width: 60%;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    height: 250px;
    background-color: #fff;
}

.cf-footer {
    background-color: #232323;
    padding: 2rem 0;
    height: auto;
    z-index: 0;
    bottom: 0;
}

.hover-map-content {
    display: flex;
    height: auto;
    padding: 2rem;
    justify-content: space-between;
    align-items: center;
}

.cf-content-text {
    width: 50%;
}

.map-image {
    width: 600px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-image iframe {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    margin-left: 2rem;
}

@media screen and (max-width: 768px) {
    .hover-map-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        bottom: -450px;
        left: 50%;
        transform: translateX(-50%);
        gap: 1rem;
        width: 80%;
    }

    .cf-content-text {
        width: 100%;
    }

    .map-image {
        max-width: 100%;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .map-image iframe {
        margin: 0 auto;
        width: 100%;
        height: 100%;
        margin-right: 50px;
    }

    .cf-footer {
        margin-top: 400px;
        padding: 2rem 0;
    }
}
