:root {
    --primary-red: #d32f2f;
    --dark-red: #b71c1c;
    --light-red: #ffcdd2;
    --gradient-red: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    --white: #ffffff;
    --black: #212121;
    --gray: #757575;
    --light-gray: #f5f5f5;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-red);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-red);
}

.cta-button {
    background: var(--gradient-red);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

section {
    padding: 4rem 5%;
}

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero_charity.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
}

/* Specific layouts */
.principal-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--light-gray);
}

.principal-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-red);
}

.question-block {
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-red);
    padding-left: 1.5rem;
}

.question-block h3 {
    color: var(--dark-red);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    nav ul {
        margin-top: 1rem;
    }
    .principal-section {
        flex-direction: column;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}
