/* Research Activity Detail Pages - Modern Styling */

:root {
    --primary-green: #09552F;
    --primary-light: #0d6b3a;
    --accent-green: #6FCF4D;
    --accent-orange: #F7941D;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8faf9;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(9, 85, 47, 0.08);
    --shadow-md: 0 4px 16px rgba(9, 85, 47, 0.12);
    --shadow-lg: 0 8px 32px rgba(9, 85, 47, 0.16);
}

/* Hero Section */
.project-hero {
    position: relative;
    background: linear-gradient(135deg, #09552F 0%, #0d6b3a 50%, #2E7D32 100%);
    padding: 140px 0 80px;
    margin-top: 80px;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(111, 207, 77, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(247, 148, 29, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.project-hero .container {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-green);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span:last-child {
    color: var(--white);
    font-weight: 500;
}

.project-hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

/* Project Overview Section */
.project-overview {
    padding: 100px 0;
    background: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.overview-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
    border-radius: 2px;
}

.overview-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.overview-text p:last-child {
    margin-bottom: 0;
}

.overview-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.overview-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 85, 47, 0.2) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.overview-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

/* Project Details Section */
.project-details {
    padding: 100px 0;
    background: var(--bg-light);
}

.project-details h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.project-details h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
    border-radius: 2px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.detail-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(9, 85, 47, 0.08);
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-orange), var(--accent-green));
    border-radius: 4px 0 0 4px;
    transition: height 0.4s ease;
}

.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(111, 207, 77, 0.3);
}

.detail-card:hover::before {
    height: 100%;
}

.detail-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(9, 85, 47, 0.1), rgba(111, 207, 77, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.detail-card:hover .detail-icon {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    transform: scale(1.1);
}

.detail-icon i {
    font-size: 2rem;
    color: var(--primary-green);
    transition: color 0.4s ease;
}

.detail-card:hover .detail-icon i {
    color: var(--white);
}

.detail-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.detail-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* Project Impact Section */
.project-impact {
    padding: 100px 0;
    background: linear-gradient(135deg, #09552F 0%, #0d6b3a 100%);
    position: relative;
    overflow: hidden;
}

.project-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 50%, rgba(111, 207, 77, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(247, 148, 29, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.project-impact .container {
    position: relative;
    z-index: 1;
}

.project-impact h2 {
    font-size: 2.5rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.impact-stat {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.impact-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Project Objectives Section */
.project-objectives {
    padding: 100px 0;
    background: var(--white);
}

.project-objectives h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.project-objectives h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
    border-radius: 2px;
}

.objectives-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.objective-item {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: var(--bg-light);
    border-radius: 16px;
    border-left: 4px solid var(--accent-green);
    transition: all 0.3s ease;
}

.objective-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.objective-item > i {
    font-size: 1.8rem;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-top: 5px;
}

.objective-item h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.objective-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* CTA Section */
.project-cta {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.project-cta h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 700;
}

.project-cta p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-buttons .btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(9, 85, 47, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(9, 85, 47, 0.4);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.cta-buttons .btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .project-hero h1 {
        font-size: 3rem;
    }

    .overview-text h2,
    .project-details h2,
    .project-objectives h2,
    .project-cta h2 {
        font-size: 2.2rem;
    }

    .overview-image img {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .project-hero {
        padding: 120px 0 70px;
    }

    .project-hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .overview-image img {
        height: 400px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .project-overview,
    .project-details,
    .project-objectives,
    .project-cta {
        padding: 80px 0;
    }

    .project-impact {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 100px 0 60px;
    }

    .project-hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .overview-text h2,
    .project-details h2,
    .project-impact h2,
    .project-objectives h2,
    .project-cta h2 {
        font-size: 1.9rem;
    }

    .overview-image img {
        height: 350px;
    }

    .detail-card {
        padding: 30px 25px;
    }

    .detail-icon {
        width: 60px;
        height: 60px;
    }

    .detail-icon i {
        font-size: 1.7rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .objective-item {
        padding: 25px 20px;
    }

    .objective-item > i {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .project-overview,
    .project-details,
    .project-objectives,
    .project-cta {
        padding: 60px 0;
    }

    .project-impact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .project-hero {
        padding: 90px 0 50px;
    }

    .project-hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .overview-text h2,
    .project-details h2,
    .project-impact h2,
    .project-objectives h2,
    .project-cta h2 {
        font-size: 1.6rem;
    }

    .overview-text p {
        font-size: 0.95rem;
    }

    .overview-image img {
        height: 280px;
    }

    .detail-card h3 {
        font-size: 1.2rem;
    }

    .detail-card p {
        font-size: 0.9rem;
    }

    .objective-item h4 {
        font-size: 1.1rem;
    }

    .objective-item p {
        font-size: 0.9rem;
    }

    .project-cta p {
        font-size: 1rem;
    }
}
