/* =========================================================
   WASMaN ONGOING PROJECTS
   Premium editorial aquatic redesign
========================================================= */

:root {
    --ocean-deep: #052f43;
    --ocean-dark: #073e54;
    --ocean: #087f9c;
    --teal: #18a7b5;
    --mint: #4fd2c4;

    --seafoam: #e9f8f5;
    --mist: #f1f9fa;
    --ice: #f9fcfd;

    --white: #ffffff;

    --heading: #183746;
    --text: #536d78;
    --muted: #82959d;

    --border: rgba(8,127,156,0.12);

    --shadow-soft: 0 12px 34px rgba(5,47,67,0.07);
    --shadow-medium: 0 22px 52px rgba(5,47,67,0.11);
    --shadow-large: 0 32px 80px rgba(5,47,67,0.15);

    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 30px;

    --transition: all 0.34s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;

    background: var(--white);

    color: var(--text);

    line-height: 1.8;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.projects-page {
    width: 100%;

    overflow: hidden;

    background: var(--white);
}


/* =========================================================
   SHARED LABEL
========================================================= */

.section-label {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    color: var(--teal);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.section-label::before {
    content: "";

    width: 28px;
    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--mint),
            var(--ocean)
        );
}

.section-label.dark-label {
    color: #78ddd4;
}


/* =========================================================
   HERO
========================================================= */

.projects-hero {
    position: relative;

    min-height: 680px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            105deg,
            rgba(3,48,62,0.94),
            rgba(5,101,116,0.72),
            rgba(24,167,181,0.34)
        ),
        url("../pics_vids/ongoing.png")
        center / cover no-repeat;

    background-attachment: fixed;
}

.projects-hero-overlay {
    width: 100%;

    min-height: 680px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(3,38,52,0.80),
            rgba(3,62,73,0.38),
            transparent
        );
}

.projects-hero-content {
    width: min(1180px, 88%);

    margin: auto;

    padding: 105px 0;
}

.hero-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 22px;

    color: #a0e5df;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.projects-hero-content h1 {
    max-width: 900px;

    margin-bottom: 24px;

    color: var(--white);

    font-size: clamp(3.1rem, 6vw, 5rem);

    line-height: 1.04;

    font-weight: 600;

    letter-spacing: -0.04em;
}

.projects-hero-content h1 span {
    color: #9ce5dd;
}

.projects-hero-content p {
    max-width: 740px;

    margin-bottom: 34px;

    color: rgba(255,255,255,0.82);

    font-size: 0.98rem;

    line-height: 1.9;
}

.projects-hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 11px;
}

.projects-hero-buttons a,
.project-btn,
.projects-cta a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 13px 22px;

    border-radius: 50px;

    background: var(--mint);

    color: var(--ocean-deep);

    font-size: 0.78rem;

    font-weight: 800;

    transition: var(--transition);
}

.projects-hero-buttons a:hover,
.project-btn:hover,
.projects-cta a:hover {
    transform: translateY(-3px);

    background: var(--white);
}

.projects-outline-btn {
    color: var(--white) !important;

    background: rgba(255,255,255,0.08) !important;

    border: 1px solid rgba(255,255,255,0.18);

    backdrop-filter: blur(8px);
}


/* =========================================================
   OVERVIEW
========================================================= */

.projects-overview {
    width: min(1180px, 88%);

    margin: 110px auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    gap: 75px;

    align-items: center;
}

.projects-overview-text h2 {
    max-width: 720px;

    margin-bottom: 20px;

    color: var(--ocean-deep);

    font-size: clamp(2.4rem, 4vw, 3.5rem);

    line-height: 1.12;

    font-weight: 600;

    letter-spacing: -0.025em;
}

.projects-overview-text p {
    margin-bottom: 17px;

    color: var(--text);

    font-size: 0.92rem;

    line-height: 1.9;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 10px;

    color: var(--ocean);

    font-size: 0.76rem;

    font-weight: 800;

    transition: var(--transition);
}

.text-link:hover {
    color: var(--teal);

    transform: translateX(4px);
}

.projects-overview-stats {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.overview-stat {
    min-height: 190px;

    padding: 28px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #f7fbfb,
            #edf8f7
        );

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);

    transition: var(--transition);
}

.overview-stat:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-medium);
}

