/* ==========================================================================
   CONTACT US PAGE - CORE ARCHITECTURE & VARIABLES
   ========================================================================== */
:root {
    --color-primary: #041c6d;       /* Deep Luxury Blue */
    --color-secondary: #EEB902;     /* Vibrant Sanctuary Gold */
    --color-text-dark: #1E293B;     /* Editorial Charcoal */
    --color-text-muted: #64748B;    /* Clean Body Gray */
    --color-bg-light: #F8FAFC;      /* Warm Architectural White */
    --color-bg-card: #FFFFFF;       /* Pure Card Base */
    --shadow-premium: 0 20px 40px rgba(11, 37, 69, 0.06);
    --shadow-floating: 0 30px 60px rgba(11, 37, 69, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset baseline adjustment for standalone page testing */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    overflow-x: hidden;
}

/* ==========================================================================
   SECTION 1: HERO SECTION STYLES
   ========================================================================== */
.contact-hero-section {
    background-color: var(--color-primary);
    padding: 8.5rem 2rem 7rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Subtle glowing background accent to make it unique */
.hero-geometric-accent {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 185, 2, 0.05) 0%, rgba(11, 37, 69, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

/* Left Typography Column */
.hero-split-text-block {
    position: relative;
    z-index: 5;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.badge-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: inline-block;
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 850;
    color: #FFFFFF;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    letter-spacing: -1px;
}

.text-gradient-accent {
    color: var(--color-secondary);
    background: linear-gradient(135deg, #FFF099 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description-paragraph {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #E2E8F0;
    margin: 0 0 3rem 0;
    max-width: 540px;
    opacity: 0.9;
}

/* Button Row UI Mechanics */
.hero-action-button-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-hero-gold {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(238, 185, 2, 0.15);
}

.btn-hero-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(238, 185, 2, 0.25);
    background-color: #FCD34D;
}

.btn-hero-outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-hero-outline:hover {
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

/* Right Column: Layered Layout Art Direction */
.hero-split-image-showcase {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
}

.main-image-frame-wrapper {
    width: 75%;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-floating);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.05);
}

.secondary-image-frame-wrapper {
    width: 60%;
    height: 300px;
    border-radius: 20px;
 /*   overflow: hidden;   */
    box-shadow: var(--shadow-floating);
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    border: 6px solid var(--color-primary); /* Cuts through the back photo */
}

.hero-showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.05);
    transition: var(--transition-smooth);
}

.hero-split-image-showcase:hover .hero-showcase-image {
    transform: scale(1.04);
}

/* Unique Floating Metric Card Component */
.floating-engagement-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 1.6rem;
    border-radius: 16px;
    box-shadow: var(--shadow-floating);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-width: 180px;
    z-index: 4;
}

.stat-large-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
}

.stat-small-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE
   ========================================================================== */
@media (max-width: 1024px) {
    .contact-hero-container {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }
    .hero-description-paragraph {
        margin: 0 auto 3rem auto;
    }
    .hero-action-button-row {
        justify-content: center;
    }
    .hero-split-image-showcase {
        height: 480px;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .contact-hero-section {
        padding: 6.5rem 1rem 5rem 1rem;
    }
    .hero-main-title {
        font-size: 2.6rem;
    }
    .hero-action-button-row {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .hero-action-button-row .btn {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .hero-split-image-showcase {
        height: 360px;
    }
    .main-image-frame-wrapper {
        height: 300px;
    }
    .secondary-image-frame-wrapper {
        height: 200px;
    }
    .floating-engagement-card {
        left: 10px;
        bottom: -10px;
        padding: 0.8rem 1.2rem;
    }
    .stat-large-number {
        font-size: 1.4rem;
    }
}


/* ==========================================================================
   SECTION 2: PLAN YOUR VISIT SCHEDULE MATRIX STYLES
   ========================================================================== */
.visit-schedule-section {
    padding: 8rem 2rem;
    background-color: var(--color-bg-light);
    position: relative;
}

.schedule-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

/* Sticky Left Sidebar Typography Mechanics */
.schedule-sidebar-header {
    position: sticky;
    top: 6rem;
}

.section-pretitle {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.section-editorial-title {
    font-size: 2.5rem;
    font-weight: 850;
    color: var(--color-primary);
    line-height: 1.2;
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.5px;
}

.editorial-divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
    border-radius: 2px;
    margin-bottom: 1.8rem;
}

.schedule-sidebar-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0 0 2.5rem 0;
}

/* Premium Disclosure Panel inside Sidebar */
.language-disclosure-box {
    background-color: rgba(11, 37, 69, 0.03);
    border-left: 3px solid var(--color-primary);
    padding: 1.5rem;
    border-radius: 0 16px 16px 0;
}

.disclosure-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

.language-disclosure-box p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-dark);
    font-weight: 500;
    margin: 0;
}

