/* Waste Management Training 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;
}

/* Hero Section */
.training-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(91, 33, 182, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
     
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
     
    margin-bottom: 1.5rem;
    color: #c4b5fd;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
     
    color: #a78bfa;
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
     
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
     
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* About Training Section */
.about-training {
    padding: 6rem 0;
    background: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
     
    color: #6d28d9;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.1rem;
     
    color: #6d28d9;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #6b7280;
    font-size: 0.95rem;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(109, 40, 217, 0.2);
}

/* Training Programs Section */
.training-programs {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f3e8ff 100%);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(109, 40, 217, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.card-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-features {
    margin-bottom: 1.5rem;
}

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

.feature i {
    color: #8b5cf6;
    font-size: 0.9rem;
}

.program-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6d28d9;
     
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    padding: 0.75rem;
    border-radius: 8px;
}

/* Training Process Section */
.training-process {
    padding: 6rem 0;
    background: white;
}

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

.process-steps {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(109, 40, 217, 0.15);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
     
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.step-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.step-title {
    font-size: 1.3rem;
     
    color: #6d28d9;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #4b5563;
    line-height: 1.7;
}

.step-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Success Stories Section */
.success-stories {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 100%);
}

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

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(109, 40, 217, 0.1);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(109, 40, 217, 0.2);
}

.story-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-img {
    transform: scale(1.05);
}

.story-content {
    padding: 2rem;
}

.story-title {
    font-size: 1.2rem;
     
    color: #6d28d9;
    margin-bottom: 1rem;
}

.story-text {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b5cf6;
     
    font-size: 0.9rem;
}

/* Call to Action Section */
.training-cta {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
     
    margin-bottom: 1.5rem;
}

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

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.btn-primary.large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

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

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

.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);
}

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

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

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Styles */
.training-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: #6d28d9;
    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, #faf5ff, #f3e8ff);
    border-radius: 12px;
}

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

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

.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: #8b5cf6;
}

.payment-methods h4 {
    color: #6d28d9;
    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: #8b5cf6;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #7c3aed;
}

.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 trainingSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        flex-direction: column;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .training-hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-image {
        width: 100%;
        height: 120px;
    }
}