
 /* RESET & BASE - ENSURE EDGE TO EDGE ON DESKTOP */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background: #ffffff;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}

/* Header Section - Full Width Edge to Edge */
.page-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.page-hero 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);
}

/* Description Section - Full Width Edge to Edge */
.description-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f0 50%, #ffffff 100%);
    position: relative;
    width: 100%;
    margin: 0;
}

/* Soft wave pattern overlay */
.description-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232c7a4d" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat-x bottom;
    background-size: cover;
    pointer-events: none;
    opacity: 0.5;
}

.description-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Row layout for description */
.description-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.description-col {
    flex: 1;
    min-width: 280px;
}

.description-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    display: block;
}

.description-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.description-title {
    font-size: 32px;
    font-weight: 800;
    color: #2c7a4d;
    margin-bottom: 20px;
}

.description-title span {
    font-size: 14px;
    letter-spacing: 3px;
    display: block;
    color: #e67e22;
    margin-bottom: 10px;
}

.description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 20px;
}

.highlight-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #2c7a4d;
    padding: 20px 25px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.highlight-box p {
    margin: 0;
    font-size: 16px;
    color: #2c7a4d;
    font-weight: 600;
}

/* Program Items Section - Full Width Edge to Edge */
.programs-section {
    padding: 60px 0;
    background: #faf6f0;
    width: 100%;
    margin: 0;
}

.programs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #2c7a4d;
    margin-bottom: 40px;
}

.section-subtitle span {
    font-size: 14px;
    letter-spacing: 3px;
    display: block;
    color: #e67e22;
    margin-bottom: 10px;
}

/* Programs Grid - Responsive Cards */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.program-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.program-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.program-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.program-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    flex: 1;
}

.btn-learn {
    background: #2c7a4d;
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.btn-learn:hover {
    background: #1e5a38;
    color: white;
    transform: translateX(5px);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: #2c7a4d;
    color: white;
    padding: 12px 40px;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    background: #1e5a38;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.loading-spinner {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c7a4d;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.empty-state p {
    color: #777;
    font-size: 14px;
}

/* Call to Action - Full Width Edge to Edge */
.cta-section {
    width: 100%;
    margin: 0;
    padding: 60px 0;
    background: linear-gradient(135deg, #2c7a4d 0%, #1e5a38 100%);
    color: white;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-donate {
    background: white;
    color: #2c7a4d;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-contact {
    background: transparent;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s;
    display: inline-block;
}

.btn-contact:hover {
    background: white;
    color: #2c7a4d;
    transform: translateY(-3px);
}

/* Scroll Animation */
.scroll-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   LARGE DESKTOP (1440px+)
   ============================================ */
@media (min-width: 1440px) {
    .page-hero img {
        height: 550px;
    }
    
    .header-text-overlay h1 {
        font-size: 58px;
    }
    
    .description-container,
    .programs-container,
    .cta-container {
        max-width: 1300px;
        padding: 0 32px;
    }
    
    .description-title {
        font-size: 38px;
    }
    
    .section-subtitle {
        font-size: 38px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 35px;
    }
}

/* ============================================
   DESKTOP (992px - 1440px)
   ============================================ */
@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .page-hero img {
        height: 350px;
    }
    
    .header-text-overlay h1 {
        font-size: 36px;
    }
    
    .description-title {
        font-size: 28px;
    }
    
    .description-section {
        padding: 50px 0;
    }
    
    .description-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .programs-section {
        padding: 50px 0;
    }
    
    .section-subtitle {
        font-size: 28px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

/* ============================================
   TABLET (768px - 992px)
   ============================================ */
@media (max-width: 768px) {
    .page-hero img {
        height: 280px;
    }
    
    .header-text-overlay h1 {
        font-size: 28px;
    }
    
    .header-text-overlay p {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .description-section {
        padding: 40px 0;
    }
    
    .description-title {
        font-size: 24px;
        text-align: center;
    }
    
    .description-text {
        font-size: 15px;
        text-align: left;
    }
    
    .description-image {
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 24px;
    }
    
    .program-title {
        font-size: 18px;
    }
    
    .program-content {
        padding: 18px;
    }
    
    .program-image {
        height: 200px;
    }
    
    .program-description {
        font-size: 13px;
    }
    
    .btn-learn {
        padding: 8px 25px;
        font-size: 13px;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-donate, .btn-contact {
        width: 80%;
        text-align: center;
    }
    
    .description-container,
    .programs-container,
    .cta-container {
        padding: 0 20px;
    }
    
    .highlight-box p {
        font-size: 14px;
    }
}

/* ============================================
   MOBILE (480px - 768px)
   ============================================ */
@media (max-width: 480px) {
    .page-hero img {
        height: 220px;
    }
    
    .header-text-overlay h1 {
        font-size: 24px;
    }
    
    .header-text-overlay p {
        font-size: 12px;
    }
    
    .program-image {
        height: 180px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .description-container,
    .programs-container,
    .cta-container {
        padding: 0 16px;
    }
    
    .program-title {
        font-size: 16px;
    }
    
    .section-subtitle {
        font-size: 22px;
    }
    
    .description-title {
        font-size: 22px;
    }
    
    .highlight-box {
        padding: 15px 18px;
    }
    
    .highlight-box p {
        font-size: 13px;
    }
}

/* Ensure all sections touch edges with no gaps */
.page-hero,
.description-section,
.programs-section,
.cta-section {
    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;
}

/* For proper image scaling in all containers */
img {
    max-width: 100%;
    height: auto;
}