/* Right Content Column Layout Pipeline */
.schedule-grid-pipeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.pipeline-category-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-indicator-bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 0.8rem;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981; /* Fresh green active indicator */
    border-radius: 50%;
}

.indicator-secondary .indicator-dot {
    background-color: #3B82F6; /* Tech/midweek blue indicator */
}

.category-indicator-bar h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
}

/* Interactive Timeline Card Grid Systems */
.schedule-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.time-slot-card {
    background-color: var(--color-bg-card);
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Premium Highlight State for Main Service */
.time-slot-card.highlight-card {
    border-color: rgba(238, 185, 2, 0.4);
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(238, 185, 2, 0.02) 100%);
}

.time-slot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-floating);
    border-color: rgba(11, 37, 69, 0.15);
}

.slot-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.slot-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Color Coding Badges */
.badge-english { background-color: #E0F2FE; color: #0369A1; }
.badge-bilingual { background-color: #FEF3C7; color: #B45309; }
.badge-swahili { background-color: #DCFCE7; color: #15803D; }
.badge-midweek { background-color: #F1F5F9; color: #475569; }

.slot-meta {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-left: auto;
}

.slot-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
}

.slot-description-snippet {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0 0 1.5rem 0;
}

.slot-time-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--color-bg-light);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    margin-top: auto;
}

.time-clock-icon {
    font-size: 1rem;
}

.time-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE (SECTION 2 APPEND)
   ========================================================================== */
@media (max-width: 992px) {
    .schedule-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .schedule-sidebar-header {
        position: relative;
        top: 0;
    }
}

@media (max-width: 650px) {
    .grid-two-columns {
        grid-template-columns: 1fr;
    }
    .visit-schedule-section {
        padding: 5rem 1rem;
    }
    .section-editorial-title {
        font-size: 2rem;
    }
    .time-slot-card {
        padding: 1.5rem;
    }
}


/* ==========================================================================
   SECTION 3: GEOLOCATION & NAVIGATION HUB STYLES
   ========================================================================== */
.navigation-map-section {
    padding: 4rem 2rem;
    background-color: #F1F5F9; /* Enhanced baseline architectural contrast color */
    position: relative;
}

.navigation-map-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 0;
    background-color: var(--color-bg-card);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-floating);
}

/* Left Column: Interactive Routing Dashboard Card */
.routing-dashboard-card {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
    background-color: var(--color-bg-card);
}

.dashboard-accent-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--color-secondary);
}

.routing-header {
    margin-bottom: 2.5rem;
}

