
/* =========================================================
   MSAHEM PROJECTS
========================================================= */

.projects-wide-container {
    width: min(94%, 1680px);
    margin: 0 auto;
}


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

.projects-hero {
    padding: 105px 0 85px;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(201, 151, 56, .14),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f8f9fb
        );
}

.projects-hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;

    align-items: center;

    gap: 65px;
}

.projects-hero-copy {
    max-width: 720px;
}

.projects-eyebrow {
    display: inline-flex;

    padding: 8px 18px;

    margin-bottom: 18px;

    background: #fbf3e3;

    border-radius: 999px;

    color: #a96f19;

    font-size: 15px;
    font-weight: 900;
}

.projects-hero-copy h1 {
    margin: 0;

    color: #101c38;

    font-size: 60px;
    font-weight: 950;

    line-height: 1.18;
}

.projects-hero-copy h2 {
    margin: 11px 0 19px;

    color: #c18727;

    font-size: 31px;
    font-weight: 900;
}

.projects-hero-copy h2 span {
    color: #c18727;
}

.projects-hero-copy p {
    max-width: 680px;

    margin: 0 0 28px;

    color: #596579;

    font-size: 17px;
    font-weight: 600;

    line-height: 2;
}

.projects-primary-btn {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding: 14px 25px;

    background: #101c38;

    color: #fff;

    border-radius: 11px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 900;

    box-shadow:
        0 8px 20px rgba(16,28,56,.14);

    transition: .25s;
}

.projects-primary-btn:hover {
    background: #c48b2e;

    transform: translateY(-2px);
}


/* =========================================================
   STATISTICS
========================================================= */

.projects-hero-stats {
    display: grid;

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

    gap: 14px;
}

.hero-stat-card {
    min-height: 175px;

    padding: 22px;

    background: #fff;

    border:
        1px solid rgba(190,139,48,.20);

    border-radius: 20px;

    box-shadow:
        0 13px 34px rgba(16,28,56,.07);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}

.hero-stat-icon {
    font-size: 31px;

    margin-bottom: 6px;
}

.hero-stat-card strong {
    color: #101c38;

    font-size: 38px;
    font-weight: 950;
}

.hero-stat-card b {
    margin-top: 3px;

    color: #17233f;

    font-size: 15px;
    font-weight: 900;
}

.hero-stat-card small {
    margin-top: 4px;

    color: #818b9b;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   PORTFOLIO
========================================================= */

.projects-portfolio {
    padding: 85px 0 105px;

    background: #f6f7f9;
}

.portfolio-heading {
    margin-bottom: 35px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;
}

.portfolio-heading span {
    color: #b37a20;

    font-size: 15px;
    font-weight: 900;
}

.portfolio-heading h2 {
    margin: 6px 0 0;

    color: #101c38;

    font-size: 38px;
    font-weight: 950;
}

.portfolio-heading p {
    margin: 0;

    color: #778295;

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   TABS
========================================================= */

.portfolio-tabs {
    margin-bottom: 38px;

    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.portfolio-tabs a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 16px;

    background: #fff;

    color: #28344c;

    border: 1px solid #e1e5eb;

    border-radius: 10px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;

    box-shadow:
        0 4px 12px rgba(16,28,56,.03);

    transition: .2s;
}

.portfolio-tabs a span {
    font-size: 16px;
}

.portfolio-tabs a:hover {
    color: #fff;

    background: #c68c2e;

    border-color: #c68c2e;
}


/* =========================================================
   GROUPS
========================================================= */

.portfolio-groups {
    display: flex;

    flex-direction: column;

    gap: 30px;
}

.portfolio-sector {
    display: grid;

    grid-template-columns:
        255px 1fr;

    gap: 24px;

    padding: 24px;

    background: #fff;

    border:
        1px solid rgba(190,139,48,.28);

    border-radius: 23px;

    box-shadow:
        0 10px 30px rgba(16,28,56,.055);

    scroll-margin-top: 130px;
}


/* =========================================================
   SECTOR SUMMARY
========================================================= */

.portfolio-sector-summary {
    padding: 20px;

    border-left:
        1px solid #eceef2;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.sector-summary-icon {
    width: 78px;
    height: 78px;

    margin-bottom: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fbf3e3;

    border-radius: 20px;

    font-size: 36px;

    box-shadow:
        0 7px 18px rgba(177,119,31,.08);
}

.sector-small-label {
    color: #b57a20;

    font-size: 12px;
    font-weight: 900;
}

.portfolio-sector-summary h3 {
    margin: 6px 0 11px;

    color: #101c38;

    font-size: 24px;
    font-weight: 950;

    line-height: 1.45;
}

.portfolio-sector-summary p {
    margin: 0;

    color: #697386;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.85;
}

.sector-project-count {
    align-self: flex-start;

    margin-top: 16px;

    padding: 7px 12px;

    background: #fbf3e3;

    color: #a66d19;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   PROJECT GRID
========================================================= */

.portfolio-sector-projects {
    display: grid;

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

    gap: 16px;
}


/* =========================================================
   PROJECT CARD
========================================================= */

.portfolio-project-card {
    min-width: 0;

    min-height: 300px;

    padding: 20px;

    background:
        linear-gradient(
            145deg,
            #fff,
            #fbfcfd
        );

    border:
        1px solid rgba(190,139,48,.20);

    border-radius: 18px;

    box-shadow:
        0 7px 22px rgba(16,28,56,.05);

    transition:
        transform .23s ease,
        box-shadow .23s ease,
        border-color .23s ease;
}

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

    border-color:
        rgba(198,140,46,.60);

    box-shadow:
        0 16px 32px rgba(16,28,56,.10);
}


/* =========================================================
   PROJECT TOP
========================================================= */

.portfolio-project-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 9px;

    margin-bottom: 13px;
}

.portfolio-project-icon {
    width: 64px;
    height: 64px;

    min-width: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #fffaf0,
            #f8edd8
        );

    border:
        1px solid rgba(190,139,48,.18);

    border-radius: 17px;

    font-size: 31px;

    box-shadow:
        0 6px 17px rgba(177,119,31,.07);
}

