/* ==========================================================================
   SECTION 1 HERO & MOTION ANIMATION RULES
   ========================================================================== */

/* The Hero Container Setup */
.new-hero-section {
    position: relative;
    padding: 180px 20px 140px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #0e558b; /* Deep Theme Indigo/Teal */
    font-family: system-ui, -apple-system, sans-serif;
}

/* THE HERO MOTION: Slow Panoramic Background Zoom */
.new-hero-bg-zoom {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Pulls directly from your local images folder */
    background-image: url('../images/hero2.JPG'); 
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: slowHeroZoom 20s infinite alternate ease-in-out;
}

.new-hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 54, 93, 0.9) 0%, rgba(12, 66, 123, 0.75) 100%);
    z-index: 2;
}

.new-hero-container {
    position: relative;
    z-index: 3;
    max-width: 840px;
    color: #ffffff;
}

/* Typography & Badges */
.new-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(224, 169, 109, 0.12);
    border: 1px solid #e0bd6d; /* Secondary Theme Gold */
    color: rgb(231, 197, 65);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.new-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.new-hero-title .hero-accent {
    color: #debc34;
}

.new-hero-tagline {
    font-size: 18px;
    opacity: 0.92;
    line-height: 1.75;
    margin-bottom: 40px;
}

.new-hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Premium Buttons Layout Mechanics */
.btn-new-primary, 
.btn-new-secondary {
    padding: 12px 36px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, box-shadow 0.25s ease;
}

.btn-new-primary {
    background-color: #f7d704;
    color: #0e558b;
    box-shadow: 0 4px 15px rgba(224, 169, 109, 0.2);
}

.btn-new-primary:hover {
    transform: translateY(-3px);
    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-new-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-new-secondary:hover {
    transform: translateY(-3px);
    background-color: #ffffff;
    color: #0e558b;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* MOTION ENGINE: Background zoom keyframe rules */
@keyframes slowHeroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

/* Mobile Responsiveness scaling rules */
@media (max-width: 768px) {
    .new-hero-title { font-size: 32px; }
    .new-hero-cta { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; gap: 12px; }
}


/* ==========================================================================
   SECTION 3: WHAT TO EXPECT GRID & MOTION ENGINE 2
   ========================================================================== */

.what-to-expect-section {
    padding: 90px 20px;
    background-color: #F9FBFB; /* Subtle soft light tint to contrast against white sections */
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
}

.expect-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.expect-header-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.expect-mini-badge {
    font-size: 13px;
    color: #cbb004;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.expect-header-block h2 {
    font-size: 36px;
    color: #0e558b;
    margin: 0 0 16px 0;
    font-weight: 800;
}

.expect-lead-desc {
    font-size: 19px;
    line-height: 1.6;
    color: #0e558b;
    opacity: 0.85;
}

/* Three Column Layout Engine */
.expect-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

/* Premium Card Layout Structure */
.expect-card-item {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 76, 92, 0.04);
    border: 1px solid rgba(15, 76, 92, 0.06);
    display: flex;
    flex-direction: column;
}

.expect-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.expect-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Clean static hover magnifying lift on images */
.expect-card-item:hover .expect-card-image img {
    transform: scale(1.05);
}

.service-time-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: #1565a2;
    color: #f2da61;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.expect-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.expect-card-content h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #0e558b;
    font-weight: 700;
}

.service-lang-detail {
    font-size: 15px;
    color: #d1af04;
    margin: 0 0 12px 0;
    background-color: rgba(242, 218, 97, 0.08);
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    width: fit-content;
}

.service-body-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #2D2D2D;
    opacity: 0.85;
    margin: 0;
}

/* Bottom Callout Frame */
.weekly-schedule-callout {
    background-color: #0e558b;
    color: #ffffff;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(15, 76, 92, 0.1);
}

.callout-inner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.callout-inner-flex p {
    margin: 0;
    font-size: 18px;
    max-width: 700px;
}

.callout-inner-flex strong {
    color: #E0A96D;
}