.routing-pretitle {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.routing-title {
    font-size: 2rem;
    font-weight: 850;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

/* Sequential Item Architecture Layout */
.routing-details-stack {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.routing-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.routing-icon-wrapper {
    font-size: 1.25rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.routing-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.routing-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.routing-value {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--color-text-dark);
    font-weight: 600;
    margin: 0;
}

/* Premium Highlight State for Campus Landmarks */
.routing-item.highlight-item {
    background-color: rgba(11, 37, 69, 0.03);
    border: 1px dashed rgba(11, 37, 69, 0.1);
    padding: 1rem 1.2rem;
    border-radius: 14px;
    margin-left: -1.2rem;
    margin-right: -1rem;
}

/* Premium Navigation Trigger Elements */
.routing-actions-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-nav-primary {
    background-color: var(--color-primary);
    color: #FFFFFF;
    text-align: center;
    padding: 1.1rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-nav-primary:hover {
    background-color: #1E3A5F;
    transform: translateY(-2px);
}

.btn-nav-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid rgba(11, 37, 69, 0.15);
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-nav-secondary:hover {
    border-color: var(--color-primary);
    background-color: rgba(11, 37, 69, 0.02);
    transform: translateY(-2px);
}

/* Right Column: Embedded Map Engine Layout Frame */
.interactive-map-frame-box {
    width: 100%;
    height: 100%;
    min-height: 580px;
    position: relative;
    background-color: #E5E7EB;
}

.embedded-google-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE (SECTION 3 APPEND)
   ========================================================================== */
@media (max-width: 1024px) {
    .navigation-map-container {
        grid-template-columns: 1fr;
    }
    .routing-dashboard-card {
        padding: 4rem 3rem;
    }
    .routing-item.highlight-item {
        margin-left: 0;
        margin-right: 0;
    }
    .interactive-map-frame-box {
        min-height: 400px;
        height: 400px;
    }
}

@media (max-width: 576px) {
    .navigation-map-section {
        padding: 2rem 1rem;
    }
    .routing-dashboard-card {
        padding: 3rem 1.5rem;
    }
    .dashboard-accent-bar {
        width: 4px;
    }
    .routing-title {
        font-size: 1.65rem;
    }
}


/* ==========================================================================
   SECTION 4: CORE CONTACT CHANNELS STYLES
   ========================================================================== */
.channels-section {
    padding: 7.5rem 2rem;
    background-color: var(--color-bg-light, #F8FAFC);
    position: relative;
}

.channels-container {
    max-width: 1250px;
    margin: 0 auto;
}

.channels-editorial-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4.5rem auto;
}

.channels-pretitle {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-text-muted, #64748B);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.channels-main-title {
    font-size: 2.5rem;
    font-weight: 850;
    color: var(--color-primary, #0B2545);
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.5px;
}

.channels-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted, #64748B);
    margin: 0;
}

.channels-asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.channel-vertical-card {
    background-color: var(--color-bg-card, #FFFFFF);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: var(--shadow-premium, 0 20px 40px rgba(11, 37, 69, 0.06));
    border: 1px solid #E2E8F0;
    transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
    display: flex;
    flex-direction: column;
}

.channel-vertical-card.admin-theme {
    border-top: 5px solid var(--color-primary, #0B2545);
}

.channel-vertical-card.pastoral-theme {
    border-top: 5px solid var(--color-secondary, #EEB902);
}

.channel-vertical-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-floating, 0 30px 60px rgba(11, 37, 69, 0.12));
}

.card-identity-header {
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 1.8rem;
    margin-bottom: 2.2rem;
}

.identity-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    background-color: rgba(11, 37, 69, 0.05);
    color: var(--color-primary, #0B2545);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.identity-badge.gold-badge {
    background-color: rgba(238, 185, 2, 0.1);
    color: #B45309;
}

.identity-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary, #0B2545);
    margin: 0;
}

.communication-rows-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comm-item-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.comm-icon-sphere {
    width: 48px;
    height: 48px;
    background-color: #F8FAFC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #E2E8F0;
}

.comm-icon-sphere.whatsapp-bg {
    background-color: #DCFCE7;
    border-color: #BBF7D0;
}

/* Custom Image Icon Stabilizer for Section 4 */
.channel-custom-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.comm-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.comm-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted, #64748B);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comm-text-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark, #1E293B);
}

.comm-value-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary, #0B2545);
    text-decoration: none;
    transition: color 0.2s ease;
}

.comm-value-link:hover {
    color: var(--color-secondary, #EEB902);
}

.comm-value-link.accent-green {
    color: #16A34A;
}

.comm-value-link.accent-green:hover {
    color: #15803D;
}

.comm-links-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.link-separator {
    color: #CBD5E1;
    font-weight: 300;
}

/* Responsive Overrides Specific to Section 4 */
@media (max-width: 992px) {
    .channels-asymmetric-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .channel-vertical-card {
        padding: 2.5rem;
    }
}

@media (max-width: 576px) {
    .channels-section {
        padding: 5rem 1rem;
    }
    .channels-main-title {
        font-size: 2rem;
    }
    .channel-vertical-card {
        padding: 2rem 1.5rem;
    }
    .comm-item-row {
        gap: 1rem;
    }
    .comm-icon-sphere {
        width: 40px;
        height: 40px;
    }
    .comm-value-link, .comm-text-value {
        font-size: 14.5px;
    }
}



/* ==========================================================================
   SECTION 5: ACCESSIBLE PASTORS HUB STYLES
   ========================================================================== */
.pastors-profile-section {
    padding: 8rem 2rem;
    background-color: var(--color-primary, #0B2545); /* High architectural contrast swap to dark tone */
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.pastors-profile-container {
    max-width: 1250px;
    margin: 0 auto;
}

.pastors-asymmetric-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

/* Left Grid: Visual Canvas Engineering */
.pastors-visual-canvas {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pastors-image-frame-main {
    width: 100%;
    height: 560px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pastors-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth, all 0.4s ease);
}

.pastors-visual-canvas:hover .pastors-hero-img {
    transform: scale(1.03);
}

/* Floating Mandate Board */
.spiritual-mandate-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 290px;
    z-index: 10;
}

.pastor-custom-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.mandate-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mandate-verse-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--color-primary, #0B2545);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mandate-verse-quote {
    font-size: 14.5px;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
    font-style: italic;
}

/* Right Grid: Editorial Typography Layout */
.pastors-editorial-content {
    display: flex;
    flex-direction: column;
}

.pastors-heading-group {
    margin-bottom: 2rem;
}

.pastors-pretitle {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-secondary, #EEB902);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.pastors-names-title {
    font-size: 2.8rem;
    font-weight: 850;
    color: #FFFFFF;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.pastors-office-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.pastors-bio-narrative {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #E2E8F0;
    margin: 0 0 2.5rem 0;
    opacity: 0.95;
}

/* Interests Grid Chips */
.pastors-interests-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3.5rem;
}

.interest-pill-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    transition: var(--transition-smooth, all 0.2s ease);
}

.interest-pill-chip span {
    font-size: 12.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.interest-inline-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}

.interest-pill-chip:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--color-secondary, #EEB902);
}

