/* Project Page Specific Styles */

/* Projects Banner */
.projects-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.projects-banner:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2071&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    border-radius: 0 0 0 100px;
}

.projects-banner .banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.projects-banner .banner-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.projects-banner .banner-text h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.projects-banner .banner-text p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.projects-banner .banner-breadcrumbs {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.8s ease-out;
}

.projects-banner .breadcrumb-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.projects-banner .breadcrumb-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.projects-banner .breadcrumb-links a:hover {
    color: white;
}

/* Projects Hero Section */
.projects-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(rgba(0, 86, 166, 0.9), rgba(0, 61, 122, 0.95)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2071&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.projects-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.projects-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.projects-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Our Approach Section */
.approach-section {
    background-color: var(--light);
    padding: 80px 0;
}

.approach-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.approach-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.approach-content > p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--dark);
}

.approach-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.highlight-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.highlight-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.highlight-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Objectives Section */
.objectives-section {
    padding: 80px 0;
}

.objectives-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.objectives-content > p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.objective-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary);
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.objective-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.objective-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.objective-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Impact Section */
.impact-section {
    background-color: var(--light);
    padding: 80px 0;
}

.impact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.impact-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.impact-content > p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--dark);
}

.impact-stats {
    background-color: var(--primary);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.impact-stats p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.impact-stats .quote {
    font-style: italic;
    font-size: 1.2rem;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin-top: 30px;
}

/* Projects Filter */
.projects-filter {
    background-color: white;
    padding: 30px 0;
    margin-bottom: 50px;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 24px;
    background-color: white;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.project-content p {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0;
}

.stats-section .stat-card {
    background-color: rgba(255, 255, 255, 0.1);
}

.stats-section .stat-icon {
    color: var(--secondary-light);
}

.stats-section .stat-number {
    color: white;
}

.stats-section .stat-text {
    color: rgba(255, 255, 255, 0.9);
}

.stats-section .stat-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 86, 166, 0.9), rgba(0, 61, 122, 0.95)), url('https://borderlessworldfoundation.org/images/background/image-1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-hero h1 {
        font-size: 2.5rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .approach-highlights,
    .objectives-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .projects-hero {
        padding: 80px 0 60px;
        text-align: center;
    }

    .projects-hero h1 {
        font-size: 2.2rem;
    }

    .projects-hero p {
        font-size: 1.1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .filter-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .approach-content h2,
    .objectives-content h2,
    .impact-content h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .projects-hero h1 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .highlight-item,
    .objective-card {
        padding: 20px;
    }
}
