/* Recycling Programs Page Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f8fafc;
}

/* Header Section */
.recycling-header {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 3rem;
     
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    color: #d1fae5;
     
}

/* Recycling Programs Section */
.recycling-programs {
    padding: 4rem 0;
    background: white;
}

.programs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(5, 150, 105, 0.2);
    border-color: #10b981;
}

.program-card.priority {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
     
    z-index: 2;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card-icon:hover {
    transform: rotate(360deg);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
     
    color: #047857;
    margin-bottom: 1rem;
}

.card-description {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-impact {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #047857;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
     
    margin-bottom: 1.5rem;
    text-align: center;
}

.donate-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
     
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

/* Call to Action Section */
.recycling-cta {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: 2.2rem;
     
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #d1fae5;
    line-height: 1.7;
}

.cta-contact p {
    margin-bottom: 1rem;
    color: #a7f3d0;
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-btn.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

/* Modal Styles */
.recycling-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    color: #047857;
    font-size: 1.3rem;
     
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-content {
    padding: 2rem;
}

.donation-amount {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 12px;
}

.amount-label {
    display: block;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.amount-value {
    font-size: 2rem;
     
    color: #047857;
}

.donation-impact {
    margin-bottom: 2rem;
}

.donation-impact ul {
    list-style: none;
    padding: 0;
}

.donation-impact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.donation-impact .fas {
    color: #10b981;
}

.payment-methods h4 {
    color: #047857;
    margin-bottom: 1rem;
}

.payment-option {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.payment-header span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
     
    color: #374151;
}

.copy-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #059669;
}

.payment-details {
    padding: 1rem;
}

.payment-details p {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.contact-info {
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Animations */
@keyframes recyclingSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes recyclingPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .modal-container {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .recycling-header {
        padding: 3rem 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .recycling-programs {
        padding: 3rem 0;
    }
    
    .programs-container {
        padding: 0 1rem;
    }
    
    .program-card {
        padding: 1.25rem;
    }
    
    .card-image {
        height: 150px;
    }
    
    .recycling-cta {
        padding: 3rem 0;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
}