/* Variables globales */
:root {
    --primary: #143bfa;
    --secondary: #1a237e;
    --accent: #ff6f00;
    --text: #333;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.logo-container {
    margin: 0 auto 1rem;
    text-align: center;
}

.logo-container img {
    max-width: 500px;
    width: 70%;
    height: auto;
    /*margin-bottom: 0.5rem;*/
}

.header h1 {
    font-size: 1.5rem;
    /*margin-bottom: 0.3rem;*/
    line-height: 1.2;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Navigation */
.nav {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 3rem 0;
}

.hero {
    text-align: center;
    padding: 2rem;
    background: var(--secondary);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .header p {
        font-size: 1rem;
    }

    .logo-container img {
        max-width: 200px;
        width: 35%;
        margin-bottom: 0.3rem;
    }
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 15px;
    margin-bottom: 3rem;
}

.hero-content {
    text-align: left;
}

.hero-image {
    text-align: center;
    background: url("/images/index/pexels-photo-3182812.jpeg");
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background-color: navy; /* Temporary debug color */
}

.image-placeholder {
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-size: 1.2rem;
}

.hero h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-align: left;
}

/* About Section */
.about-section {
    margin: 4rem 0;
}

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

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent);
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Projects Section */
.projects-section {
    margin: 4rem 0;
}

.section-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary);
    overflow: hidden;
}

