/* =========================================================
   EXPERTISE PAGE
   ABDULAZIZ AL-OUFI EST
   CLEAN CINEMATIC VERSION
========================================================= */


/* =========================================================
   PAGE
========================================================= */

body.expertise-body {
    margin: 0;
    padding: 0;

    font-family: "Inter", sans-serif;

    color: #ffffff;

    background: #020c16;

    overflow-x: hidden;
}


/* =========================================================
   MAIN BACKGROUND
========================================================= */

.expertise-page {
    position: relative;

    width: 100%;

    min-height: calc(100vh - 90px);

    overflow: hidden;

    background-image:
        url("expertise-bg.png");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.expertise-dark-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(1, 9, 17, 0.82) 0%,
            rgba(1, 9, 17, 0.63) 27%,
            rgba(1, 9, 17, 0.30) 52%,
            rgba(1, 9, 17, 0.08) 78%,
            rgba(1, 9, 17, 0.12) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2, 11, 20, 0.02) 0%,
            rgba(2, 11, 20, 0.05) 45%,
            rgba(2, 11, 20, 0.24) 75%,
            rgba(2, 11, 20, 0.80) 100%
        );
}


/* =========================================================
   BLUE FLOOR GLOW
========================================================= */

.expertise-blue-glow {
    position: absolute;

    z-index: 2;

    left: -10%;
    bottom: 145px;

    width: 72%;
    height: 4px;

    opacity: 0.78;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(24, 186, 255, 0.90),
            rgba(24, 186, 255, 0.28),
            transparent
        );

    box-shadow:
        0 0 20px rgba(24, 186, 255, 0.36),
        0 0 55px rgba(24, 186, 255, 0.12);
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.expertise-container {
    position: relative;

    z-index: 5;

    width: min(1450px, calc(100% - 90px));

    min-height: calc(100vh - 90px);

    margin: 0 auto;

    padding:
        52px 0
        24px;

    box-sizing: border-box;
}


/* =========================================================
   HERO GRID
========================================================= */

.expertise-hero {
    display: grid;

    grid-template-columns:
        minmax(510px, 0.92fr)
        minmax(700px, 1.08fr);

    gap: 26px;

    align-items: flex-start;
}


/* =========================================================
   LEFT COPY
========================================================= */

.expertise-copy {
    max-width: 670px;

    padding-top: 4px;
}


/* LABEL */

.expertise-label {
    position: relative;

    display: inline-block;

    margin: 0 0 18px;

    padding-bottom: 10px;

    color: #18baff;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2.8px;
}


.expertise-label::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 34px;
    height: 2px;

    background: #18baff;
}


/* =========================================================
   HEADING
========================================================= */

.expertise-copy h1 {
    max-width: 680px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(50px, 4.2vw, 66px);

    line-height: 0.98;

    font-weight: 700;

    letter-spacing: -2.6px;
}


.expertise-copy h1 span {
    display: block;

    color: #17bfff;
}


/* =========================================================
   INTRO
========================================================= */

.expertise-intro {
    max-width: 560px;

    margin: 23px 0 0;

    color: #d0d9e0;

    font-family: "Manrope", sans-serif;

    font-size: 14.5px;

    line-height: 1.65;
}


/* =========================================================
   BUTTON
========================================================= */

.expertise-button {
    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

    min-width: 230px;

    margin-top: 26px;

    padding:
        15px 20px;

    box-sizing: border-box;

    color: #00121d;

    background: #1ec8f5;

    border:
        1px solid #1ec8f5;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 10px 26px rgba(0, 172, 255, 0.16);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.expertise-button:hover {
    transform: translateY(-2px);

    background: #52d8ff;

    box-shadow:
        0 16px 40px rgba(0, 180, 255, 0.25);
}


.expertise-button span:last-child {
    font-size: 18px;
}


/* =========================================================
   RIGHT PROCESS AREA
========================================================= */

.process-area {
    position: relative;

    min-height: 405px;

    display: block;
}


/* =========================================================
   TOP-RIGHT TAG
========================================================= */

.process-tag {
    position: static;

    display: flex;

    flex-direction: column;

    gap: 4px;

    margin-bottom: 38px;

    padding-right: 4px;

    text-align: right;

    color: #91aabc;

    font-size: 9px;

    line-height: 1.4;

    letter-spacing: 1.8px;
}


.process-tag strong {
    color: #c6d4de;

    font-weight: 500;
}


.process-tag::after {
    content: "";

    width: 36px;
    height: 2px;

    margin:
        9px 0
        0 auto;

    background: #18baff;
}


/* =========================================================
   PROCESS CARDS
========================================================= */

.process-cards {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;

    width: 100%;

    max-width: 720px;

    margin-left: auto;

    align-items: stretch;
}


/* =========================================================
   CARD
========================================================= */

.process-card {
    position: relative;

    height: 330px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border-radius: 6px;

    border:
        1px solid
        rgba(31, 197, 255, 0.60);

    background:
        rgba(4, 22, 36, 0.24);

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.25),
        0 0 16px rgba(24, 186, 255, 0.06);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.process-card:hover {
    transform:
        translateY(-6px);

    border-color:
        #18baff;

    box-shadow:
        0 22px 46px rgba(0, 0, 0, 0.32),
        0 0 22px rgba(24, 186, 255, 0.14);
}