.btn-expect-inline {
    color: #E0A96D;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-expect-inline:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   MOTION ENGINE 2: SCROLL-TRIGGERED AUTOMATION STYLES
   ========================================================================== */

/* Initially hidden state */
.expect-card-trigger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Class applied by JavaScript when element scrolls onto screen */
.expect-card-trigger.active-motion {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .expect-header-block h2 { font-size: 28px; }
    .callout-inner-flex { flex-direction: column; text-align: center; }
}


/* ==========================================================================
   SECTION 4: THE ICC CULTURE CANVAS STYLES
   ========================================================================== */

.icc-culture-section {
    padding: 100px 20px;
    background-color: #ffffff; /* Alternating section contrast */
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

.culture-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Two Column Layout Mechanics */
.culture-asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

/* Left Side Text Design */
.culture-mini-badge {
    font-size: 18px;
    color: #d6d13a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.culture-text-block h2 {
    font-size: 36px;
    color: #0e558b;
    margin: 0 0 20px 0;
    font-weight: 800;
}

.culture-lead-p {
    font-size: 16px;
    line-height: 1.7;
    color: #0e558b;
    opacity: 0.85;
    margin-bottom: 36px;
}

/* Features List Setup */
.culture-features-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.culture-feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon-box {
    background-color: rgba(31, 93, 150, 0.06);
    color: #f5ed62;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text-box h4 {
    margin: 0 0 6px 0;
    font-size: 17px;
    color: #0e558b;
    font-weight: 700;
}

.feature-text-box p {
    margin: 0;
    font-size: 25px;
    line-height: 1.8;  
    color: #2D2D2D;
    opacity: 0.8;
}

/* Right Side: Creative Mosaic Display Engines */
.culture-mosaic-display {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.mosaic-column-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Premium Card Structures for Mosaic Tiles */
.mosaic-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 76, 92, 0.06);
    background-color: #0e558b;
}

.tile-large {
    aspect-ratio: 4 / 5;
}

.tile-small {
    aspect-ratio: 1 / 1;
}

.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.mosaic-tile:hover img {
    transform: scale(1.04);
    opacity: 0.95;
}

/* Captions overlayed gently over image bases */
.mosaic-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(15, 76, 92, 0.95) 0%, rgba(15, 76, 92, 0.4) 60%, transparent 100%);
    color: #ffffff;
    box-sizing: border-box;
}

.mosaic-caption h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #E0A96D;
    font-weight: 700;
}

.mosaic-caption p {
    margin: 0;
    font-size: 12px;
    opacity: 0.85;
}

/* ==========================================================================
   SECTION 4: THE ICC CULTURE CANVAS STYLES
   ========================================================================== */

.icc-culture-section {
    padding: 100px 20px;
    background-color: #ffffff; /* Alternating section contrast */
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

.culture-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Two Column Layout Mechanics */
.culture-asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

/* Left Side Text Design */
.culture-mini-badge {
    font-size: 13px;
    color: #E0A96D;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.culture-text-block h2 {
    font-size: 36px;
    color: #0e558b;
    margin: 0 0 20px 0;
    font-weight: 800;
}

.culture-lead-p {
    font-size: 16px;
    line-height: 1.7;
    color: #0e558b;
    opacity: 0.85;
    margin-bottom: 36px;
}

/* Features List Setup */
.culture-features-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.culture-feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon-box {
    background-color: rgba(15, 76, 92, 0.06);
    color: #E0A96D;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text-box h4 {
    margin: 0 0 6px 0;
    font-size: 17px;
    color: #0e558b;
    font-weight: 700;
}

.feature-text-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #0e558b;
    opacity: 0.8;
}

/* Right Side: Creative Mosaic Display Engines */
.culture-mosaic-display {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.mosaic-column-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Premium Card Structures for Mosaic Tiles */
.mosaic-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 76, 92, 0.06);
    background-color: #0F4C5C;
}

.tile-large {
    aspect-ratio: 4 / 5;
}

.tile-small {
    aspect-ratio: 1 / 1;
}

.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.mosaic-tile:hover img {
    transform: scale(1.04);
    opacity: 0.95;
}

/* Captions overlayed gently over image bases */
.mosaic-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(16, 72, 112, 0.95) 0%, rgba(15, 76, 92, 0.4) 60%, transparent 100%);
    color: #ffffff;
    box-sizing: border-box;
}

.mosaic-caption h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #E0A96D;
    font-weight: 700;
}

.mosaic-caption p {
    margin: 0;
    font-size: 12px;
    opacity: 0.85;
}

/* ==========================================================================
   SCROLL ENGINE COUPLING FOR SECTION 4
   ========================================================================== */