.project-image {
    height: 150px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

/* Versiones con imágenes de fondo limpias */
.vida-dorada-hybrid {
    background: url("/images/index/pexels-photo-3768131.jpeg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

.futuro-ya-hybrid {
    background: url("/images/index/pexels-photo-3184328.jpeg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

.pymes-hybrid {
    background: url("/images/index/pexels-photo-3182812.jpeg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

.juridico-hybrid {
    background: url("/images/index/pexels-photo-5668859.jpeg");
    background-size: cover;
    background-position: center;
}

.cultura-hybrid {
    background: url("/images/index/pexels-photo-1370298.jpeg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

.apoyo-hybrid {
    background: url("/images/index/pexels-photo-3823488.jpeg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

.investigacion-hybrid {
    background: url("/images/index/pexels-photo-256381.jpeg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

.biblioteca-hybrid {
    background: url("/images/index/pexels-photo-1370295.jpeg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

.salud-hybrid {
    background: url("/images/index/pexels-shvets-production-7176319.jpg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

/* Colores y fondos específicos para cada proyecto */
.vida-dorada-illustration {
    background: linear-gradient(135deg, #ffb74d, #ff9800);
    color: #e65100;
}

.futuro-ya-illustration {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    color: #01579b;
}

.pymes-illustration {
    background: linear-gradient(135deg, #81c784, #388e3c);
    color: #1b5e20;
}

.juridico-illustration {
    background: linear-gradient(135deg, #7986cb, #303f9f);
    color: #1a237e;
}

.cultura-illustration {
    background: linear-gradient(135deg, #ba68c8, #7b1fa2);
    color: #4a148c;
}

.apoyo-illustration {
    background: linear-gradient(135deg, #f48fb1, #c2185b);
    color: #880e4f;
}

.investigacion-illustration {
    background: linear-gradient(135deg, #4db6ac, #00796b);
    color: #004d40;
}

.biblioteca-illustration {
    background: linear-gradient(135deg, #ffd54f, #f57c00);
    color: #e65100;
}

.project-card-content {
    padding: 1.5rem;
}

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

.project-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-card p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Buttons */
.cta-button,
.cta-button-secondary,
.cta-button-outline,
.project-link {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button {
    background: var(--accent);
    color: var(--white);
}

.cta-button:hover {
    background: #e65100;
    transform: translateY(-2px);
}

.cta-button-secondary {
    background: var(--primary);
    color: var(--white);
}

.cta-button-secondary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.cta-button-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.cta-button-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.project-link {
    background: var(--primary);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

.project-link:hover {
    background: var(--secondary);
}

/* CTA Sections */
.cta-center {
    text-align: center;
    margin: 2rem 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 15px;
    margin: 4rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-image {
        min-height: 250px;
    }

    .hero h2 {
        font-size: 2rem;
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .project-image {
        height: 120px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .card-icon {
        font-size: 2rem;
    }

    .cta-button,
    .cta-button-secondary,
    .cta-button-outline {
        width: 100%;
        max-width: 300px;
    }
}

/* Estilos específicos para páginas de proyectos */
.project-detail {
    margin: 3rem 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
}

.detail-text h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.detail-text h3 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.8rem;
}

.detail-text h4 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.6rem;
}

.detail-text h5 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.detail-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.detail-image {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 300px;
}

.image-placeholder {
    background: var(--light);
    padding: 3rem;
    border-radius: 8px;
    border: 2px dashed var(--gray);
    color: var(--gray);
}

/* Hero específico para páginas de proyecto */
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* Estilos para enlace de regreso al inicio en el footer */
.back-to-home-footer {
    margin-bottom: 1.5rem;
    text-align: center;
}

.back-link-footer {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--white);
    border-radius: 5px;
    transition: all 0.3s ease;
    background: transparent;
}

.back-link-footer:hover {
    background: var(--white);
    color: var(--secondary);
    transform: translateY(-2px);
}

/* Estilos para página de proyectos completa */
.projects-full {
    margin: 3rem 0;
}

.projects-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card-full {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary);
    text-align: center;
}

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

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-card-full h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.project-category {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.project-card-full p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.6;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: var(--light);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-link-full {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link-full:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Estilos para página Nosotros */
.about-detail {
    margin: 3rem 0;
}

.values-section {
    margin: 4rem 0;
}

.values-detail {
    margin: 4rem 0;
}

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

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-left: 4px solid var(--accent);
}

.value-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.impact-section {
    margin: 4rem 0;
    text-align: center;
}

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

.impact-stat {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.impact-stat h3 {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.impact-stat p {
    color: var(--gray);
    font-weight: 600;
}

/* Responsive para página Nosotros */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-stat h3 {
        font-size: 2rem;
    }

    .value-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para página de Contacto */
.contact-info {
    margin: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid var(--primary);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-areas {
    margin: 4rem 0;
}

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

.area-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-left: 4px solid var(--accent);
}

.area-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.area-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Estilos para imágenes en páginas de proyectos individuales */

/* Hero images para páginas de proyectos */
.vida-dorada-hero {
    background: url("https://images.pexels.com/photos/3768131/pexels-photo-3768131.jpeg?auto=compress&cs=tinysrgb&w=800");
    background-size: cover;
    background-position: center;
}

.futuro-ya-hero {
    background: url("https://images.pexels.com/photos/3184328/pexels-photo-3184328.jpeg?auto=compress&cs=tinysrgb&w=800");
    background-size: cover;
    background-position: center;
}

.pymes-hero {
    background: url("https://images.pexels.com/photos/3182812/pexels-photo-3182812.jpeg?auto=compress&cs=tinysrgb&w=800");
    background-size: cover;
    background-position: center;
}

.juridico-hero {
    background: url("https://images.pexels.com/photos/5668859/pexels-photo-5668859.jpeg?auto=compress&cs=tinysrgb&w=800");
    background-size: cover;
    background-position: center;
}

.cultura-hero {
    background: url("https://images.pexels.com/photos/1370298/pexels-photo-1370298.jpeg?auto=compress&cs=tinysrgb&w=800");
    background-size: cover;
    background-position: center;
}

.apoyo-hero {
    background: url("https://images.pexels.com/photos/3823488/pexels-photo-3823488.jpeg?auto=compress&cs=tinysrgb&w=800");
    background-size: cover;
    background-position: center;
}

.investigacion-hero {
    background: url("https://images.pexels.com/photos/256381/pexels-photo-256381.jpeg?auto=compress&cs=tinysrgb&w=800");
    background-size: cover;
    background-position: center;
}

.biblioteca-hero {
    background: url("https://images.pexels.com/photos/1370295/pexels-photo-1370295.jpeg?auto=compress&cs=tinysrgb&w=800");
    background-size: cover;
    background-position: center;
}

/* Detail images para páginas de proyectos */
.vida-dorada-detail {
    background: url("../images/proyectos/vida-dorada/8172947.jpg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

.futuro-ya-detail {
    background: url("https://images.pexels.com/photos/3184325/pexels-photo-3184325.jpeg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

.salud-detail {
    background: url("../images/proyectos/salud/7176319.jpg?auto=compress&cs=tinysrgb&w=600");
    background-size: cover;
    background-position: center;
}

/* Galería Vida Dorada */
.vida-dorada-gallery-1 {
    background: url("https://images.pexels.com/photos/3768135/pexels-photo-3768135.jpeg?auto=compress&cs=tinysrgb&w=400");
    background-size: cover;
    background-position: center;
}

.vida-dorada-gallery-2 {
    background: url("https://images.pexels.com/photos/3768134/pexels-photo-3768134.jpeg?auto=compress&cs=tinysrgb&w=400");
    background-size: cover;
    background-position: center;
}

.vida-dorada-gallery-3 {
    background: url("https://images.pexels.com/photos/3768132/pexels-photo-3768132.jpeg?auto=compress&cs=tinysrgb&w=400");
    background-size: cover;
    background-position: center;
}

.vida-dorada-gallery-4 {
    background: url("https://images.pexels.com/photos/3768136/pexels-photo-3768136.jpeg?auto=compress&cs=tinysrgb&w=400");
    background-size: cover;
    background-position: center;
}

/* Galería Futuro YA */
.futuro-ya-gallery-1 {
    background: url("https://images.pexels.com/photos/3184327/pexels-photo-3184327.jpeg?auto=compress&cs=tinysrgb&w=400");
    background-size: cover;
    background-position: center;
}

.futuro-ya-gallery-2 {
    background: url("https://images.pexels.com/photos/3184329/pexels-photo-3184329.jpeg?auto=compress&cs=tinysrgb&w=400");
    background-size: cover;
    background-position: center;
}

.futuro-ya-gallery-3 {
    background: url("https://images.pexels.com/photos/3184330/pexels-photo-3184330.jpeg?auto=compress&cs=tinysrgb&w=400");
    background-size: cover;
    background-position: center;
}

.futuro-ya-gallery-4 {
    background: url("https://images.pexels.com/photos/3184331/pexels-photo-3184331.jpeg?auto=compress&cs=tinysrgb&w=400");
    background-size: cover;
    background-position: center;
}

.aprendizaje-desarrollo {
    background: url("https://images.pexels.com/photos/3184331/pexels-photo-3184331.jpeg?auto=compress&cs=tinysrgb&w=400");
    background-size: cover;
    background-position: center;
}

/* Estilos para galería en páginas de proyectos */
.gallery-section {
    margin: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.gallery-item .image-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-bottom: 1px solid #eee;
}

/* Responsive para página de Contacto */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item .image-placeholder {
        height: 150px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .area-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive para páginas de proyecto */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .back-link-footer {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .projects-grid-full {
        grid-template-columns: 1fr;
    }

    .project-features {
        justify-content: flex-start;
    }
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

/* Estilos del formulario */
.volunteer-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

/* Inputs y textareas */
.volunteer-form input[type="text"],
.volunteer-form input[type="email"],
.volunteer-form input[type="tel"],
.volunteer-form input[type="number"],
.volunteer-form select,
.volunteer-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.volunteer-form input:focus,
.volunteer-form select:focus,
.volunteer-form textarea:focus {
    outline: none;
    border-color: #143bfa;
    box-shadow: 0 0 0 3px rgba(20, 59, 250, 0.1);
}

/* Botón de envío */
.volunteer-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 1rem;
    }

    .volunteer-form {
        padding: 1rem;
    }
}

/* Contenedor del Chatbot (Oculto por defecto) */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    display: none; /* Oculto por defecto */
    font-family: sans-serif;
}
#chatbot-header {
    background-color: #007bff; /* Color principal */
    color: white;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}
#chatbot-body {
    height: 350px;
    padding: 10px;
    background-color: #f8f9fa;
    overflow-y: auto;
}
#chatbot-input-container {
    padding: 10px;
    background-color: white;
    border-top: 1px solid #dee2e6;
    display: flex;
}
#chatbot-input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 5px 0 0 5px;
    box-sizing: border-box;
}
#chatbot-send {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}
.message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 10px;
    max-width: 80%;
}
.user-message {
    background-color: #d1e7dd; /* Verde claro */
    margin-left: auto;
    text-align: right;
}
.bot-message {
    background-color: #e9ecef; /* Gris claro */
    margin-right: auto;
    text-align: left;
}
/* Botón flotante para abrir el chat */
#floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 1001;
}