/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #040404;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 150px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1e3a8a;
}

.logo-flame {
    font-size: 1.8rem;
    color: #f97316;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: -4rem;
}

.nav-link {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #f97316;
}

.nav-btn {
    background: #ffffff;
    color: #1e3a8a;
    padding: 0.7rem 2rem;
    border: 2px solid #f7941e;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #1e3a8a;
    color: #ffffff;
    border: 2px solid #1e3a8a;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1e3a8a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 1rem;
    position: relative;
    background-image: url("../images/HERO_BANNER1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 80vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    max-width: 500px;
    margin-left: -2rem;
    z-index: 3;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: #142157;
    line-height: 1.2;
    text-align: left;
}

.title-line {
    display: block;
}

.hero-btn {
    background: #ffffff;
    color: #1e3a8a;
    border: 2px solid #f7941e;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.hero-btn:hover {
    background: #1e3a8a;
    color: #ffffff;
    border: 2px solid #1e3a8a;
    transform: translateY(-2px);
}

.church-seal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}

.seal-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.seal-content {
    text-align: center;
    color: #1e3a8a;
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 1.2;
}

.seal-text {
    display: block;
}

.hero-photo {
    width: 125%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    justify-self: center;
    align-self: center;
    margin-top: 0;
    transform: scale(1.1);
    z-index: 2;
}

.church-logo {
    position: absolute;
    top: -20px;
    right: -30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 200px;
    z-index: 3;
}

.logo-flame-large {
    font-size: 2rem;
    color: #f97316;
    margin-bottom: 0.5rem;
}

/* -------- RESPONSIVE -------- */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        margin-left: 0;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-btn {
        align-self: center;
    }

    .hero-photo {
        width: 90%;
        margin: 2rem auto 0;
        transform: scale(1);
    }

    .church-logo {
        position: static;
        margin: 2rem auto 0;
        box-shadow: none;
        background: transparent;
        padding: 0;
        min-width: auto;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .seal-image {
        width: 70px;
        height: 70px;
    }

    .seal-content {
        font-size: 0.6rem;
    }
}

/* CONGREGACION SECCION */

.congregacion {
    padding: 60px 10%;
    background-color: #ffffff;
    width: 100%;
    min-height: 100vh;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.congregacion-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.text-section {
    flex: 1 1 45%;
    font-size: 1.1rem;
    color: #000;
    min-width: 280px;
}

.text-section h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #142157;
}

.text-section p {
    line-height: 2;
}

.button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: linear-gradient(to right, #f7941e, #e8c068);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    cursor: pointer;
}

.button:hover {
    background: linear-gradient(to right, #408dcc, #142157);
}

.image-section {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 280px;
}

.main-image {
    width: 80%;
    max-width: 500px;
    border-radius: 15px;
    object-fit: cover;
    margin-left: 0;
}

/* -------- RESPONSIVE -------- */

@media (max-width: 992px) {
    .congregacion {
        padding: 40px 5%;
    }

    .congregacion-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .text-section,
    .image-section {
        flex: 1 1 100%;
        min-width: auto;
    }

    .text-section h2 {
        font-size: 2.8rem;
    }

    .main-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .congregacion {
        padding: 30px 3%;
    }

    .text-section h2 {
        font-size: 2.2rem;
    }

    .text-section {
        font-size: 1rem;
        line-height: 1.6;
    }

    .button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .main-image {
        max-width: 300px;
    }
}

/* VIDEO SECTION */

.video-section {
    position: relative;
    height: 100vh;
    margin-top: 100px;
    width: 100%;
    overflow: hidden;
}

.background-video {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 0px;
}

.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 1rem;
    max-width: 90%;
}