.portfolio-project-sector {
    padding: 5px 9px;

    background: #f7f2e9;

    color: #a16c20;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 900;
}


/* =========================================================
   PROJECT TITLE
========================================================= */

.portfolio-project-card h4 {
    min-height: 46px;

    margin: 0 0 8px;

    color: #15213a;

    font-size: 17px;
    font-weight: 950;

    line-height: 1.55;
}


/* =========================================================
   PROJECT DESCRIPTION
========================================================= */

.portfolio-project-description {
    min-height: 50px;

    margin: 0 0 15px;

    color: #626e81;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.8;

    text-align: right;
}


/* =========================================================
   PROJECT INFO
========================================================= */

.portfolio-project-info {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 8px;
}

.portfolio-project-info > div {
    min-height: 55px;

    padding: 9px;

    display: flex;

    align-items: center;

    gap: 7px;

    background: #f8f9fb;

    border:
        1px solid #f0f1f3;

    border-radius: 10px;
}

.portfolio-project-info > div > span {
    color: #bd8225;

    font-size: 13px;
    font-weight: 900;
}

.portfolio-project-info p {
    margin: 0;
}

.portfolio-project-info small,
.portfolio-project-owner small {
    display: block;

    margin-bottom: 2px;

    color: #939dab;

    font-size: 9px;
    font-weight: 800;
}

.portfolio-project-info strong {
    display: block;

    color: #3f4b60;

    font-size: 10.5px;
    font-weight: 850;

    line-height: 1.45;
}


/* =========================================================
   OWNER
========================================================= */

.portfolio-project-owner {
    margin-top: 12px;

    padding-top: 11px;

    display: flex;

    gap: 8px;

    border-top:
        1px dashed #e2e5ea;
}

.portfolio-project-owner > span {
    color: #bd8225;

    font-size: 12px;
}

.portfolio-project-owner strong {
    display: block;

    color: #3d495e;

    font-size: 11px;
    font-weight: 850;

    line-height: 1.45;
}


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

.projects-cta {
    padding: 0 0 90px;

    background: #f6f7f9;
}

.projects-cta-box {
    padding: 29px 36px;

    display: grid;

    grid-template-columns:
        70px 1fr auto;

    align-items: center;

    gap: 25px;

    background:
        linear-gradient(
            90deg,
            #fff7e9,
            #f9e9c7
        );

    border:
        1px solid rgba(196,139,46,.25);

    border-radius: 21px;
}

.projects-cta-icon {
    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff;

    color: #c68c2e;

    border-radius: 17px;

    font-size: 29px;
}

.projects-cta-box span {
    color: #b77b20;

    font-size: 13px;
    font-weight: 900;
}

.projects-cta-box h2 {
    margin: 3px 0 6px;

    color: #18233b;

    font-size: 26px;
    font-weight: 950;
}

.projects-cta-box p {
    margin: 0;

    color: #687286;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.8;
}

.projects-cta-box > a {
    padding: 13px 21px;

    display: inline-flex;

    gap: 10px;

    background: #101c38;

    color: #fff;

    text-decoration: none;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 900;
}


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

@media (max-width: 1300px) {

    .portfolio-sector-projects {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

}

@media (max-width: 1050px) {

    .projects-hero-content {
        grid-template-columns: 1fr;
    }

    .portfolio-sector {
        grid-template-columns: 1fr;
    }

    .portfolio-sector-summary {
        border-left: 0;

        border-bottom:
            1px solid #eceef2;
    }

}

@media (max-width: 850px) {

    .portfolio-sector-projects {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

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

}

@media (max-width: 600px) {

    .projects-wide-container {
        width: calc(100% - 20px);
    }

    .projects-hero {
        padding: 70px 0 55px;
    }

    .projects-hero-copy h1 {
        font-size: 40px;
    }

    .projects-hero-copy h2 {
        font-size: 23px;
    }

    .projects-hero-copy p {
        font-size: 15px;
    }

    .projects-hero-stats {
        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }

    .hero-stat-card {
        min-height: 140px;
    }

    .portfolio-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .portfolio-sector {
        padding: 14px;
    }

    .portfolio-sector-projects {
        grid-template-columns: 1fr;
    }

    .portfolio-project-card {
        min-height: auto;
    }

    .portfolio-project-card h4 {
        min-height: auto;
    }

    .portfolio-project-description {
        min-height: auto;
    }

    .projects-cta-box {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .projects-cta-icon,
    .projects-cta-box > a {
        margin: auto;
    }

}

