:root {
    --primary-color: #D9232E;
    /* Rojo Nelson */
    --secondary-color: #0033A0;
    /* Azul claro / secundario */
    --tertiary-color: #002347;
    /* Azul Oscuro (Banner) */
    --bg-color: #f4f6f8;
    /* Fondo gris claro */
    --text-color: #333333;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Navigation */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    /* Slightly larger logo */
    font-weight: 900;
    color: var(--tertiary-color);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 25px;
    /* Increased gap */
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    /* Increased font size as requested */
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-donate {
    background-color: var(--primary-color);
    color: white !important;
    padding: 12px 25px;
    /* Larger button */
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1rem;
}

.btn-donate:hover {
    background-color: #b01c25;
}

/* Banner Section */
.banner-pages {
    background-color: var(--tertiary-color);
    color: white;
    padding: 5rem 2rem;
    /* Taller banner */
    text-align: center;
}

.banner-pages h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.banner-pages p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Form Card */
.form-section {
    padding: 3rem 0;
}

.form-card {
    background: var(--white);
    padding: 40px;
    /* More padding */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 0 auto -80px;
    position: relative;
    top: -60px;
    /* Pull up more */
}

.form-card h2 {
    color: var(--tertiary-color);
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    font-size: 1.8rem;
    text-align: center;
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #444;
    font-size: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 14px;
    /* Larger inputs */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background-color: #fafafa;
}

input:focus,
select:focus {
    border-color: var(--tertiary-color);
    outline: none;
    background-color: #fff;
}

.hint {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.checkbox-group input {
    margin-top: 4px;
    transform: scale(1.1);
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
}

/* Info Box */
.info-box {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 0.95rem;
}

.info-box a {
    color: #0d47a1;
    font-weight: bold;
    text-decoration: underline;
}

/* Button */
.btn-submit {
    width: 100%;
    padding: 18px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(217, 35, 46, 0.3);
}

.btn-submit:hover {
    background-color: #b01c25;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(217, 35, 46, 0.4);
}

/* Footer */
/* Section X */
.section-x {
    background-color: #000;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.section-x h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.btn-x {
    display: inline-block;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-x:hover {
    background-color: white;
    color: black;
}

/* New Main Footer */
.main-footer {
    background-color: var(--tertiary-color);
    color: white;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
}

.footer-left h3 {
    color: #3b82f6;
    /* Light blue akin to the image */
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.footer-left p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 2px 0;
}

.footer-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    /* Make black icons white */
    transition: transform 0.3s;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

.footer-logo {
    height: 50px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-left {
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .main-header {
        padding: 15px;
    }

    .form-card {
        padding: 20px;
        margin-top: -20px;
        top: 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .banner-pages {
        padding: 3rem 1.5rem;
    }

    .banner-pages h1 {
        font-size: 2rem;
    }
}

/* Mensajes */
.message-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.message-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Radio Button Group */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    background: #fdfdfd;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    font-size: 1rem;
}

.radio-label input[type="radio"] {
    transform: scale(1.2);
    accent-color: var(--primary-color);
}