.culture-motion-trigger {
  
    transform: scale(0.96) translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.culture-motion-trigger.active-motion {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Stagger adjustments to coordinate visual timing */
.mosaic-column-stack .culture-motion-trigger:nth-child(2) {
    transition-delay: 0.15s;
}

/* Responsive Scaling Layout Alterations */
@media (min-width: 992px) {
    .culture-asymmetric-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 80px;
    }
}

@media (max-width: 600px) {
    .culture-mosaic-display {
        grid-template-columns: 1fr;
    }
    .tile-large {
        aspect-ratio: 1 / 1;
    }
}


/* ==========================================================================
   SECTION 2: PASTORAL CONNECTION ASYMMETRIC GRID
   ========================================================================== */

.welcome-pastors-section {
    padding: 80px 20px;
    background-color: #ffffff;
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
}

.welcome-pastors-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Mobile-First Grid System */
.pastors-asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

/* Left side: Premium Frame Layout */
.pastor-media-frame {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 76, 92, 0.08);
    background-color: #0e558b; /* Deep Theme Indigo/Teal fallback */
    padding: 12px; /* Acts as a modern border frame */
}

.pastor-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.pastor-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pastor-card-tag {
    padding: 20px;
    background-color: #0e558b;
    color: #ffffff;
    border-radius: 0 0 8px 8px;
}

.pastor-card-tag h4 {
    margin: 0;
    font-size: 18px;
    color: #E0A96D; /* Secondary Theme Gold fallback */
}

.pastor-card-tag p {
    margin: 6px 0 0 0;
    font-size: 13px;
    opacity: 0.8;
}

/* Right side: Elegant Typography Hierarchy */
.welcome-mini-badge {
    font-size: 13px;
    color: #E0A96D;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.pastor-text-wrapper h2 {
    font-size: 36px;
    color: #0e558b;
    margin: 0 0 24px 0;
    font-weight: 800;
    line-height: 1.2;
}

.pastor-letter-body p {
    font-size: 15px;
    line-height: 1.75;
    color: #0e558b;
    opacity: 0.9;
    margin: 0 0 16px 0;
}

.letter-lead {
    font-size: 18px !important;
    font-weight: 600;
    opacity: 1 !important;
    color: #0e558b;
}

/* Signature block element */
.pastor-signature-block {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 76, 92, 0.15);
}

.signature-text {
    font-size: 14px;
    font-style: italic;
    margin: 0 0 6px 0;
    color: #0e558b;
    opacity: 0.7;
}

.pastor-names {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0e558b;
}

/* ==========================================================================
   RESPONSIVE DESIGN ENGINE (Desktop Asymmetric Balance)
   ========================================================================== */
@media (min-width: 992px) {
    .pastors-asymmetric-grid {
        grid-template-columns: 1fr 1.25fr; /* Frame occupies slightly less than text for balance */
        gap: 64px;
    }
    
    /* Clean subtle static lift on hover—no crazy keyframes */
    .pastor-media-frame {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .pastor-media-frame:hover {
        transform: translateY(-5px);
    }
}
/* ==========================================================================
   SECTION 5: THE FIRST SUNDAY JOURNEY INTERACTIVE PATHWAY STYLES
   ========================================================================== */

.icc-journey-section {
    padding: 100px 20px;
    background-color: #F9FBFB; /* Matching alternating tone background */
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

.journey-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Text Styles */
.journey-header-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.journey-mini-badge {
    font-size: 13px;
    color: #E0A96D;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.journey-header-block h2 {
    font-size: 36px;
    color: #0e558b;
    margin: 0 0 16px 0;
    font-weight: 800;
}

.journey-lead-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #0e558b;
    opacity: 0.85;
}

/* Timeline Layout Grid */
.journey-path-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    position: relative;
    margin-bottom: 56px;
}

/* Premium Step Card Architecture */
.journey-step-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px 24px 24px 24px;
    box-shadow: 0 4px 20px rgba(15, 76, 92, 0.03);
    border: 1px solid rgba(15, 76, 92, 0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.step-card-inner {
    position: relative;
    z-index: 2;
}

/* Number Tag floating premium asset */
.step-number-badge {
    position: absolute;
    top: -15px;
    left: 24px;
    background-color: #0e558b;
    color: #E0A96D;
    font-size: 14px;
    font-weight: 800;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(15, 76, 92, 0.15);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.step-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.journey-step-card h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #0e558b;
    font-weight: 700;
    transition: color 0.3s ease;
}

.journey-step-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #2D2D2D;
    opacity: 0.8;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* UNIQUE INTERACTIVE HOVER MATRIX SYSTEM 
   When any card is hovered, it lifts up and colors swap automatically */
.journey-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(15, 76, 92, 0.1);
    border-color: #0e558b;
    background-color: #0e558b;
}

.journey-step-card:hover .step-number-badge {
    background-color: #efd305;
    color: #0e558b;
}

.journey-step-card:hover h4 {
    color: #eac404;
}

.journey-step-card:hover p {
    color: #ffffff;
    opacity: 0.9;
}

