* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    color: #333;
}

/* HEADER */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 60px;
    background: white;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo img{
    width: 14%;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-left: 20px;
}

.logo strong {
    font-size: 30px;
    font-weight: bold;
}

.logo span {
    font-size: 14px;
    font-weight: normal;
}
.nav{
    display: flex;
    align-items: center;
    margin: 0 30px;
    }
.nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.nav a.active {
    color: red;
}
.nav a:hover{
    color: red;
}

.btn {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.btn-voluntario {
    background: red;
    color: white;
    white-space: nowrap;
}

.btn-voluntario:hover{
    background: rgb(224, 8, 8);
}
/* HERO */
.hero {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

/* Imagen */
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay oscuro */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Contenido */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    padding: 120px 60px;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-content p {
    margin-bottom: 25px;
    font-size: 16px;
}


.btn-red {
    background: red;
    color: white;
}

.btn-outline {
    border: 1px solid white;
    color: white;
    background: transparent;
}

/* SERVICES */
.services {
    padding: 60px;
    text-align: center;
}

.services h2 {
    margin-bottom: 10px;
}

.services-desc {
    margin-bottom: 40px;
    color: #666;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.card {
    width: 260px;
    padding: 25px;
    border-radius: 6px;
    background: #f2f2f2;
}

.card h3 {
    margin-bottom: 10px;
}

/* CTA */
.cta {
    background: red;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    margin-bottom: 10px;
}

.cta p {
    margin-bottom: 20px;
}

.btn-white {
    background: white;
    color: red;
}

/* FOOTER */
.footer {
    background: #2b2b2b;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
}

.footer-col {
    width: 22%;
}

.footer-col h4 {
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: white;
    margin-bottom: 5px;
}
/* ===============================
   ABOUT PAGE
   =============================== */

.hero-about {
    height: 350px;
}

/* ABOUT SECTION */
.about {
    padding: 60px;
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: auto;
}

.about h2 {
    margin-bottom: 15px;
}

/* PRESIDENT SECTION */
.president {
    background: #f2f2f2;
    padding: 60px;
}

.president-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    align-items: center;
}

.president-image img {
    width: 280px;
    height: 360px;
    object-fit: cover;
    border-radius: 6px;
}

.president-info h2 {
    margin-bottom: 5px;
}

.president-info h4 {
    color: red;
    margin-bottom: 15px;
    font-weight: normal;
}

.president-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}
/* ===============================
   CONTACT PAGE
   =============================== */
.contact {
    padding: 60px 20px;
    background: #f9f9f9;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-form, .contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form h2, .contact-info h2 {
    margin-bottom: 20px;
    color: #333;
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.contact-form form button {
    padding: 12px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.map iframe {
    border-radius: 6px;
    width: 100%;
    height: 300px;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: #ccc;
}
.mensaje-error {
    margin: 15px 0;         
    padding: 12px;            
    max-width: 400px;         
    text-align: center;      

    color: #a00000;           
    background-color: #ffd6d6; 
    border: 1px solid #ff4d4d; 
    border-radius: 5px;      
    font-weight: 600;      
}


/* ===============================
   TABLET (max-width: 1024px)
   =============================== */
@media (max-width: 1024px) {

    .header {
        padding: 15px 30px;
    }

    .logo strong {
        font-size: 26px;
    }

    .logo span {
        font-size: 14px;
    }

    .nav{
        display: flex;
        align-items: center;
        margin: 0 15px;
    }

    .nav a {
        margin: 0 8px;
        font-size: 14px;
        text-decoration: none;
        white-space: nowrap;
    }

    .hero {
        height: 420px;
    }

    .hero-content {
        padding: 100px 40px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .service-cards {
        gap: 20px;
    }

    .card {
        width: 240px;
    }

    .footer {
        padding: 40px 30px;
    }
}


/* HISTORY SECTION */
.history {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.history-container {
    max-width: 900px;
    margin: auto;
}

.history h2 {
    margin-bottom: 20px;
}

.history p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.history-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.history-stats .stat h3 {
    font-size: 28px;
    color: red;
    margin-bottom: 5px;
}

.history-stats .stat p {
    font-size: 14px;
    color: #333;
}

.footer {
    position: relative;
    padding-bottom: 80px; /* espacio para footer-bottom */
}

.footer-bottom {
    position: absolute;
    bottom: 20px;  /* más espacio desde abajo */
    right: 20px;   /* distancia desde la derecha */
    font-size: 14px;
    color: #ccc;
}

/* ===============================
   MOBILE (max-width: 768px)
   =============================== */
@media (max-width: 768px) {

    /* HEADER */
    .header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .logo {
        flex-direction: column;
    }

    .logo-text {
        margin-left: 0;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        margin: 5px 10px;
    }

    /* HERO */
   @media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 420px;
    }

    .hero-content {
        padding: 80px 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 26px;
    }
}


    /* SERVICES */
    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 320px;
    }

    /* PRESIDENT */
    .president-container {
        flex-direction: column;
        text-align: center;
    }

    /* FOOTER */

    .footer-col {
        width: 100%;
    }
   .footer-bottom {
        font-size: 13px;
        bottom: 15px;
        right: 15px;
    }
    .footer {
        padding-bottom: 50px;
    }
}


@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .logo strong {
        font-size: 22px;
    }

    .btn {
        font-size: 13px;
        padding: 10px 15px;
    }

    .services h2,
    .cta h2 {
        font-size: 22px;
    }
    .footer-bottom {
        font-size: 12px;
        bottom: 12px;
        right: 10px;
    }
    .footer {
        padding-bottom: 40px;
    }
}
.card img {
    margin-bottom: 10px;
}

.card {
    transition: transform 0.3s;
}

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

/* DONATION */
.donation {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.donation-container {
    max-width: 500px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 6px;
}

.donation-amounts {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.amount-btn {
    padding: 10px 15px;
    border: 1px solid red;
    background: white;
    color: red;
    border-radius: 4px;
    cursor: pointer;
}

.amount-btn:hover,
.amount-btn.active {
    background: red;
    color: white;
}

.donation-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.donation-form .row {
    display: flex;
    gap: 10px;
}

.donation-form .row input {
    width: 50%;
}