/* PROJECTS HERO */
.projects-hero {
    text-align: center;
    padding: 5rem 1.5rem;
    background: #f0f6ff;
    color: #002855;
}

.projects-hero h2 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
}

.projects-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #333;
    line-height: 1.8;
}

/* PROJECTS CONTAINER */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 2rem;
    background-color: #ffffff;
}

/* PROJECT CARD */
.project-card {
    display: flex;
    align-items: center;
    gap: 3rem;

    background: #f9fbfd;
    border-radius: 18px;
    overflow: hidden;

    padding: 2rem;

    text-decoration: none;
    color: inherit;

    box-shadow: 0 4px 14px rgba(0,0,0,0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

/* Alternating layout */
.project-card.reverse {
    flex-direction: row-reverse;
}

/* IMAGE */
.project-image {
    flex: 1;
    min-width: 280px;
}

.project-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* CONTENT */
.project-content {
    flex: 1;
    position: relative;
}

.project-content h3 {
    font-size: 2rem;
    color: #004080;
    margin-bottom: 1rem;
}

.project-content p {
    font-size: 1.08rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

/* STATUS TAG */
.project-status {
    display: inline-block;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;

    text-transform: uppercase;

    padding: 0.35rem 0.75rem;
    border-radius: 999px;

    margin-bottom: 1rem;
}

/* Status variations */
.active-status {
    background-color: #e8f7ee;
    color: #2e7d4f;
}

.research-status {
    background-color: #e8eefc;
    color: #3559b7;
}

.development-status {
    background-color: #fff3df;
    color: #b57a18;
}

.planned-status {
    background-color: #efefef;
    color: #666;
}

/* LEARN MORE */
.project-link {
    font-weight: 600;
    color: #004080;
    transition: color 0.2s ease;
}

.project-card:hover .project-link {
    color: #001f44;
}

/* MOBILE */
@media (max-width: 900px) {

    .project-card,
    .project-card.reverse {
        flex-direction: column;
    }

    .project-image {
        width: 100%;
    }

    .project-image img {
        height: 240px;
    }

    .project-content {
        width: 100%;
    }

    .project-content h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {

    .projects-hero {
        padding: 4rem 1.2rem;
    }

    .projects-hero h2 {
        font-size: 2.2rem;
    }

    .projects-container {
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .project-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }

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