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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-popup.show {
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-icon {
    margin-bottom: 20px;
}

.cookie-content h3 {
    color: #2B4DB5;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cookie-content p {
    color: #666;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.btn-accept {
    background: #9ACD32;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-accept:hover {
    background: #8BC34A;
}

.btn-configure {
    background: transparent;
    color: #2B4DB5;
    border: 2px solid #2B4DB5;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-configure:hover {
    background: #2B4DB5;
    color: white;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2B4DB5;
    font-size: 18px;
}

.logo {
    width: 30px;
    height: 30px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2B4DB5;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2B4DB5 0%, #1a3a8a 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-primary {
    background: #9ACD32;
    color: #333;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: #8BC34A;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #9ACD32;
    font-size: 18px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #9ACD32;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .cookie-content h3 {
        font-size: 20px;
    }
    
    .nav {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .programas,
    .comunidad,
    .estadisticas,
    .historia,
    .form-section {
        padding: 60px 0;
    }
    
    .programas h2,
    .comunidad h2,
    .estadisticas h2,
    .historia h2 {
        font-size: 2rem;
    }
    
    .programas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comunidad-content,
    .historia-content,
    .form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .form-text h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p,
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .programas h2,
    .comunidad h2,
    .estadisticas h2,
    .historia h2 {
        font-size: 1.8rem;
    }
    
    .programa-card,
    .stat-card,
    .form-container {
        padding: 1.5rem;
    }
    
    .btn-primary,
    .btn-submit {
        padding: 14px 24px;
        font-size: 13px;
    }
    
    .contact-form input,
    .contact-form select {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Additional Mobile Styles */
@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-text p {
        font-size: 0.85rem;
    }
    
    .btn-primary,
    .btn-submit {
        width: 100%;
        padding: 16px;
        font-size: 14px;
    }
    
    .programas-grid {
        gap: 1rem;
    }
    
    .programa-card {
        padding: 1.25rem;
    }
    
    .programa-card h3 {
        font-size: 1.1rem;
    }
    
    .programa-card p {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-form {
        gap: 0.75rem;
    }
    
    .contact-form input,
    .contact-form select {
        padding: 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-text h1 {
        font-size: 1.4rem;
    }
    
    .cookie-content {
        padding: 20px 15px;
    }
    
    .contact-form input,
    .contact-form select {
        font-size: 16px;
        padding: 12px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States for Accessibility */
.btn-primary:focus,
.btn-submit:focus,
.btn-accept:focus,
.btn-configure:focus {
    outline: 2px solid #9ACD32;
    outline-offset: 2px;
}

.contact-form input:focus,
.contact-form select:focus {
    outline: 2px solid #2B4DB5;
    outline-offset: 2px;
}

/* Focus Visible for Better Accessibility */
.btn-primary:focus-visible,
.btn-submit:focus-visible,
.btn-accept:focus-visible,
.btn-configure:focus-visible {
    outline: 3px solid #9ACD32;
    outline-offset: 2px;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible {
    outline: 3px solid #2B4DB5;
    outline-offset: 2px;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ccc;
    border-top: 2px solid #2B4DB5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading animation improvement */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Error message styles */
.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.contact-form input.error,
.contact-form select.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

/* Success state for form fields */
.contact-form input.success,
.contact-form select.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

/* Print Styles */
@media print {
    .header,
    .cookie-popup,
    .form-section,
    .footer {
        display: none !important;
    }
    
    .hero,
    .programas,
    .comunidad,
    .estadisticas,
    .historia {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000 !important;
        background: white !important;
    }
    
    h1, h2, h3 {
        color: #000 !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-submit,
    .btn-accept {
        border: 2px solid #000;
    }
    
    .programa-card,
    .stat-card {
        border: 1px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Ensure proper stacking contexts */
.header {
    z-index: 1000;
}

.cookie-popup {
    z-index: 10000;
}

/* Improve text readability */
.hero-text p,
.section-subtitle,
.comunidad-text p,
.historia-text p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Ensure buttons are always clickable */
.btn-primary,
.btn-submit,
.btn-accept,
.btn-configure {
    min-height: 44px;
    min-width: 44px;
}

/* Ensure proper spacing in all sections */
section {
    position: relative;
    overflow: hidden;
}

/* Improve image loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading placeholder */
img[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Ensure proper line heights for readability */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    line-height: 1.6;
    margin-bottom: 1em;
}

/* Improve button hover states */
.btn-primary:active,
.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Ensure proper contrast for all text */
.hero-text,
.estadisticas,
.form-section {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
};


.btn-submit:hover {
    background: #8BC34A;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #9ACD32;
    font-size: 18px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #9ACD32;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .cookie-content h3 {
        font-size: 20px;
    }
    
    .nav {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .programas,
    .comunidad,
    .estadisticas,
    .historia,
    .form-section {
        padding: 60px 0;
    }
    
    .programas h2,
    .comunidad h2,
    .estadisticas h2,
    .historia h2 {
        font-size: 2rem;
    }
    
    .programas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comunidad-content,
    .historia-content,
    .form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .form-text h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p,
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .programas h2,
    .comunidad h2,
    .estadisticas h2,
    .historia h2 {
        font-size: 1.8rem;
    }
    
    .programa-card,
    .stat-card,
    .form-container {
        padding: 1.5rem;
    }
    
    .btn-primary,
    .btn-submit {
        padding: 14px 24px;
        font-size: 13px;
    }
    
    .contact-form input,
    .contact-form select {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States for Accessibility */
.btn-primary:focus,
.btn-submit:focus,
.btn-accept:focus,
.btn-configure:focus {
    outline: 2px solid #9ACD32;
    outline-offset: 2px;
}

.contact-form input:focus,
.contact-form select:focus {
    outline: 2px solid #2B4DB5;
    outline-offset: 2px;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ccc;
    border-top: 2px solid #2B4DB5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Additional Mobile Styles */
@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-text p {
        font-size: 0.85rem;
    }
    
    .btn-primary,
    .btn-submit {
        width: 100%;
        padding: 16px;
        font-size: 14px;
    }
    
    .programas-grid {
        gap: 1rem;
    }
    
    .programa-card {
        padding: 1.25rem;
    }
    
    .programa-card h3 {
        font-size: 1.1rem;
    }
    
    .programa-card p {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-form {
        gap: 0.75rem;
    }
    
    .contact-form input,
    .contact-form select {
        padding: 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-popup,
    .form-section,
    .footer {
        display: none !important;
    }
    
    .hero,
    .programas,
    .comunidad,
    .estadisticas,
    .historia {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000 !important;
        background: white !important;
    }
    
    h1, h2, h3 {
        color: #000 !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-submit,
    .btn-accept {
        border: 2px solid #000;
    }
    
    .programa-card,
    .stat-card {
        border: 1px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    /* Keep the current design since it already uses dark sections */
}

/* Focus Visible for Better Accessibility */
.btn-primary:focus-visible,
.btn-submit:focus-visible,
.btn-accept:focus-visible,
.btn-configure:focus-visible {
    outline: 3px solid #9ACD32;
    outline-offset: 2px;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible {
    outline: 3px solid #2B4DB5;
    outline-offset: 2px;
}

/* Ensure proper stacking contexts */
.header {
    z-index: 1000;
}

.cookie-popup {
    z-index: 10000;
}

/* Improve text readability */
.hero-text p,
.section-subtitle,
.comunidad-text p,
.historia-text p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Ensure buttons are always clickable */
.btn-primary,
.btn-submit,
.btn-accept,
.btn-configure {
    min-height: 44px;
    min-width: 44px;
}

/* Loading animation improvement */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Error message styles */
.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.contact-form input.error,
.contact-form select.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

/* Success state for form fields */
.contact-form input.success,
.contact-form select.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

/* Ensure proper spacing in all sections */
section {
    position: relative;
    overflow: hidden;
}

/* Improve image loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading placeholder */
img[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Ensure proper line heights for readability */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    line-height: 1.6;
    margin-bottom: 1em;
}

/* Improve button hover states */
.btn-primary:active,
.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Ensure proper contrast for all text */
.hero-text,
.estadisticas,
.form-section {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Final responsive adjustments */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-text h1 {
        font-size: 1.4rem;
    }
    
    .cookie-content {
        padding: 20px 15px;
    }
    
    .contact-form input,
    .contact-form select {
        font-size: 16px;
        padding: 12px;
    }
};


.btn-primary:hover {
    background: #8BC34A;
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Programas Section */
.programas {
    padding: 80px 0;
    background: #f8f9fa;
}

.programas h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2B4DB5;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.programa-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.programa-number {
    background: #9ACD32;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 1rem;
}

.programa-card h3 {
    color: #2B4DB5;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.programa-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.programa-image {
    text-align: center;
    margin: 3rem 0;
}

.programa-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Comunidad Section */
.comunidad {
    padding: 80px 0;
    background: white;
}

.comunidad h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2B4DB5;
    text-align: center;
    margin-bottom: 1rem;
}

.comunidad-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.comunidad-text h3 {
    color: #2B4DB5;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.comunidad-text h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.comunidad-text p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.comunidad-text ul {
    list-style: none;
    margin: 1rem 0 2rem;
}

.comunidad-text li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.comunidad-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Estadísticas Section */
.estadisticas {
    padding: 80px 0;
    background: #2B4DB5;
    color: white;
}

.estadisticas h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.estadisticas .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9ACD32;
    margin-bottom: 0.5rem;
}

.stat-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.stat-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Historia Section */
.historia {
    padding: 80px 0;
    background: #f8f9fa;
}

.historia h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2B4DB5;
    text-align: center;
    margin-bottom: 3rem;
}

.historia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.historia-text h3 {
    color: #2B4DB5;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.historia-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.historia-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2B4DB5 0%, #1a3a8a 100%);
    color: white;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.form-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.form-text p {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-info strong {
    color: #9ACD32;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #333;
}

.contact-form input::placeholder {
    color: #999;
}

.btn-submit {
    background: #9ACD32;
    color: #333;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}