/* Personal Callout Greeting Bubble */
.pastoral-greeting-bubble {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
}

.greeting-quote-mark {
    font-size: 4rem;
    font-family: serif;
    color: var(--color-secondary, #EEB902);
    position: absolute;
    top: -10px;
    left: 25px;
    line-height: 1;
    opacity: 0.3;
}

.greeting-message-text {
    font-size: 15px;
    line-height: 1.7;
    color: #F1F5F9;
    margin: 0 0 1.2rem 0;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.greeting-signature {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-secondary, #EEB902);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE (SECTION 5 APPEND)
   ========================================================================== */
@media (max-width: 1024px) {
    .pastors-asymmetric-layout {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }
    .pastors-image-frame-main {
        height: 480px;
        max-width: 550px;
    }
    .spiritual-mandate-card {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .pastors-profile-section {
        padding: 5rem 1rem;
    }
    .pastors-names-title {
        font-size: 2.1rem;
    }
    .pastors-image-frame-main {
        height: 360px;
    }
    .spiritual-mandate-card {
        right: -5px;
        bottom: 15px;
        padding: 1rem 1.2rem;
        max-width: 240px;
    }
    .pastor-custom-icon {
        width: 22px;
        height: 22px;
    }
    .mandate-verse-quote {
        font-size: 13px;
    }
    .pastoral-greeting-bubble {
        padding: 2rem 1.5rem;
    }
}


/* ==========================================================================
   SECTION 6: SECURE DIGITAL CONNECTION FORM STYLES
   ========================================================================== */
.form-section {
    padding: 7.5rem 2rem;
    background-color: var(--color-bg-light, #F8FAFC);
    position: relative;
}

.form-container {
    max-width: 900px; /* narrowed intentionally for editorial alignment */
    margin: 0 auto;
}

.form-editorial-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.form-pretitle {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-text-muted, #64748B);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.form-main-title {
    font-size: 2.5rem;
    font-weight: 850;
    color: var(--color-primary, #0B2545);
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.5px;
}

.form-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted, #64748B);
    margin: 0;
}

/* Form container card design */
.form-card-wrapper {
    background-color: var(--color-bg-card, #FFFFFF);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: var(--shadow-floating, 0 30px 60px rgba(11, 37, 69, 0.08));
    border: 1px solid #E2E8F0;
}

/* Alert Notification Banners */
.form-alert-banner {
    padding: 1.2rem 1.6rem;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.form-alert-banner.message-success {
    background-color: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.form-alert-banner.message-danger {
    background-color: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FCA5A5;
}

/* Form System Layout Elements */
.form-input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.form-input-box {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-input-box.span-full-width {
    grid-column: span 2;
}

.field-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-primary, #0B2545);
}

.required-star {
    color: #EF4444;
}

.text-optional {
    font-size: 11px;
    color: var(--color-text-muted, #64748B);
    font-weight: 500;
}

/* Form Elements Framework */
.field-element {
    width: 100%;
    box-sizing: border-box;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-dark, #1E293B);
    font-family: inherit;
    transition: all 0.25s ease;
}

.field-element::placeholder {
    color: #94A3B8;
    font-weight: 500;
}

.field-element:focus {
    outline: none;
    background-color: #FFFFFF;
    border-color: var(--color-primary, #0B2545);
    box-shadow: 0 0 0 4px rgba(11, 37, 69, 0.05);
}

.element-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230B2545'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.4rem center;
    background-size: 14px;
    padding-right: 3.5rem;
}

.element-textarea {
    resize: vertical;
}

/* Anti-Robot verification area rules */
.robot-verification-module {
    background-color: #F8FAFC;
    border: 1px dashed #E2E8F0;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 0.5rem;
}

.captcha-validation-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.captcha-math-equation {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #FFFFFF;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
}

.captcha-secure-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.math-numbers-string {
    font-size: 14px;
    color: var(--color-text-dark, #1E293B);
}

.element-captcha-input {
    width: 90px;
    text-align: center;
    padding: 0.8rem;
}

/* Submission action buttons styles */
.submit-action-container {
    margin-top: 1rem;
}

.btn-form-submit {
    background-color: var(--color-primary, #0B2545);
    color: #FFFFFF;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(11, 37, 69, 0.15);
}

.btn-form-submit:hover {
    background-color: var(--color-secondary, #EEB902);
    color: var(--color-primary, #0B2545);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(238, 185, 2, 0.25);
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE (SECTION 6 APPEND)
   ========================================================================== */
@media (max-width: 768px) {
    .form-input-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .form-input-box.span-full-width {
        grid-column: span 1;
    }
    .form-card-wrapper {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 576px) {
    .form-section {
        padding: 5rem 1rem;
    }
    .form-main-title {
        font-size: 2rem;
    }
    .form-card-wrapper {
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }
    .captcha-validation-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .captcha-math-equation {
        width: 100%;
        box-sizing: border-box;
    }
    .element-captcha-input {
        width: 100%;
    }
    .btn-form-submit {
        width: 100%;
    }
}