.stat-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255,255,255,0.75);

    color: var(--teal);
}

.overview-stat h3 {
    margin: 26px 0 5px;

    color: var(--ocean);

    font-size: 2rem;

    line-height: 1.1;
}

.overview-stat p {
    color: var(--muted);

    font-size: 0.74rem;

    font-weight: 700;
}


/* =========================================================
   FEATURED PROJECT
========================================================= */

.featured-project {
    width: min(1220px, 90%);

    min-height: 560px;

    margin: 0 auto 110px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            #052f43,
            #075f70
        );

    box-shadow: var(--shadow-large);
}

.featured-project-image {
    position: relative;

    min-height: 560px;

    overflow: hidden;
}

.featured-project-image::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            transparent 52%,
            rgba(5,47,67,0.42)
        );

    pointer-events: none;
}

.featured-project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.featured-project:hover .featured-project-image img {
    transform: scale(1.03);
}

.featured-label {
    position: absolute;

    top: 22px;
    left: 22px;

    z-index: 2;

    padding: 7px 11px;

    border-radius: 50px;

    background: rgba(255,255,255,0.93);

    color: var(--ocean-deep);

    font-size: 0.62rem;

    font-weight: 800;

    letter-spacing: 0.10em;
}

.featured-image-caption {
    position: absolute;

    left: 22px;
    bottom: 22px;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 13px;

    border-radius: 50px;

    background: rgba(255,255,255,0.93);

    color: var(--ocean-deep);

    font-size: 0.7rem;

    font-weight: 800;
}

.featured-image-caption i {
    color: var(--teal);
}

.featured-project-content {
    padding: 65px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.featured-project-content h2 {
    margin-bottom: 18px;

    color: var(--white);

    font-size: clamp(2.4rem, 4vw, 3.4rem);

    line-height: 1.1;

    font-weight: 600;
}

.featured-project-content p {
    margin-bottom: 12px;

    color: rgba(255,255,255,0.72);

    font-size: 0.88rem;

    line-height: 1.85;
}

.project-progress {
    margin: 25px 0;
}

.progress-heading {
    display: flex;

    justify-content: space-between;

    margin-bottom: 9px;

    color: rgba(255,255,255,0.78);

    font-size: 0.72rem;
}

.progress-heading strong {
    color: var(--mint);
}

.progress-track {
    height: 7px;

    overflow: hidden;

    border-radius: 50px;

    background: rgba(255,255,255,0.12);
}

.progress-value {
    width: 75%;
    height: 100%;

    border-radius: 50px;

    background:
        linear-gradient(
            90deg,
            var(--teal),
            var(--mint)
        );
}

.project-btn {
    width: fit-content;
}


/* =========================================================
   PROJECT FOCUS
========================================================= */

.project-focus {
    padding: 110px 5%;

    background:
        linear-gradient(
            135deg,
            #edf8f7,
            #f8fbfb
        );
}

.project-focus-header,
.project-list-header,
.roadmap-header {
    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;
}

.project-focus-header h2,
.project-list-header h2,
.roadmap-header h2 {
    margin-bottom: 14px;

    color: var(--ocean-deep);

    font-size: clamp(2.4rem, 4vw, 3.5rem);

    line-height: 1.12;

    font-weight: 600;
}

.project-focus-header p,
.roadmap-header p {
    color: var(--muted);

    font-size: 0.9rem;

    line-height: 1.8;
}

.project-focus-grid {
    width: min(1150px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.focus-item {
    position: relative;

    min-height: 180px;

    display: flex;

    gap: 18px;

    padding: 28px;

    border-radius: 18px;

    background: var(--white);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);

    transition: var(--transition);
}

.focus-item:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-medium);
}

.focus-number {
    position: absolute;

    right: 22px;
    top: 20px;

    color: rgba(8,127,156,0.18);

    font-size: 0.7rem;

    font-weight: 800;
}

.focus-icon {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--seafoam);

    color: var(--ocean);
}

.focus-item h3 {
    margin-bottom: 7px;

    color: var(--ocean-deep);

    font-size: 1.15rem;

    font-weight: 600;
}

.focus-item p {
    color: var(--text);

    font-size: 0.8rem;

    line-height: 1.72;
}


/* =========================================================
   PROJECT CARDS
========================================================= */

