/* ===== PROJECTS PAGE STYLES ===== */

/* Page Header */
.page-header {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.4), rgba(0, 51, 102, 0.5)), url('../images/Charity-work.jpg') center/cover no-repeat;
    text-align: center;
    overflow: hidden;
}

/* Animated Counter */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0066cc;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.counter.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    display: block;
    font-size: 2.8rem !important;
    line-height: 1;
}



.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><circle fill="rgba(255,255,255,0.05)" cx="200" cy="200" r="300"/><circle fill="rgba(255,255,255,0.05)" cx="1000" cy="200" r="250"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--white);
    opacity: 0.9;
}

/* Projects List */
.projects-list {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 50%, var(--white) 100%);
}

/* Project Card */
.project-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
}

.project-card:last-child {
    margin-bottom: 0;
}

/* Project Header */
.project-header {
    padding: 50px 50px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.project-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.project-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* Project Image */
.project-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Project Content */
.project-content {
    padding: 50px;
}

/* Project Description */
.project-description {
    margin-bottom: 50px;
}

.project-description p {
    font-size: 17px;
    line-height: 2;
    color: var(--black);
    margin-bottom: 25px;
    text-align: justify;
}

.project-description p:last-child {
    margin-bottom: 0;
}

/* Project Stats */
.project-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-radius: 16px;
}

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

.stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Project Activities */
.project-activities {
    margin-bottom: 50px;
}

.activities-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 30px;
}

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

.activity-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #E3F2FD;
    transform: translateY(-3px);
}

.activity-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.activity-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.activity-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--black);
    margin: 0;
}

/* Project Impact */
.project-impact {
    margin-bottom: 30px;
}

.impact-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 25px;
}

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

.impact-list li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--black);
    padding: 15px 20px;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.impact-list li:hover {
    background: #E3F2FD;
    transform: translateX(5px);
}

.impact-list li:last-child {
    margin-bottom: 0;
}

/* View Project Button */
.btn-view-project {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    margin: 30px 50px 40px;
}

.btn-view-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .projects-list {
        padding: 50px 0;
    }
    
    .project-card {
        margin-bottom: 40px;
    }
    
    .project-header {
        padding: 35px 30px 25px;
    }
    
    .project-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .project-subtitle {
        font-size: 16px;
    }
    
    .project-image {
        height: 300px;
    }
    
    .project-content {
        padding: 35px 30px;
    }
    
    .project-description {
        margin-bottom: 40px;
    }
    
    .project-description p {
        font-size: 15px;
        line-height: 1.9;
        text-align: left;
        margin-bottom: 20px;
    }
    
    .project-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 25px;
        margin-bottom: 40px;
    }
    
    .stat-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .stat-number {
        font-size: 30px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .project-activities {
        margin-bottom: 40px;
    }
    
    .activities-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .activity-item {
        padding: 25px;
    }
    
    .activity-icon {
        font-size: 38px;
    }
    
    .activity-title {
        font-size: 18px;
    }
    
    .activity-text {
        font-size: 14px;
    }
    
    .impact-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .impact-list li {
        font-size: 15px;
        padding: 12px 18px;
    }
    
    .btn-view-project {
        margin: 25px 30px 30px;
        padding: 14px 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-title {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .page-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .projects-list {
        padding: 40px 0;
    }
    
    .project-card {
        margin-bottom: 35px;
        border-radius: 20px;
    }
    
    .project-header {
        padding: 30px 20px 20px;
    }
    
    .project-title {
        font-size: 22px;
    }
    
    .project-subtitle {
        font-size: 15px;
    }
    
    .project-image {
        height: 250px;
    }
    
    .project-content {
        padding: 30px 20px;
    }
    
    .project-description {
        margin-bottom: 35px;
    }
    
    .project-description p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 18px;
    }
    
    .project-stats {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        padding: 25px 20px;
        margin-bottom: 35px;
    }
    
    .stat-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .stat-number {
        font-size: 26px;
        margin-bottom: 6px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .project-activities {
        margin-bottom: 35px;
    }
    
    .activities-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .activities-grid {
        gap: 18px;
    }
    
    .activity-item {
        padding: 22px 18px;
    }
    
    .activity-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .activity-title {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .activity-text {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .impact-title {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .impact-list li {
        font-size: 14px;
        line-height: 1.7;
        padding: 11px 15px;
        margin-bottom: 10px;
    }
    
    .btn-view-project {
        display: block;
        text-align: center;
        margin: 20px 20px 25px;
        padding: 13px 30px;
        font-size: 15px;
    }
}

