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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
}

header {
    background-color: #0056A8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .logo {
    max-width: 150px;
    height: auto;
}

header ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

header button {
    border: none;
    border-radius: 7px;
    background-color: white;
    color: #0056A8;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

header button:hover {
    background-color: #004080;
    color: white;
    transform: scale(1.05);
}

.banner {
    background-image: linear-gradient(rgba(0, 86, 168, 0.7), rgba(0, 86, 168, 0.7)), url(/img/Banner.png);
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.banner h1 {
    color: white;
    font-size: 2.5rem;
    width: 80%;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.596);
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
    gap: 30px;
}

.card {
    background-color: white;
    padding: 25px;
    flex: 1 1 calc(33.333% - 20px);
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card .carousel {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card .carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card .carousel img.active {
    opacity: 1;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 86, 168, 0.8);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel button:hover {
    background-color: rgba(0, 86, 168, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel .prev {
    left: 15px;
}

.carousel .next {
    right: 15px;
}

.price {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #0056A8;
}

.price .duration, .price .amount {
    background-color: #e0f0ff;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-agendar {
    border: none;
    border-radius: 25px;
    background-color: #0056A8;
    color: white;
    margin-top: 20px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-agendar:hover {
    background-color: #004080;
    transform: scale(1.05);
}

.btn-agendar i {
    font-size: 1.2rem;
}

.card .card-text {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    text-align: left;
    padding: 0;
    transition: transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.card:hover .card-text {
    transform: translateY(-2px);
}

.card h3 {
    margin: 15px 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0056A8;
    transition: color 0.3s ease;
    text-align: left;
}

.card:hover h3 {
    color: #004080;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        margin-left: 115px;
    }

    header ul.menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0056A8;
        padding: 10px;
        position: absolute;
        top: 70px;
        left: 0;
        z-index: 1000;
    }

    header ul.menu.active {
        display: flex;
    }

    header ul.menu li {
        text-align: center;
        margin: 10px 0;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .card {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 400px;
        padding: 20px;
    }

    .banner h1 {
        font-size: 1.5rem;
    }

    .btn-agendar {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

footer {
    background-color: #0056A8;
    padding: 30px;
    text-align: center;
    color: white;
    margin-top: 40px;
}