@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

img {
    border-radius: 15px;
}

.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer a {
    margin: 0 10px;
}

.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    color: darkolivegreen !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fixed a {
    color: darkolivegreen !important;
}

.fade-in {
    opacity: 1;
    animation: slideDown 0.5s forwards;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    transition: transform 0.3s ease;
    background-color: transparent;
    font-weight: bold;
}

header a {
    color: white !important;
}

.hero {
    position: relative;
    background: url('./assets/images/banner.jpg') no-repeat center center;
    background-size: cover;
    background-position: 0 0;
    padding: 100px 20px;
    height: 100vh;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero h1,
.hero h3,
a {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
}

.hero h1,
.hero h3 {
    color: white !important;
}

h1,
h2 {
    color: darkolivegreen !important;
    font-weight: bold;
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: darkolivegreen;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: opacity 0.3s;
}

#backToTop:hover {
    background-color: #4CAF50;
}

.nav-link:hover {
    transform: scale(1.02);
}

.nav {
    display: flex;
    list-style: none;
    padding: 0;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

footer a {
    text-decoration: none;
}

footer p:hover,
i:hover {
    transform: scale(1.05);
    transition: ease-in-out 0.2s;
}

.card {
    margin-bottom: 20px;
    border-radius: 15px;
    padding: 2rem;
    min-height: 475px;
    text-align: center;
    border: 3px solid darkolivegreen;
}

.highlight-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.highlight-card a {
    display: block;
}

.highlight-card a:hover {
    cursor: pointer;
}

.pulse {
    animation: pulseAnimation 3s infinite;
    transition: transform 0.3s ease;
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.card-img-top {
    border-radius: 50%;
    padding: 1px;
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin: 0 auto;
    border: 3px solid darkolivegreen;
}

.card-title {
    margin-top: 10%;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: end;
}

#depoimentos {
    min-height: 35rem;
    height: auto;
}

.review-card {
    background-color: #3c763d;
    border: none;
    border-radius: 10px;
    color: white;
    padding: 20px;
    margin: 15px;
    text-align: left;
    min-height: 15rem;
    width: 95%;
    border: 2px solid white;
}

.review-card p {
    font-size: 1.5rem;
}

.review-card footer {
    font-size: 1rem;
    opacity: 0.8;
}

.carousel-item {
    padding: 20px 50px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}


.footer {
    background-color: darkolivegreen !important;
}

.logo img {
    max-width: 50px;
}

.carousel-control-prev i,
.carousel-control-next i {
    font-size: 2rem;
    color: darkolivegreen;
}

.carousel-item img {
    min-height: 25rem;
    max-height: 25rem;
    width: auto;
    object-fit: contain;
    border-radius: 15px;
}

.btn-light {
    background-color: white;
    color: darkolivegreen;
    border: 2px solid darkolivegreen;
}

.btn-light:hover {
    background-color: darkolivegreen;
    color: white;
}

.btn-hover {
    background-color: darkolivegreen;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.btn-hover:hover {
    background-color: white !important;
    color: darkolivegreen !important;
    border: 2px solid darkolivegreen;
    text-decoration: none;
}

@media (max-width: 768px) {
    .review-card {
        width: 100%;
        margin: 10px;
    }

    .review-card p {
        font-size: 1.1rem;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.9);
        z-index: 100;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        padding: 20px 0;
    }

    .navbar-white {
        background-color: white !important;
    }

    .nav a {
        color: darkolivegreen !important;
    }

    .nav.active {
        display: flex;
    }

    .nav-item {
        padding: 10px 20px;
        border-bottom: 1px solid #ddd;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-item a {
        color: #333;
        text-decoration: none;
    }

    .menu-icon {
        display: block;
    }

    #sobre {
        text-align: center;
    }
}