body {
    font-family: 'Poppins', sans-serif;
    background-color: #e8f5e9;
    color: #212121;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #2e7d32;
    text-decoration: none;
}

a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

.navbar {
    background-color: #2e7d32 !important;
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
}

.navbar .nav-link:hover,
.nav-link.active {
    color: #c8e6c9 !important;
}

.navbar-brand {
    font-weight: 700;
    color: #fff !important;
}

#toggle-contrast {
    background-color: #1565c0;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}

#toggle-contrast:hover {
    background-color: #0d47a1;
}

.btn-custom {
    background-color: #2e7d32;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 16px;
    transition: 0.3s;
    border: none;
}

.btn-custom:hover {
    background-color: #1b5e20;
    color: #fff;
}

input,
select,
textarea {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2e7d32;
    outline: none;
    box-shadow: 0 0 5px rgba(46, 125, 50, 0.5);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    color: #1b5e20;
}

.carousel-inner {
    height: 60vh;
    /* aumenta a altura do carrossel */
}

@media (max-width: 768px) {
    .carousel-inner {
        height: 50vh;
        /* altura menor para telas pequenas */
    }
}

.carousel-inner img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
}


.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 10px;
}

@media (max-width: 768px) {
    .carousel-inner {
        height: 40vh;
    }
}

form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #2e7d32;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

footer a {
    color: #c8e6c9;
}

footer a:hover {
    color: #ffffff;
}

body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

body.high-contrast a {
    color: #0f0 !important;
}

body.high-contrast .btn-custom {
    background-color: #0f0 !important;
    color: #000 !important;
}

body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #0f0 !important;
}