/* =========================================================
   TOP ICON / LABEL PART
========================================================= */

.process-card-top {
    flex:
        0 0 38%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 11px;

    position: relative;

    z-index: 2;

    background:
        linear-gradient(
            180deg,
            rgba(18, 49, 74, 0.96) 0%,
            rgba(10, 30, 48, 0.96) 100%
        );
}


/* IMPORTANT:
   Lucide converts <i> into SVG
*/

.process-card-top svg {
    width: 30px;
    height: 30px;

    stroke: #1ec8ff;

    stroke-width: 1.7;

    filter:
        drop-shadow(
            0 0 8px
            rgba(24, 186, 255, 0.32)
        );
}


.process-card-top span {
    color: #ffffff;

    font-size: 11.5px;

    font-weight: 700;

    letter-spacing: 1.4px;
}


/* =========================================================
   CARD PHOTO
========================================================= */

.process-card-photo {
    flex: 1;

    min-height: 0;

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    filter:
        brightness(1.06)
        contrast(1.03)
        saturate(1.05);
}


/* RECEIVE */

.process-receive .process-card-photo {
    background-image:
        url("expertise-receive.jpg");
}


/* STORE */

.process-store .process-card-photo {
    background-image:
        url("expertise-store.jpg");
}


/* MOVE */

.process-move .process-card-photo {
    background-image:
        url("expertise-move.jpg");
}


/* DELIVER */

.process-deliver .process-card-photo {
    background-image:
        url("expertise-deliver.jpg");
}


/* =========================================================
   BOTTOM SERVICES
========================================================= */

.expertise-services {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    width: 100%;

    margin-top: 34px;

    background: transparent;

    border-top:
        1px solid
        rgba(24, 186, 255, 0.22);

    border-bottom: none;

    backdrop-filter: none;

    -webkit-backdrop-filter: none;
}


/* =========================================================
   EACH SERVICE
========================================================= */

.expertise-service {
    position: relative;

    min-height: 150px;

    padding:
        20px 28px
        12px;

    box-sizing: border-box;

    background: transparent;

    border-right:
        1px solid
        rgba(24, 186, 255, 0.30);
}


.expertise-service:first-child {
    padding-left: 0;
}


.expertise-service:last-child {
    border-right: none;
}


/* =========================================================
   SERVICE TOP
========================================================= */

.service-top {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 12px;
}


.service-number {
    color: #16c5ff;

    font-size: 18px;

    font-weight: 700;
}


.service-top svg {
    width: 34px;

    height: 34px;

    stroke: #16c5ff;

    stroke-width: 1.6;

    filter:
        drop-shadow(
            0 0 7px
            rgba(24, 194, 255, 0.25)
        );
}


/* =========================================================
   SERVICE TITLE
========================================================= */

.expertise-service h2 {
    max-width: 210px;

    margin:
        0 0
        8px;

    color: #ffffff;

    font-family: "Manrope", sans-serif;

    font-size: 17px;

    line-height: 1.2;

    font-weight: 700;
}


/* =========================================================
   SERVICE DESCRIPTION
========================================================= */

.expertise-service p {
    max-width: 245px;

    margin: 0;

    color: #b3c1cd;

    font-family: "Manrope", sans-serif;

    font-size: 11.5px;

    line-height: 1.5;
}


/* =========================================================
   FOOTER LINE
========================================================= */

.expertise-footer-line {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 10px;
}


.expertise-footer-line span {
    width: 50px;

    height: 2px;

    background: #16c5ff;
}


.expertise-footer-line p {
    margin: 0;

    color: #728ea3;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .expertise-container {
        width:
            calc(100% - 60px);
    }


    .expertise-hero {
        grid-template-columns:
            0.88fr
            1.12fr;

        gap: 22px;
    }


    .process-card {
        height: 285px;
    }


    .expertise-service {
        padding:
            18px 18px
            12px;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 950px) {

    .expertise-container {
        padding-top: 50px;
    }


    .expertise-hero {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    .process-tag {
        text-align: left;
    }


    .process-tag::after {
        margin-left: 0;
    }


    .process-cards {
        max-width: none;

        margin-left: 0;
    }


    .expertise-services {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .expertise-service:nth-child(2) {
        border-right: none;
    }


    .expertise-service:nth-child(-n+2) {
        border-bottom:
            1px solid
            rgba(24, 186, 255, 0.20);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .expertise-container {
        width:
            calc(100% - 32px);

        padding:
            42px 0
            28px;
    }


    .expertise-copy h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }


    .expertise-intro {
        font-size: 14px;
    }


    .process-cards {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 8px;
    }


    .process-card {
        height: 260px;
    }


    .process-card-top {
        flex-basis: 40%;
    }


    .expertise-services {
        grid-template-columns: 1fr;
    }


    .expertise-service {
        border-right: none;

        border-bottom:
            1px solid
            rgba(24, 186, 255, 0.20);
    }


    .expertise-service:last-child {
        border-bottom: none;
    }


    .expertise-footer-line p {
        font-size: 8px;
    }

}
/* =========================================================
   FINAL EXPERTISE BACKGROUND FIX
========================================================= */

body.expertise-body {
    background: #020c16 !important;
}

.expertise-page {
    position: relative !important;

    min-height: calc(100vh - 90px) !important;

    background-image: url("expertise-bg.png") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}