
h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Estilos del Carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: 30px;
}

.carousel-slide {
    display: flex;
    width: 400%; /* 100% x 4 imágenes */
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-item {
    position: relative;
    width: 25%; /* 100% / 4 imágenes */
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 20;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.0);
    border-radius: 5px;
}

.carousel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.btn-learn-more {
    display: inline-block;
    background-color: #f5a623;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-learn-more:hover {
    background-color: #e09318;
}


.btn-solid-light {
    display: inline-block;
    background-color: #ffffff;
    color: #f5a623;
    padding: 12px 28px;
    border: 2px solid #f5a623;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-solid-light:hover {
    background-color: #f5a623;
    color: #ffffff;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 9px;
    height: 9px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #f5a623;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .carousel-content h2 {
        font-size: 1.8rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .carousel-button {
        padding: 12px;
        width: 40px;
        height: 40px;
    }
}


/* Estilos para la sección de servicios */
.services-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #f5a623;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 100%;
    height: 150px;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon img {
    transform: scale(1.05);
}


.service-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.service-content h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #f5a623;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

/* Media queries para responsividad */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

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

    .service-item {
        padding: 20px;
    }
}










.fundraising-community-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: #ffffff;
}

.fundraising-parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url('image/desarrollo-sostenible-ong-ama.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.3s ease-out;
}

.fundraising-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

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

.fundraising-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}


.fundraising-text-column {
    flex: 0 0 45%;
    padding: 20px;
}


.fundraising-text-column h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.title-underline {
    width: 70px;
    height: 3px;
    background-color: #ff6b6b;
    margin-bottom: 25px;
}

.fundraising-text-column p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.btn-read-more {
    display: inline-block;
    background-color: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: #ff6b6b;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .fundraising-content {
        flex-direction: column;
    }

    .fundraising-text-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.fundraising-image-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 80%; /* Reduce el tamaño al 80% del ancho disponible */
}

.image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-content:hover {
    transform: scale(1.0);
}


















/* Estilos para la sección de Latest Causes */
.causes-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
}

.causes-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.causes-section .section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.causes-section .section-title p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.title-underline {
    height: 3px;
    width: 60px;
    background-color: #f5a623;
    margin: 0 auto;
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cause-item {
    background-color: #f9f9f9;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cause-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cause-image {
    height: 200px;
    overflow: hidden;
}

.cause-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cause-item:hover .cause-image img {
    transform: scale(1.05);
}

.cause-content {
    padding: 20px;
}

.cause-category {
    display: inline-block;
    color: #f5a623;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cause-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
}

.cause-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cause-progress {
    margin-bottom: 15px;
}

.progress-bar {
    height: 5px;
    background-color: #e0e0e0;
    margin-bottom: 5px;
    border-radius: 3px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #f5a623;
    border-radius: 3px;
}

.progress-percentage {
    text-align: right;
    font-size: 0.9rem;
    color: #f5a623;
    font-weight: bold;
}

.cause-funds {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.funds-raised span, .funds-goal span {
    font-weight: bold;
    color: #333;
}

/* Media queries para dispositivos móviles */
@media (max-width: 992px) {
    .causes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .causes-section {
        padding: 60px 0;
    }

    .causes-section .section-title h2 {
        font-size: 2rem;
    }

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





.banner-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    width: 90%;
    max-width: 1200px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .stats-container {
        flex-wrap: wrap;
    }

    .stat-item {
        width: 45%;
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .stat-item {
        width: 100%;
    }
}









.statistics-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.statistics-parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url('image/poblado-general-ong-ama.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.3s ease-out;
}

.statistics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.statistics-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.statistic-item {
    padding: 20px;
    margin: 15px;
    flex: 1;
    min-width: 200px;
}

.statistic-number {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1;
}

.statistic-label {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .statistics-grid {
        flex-direction: column;
    }

    .statistic-item {
        margin: 10px 0;
    }

    .statistic-number {
        font-size: 56px;
    }

    .statistic-label {
        font-size: 18px;
    }
}

























/* CSS para el carrusel vertical con parte izquierda estática */
.fundraising-carousel-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.volunteer-carousel-container {
    display: flex;
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Parte izquierda estática */
.volunteer-static-content {
    width: 50%;
    padding: 40px;
    background-color: #f5a623;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.volunteer-static-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.volunteer-static-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-action {
    display: inline-block;
    background-color: white;
    color: #f5a623;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    align-self: flex-start;
}

.btn-action:hover {
    background-color: #f8f8f8;
    transform: translateY(-3px);
}

/* Parte derecha - Carrusel vertical */
.volunteer-carousel-wrapper {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.volunteer-carousel-slide {
    display: flex;
    flex-direction: column;
    height: 400%; /* 100% x 4 imágenes */
    transition: transform 0.6s ease-in-out;
}

.volunteer-image-item {
    height: 25%; /* 100% / 4 imágenes */
    width: 100%;
    overflow: hidden;
}

.volunteer-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.volunteer-image-item:hover img {
    transform: scale(1.05);
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.05);
}

.carousel-button:focus {
    outline: none;
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

/* Asegurarse de que las flechas SVG tengan el mismo color que el botón al pasar el cursor */
.carousel-button:hover svg path {
    stroke: #ffffff;
}

/* Indicadores de puntos */
.volunteer-carousel-dots {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
}

.volunteer-dot {
    width: 9px;
    height: 9px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.volunteer-dot.active {
    background-color: #f5a623;
}

@media (max-width: 768px) {
    .volunteer-carousel-container {
        flex-direction: column;
        height: auto;
    }

    .volunteer-static-content {
        width: 100%;
        padding: 20px;
        text-align: center;
        align-items: center;
    }

    .volunteer-static-content h2 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 15px;
        word-break: break-word;
    }

    .volunteer-static-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 15px;
        word-break: break-word;
    }

    .btn-solid-light {
        font-size: 0.9rem;
        padding: 10px 25px;
        margin-top: 15px;
    }

    .volunteer-carousel-wrapper {
        width: 100%;
        height: 200px;
        overflow: hidden;
        position: relative;
    }

    .volunteer-carousel-slide {
        flex-direction: column; /* 👈 Aquí lo haces VERTICAL */
        height: 400%; /* si tienes 4 imágenes */
        transition: transform 0.5s ease;
    }

    .volunteer-image-item {
        width: 100%;
        height: 25%; /* 100 / cantidad de imágenes */
        flex-shrink: 0;
    }

    .volunteer-image-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

@media (max-width: 768px) {
    .volunteer-static-content {
        width: 100%;
        padding: 20px 24px;
        text-align: left;
        align-items: flex-start;
        box-sizing: border-box;
    }

    .volunteer-static-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
        word-break: break-word;
        text-align: left;
    }

    .volunteer-static-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        word-break: break-word;
        text-align: left;
    }

    .btn-solid-light {
        font-size: 0.95rem;
        padding: 10px 25px;
        align-self: center; /* botón centrado, texto alineado a la izquierda */
    }
}