/* =========================================================
   WORK EXPERIENCE PAGE
========================================================= */


/* =========================================================
   PAGE WRAPPER
========================================================= */

.work-experience-page {
    width: 100%;
    padding: 50px 20px 70px;

    background: #ffffff;
    color: #111827;
}


/* =========================================================
   PAGE LOADER
========================================================= */

#work-experience-loader {
    position: fixed;
    inset: 0;

    z-index: 999999;

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

    background: #ffffff;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}

#work-experience-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.work-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 14px;
}

.work-loader-ring {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    border: 3px solid #e5e7eb;
    border-top-color: #06b6d4;

    animation:
        work-loader-spin .8s linear infinite;
}

.work-loader-text {
    font-size: 14px;
    font-weight: 500;

    color: #6b7280;

    letter-spacing: .3px;
}

@keyframes work-loader-spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   SECTION 1
   PROFESSIONAL EXPERIENCE
========================================================= */

.experience-section {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 50px;

    border-radius: 20px;

    background:
        linear-gradient(
            rgba(255, 255, 255, .97),
            rgba(255, 255, 255, .77)
        ),
        url("https://static.wixstatic.com/media/93d447_0c7f2f968b9a4906b560a9bfa7e754bf~mv2.jpg");

    background-size: cover;
    background-position: center;
}


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

.experience-title {
    text-align: center;

    font-size: 40px;
    font-weight: 700;

    line-height: 1.2;

    color: #111827;

    margin: 0 0 15px;
}

.experience-title-line {
    width: 90px;
    height: 4px;

    background: #06b6d4;

    margin: 0 auto 45px;

    border-radius: 50px;
}


/* =========================================================
   EXPERIENCE ROW
========================================================= */

.exp-row {
    display: grid;

    grid-template-columns: 32% 48% 20%;

    align-items: center;

    padding: 22px 28px;

    margin-bottom: 18px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-left: 6px solid #06b6d4;

    border-radius: 14px;

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

.exp-row:last-child {
    margin-bottom: 0;
}

.exp-row:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .08);

    border-left-color: #0284c7;
}


/* =========================================================
   POSITION
========================================================= */

.experience-section .position {
    font-size: 18px;
    font-weight: 700;

    color: #06b6d4;

    line-height: 1.45;
}


/* =========================================================
   INSTITUTE
========================================================= */

.experience-section .institute {
    font-size: 18px;
    font-weight: 700;

    color: #111827;

    line-height: 1.5;
}


/* =========================================================
   DURATION
========================================================= */

.experience-section .duration {
    text-align: right;

    font-size: 16px;
    font-weight: 500;

    color: #6b7280;

    line-height: 1.5;
}


/* =========================================================
   SECTION 2
   ACHIEVEMENTS & LEADERSHIP
========================================================= */

.achievements {
    width: 100%;
    max-width: 1000px;

    margin: 70px auto 0;

    padding: 20px;
}

.achievements h2 {
    text-align: center;

    font-size: 36px;
    font-weight: 700;

    color: #111111;

    line-height: 1.25;

    margin: 0 0 15px;
}

.achievements-line {
    width: 80px;
    height: 3px;

    background: #06b6d4;

    margin: 0 auto 35px;

    border-radius: 50px;
}


/* =========================================================
   ACHIEVEMENT LIST
========================================================= */

.achievements ul {
    margin: 0;

    padding-left: 25px;
}

.achievements li {
    margin-bottom: 18px;

    color: #555555;

    font-size: 15px;

    line-height: 1.8;
}

.achievements li:last-child {
    margin-bottom: 0;
}

.achievements strong {
    color: #06b6d4;

    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .work-experience-page {
        padding: 40px 20px 60px;
    }

    .experience-section {
        padding: 40px 25px;
    }

    .experience-title {
        font-size: 34px;
    }

    .exp-row {
        grid-template-columns: 30% 45% 25%;

        padding: 20px;
    }

    .experience-section .position {
        font-size: 16px;
    }

    .experience-section .institute {
        font-size: 16px;
    }

    .experience-section .duration {
        font-size: 14px;
    }
}


/* =========================================================
   MOBILE
   Minimum normal text size = 14px
========================================================= */

@media (max-width: 768px) {

    .work-experience-page {
        padding: 30px 15px 50px;
    }


    /* Professional Experience */

    .experience-section {
        padding: 35px 18px;

        border-radius: 14px;

        background:
            linear-gradient(
                rgba(255, 255, 255, .96),
                rgba(255, 255, 255, .90)
            ),
            url("https://static.wixstatic.com/media/93d447_0c7f2f968b9a4906b560a9bfa7e754bf~mv2.jpg");

        background-size: cover;
        background-position: center;
    }

    .experience-title {
        font-size: 30px;

        line-height: 1.2;

        margin-bottom: 12px;
    }

    .experience-title-line {
        width: 70px;
        height: 3px;

        margin-bottom: 30px;
    }

    .exp-row {
        grid-template-columns: 1fr;

        gap: 9px;

        text-align: left;

        padding: 20px;

        margin-bottom: 12px;

        border-left-width: 5px;

        border-radius: 11px;
    }

    .experience-section .position {
        font-size: 16px;
    }

    .experience-section .institute {
        font-size: 15px;
    }

    .experience-section .duration {
        text-align: left;

        font-size: 14px;
    }


    /* Achievements */

    .achievements {
        margin: 50px auto 0;

        padding: 15px;
    }

    .achievements h2 {
        font-size: 30px;

        line-height: 1.25;
    }

    .achievements-line {
        width: 65px;

        margin-bottom: 28px;
    }

    .achievements ul {
        padding-left: 22px;
    }

    .achievements li {
        margin-bottom: 14px;

        font-size: 14px;

        line-height: 1.7;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .work-experience-page {
        padding: 20px 10px 40px;
    }

    .experience-section {
        padding: 30px 13px;

        border-radius: 10px;
    }

    .experience-title {
        font-size: 26px;
    }

    .experience-title-line {
        width: 60px;

        margin-bottom: 22px;
    }

    .exp-row {
        padding: 15px;

        gap: 7px;

        border-radius: 9px;

        border-left-width: 4px;
    }

    .experience-section .position {
        font-size: 14px;

        line-height: 1.45;
    }

    .experience-section .institute {
        font-size: 14px;

        line-height: 1.5;
    }

    .experience-section .duration {
        font-size: 14px;

        line-height: 1.5;
    }

    .achievements {
        margin: 40px auto 0;

        padding: 12px;
    }

    .achievements h2 {
        font-size: 25px;
    }

    .achievements-line {
        width: 55px;
        height: 3px;

        margin-bottom: 22px;
    }

    .achievements ul {
        padding-left: 20px;
    }

    .achievements li {
        font-size: 14px;

        line-height: 1.65;

        margin-bottom: 12px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .work-experience-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .experience-section {
        padding: 25px 10px;
    }

    .experience-title {
        font-size: 23px;
    }

    .experience-title-line {
        width: 55px;
        height: 3px;

        margin-bottom: 18px;
    }

    .exp-row {
        padding: 12px;

        gap: 6px;

        margin-bottom: 9px;
    }

    /* Keep normal text readable */

    .experience-section .position,
    .experience-section .institute,
    .experience-section .duration,
    .achievements li,
    .achievements strong,
    .work-loader-text {
        font-size: 14px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .work-loader-ring {
        animation: none !important;
    }

    .exp-row {
        transition: none !important;
    }

    .exp-row:hover {
        transform: none;
    }
}