/* Journey Footer Callout Row */
.journey-footer-action {
    text-align: center;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(15, 76, 92, 0.02);
    border: 1px solid rgba(15, 76, 92, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.journey-footer-action p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0F4C5C;
}

.btn-journey-accent {
    color: #0F4C5C;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    background-color: rgba(224, 169, 109, 0.15);
    padding: 10px 20px;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-journey-accent:hover {
    background-color: #e0cd6d;
    color: #0F4C5C;
    transform: translateX(3px);
}

/* Responsive Structural Fixes */
@media (max-width: 768px) {
    .journey-header-block h2 { font-size: 28px; }
    .journey-footer-action { flex-direction: column; text-align: center; gap: 12px; }
}


/* ==========================================================================
   SECTION 6: CONNECT & PLAN YOUR VISIT SYSTEM (REST API READY)
   ========================================================================== */

/* ==========================================================================
   SECTION 6: CONNECT & PLAN YOUR VISIT SYSTEM (REST API READY)
   ========================================================================== */

.icc-connect-section {
    padding: 60px 16px;           /* Mobile-optimized defensive padding */
    background-color: #F8F5F0;    /* Soft Beige Accent Background */
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
    width: 100%;                  /* Explicit layout boundary lock */
    box-sizing: border-box;       /* Forces padding inwards */
    overflow: hidden;             /* Prevents right-side spilling completely */
}

.connect-section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Master Asymmetric Layout Blueprint */
.connect-asymmetric-grid {
    display: grid;
    grid-template-columns: 100%;  /* Strict mobile default constraint */
    gap: 40px;                    /* Cleaner space gap for small screens */
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

/* Left Informational Structural Blocks */
.connect-info-side {
    width: 100%;
    max-width: 100%;              /* Locks it to mobile window boundaries */
    box-sizing: border-box;
}

.connect-mini-badge {
    font-size: 13px;
    color: #dcb907;               /* Warm Gold Secondary Key */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.connect-info-side h2 {
    font-size: 28px;              /* Downscaled title for mobile viewports */
    color: #164996;              /* Solid Blue Primary Key */
    margin: 0 0 16px 0;
    font-weight: 800;
    line-height: 1.2;
    word-wrap: break-word;        /* Prevents long titles from pushing out */
}

.connect-lead-p {
    font-size: 16px;
    line-height: 1.6;
    color: #2D2D2D;               /* Dark Gray Standard Text */
    opacity: 0.9;
    margin-bottom: 36px;
}

/* Reusable JS Injected Card Containers */
.homecells-api-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
    box-sizing: border-box;
}

.homecell-reusable-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 16px;                /* Diet padding for mobile comfort */
    display: flex;
    flex-direction: row;          /* Maintains crisp icon alignment */
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(15, 76, 92, 0.02);
    border: 1px solid rgba(15, 76, 92, 0.04);
    width: 100%;
    box-sizing: border-box;       /* Crucial for fluid card calculation */
}

.homecell-reusable-card:hover {
    transform: translateX(6px);
    border-color: rgba(228, 183, 36, 0.4);
}

.h-card-icon {
    font-size: 24px;
    background-color: #F8F5F0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.h-card-body {
    flex: 1;                      /* Forces text to fluidly fill remaining width */
    min-width: 0;                 /* Fixes flexbox text overflow bug */
}

.h-card-body h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #164996;
    font-weight: 700;
}

.h-card-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2D2D2D;
    opacity: 0.85;
    word-wrap: break-word;        /* Automatically wraps paragraphs cleanly */
}

.connect-meta-note {
    background-color: rgba(15, 76, 92, 0.04);
    border-left: 3px solid #0F4C5C;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
}

.connect-meta-note p {
    margin: 0;
    font-size: 13px;
    color: #133a75;
    line-height: 1.5;
}

/* Right Column Form Container Containment */
.connect-form-side {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-card-wrapper {
    background-color: #FFFFFF;
    padding: 24px 16px;           /* Relaxed mobile card interior spacing */
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 76, 92, 0.06);
    border: 1px solid rgba(15, 76, 92, 0.02);
    width: 100%;
    box-sizing: border-box;
}

.form-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;              /* Clean mobile title scaling */
    color: #164a98;
    font-weight: 800;
}

.form-header p {
    margin: 0 0 32px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2D2D2D;
    opacity: 0.8;
}

