div.bg-image {
    background-image: url('/img/carbon-7.jpg');
    margin-top: -59px;

}

nav {
    z-index: 1;
    min-height: 59px;
}

div.mask {
    background: linear-gradient(45deg,
            hsla(169, 38%, 31%, 0.7),
            hsla(152, 33%, 26%, 0.7) 100%);
}

div.copyright {
    background-color: rgba(0, 0, 0, 0.25);
}

div.how_it_works {
    margin-top: -59px;
}

.how-resources {
    margin-top: -70px;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* This creates a 16:9 aspect ratio. Adjust as needed */
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* Custom styles for EcoTrack About page */

:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --text-color: #333;
    --bg-color: #f0f0f0;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}



.mission-card {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mission-card blockquote {
    font-size: 1.25rem;
    font-style: italic;
    margin: 0;
}

/* .value-card {
    transition: transform 0.3s ease-in-out;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card .card-title {
    color: var(--primary-color);
}

.value-card .bi {
    font-size: 1.5rem;
    margin-right: 0.5rem;
} */

.team-card img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 1rem auto;
}

.team-card .card-body {
    text-align: center;
}


#message-popup {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    display: none;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
