/* --- Connect Page Styles --- */

.connect-hero {
    text-align: center;
    padding: 2rem 0 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.connect-hero .subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.connect-hero .title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.connect-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* --- WhatsApp Banner --- */
.whatsapp-banner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding: 2.5rem 3rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05), inset 0 0 20px rgba(37, 211, 102, 0.05);
    transition: var(--transition-smooth);
    gap: 2rem;
}

.whatsapp-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08), inset 0 0 20px rgba(37, 211, 102, 0.08);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(37, 211, 102, 0.5);
}

.whatsapp-content h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--clr-slate-dark);
    margin-bottom: 0.5rem;
}

.whatsapp-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    white-space: nowrap;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* --- Alternating Ministry Rows --- */
.ministry-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 6rem 5%;
}

.ministry-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    margin-bottom: 4rem;
    padding: 3rem;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.ministry-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    background: rgba(255, 255, 255, 0.5);
}

.ministry-row.reverse {
    flex-direction: row-reverse;
}

.ministry-image-col {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.ministry-image-col img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 15px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.06));
    transition: transform 0.5s ease;
}

/* Alternating Frosted Backgrounds */
.ministry-row:hover .ministry-image-col img {
    transform: scale(1.05) rotate(1deg);
}

img.latitude-logo {
    mix-blend-mode: multiply;
}

.ministry-row:nth-child(even) {
    background: rgba(250, 245, 240, 0.4);
    border: 1px solid rgba(196, 139, 82, 0.2);
}

.ministry-row:nth-child(even):hover {
    background: rgba(250, 245, 240, 0.5);
    border: 1px solid rgba(196, 139, 82, 0.3);
    box-shadow: 0 20px 50px rgba(196, 139, 82, 0.15);
}

.ministry-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ministry-text-col h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.ministry-text-col .scripture {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.ministry-text-col p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.ministry-text-col p:last-of-type {
    margin-bottom: 0;
}

.ministry-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Button overrides for connect */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--text-main);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(196, 139, 82, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--text-main);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--text-main);
    color: #fff;
}

@media (max-width: 992px) {
    .ministry-row {
        padding: 3rem 2rem;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .whatsapp-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .whatsapp-content h3 {
        font-size: 1.8rem;
    }
    
    .ministry-row, .ministry-row.reverse {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }
    
    .ministry-actions {
        justify-content: center;
    }
    
    .ministry-image-col img {
        max-height: 250px;
    }
}