.project-list {
    width: min(1220px, 90%);

    margin: 110px auto;
}

.project-cards {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.project-card {
    overflow: hidden;

    border-radius: 20px;

    background: var(--white);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);

    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-medium);
}

.project-card-image {
    position: relative;

    height: 220px;

    overflow: hidden;
}

.project-card-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(5,47,67,0.26)
        );

    pointer-events: none;
}

.project-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

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

.project-card-image span {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 2;

    padding: 6px 10px;

    border-radius: 50px;

    background: rgba(5,47,67,0.84);

    color: var(--white);

    font-size: 0.58rem;

    font-weight: 800;

    letter-spacing: 0.08em;
}

.project-card-content {
    padding: 24px;
}

.project-card-content h3 {
    margin-bottom: 11px;

    color: var(--ocean-deep);

    font-size: 1.25rem;

    font-weight: 600;

    line-height: 1.28;
}

.project-card-content p {
    min-height: 90px;

    margin-bottom: 18px;

    color: var(--text);

    font-size: 0.78rem;

    line-height: 1.75;
}

.project-card-content a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--ocean);

    font-size: 0.72rem;

    font-weight: 800;
}


/* =========================================================
   ROADMAP
========================================================= */

.project-roadmap {
    padding: 110px 5%;

    background:
        linear-gradient(
            135deg,
            #052f43,
            #075f70
        );
}

.roadmap-header h2 {
    color: var(--white);
}

.roadmap-header p {
    color: rgba(255,255,255,0.70);
}

.roadmap {
    width: min(1120px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.roadmap-step {
    position: relative;

    min-height: 255px;

    padding: 27px;

    border-radius: 18px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.10);

    transition: var(--transition);
}

.roadmap-step:hover {
    transform: translateY(-6px);

    background: rgba(255,255,255,0.10);
}

.roadmap-number {
    position: absolute;

    top: 22px;
    right: 22px;

    color: rgba(255,255,255,0.34);

    font-size: 0.68rem;

    font-weight: 800;
}

.roadmap-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 13px;

    background: rgba(255,255,255,0.08);

    color: var(--mint);
}

.roadmap-step h3 {
    margin-bottom: 9px;

    color: var(--white);

    font-size: 1.25rem;

    font-weight: 600;
}

.roadmap-step p {
    color: rgba(255,255,255,0.66);

    font-size: 0.78rem;

    line-height: 1.72;
}


/* =========================================================
   IMPACT
========================================================= */

.projects-impact {
    width: min(1180px, 88%);

    margin: 110px auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 75px;

    align-items: center;
}

.projects-impact h2 {
    margin-bottom: 18px;

    color: var(--ocean-deep);

    font-size: clamp(2.4rem, 4vw, 3.5rem);

    line-height: 1.12;

    font-weight: 600;
}

.projects-impact p {
    color: var(--text);

    font-size: 0.9rem;

    line-height: 1.85;
}

.impact-numbers {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 17px;
}

.impact-numbers div {
    min-height: 160px;

    padding: 25px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #edf8f7,
            #f9fcfc
        );

    border: 1px solid var(--border);
}

.impact-numbers i {
    color: var(--teal);

    font-size: 1rem;
}

.impact-numbers strong {
    display: block;

    margin: 18px 0 5px;

    color: var(--ocean);

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    line-height: 1.1;
}

.impact-numbers span {
    color: var(--muted);

    font-size: 0.72rem;

    font-weight: 700;
}


/* =========================================================
   FINAL CTA
========================================================= */

.projects-cta {
    min-height: 500px;

    display: flex;

    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            105deg,
            rgba(2,32,41,0.92),
            rgba(3,55,58,0.74),
            rgba(8,127,156,0.34)
        ),
        url("../pics_vids/tog.png")
        center / cover no-repeat;
}

.cta-overlay {
    width: min(850px, 88%);

    margin: auto;
}

.projects-cta h2 {
    margin-bottom: 18px;

    color: var(--white);

    font-size: clamp(2.5rem, 5vw, 3.8rem);

    line-height: 1.1;

    font-weight: 600;
}

.projects-cta p {
    max-width: 700px;

    margin: 0 auto 28px;

    color: rgba(255,255,255,0.78);

    font-size: 0.88rem;

    line-height: 1.8;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;
}

