:root {
    --primary: #C62828;
    --primary-light: #E53935;
    --secondary: #FFFFFF;
    --accent: #2C2C2C;
    --accent-light: #444444;
    --highlight: #F5F5F5;
    --text: #333333;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    padding-top: 66px; /* Account for fixed navbar */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    min-height: 500px;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.carousel-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.carousel-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section Titles */
.section-title {
    position: relative;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--accent);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.section-subtitle {
    color: var(--accent-light);
    margin-bottom: 40px;
}

/* Impact Section */
.impact-section {
    background-color: var(--secondary);
}

.impact-item h2 {
    font-size: 3rem;
    font-weight: 700;
}

.impact-item p {
    font-size: 1.1rem;
    color: var(--accent-light);
}

/* Program Cards */
.program-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Testimonial Section */
.testimonial-section {
    background-color: var(--primary);
}

.testimonial-content {
    padding: 0 50px;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Partners Section */
.partner-logo {
    max-height: 80px;
    /* filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s; */
}

/* .partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
} */

/* Donation Widget */
.donation-widget .card {
    border: none;
    border-radius: 15px;
}

/* Buttons */
.btn-danger {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-danger:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-danger {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-danger:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--accent) !important;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary) !important;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
}