/* Layout Mechanics for Form Field Inputs */
.premium-interactive-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-input-wrapper label {
    font-size: 12.5px;
    font-weight: 700;
    color: #174c9c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Secure Layout Constraints for Inputs */
.form-input-wrapper input,
.form-input-wrapper select,
.form-input-wrapper textarea {
    width: 100%;                  /* Forces input to fit its column perfectly */
    box-sizing: border-box;       /* Includes padding in total width calculation */
    font-family: inherit;
    padding: 12px 16px;
    font-size: 14.5px;
    color: #2D2D2D;
    background-color: #FFFFFF;
    border: 1px solid rgba(15, 76, 92, 0.15);
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-wrapper input:focus,
.form-input-wrapper select:focus,
.form-input-wrapper textarea:focus {
    outline: none;
    border-color: #0F4C5C;
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.1);
}

.form-input-wrapper select {
    max-width: 100%;
    text-overflow: ellipsis;
}

/* Rounded Buttons with Soft Shadows & Transitions */
.btn-form-submit {
    width: 100%;                  /* Full-width call to action on mobile phones */
    box-sizing: border-box;
    font-family: inherit;
    background-color: #184c98;
    color: #FFFFFF;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 30px;          /* Perfectly rounded premium styling */
    box-shadow: 0 4px 15px rgba(15, 76, 92, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-form-submit:hover {
    background-color: #e8c528;    /* Gold accent on hover actions */
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.3);
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.btn-form-submit:hover .btn-arrow {
    transform: translateX(4px);
}

/* Processing & Dynamic Feedback Status Layers */
.form-feedback-layer {
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-processing {
    color: #1e56a9;
    background-color: rgba(15, 76, 92, 0.06);
    padding: 10px 14px;
}

.status-success {
    color: #2E7D32;
    background-color: #E8F5E9;
    padding: 12px 14px;
    border-left: 4px solid #4CAF50;
}

/* ==========================================================================
   DESKTOP RESPONSIVE BREAKPOINT SWITCH (992px Upwards)
   ========================================================================== */
@media (min-width: 992px) {
    .icc-connect-section {
        padding: 100px 20px;       /* Generous desktop padding */
    }
    
    .connect-asymmetric-grid {
        grid-template-columns: 1fr 1.1fr; /* Transitions smoothly to 2 columns */
        gap: 80px;
    }
    
    .connect-info-side h2 {
        font-size: 36px;           /* Large, bold premium header for desktop */
    }
    
    .form-card-wrapper {
        padding: 40px 32px;        /* Wide spatial luxury layout */
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .btn-form-submit {
        width: auto;               /* Returns button to content fit on desktop */
    }
}


/* ==========================================================================
   SECTION 8: FREQUENTLY ASKED QUESTIONS STYLES
   ========================================================================== */

.icc-faq-section {
    padding: 60px 16px;
    background-color: #FFFFFF;    /* Clean white background contrast */
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.faq-section-container {
    width: 100%;
    max-width: 800px;             /* Focused reading width constraint */
    margin: 0 auto;
    box-sizing: border-box;
}

.faq-header-block {
    text-align: center;
    margin-bottom: 48px;
}

.faq-mini-badge {
    font-size: 13px;
    color: #efb509;               /* Warm Gold */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.faq-header-block h2 {
    font-size: 28px;
    color: #0a4e89;               /* Solid Blue Primary */
    margin: 0 0 16px 0;
    font-weight: 800;
    line-height: 1.2;
}

.faq-lead-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #2D2D2D;
    opacity: 0.85;
}

.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 48px;
}

.faq-accordion-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(15, 76, 92, 0.12);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-trigger-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    gap: 16px;
    box-sizing: border-box;
}

.faq-question-text {
    font-size: 16px;
    font-weight: 700;
    color: #0b4b8f;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-icon-indicator {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-icon-indicator::before,
.faq-icon-indicator::after {
    content: '';
    position: absolute;
    background-color: #e0b802;   /* Warm Gold indicators */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon-indicator::before {
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
}

.faq-icon-indicator::after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 18px;
}

.faq-accordion-item:hover {
    border-color: #0F4C5C;
    box-shadow: 0 4px 15px rgba(15, 76, 92, 0.04);
}

.faq-item-active {
    border-color: #0F4C5C;
    box-shadow: 0 6px 20px rgba(15, 76, 92, 0.06);
}

.faq-item-active .faq-question-text {
    color: #c7a603;               /* Gold text switch on active questions */
}

.faq-item-active .faq-icon-indicator::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item-active .faq-icon-indicator::before {
    transform: rotate(180deg);
    background-color: #0F4C5C;
}

.faq-content-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
}

.faq-content-inner {
    padding: 0 24px 24px 24px;
    box-sizing: border-box;
}

.faq-content-inner p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: #2D2D2D;
    opacity: 0.9;
}

.faq-footer-help {
    text-align: center;
    border-top: 1px solid rgba(15, 76, 92, 0.08);
    padding-top: 40px;
    box-sizing: border-box;
}

.faq-footer-help p {
    margin: 0 0 16px 0;
    font-size: 15px;
    color: #2D2D2D;
    opacity: 0.9;
}

.btn-faq-contact {
    display: inline-block;
    text-decoration: none;
    background-color: #104581;
    color: #FFFFFF;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(15, 76, 92, 0.15);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-faq-contact:hover {
    background-color: #e7c944;
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.25);
    transform: translateY(-2px);
}