.cta-outline {
    color: var(--white) !important;

    background: rgba(255,255,255,0.08) !important;

    border: 1px solid rgba(255,255,255,0.18);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    position: relative;

    padding: 82px 0 0;

    color: rgba(255,255,255,0.75);

    background:
        linear-gradient(
            135deg,
            #042d42 0%,
            #07586b 55%,
            #087f8d 100%
        );

    overflow: hidden;
}

.footer::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -220px;
    top: -250px;

    border-radius: 50%;

    border: 1px solid rgba(79,210,196,0.18);
}

.footer-container {
    position: relative;

    z-index: 2;

    width: min(1200px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1.45fr
        0.8fr
        1fr
        1fr;

    gap: 50px;
}

.footer-brand-mark {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 14px;

    background: rgba(255,255,255,0.10);

    color: var(--mint);
}

.footer-column h2 {
    margin-bottom: 16px;

    color: var(--white);

    font-size: 1.8rem;

    font-weight: 600;
}

.footer-column h3 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: 1rem;

    font-weight: 600;
}

.footer-column h3::after {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin-top: 8px;

    border-radius: 10px;

    background: var(--mint);
}

.footer-column p {
    color: rgba(255,255,255,0.66);

    font-size: 0.78rem;

    line-height: 1.82;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;

    color: rgba(255,255,255,0.66);

    font-size: 0.78rem;
}

.footer-column li a {
    color: rgba(255,255,255,0.66);

    transition: var(--transition);
}

.footer-column li a:hover {
    color: var(--mint);

    padding-left: 4px;
}

.focus-list li {
    display: flex;

    align-items: center;

    gap: 8px;
}

.focus-list i {
    width: 15px;

    color: var(--mint);

    font-size: 0.7rem;
}

.contact-item {
    display: flex;

    gap: 11px;

    margin-bottom: 16px;
}

.contact-item > i {
    width: 33px;
    height: 33px;

    flex: 0 0 33px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255,255,255,0.08);

    color: var(--mint);

    font-size: 0.75rem;
}

.contact-item span {
    display: block;

    margin-bottom: 2px;

    color: rgba(255,255,255,0.43);

    font-size: 0.62rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.contact-item a,
.contact-item p {
    color: rgba(255,255,255,0.75);

    font-size: 0.76rem;
}

.footer-divider {
    width: min(1200px, 90%);

    height: 1px;

    margin: 60px auto 0;

    background: rgba(255,255,255,0.13);
}

.footer-bottom {
    position: relative;

    z-index: 2;

    width: min(1200px, 90%);

    margin: auto;

    padding: 24px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.46);

    font-size: 0.7rem;
}

.social-links {
    display: flex;

    gap: 9px;
}

.social-links a {
    width: 37px;
    height: 37px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: rgba(255,255,255,0.78);

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.10);

    transition: var(--transition);
}

.social-links a:hover {
    color: var(--ocean-deep);

    background: var(--mint);

    border-color: var(--mint);

    transform: translateY(-4px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .projects-overview,
    .projects-impact {
        grid-template-columns: 1fr;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-project-image {
        min-height: 420px;
    }

    .project-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    .projects-hero,
    .projects-hero-overlay {
        min-height: 600px;

        background-attachment: scroll;
    }

    .projects-hero-content h1 {
        font-size: 2.7rem;
    }

    .projects-hero-content p {
        font-size: 0.86rem;
    }

    .projects-overview {
        width: 88%;

        margin: 78px auto;
    }

    .projects-overview-stats,
    .project-focus-grid,
    .project-cards,
    .roadmap,
    .impact-numbers,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .featured-project {
        width: 92%;
    }

    .featured-project-content {
        padding: 42px 28px;
    }

    .project-focus,
    .project-roadmap {
        padding: 80px 6%;
    }

    .project-list {
        width: 92%;

        margin: 80px auto;
    }

    .projects-impact {
        width: 88%;

        margin: 80px auto;
    }

    .projects-cta {
        min-height: 540px;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }
}


@media (max-width: 460px) {

    .projects-hero-content h1 {
        font-size: 2.3rem;
    }

    .projects-hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .projects-hero-buttons a {
        justify-content: center;
    }

    .featured-project-image {
        min-height: 320px;
    }

    .project-card-image {
        height: 210px;
    }
}
