/* RESET & BASE - ENSURE EDGE TO EDGE ON DESKTOP */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background: #f8f9fa;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Header Section - Edge to Edge (Like Kids Ministry) */
.outreach-header {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.outreach-header img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.header-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.header-text-overlay h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.header-text-overlay p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* What We Do Section - Full Width Edge to Edge */
.what-we-do-section {
    padding: 60px 0;
    background: white;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.services-title {
    font-size: 32px;
    font-weight: 800;
    color: #2c7a4d;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.services-title span {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    color: #e67e22;
    margin-bottom: 10px;
}

.services-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.services-horizontal {
    display: flex;
    animation: scrollLeft 25s linear infinite;
    width: fit-content;
    align-items: center;
}

.services-horizontal:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.service-text-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.service-text-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c7a4d;
    margin: 0;
    padding: 0 15px;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-text-item h3:hover {
    color: #e67e22;
    transform: scale(1.05);
}

.separator {
    font-size: 24px;
    color: #2c7a4d;
    opacity: 0.5;
    display: inline-block;
}

/* Mission Section - Full Width Edge to Edge, Content Centered */
.mission-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    width: 100%;
    margin: 0;
}

/* Inner container for content - max-width but background spans full */
.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.mission-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.mission-col {
    flex: 1;
    min-width: 280px;
}

.mission-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    display: block;
}

.mission-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mission-title {
    font-size: 32px;
    font-weight: 800;
    color: #2c7a4d;
    margin-bottom: 20px;
}

.mission-title span {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    color: #e67e22;
    margin-bottom: 10px;
}

.mission-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
}

/* Outreach Programs Section - Full Width Edge to Edge */
.programs-section {
    padding: 60px 0;
    background: #faf6f0;
    width: 100%;
    margin: 0;
}

/* Programs inner container */
.programs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2c7a4d;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.outreach-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.outreach-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.outreach-image {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.outreach-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.outreach-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.outreach-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 11px;
    color: #888;
    flex-wrap: wrap;
}

.outreach-meta i {
    margin-right: 3px;
    color: #2c7a4d;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 600;
}

.status-upcoming { background: #fff3cd; color: #856404; }
.status-ongoing { background: #d4edda; color: #155724; }
.status-completed { background: #e2e3e5; color: #383d41; }

.btn-outreach {
    background: #2c7a4d;
    color: white;
    padding: 6px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    margin-top: auto;
    align-self: flex-start;
}

.btn-outreach:hover {
    background: #1e5a38;
    color: white;
    transform: translateX(3px);
}

.program-description {
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    margin-bottom: 10px;
}

.beneficiaries-text {
    font-size: 10px;
    color: #888;
    margin-bottom: 10px;
}

/* Scroll Animation */
.scroll-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Edge-to-Edge Adjustments */
@media (min-width: 1440px) {
    .mission-container, .programs-container {
        max-width: 1300px;
    }
    
    .outreach-header img {
        height: 520px;
    }
    
    .header-text-overlay h1 {
        font-size: 58px;
    }
    
    .services-title {
        font-size: 38px;
    }
}

@media (max-width: 992px) {
    .outreach-header img {
        height: 350px;
    }
    .header-text-overlay h1 {
        font-size: 36px;
    }
    .mission-section {
        padding: 50px 0;
    }
    .mission-title {
        font-size: 28px;
    }
    .mission-container, .programs-container {
        padding: 0 20px;
    }
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .outreach-header img {
        height: 280px;
    }
    .header-text-overlay h1 {
        font-size: 28px;
    }
    .header-text-overlay p {
        font-size: 14px;
        padding: 0 15px;
    }
    .what-we-do-section {
        padding: 40px 0;
    }
    .services-title {
        font-size: 24px;
    }
    .service-text-item h3 {
        font-size: 16px;
        padding: 0 10px;
    }
    .separator {
        font-size: 16px;
    }
    .mission-section {
        padding: 40px 0;
    }
    .mission-title {
        font-size: 24px;
        text-align: center;
    }
    .mission-text {
        font-size: 15px;
        text-align: left;
    }
    .mission-image {
        margin-bottom: 30px;
    }
    .mission-row {
        flex-direction: column;
    }
    .mission-col {
        width: 100%;
    }
    .section-title {
        font-size: 22px;
    }
    .outreach-image {
        height: 150px;
    }
    .programs-section {
        padding: 40px 0;
    }
    .outreach-title {
        font-size: 15px;
    }
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    .mission-container, .programs-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .outreach-header img {
        height: 220px;
    }
    .header-text-overlay h1 {
        font-size: 24px;
    }
    .service-text-item h3 {
        font-size: 13px;
        padding: 0 6px;
    }
    .separator {
        font-size: 12px;
    }
    .mission-title {
        font-size: 22px;
    }
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .mission-container, .programs-container {
        padding: 0 14px;
    }
}

/* Ensure all sections touch edges with no gaps */
.what-we-do-section,
.mission-section,
.programs-section,
.outreach-header {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

/* Remove any potential container padding that could break edge */
.container-fluid, .container {
    padding-left: 0;
    padding-right: 0;
}