@media (max-width: 768px) {
    .video-section {
        height: 80vh;
        margin-top: 60px;
    }

    .video-overlay-content {
        font-size: 1rem;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .video-section {
        height: 70vh;
        margin-top: 40px;
    }

    .video-overlay-content {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

/* SECTION TIMELINE */
.lineatiempo {
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(9, 9, 9, 0.7)), url("/images/Img_Iglesia.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Timeline Item Container */
.container {
    padding: 20px 50px;
    position: relative;
    width: 50%;
    animation: movedown 1s linear forwards;
    opacity: 0;
}

@keyframes movedown {
    0% {
        opacity: 0%;
        transform: translateY(-30px);
    }

    100% {
        opacity: 100%;
        transform: translateY(0px);
    }
}

.container:nth-child(1) {
    animation-delay: 0s;
}

.container:nth-child(2) {
    animation-delay: 1s;
}

.container:nth-child(3) {
    animation-delay: 2s;
}

.container:nth-child(4) {
    animation-delay: 3s;
}

.container:nth-child(5) {
    animation-delay: 4s;
}

.container:nth-child(6) {
    animation-delay: 5s;
}

.left-container {
    left: 0;
}

.right-container {
    left: 50%;
}

/* Línea central */

.timeline {
    position: relative;
    z-index: 1;
    /* Para que el ::after no se tape */
}

.timeline::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: #ffffff;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 6s linear forwards;
}

@keyframes moveline {
    0% {
        height: 0;
    }

    100% {
        height: 100;
    }
}

/* Caja de texto */
.text-box {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.container .text-box h2,
.container .text-box small,
.container .text-box p {
    font-weight: 600;
    color: #1a2a6c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
    display: inline-block;
    margin-bottom: 15px;
}

/* Iconos circulares */
.container img {
    position: absolute;
    width: 50px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    top: 32px;
    right: -25px;
    z-index: 1;
}

.right-container img {
    left: -25px;
}

.left-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 2;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #ffffff;
    right: -15px;
}

.right-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 2;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #ffffff;
    left: -15px;
}

/* Responsive (opcional, si quieres mejorar en pantallas chicas) */
@media screen and (max-width: 600px) {
    .container {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }

    .text-box {
        font-size: 13px;
    }

    .text-box small {
        margin-bottom: 10px;
    }

    .right-container {
        left: 0;
    }

    .left-container img,
    .right-container img {
        left: 10px;
    }

    .left-container-arrow,
    .right-container-arrow {
        border-right: 15px solid #fefefe;
        border-left: 0;
        left: -15px;
    }

    .timeline {
        margin: 50px auto;
    }

    .timeline::after {
        left: 30px;
    }

    .container img {
        left: 0 !important;
        right: auto;
    }
}

/* --- MINISTERIOS SECTION --- */

.contenedor {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Sección de presentación */
.contenido-principal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.contenido-principal__imagen {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.contenido-principal__contenedor {
    flex: 1;
    min-width: 280px;
}

.contenido-principal__titulo {
    font-size: 2.5rem;
    color: #112862;
    margin-bottom: 20px;
    font-weight: 700;
}

.contenido-principal__resumen {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

/* Carrusel */
.carousel__contenedor {
    position: relative;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.carousel__lista {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    scroll-behavior: smooth;
}

.carousel__elemento {
    flex: 0 0 auto;
    min-width: 180px;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.carousel__elemento:hover {
    transform: scale(1.03);
}

.carousel__elemento img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 8px;
}

.carousel__elemento p {
    color: #112862;
    font-weight: bold;
    font-size: 0.95rem;
}

/* Flechas */
.carousel__anterior,
.carousel__siguiente {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #ffffffcc;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #112862;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.carousel__anterior:hover,
.carousel__siguiente:hover {
    background: #f57c00;
    color: #fff;
}

.carousel__anterior {
    left: -10px;
}

.carousel__siguiente {
    right: -10px;
}

/* Indicadores */
.carousel__indicadores {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.carousel__indicadores .glider-dot {
    width: 10px;
    height: 10px;
    background: #112862;
    opacity: 0.4;
    border-radius: 50%;
    margin: 0 5px;
    transition: opacity 0.3s ease;
}

.carousel__indicadores .glider-dot.active {
    opacity: 1;
}

/* Scrollbar oculto en navegadores webkit */
.carousel__contenedor::-webkit-scrollbar {
    height: 6px;
}

.carousel__contenedor::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .contenido-principal {
        flex-direction: column;
        text-align: center;
    }

    .contenido-principal__titulo {
        font-size: 2rem;
    }

    .contenido-principal__resumen {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .contenido-principal__titulo {
        font-size: 1.6rem;
    }

    .carousel__anterior,
    .carousel__siguiente {
        display: none;
    }

    .carousel__elemento {
        min-width: 140px;
    }

    .carousel__elemento p {
        font-size: 0.85rem;
    }
}




/* CULTOS SECTION */

:root {
    --color-fondo-card: #f0f0f5;
    --color-texto-principal: #1a1a1a;
    --color-texto-hora: #ededed;
    --color-hover-fondo: #f57c00;
    --color-hover-hora: #112862;
    --color-hover-texto: #ffffff;
    --sombra-card: 0 4px 12px rgba(10, 10, 50, 0.5);
}

.servicios {
    width: 100%;
    min-height: 100vh;
    margin: 20px 0;
    background-image: url("../images/Backg_Carousel.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.servicios h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c2c2c;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.card {
    background: var(--color-fondo-card);
    color: var(--color-texto-principal);
    padding: 20px 24px;
    border-radius: 18px;
    box-shadow: var(--sombra-card);
    transition: all 0.3s ease;
    text-align: left;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.card p {
    margin: 10px 0;
    font-size: 1rem;
}

.card .hora {
    font-weight: bold;
    color: var(--color-texto-principal);
    margin-top: 10px;
}

/* Hover */
.card:hover {
    background: var(--color-hover-fondo);
    color: var(--color-hover-texto);
}

.card:hover .hora {
    color: var(--color-hover-hora);
    filter: brightness(200%);
}

.card:hover .icon {
    color: var(--color-hover-texto);
    filter: brightness(200%);
}

/* ---------- RESPONSIVE QUERIES ---------- */

@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicios h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .servicios h2 {
        font-size: 1.8rem;
    }

    .card {
        padding: 16px;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p,
    .card .hora {
        font-size: 0.95rem;
    }
}

/* DOMNICAL SECTION */
.escuela-section {
    background-image: url("/images/Backg_Carousel.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 2rem;
    text-align: center;
    color: #000;
    font-family: 'Georgia', serif;
}

.escuela-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.escuela-content {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.descripcion {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.horario {
    font-weight: bold;
    color: #f7941e;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Galería principal */
.escuela-imagenes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.imagen-card {
    background: linear-gradient(to bottom, #f4f4f4 0%, #f7941e 100%);
    border-radius: 12px;
    padding: 1rem;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.imagen-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.imagen-card span {
    font-weight: bold;
    color: #fff;
}

.imagen-card:hover {
    transform: translateY(-6px);
    background: #142157;
}

.imagen-card:hover span {
    color: #fff;
}

/* Collage */
.collage-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
}

.collage-track {
    display: flex;
    width: calc(250px * 10);
    animation: scrollRight 40s linear infinite;
}

.collage-item {
    flex: 0 0 250px;
    margin: 0 0.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.collage-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.collage-item:hover {
    transform: scale(1.05);
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .collage-track {
        width: calc(180px * 10);
        animation-duration: 30s;
    }

    .collage-item {
        flex: 0 0 180px;
    }

    .collage-item img {
        height: 140px;
    }
}

/* CELULAS SECTION  */


@keyframes zoomFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animated {
    animation: zoomFadeIn 1s ease-in-out both;
}

.celulas_section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    text-align: center;
}

.descripcion_content {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.descripcion_content .descripcion {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
}

.imagen-card span {
    font-weight: bold;
    color: #fff;
    margin-top: 0.5rem;
    display: block;
    text-align: center;
}


.box_cel {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box_cel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.box_cel:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.box_cel:hover img {
    transform: scale(1.05);
}

/* Ajustes existentes */
.containercel {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 250px;
    gap: 20px;
    padding: 100px 0;
}

.box_cel:nth-child(1),
.box_cel:nth-child(4),
.box_cel:nth-child(8) {
    grid-column: span 2;
}

/* Responsive mejorado */
@media (max-width: 991px) {
    .containercel {
        grid-template-columns: repeat(1, 1fr);
        padding: 30px 0;
    }

    .box_cel:nth-child(1),
    .box_cel:nth-child(4),
    .box_cel:nth-child(8) {
        grid-column: span 1;
    }
}

/* PASTORES SECTION */

.pastores-section {
    text-align: center;
    padding: 4rem 2rem;
    background-image: url("/images/Backg_Carousel.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #000;
}

.pastores-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #000;
}

.pastores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.1rem;
    justify-items: center;
}

.pastor-card {
    background: linear-gradient(to bottom, #f4f4f4 0%, #f7941e 100%);
    border-radius: 15px;
    padding: 3rem 1rem;
    width: 100%;
    max-width: 260px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pastor-card img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.pastor-card h3 {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #000;
}

.pastor-card p {
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.2px;
}

.pastor-card:hover {
    background-color: #142157;
    background-image: none;
    transform: translateY(-8px);
}

.pastor-card:hover h3,
.pastor-card:hover p {
    color: #fff;
}

/* UBICATION SECTION */

.ubicacion-section {
    text-align: center;
    padding: 2rem 1rem;
    color: #333;
}

.ubicacion-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ubicacion-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* CONTACT SECTION  */

.contact-section {
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    background-color: white;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    animation: fadeIn 1.5s ease-in-out;
}

.form-side {
    flex: 1;
    min-width: 300px;
}

.title {
    font-size: 2.5rem;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
    font-weight: bold;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.slogan {
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: black;
}

.send-btn {
    background-color: #f59e0b;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.send-btn:hover {
    background-color: #d97706;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid orange;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    color: black;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    color: #031568;
}

.image-side {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-side img {
    width: 100%;
    max-width: 1200px;
    animation: fadeInRight 1.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons {
        justify-content: center;
    }

    .image-side img {
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* Responsive A COMPLETAR */
@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design NO COMPLETO. */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-btn {
        align-self: center;
    }

    .church-logo {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 1rem;
    }

    .church-seal {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-container {
        padding: 0 1rem;
    }
}