@media (min-width: 992px) {
    .icc-faq-section {
        padding: 100px 20px;
    }

    .faq-header-block h2 {
        font-size: 36px;
    }
}

/* ==========================================================================
   SECTION 9: STRATEGIC CALL TO ACTION (CTA) PORTAL STYLES
   ========================================================================== */

.icc-final-cta-section {
    padding: 80px 16px;
    background-color: #0f3f76;    /* Deep Solid Blue Core Canvas */
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Subtle architectural ambient contrast rings */
.cta-accent-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.08) 0%, rgba(15, 76, 92, 0) 70%);
    pointer-events: none;
}
.cta-accent-glow.glow-left {
    top: -100px;
    left: -100px;
}
.cta-accent-glow.glow-right {
    bottom: -100px;
    right: -100px;
}

.cta-section-container {
    width: 100%;
    max-width: 900px;             /* Streamlined focus layout gate */
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.cta-content-card {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.cta-mini-tag {
    font-size: 13px;
    color: #e0b703;               /* Warm Gold Secondary Accent */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
}

.cta-content-card h2 {
    font-size: 30px;
    color: #FFFFFF;               /* Clean White Contrast Title */
    margin: 0 0 20px 0;
    font-weight: 800;
    line-height: 1.25;
}

.cta-body-pitch {
    font-size: 16.5px;
    line-height: 1.7;
    color: #FFFFFF;
    opacity: 0.9;
    max-width: 720px;
    margin: 0 auto 40px auto;
}

/* Highly Responsive Mobile-First Button Engine Grid */
.cta-action-gateways {
    display: flex;
    flex-direction: column;       /* Absolute vertical stack to avoid clipping on mobile devices */
    align-items: center;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 40px;
}

/* Primary Accent Action Link Frame */
.btn-cta-primary {
    display: inline-block;
    text-decoration: none;
    background-color: #f7d704;    /* Gold Primary Focus Trigger */
    color: #0F4C5C;               /* Dark text contrast for high readability */
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 30px;
    width: 100%;                  /* Edge-to-edge hit area on mobile screens */
    max-width: 340px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-primary:hover {
    background-color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(212, 163, 115, 0.3);
    transform: translateY(-2px);
}

/* Secondary Outlined Action Link Frame */
.btn-cta-secondary {
    display: inline-block;
    text-decoration: none;
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 30px;
    width: 100%;
    max-width: 340px;
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Reassurance Row Styling Infrastructure */
.cta-reassurance-row {
    display: flex;
    flex-direction: column;       /* Mobile stack constraint */
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 32px;
    box-sizing: border-box;
}

.reassurance-item {
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.85;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.check-icon {
    color: #D4A373;               /* Gold colored item checks */
    font-weight: bold;
}

/* ==========================================================================
   DESKTOP RESPONSIVE BREAKPOINT INTERFACE OVERHAUL
   ========================================================================== */

@media (min-width: 768px) {
    .icc-final-cta-section {
        padding: 110px 24px;
    }

    .cta-content-card h2 {
        font-size: 42px;
    }

    .cta-body-pitch {
        font-size: 18px;
    }

    /* Convert layouts horizontally when physical screen clearance allows */
    .cta-action-gateways {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: auto;              /* Relinquish mobile full-width scaling overrides */
    }

    .cta-reassurance-row {
        flex-direction: row;
        gap: 36px;
    }
}


/* ==========================================================================
   SECTION 10: ANONYMOUS EXPECTATIONS DROP-BOX STYLES
   ========================================================================== */

.icc-expectations-section {
    padding: 60px 16px;
    background-color: #FFFFFF;    /* Clean contrasting White base */
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.expectations-section-container {
    width: 100%;
    max-width: 760px;             /* Intentionally compact layout container for readable formatting */
    margin: 0 auto;
    box-sizing: border-box;
}

.expectations-card-frame {
    background-color: #FFFFFF;
    border: 1px solid rgba(15, 76, 92, 0.12);
    border-radius: 16px;
    padding: 32px 20px;
    box-shadow: 0 4px 25px rgba(15, 76, 92, 0.03);
    box-sizing: border-box;
}

/* Typography Header Blocks */
.expectations-header {
    text-align: center;
    margin-bottom: 32px;
}

.expectations-mini-badge {
    font-size: 12px;
    color: #deb708;               /* Warm Gold Accent Accent */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.expectations-header h2 {
    font-size: 26px;
    color: #0a4091;               /* Solid Blue Primary Header Theme */
    margin: 0 0 12px 0;
    font-weight: 800;
    line-height: 1.3;
}

.expectations-lead {
    font-size: 15px;
    line-height: 1.6;
    color: #2D2D2D;
    opacity: 0.85;
}

/* Form Layout Elements */
.expectations-clean-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.form-input-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: #0a4091;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Textarea Styling Matrix */
.form-input-group textarea {
    width: 100%;
    padding: 16px;
    font-family: inherit;
    font-size: 15px;
    color: #2D2D2D;
    background-color: #FFFFFF;
    border: 2px solid rgba(15, 76, 92, 0.15);
    border-radius: 8px;
    box-sizing: border-box;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-group textarea:focus {
    border-color: #0F4C5C;
    box-shadow: 0 0 0 4px rgba(15, 76, 92, 0.06);
}

.input-safety-note {
    font-size: 12px;
    color: #2D2D2D;
    opacity: 0.65;
    line-height: 1.4;
    font-style: italic;
}

/* Button Layout Mechanics */
.form-submit-layer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-expectations-submit {
    background-color: #0a4091;   /* Deep Theme Blue Core */
    color: #FFFFFF;
    border: none;
    padding: 14px 32px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;                 /* Adaptive full width touch targets across mobile spaces */
    max-width: 320px;
    box-shadow: 0 4px 15px rgba(15, 76, 92, 0.15);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.btn-expectations-submit:hover {
    background-color: #D4A373;   /* Transitions beautifully to Gold on state hover changes */
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.25);
    transform: translateY(-2px);
}

/* Reusable Interactive Status Notification Component Overlay Banner */
.expectations-feedback-layer {
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.expectations-feedback-layer.status-processing {
    background-color: rgba(15, 76, 92, 0.05);
    color: #0F4C5C;
    border: 1px dashed #0F4C5C;
}

.expectations-feedback-layer.status-success {
    background-color: rgba(212, 163, 115, 0.08);
    color: #0F4C5C;
    border: 1px solid #D4A373;
    font-weight: 500;
}

.expectations-feedback-layer.status-error {
    background-color: #FFF0F0;
    color: #D93838;
    border: 1px solid #D93838;
}

/* ==========================================================================
   DESKTOP RESPONSIVE BREAKPOINT INTERFACE OVERHAUL
   ========================================================================== */

@media (min-width: 768px) {
    .icc-expectations-section {
        padding: 90px 24px;
    }

    .expectations-card-frame {
        padding: 48px;
    }

    .expectations-header h2 {
        font-size: 32px;
    }
}


/* ==========================================================================
   HUMAN ANTI-BOT VERIFICATION GRAPHICS STYLES
   ========================================================================== */

.form-security-verification {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
}

.form-security-verification label {
    font-size: 13px;
    font-weight: 700;
    color: #104391;               /* Solid Blue Primary Theme */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.captcha-math-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.captcha-question {
    font-size: 15px;
    font-weight: 700;
    color: #2D2D2D;
    background-color: rgba(15, 76, 92, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(15, 76, 92, 0.1);
    white-space: nowrap;
}

.captcha-math-row input[type="number"] {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    color: #2D2D2D;
    background-color: #FFFFFF;
    border: 2px solid rgba(15, 76, 92, 0.15);
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.captcha-math-row input[type="number"]:focus {
    border-color: #0F4C5C;
    box-shadow: 0 0 0 4px rgba(15, 76, 92, 0.06);
}

/* ==========================================================================
   GLOBAL ARCHITECTURAL FOOTER DESIGN SYSTEM
   ========================================================================== */
.site-footer {
    background-color: blue; /* Deep Premium Theme Indigo */
    color: var(--color-white);
    padding: var(--space-3xl) var(--space-lg) var(--space-xl) var(--space-lg);
    border-top: 4px solid var(--color-secondary); /* Gold Trim Top Boundary */
}

.footer-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
}

/* Core Structural 4-Column Responsive Grid Layout Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Individual Column Settings */
.footer-column h3 {
    color: var(--color-secondary); /* Premium Gold Accent Titles */
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

/* Column 1: Brand Styles */
.brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-brand-mission {
    font-size: var(--fs-xs);
    line-height: 1.6;
    opacity: 0.75;
    margin-bottom: var(--space-lg);
}

.footer-legal-copy {
    font-size: var(--fs-xs);
    opacity: 0.5;
}

/* Column 2: Quick Links Lists */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: var(--space-sm);
}

.footer-links-list a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--fs-xs);
    opacity: 0.8;
    transition: opacity var(--duration-fast) var(--transition-smooth),
                padding-left var(--duration-fast) var(--transition-smooth);
}

.footer-links-list a:hover {
    opacity: 1;
    color: var(--color-secondary);
    padding-left: 4px; /* Tiny active offset nudge */
}

/* Column 3: Contact Details Lists Elements */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: var(--space-lg);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--fs-xs);
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: var(--space-md);
}

.footer-contact-list svg {
    width: 16px;
    height: 16px;
    fill: var(--color-secondary); /* Gold Tint Contacts Icons */
    flex-shrink: 0;
    margin-top: 2px;
}

/* Social Media Channels Flex Matrix Grid */
.footer-social-matrix {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color var(--duration-fast) var(--transition-smooth),
                border-color var(--duration-fast) var(--transition-smooth),
                transform var(--duration-fast) var(--transition-smooth);
}

.social-icon-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    transition: filter var(--duration-fast) var(--transition-smooth);
}

.social-icon-wrapper:hover {
    background-color: var(--color-secondary); /* Changes seamlessly to gold on hover state */
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.social-icon-wrapper:hover .social-icon-img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(34%) topic(121deg) target(darker); /* Automatically contrasts icon vectors dynamically on bright gold background states */
}

/* Column 4: Tap-to-Map Google Maps Embed Component */
.footer-map-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
}

.map-fallback-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--transition-smooth);
}

/* Dark Map Overlay Hover State Layout Triggers */
.map-overlay-prompt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 76, 92, 0.85); /* Smooth theme veil backdrop */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    opacity: 0;
    z-index: 2;
    transition: opacity var(--duration-fast) var(--transition-smooth);
}

.map-overlay-prompt svg {
    width: 24px;
    height: 24px;
    fill: var(--color-secondary);
}

.map-overlay-prompt span {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-white);
}

.footer-map-card:hover .map-overlay-prompt {
    opacity: 1; /* Reveals active action tap layers instantly on mouse focus */
}

.footer-map-card:hover .map-fallback-img {
    transform: scale(1.05);
}

/* ==========================================================================
   DEVELOPER ATTRIBUTION BASE ROW & DOUBLE UNDERLINE HOVER TRANSITIONS
   ========================================================================== */
.footer-base-row {
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-base-row p {
    font-size: var(--fs-xs);
    opacity: 0.1;
    margin: 0;
}

/* Custom CSS Artistry Double Underline Framework */
.dev-attribution-link {
    color: goldenrod;
    text-decoration: none;
    font-weight: 900;
    position: relative;
    display: inline-block;
    transition: color var(--duration-fast) var(--transition-smooth);
    
    /* First Default Baseline Underline Link Indicator */
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
}

/* Secondary Absolute Underline Pseudo-element Element Layer Setup */
.dev-attribution-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px; /* Positioned directly beneath the first default border line boundary */
    width: 100%;
    height: 100%;
    border-bottom: 1px solid var(--color-secondary); /* Secondary Gold Line Accent */
    opacity: 0.8;
    transform: scaleX(0); /* Hidden resting expansion state metrics bounds */
    transform-origin: center;
    transition: transform var(--duration-fast) var(--transition-smooth),
                opacity var(--duration-fast) var(--transition-smooth);
}

/* Hover State Interactions Execution Loops */
.dev-attribution-link:hover {
    color: goldenrod; /* Swaps text cleanly to gold theme accents */
    border-color: var(--color-secondary); /* Shift primary underline to gold matching */
}

.dev-attribution-link:hover::after {
    opacity: 1;
    transform: scaleX(1); /* Expands out secondary line elements from center coordinate bounds */
}

/* ==========================================================================
   Responsive Scaling Footers Columns Media Query Grid Layout Breakpoints
   ========================================================================= */
@media (min-width: 576px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 layout matrix panel displays on small table configurations */
    }
}

@media (min-width: 992px) {
    .footer-main-grid {
        grid-template-columns: repeat(4, 1fr); /* Unified 4-Column Widescreen Inline Spreads Rows Row Layout */
        gap: var(--space-xl);
    }
}