/* =====================================
   GENERAL SKILL DEVELOPMENT PAGE
===================================== */

.skills-page {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}


/* =====================================
   HEADER OVER BANNER
===================================== */

/* =====================================
   PERMANENT FIXED HEADER
===================================== */

.skills-page #mainHeader,
.skills-page #mainHeader.scrolled {
    position: fixed !important;

    top: 12px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;

    transform: translateX(-50%) !important;

    width: calc(100% - 36px);
    max-width: 1600px;

    margin: 0 !important;

    z-index: 1050 !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* =====================================
   TABLET FIXED HEADER
===================================== */

@media (max-width: 1024px) {

    .skills-page #mainHeader,
    .skills-page #mainHeader.scrolled {
        top: 10px !important;
        width: calc(100% - 28px);
    }

}


/* =====================================
   MOBILE FIXED HEADER
===================================== */

@media (max-width: 768px) {

    .skills-page #mainHeader,
    .skills-page #mainHeader.scrolled {
        top: 8px !important;
        width: calc(100% - 20px);
    }

}


/* =====================================
   SMALL MOBILE FIXED HEADER
===================================== */

@media (max-width: 480px) {

    .skills-page #mainHeader,
    .skills-page #mainHeader.scrolled {
        top: 5px !important;
        width: calc(100% - 16px);
    }

}

/* REMOVE TOP SPACE */

.skills-page main {
    margin-top: 0;
    padding-top: 0;
}


/* =====================================
   SKILL DEVELOPMENT BANNER
===================================== */

.skills-banner {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    overflow: hidden;
}


/* =====================================
   BANNER BACKGROUND IMAGE
===================================== */

.skills-banner-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-image: url('../images/skill1.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    animation: none;
}


/* =====================================
   BANNER OVERLAY
===================================== */

.skills-banner-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.10);

    z-index: 1;
}


/* =====================================
   BANNER CONTAINER
===================================== */

.skills-banner-container {
    position: relative;
    width: 100%;

    padding: 80px 30px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 2;
}


/* =====================================
   BREADCRUMB
===================================== */

.skills-breadcrumb {
    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 14px;
    font-weight: 500;

    color: #ffffff;

    animation: skillsFadeRight 0.9s ease;
}

.skills-breadcrumb a {
    color: #ffffff;
    text-decoration: none;

    transition: color 0.3s ease;
}

.skills-breadcrumb a:hover {
    color: #ffbd00;
}

.skills-breadcrumb i {
    font-size: 13px;
}

.skills-breadcrumb span {
    color: #ffffff;
}


/* =====================================
   BANNER TITLE
===================================== */

.skills-banner-title {
    margin: 0;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;

    color: #ffffff;
    text-align: right;

    animation: skillsFadeLeft 0.9s ease;
}


/* =====================================
   SKILL DEVELOPMENT INTRODUCTION
===================================== */

.skills-introduction {
    width: 100%;
    padding: 40px 0 15px;

    background: #ffffff;
}


/* =====================================
   INTRODUCTION CONTAINER
===================================== */

.skills-intro-container {
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
    padding: 0 40px;
}


/* =====================================
   MAIN HEADING
===================================== */

.skills-main-title {
    margin: 0 0 45px;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;

    text-align: center;
    color: #111111;
}


/* =====================================
   DESCRIPTION
===================================== */

.skills-description {
    width: 100%;
}

.skills-description p {
    margin: 0 0 18px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;

    text-align: justify;
    color: #777777;
}

.skills-description p:last-child {
    margin-bottom: 0;
}

.skills-description strong {
    font-weight: 600;
    color: #666666;
}


/* =====================================
   SKILL DEVELOPMENT GALLERY
===================================== */

.skills-gallery-section {
    width: 100%;
    padding: 15px 0 28px;

    background: #ffffff;
}


/* =====================================
   GALLERY CONTAINER
===================================== */

.skills-gallery-container {
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
    padding: 0 40px;
}


/* =====================================
   GALLERY GRID
===================================== */

.skills-gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    column-gap: 10px;
    row-gap: 28px;
}


/* =====================================
   GALLERY IMAGE ITEM
===================================== */

.skills-gallery-item {
    position: relative;
    display: block;

    width: 100%;
    aspect-ratio: 3 / 2;

    margin: 0;
    padding: 0;

    border: none;
    border-radius: 0;

    background: #f0f0f0;

    overflow: hidden;
    cursor: pointer;
}


/* =====================================
   GALLERY IMAGES
===================================== */

.skills-gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s ease,
        filter 0.4s ease;
}


/* =====================================
   IMAGE HOVER ANIMATION
===================================== */

.skills-gallery-item:hover img {
    transform: scale(1.06);
}


/* =====================================
   IMAGE OVERLAY
===================================== */

.skills-image-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.30);

    opacity: 0;

    transition: opacity 0.4s ease;
}

.skills-gallery-item:hover .skills-image-overlay,
.skills-gallery-item:focus-visible .skills-image-overlay {
    opacity: 1;
}


/* =====================================
   IMAGE ZOOM ICON
===================================== */

.skills-image-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;

    font-size: 19px;

    transform: scale(0.7);

    transition: transform 0.4s ease;
}

.skills-gallery-item:hover .skills-image-icon,
.skills-gallery-item:focus-visible .skills-image-icon {
    transform: scale(1);
}


/* =====================================
   IMAGE LIGHTBOX
===================================== */

.skills-lightbox {
    position: fixed;
    inset: 0;

    width: 100%;
    max-width: none;

    height: 100%;
    max-height: none;

    margin: 0;
    padding: 0;

    border: none;

    background: rgba(0, 0, 0, 0.94);
    color: #ffffff;

    overflow: hidden;
}

.skills-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;

    animation: skillsLightboxFade 0.3s ease;
}

.skills-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.9);
}


/* =====================================
   LIGHTBOX IMAGE CONTENT
===================================== */

.skills-lightbox-content {
    width: 85%;
    max-width: 1200px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 15px;
}

.skills-lightbox-content img {
    display: block;

    max-width: 100%;
    max-height: 82vh;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* =====================================
   LIGHTBOX COUNTER
===================================== */

.skills-lightbox-counter {
    font-size: 14px;
    font-weight: 500;

    letter-spacing: 2px;

    color: #ffffff;
}


/* =====================================
   LIGHTBOX BUTTONS
===================================== */

.skills-lightbox-close,
.skills-lightbox-prev,
.skills-lightbox-next {
    position: absolute;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;

    border: none;
    border-radius: 50%;

    font-size: 20px;

    cursor: pointer;

    z-index: 5;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


/* CLOSE BUTTON */

.skills-lightbox-close {
    top: 25px;
    right: 25px;
}


/* PREVIOUS BUTTON */

.skills-lightbox-prev {
    top: 50%;
    left: 25px;

    transform: translateY(-50%);
}


/* NEXT BUTTON */

.skills-lightbox-next {
    top: 50%;
    right: 25px;

    transform: translateY(-50%);
}


/* BUTTON HOVER */

.skills-lightbox-close:hover,
.skills-lightbox-prev:hover,
.skills-lightbox-next:hover {
    background: #ffb800;
    color: #111111;
}


/* =====================================
   CONNECT WITH US SECTION
===================================== */

.skills-connect {
    width: 100%;
    padding: 15px 10px;

    background: #f0f0f2;
}


/* =====================================
   CONNECT CONTAINER
===================================== */

.skills-connect-container {
    display: grid;

    grid-template-columns: 2fr 1fr;

    align-items: center;
    gap: 15px;
}

.skills-connect-container p {
    margin: 0;

    font-size: 15px;
    font-weight: 400;

    color: #222222;
}


/* =====================================
   CONNECT BUTTON
===================================== */

.skills-connect-btn {
    justify-self: start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;
    min-height: 36px;

    background: #000000;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 4px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.skills-connect-btn:hover {
    background: #ffb800;
    color: #111111;

    transform: translateY(-2px);
}


/* =====================================
   SCROLL REVEAL ANIMATION
===================================== */

.skills-reveal.skills-animation-ready {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

    transition-delay: var(--reveal-delay, 0ms);
}

.skills-reveal.skills-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =====================================
   BANNER ZOOM ANIMATION
===================================== */

@keyframes skillsBannerZoom {

    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }

}


/* =====================================
   BREADCRUMB ANIMATION
===================================== */

@keyframes skillsFadeRight {

    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =====================================
   TITLE ANIMATION
===================================== */

@keyframes skillsFadeLeft {

    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =====================================
   LIGHTBOX ANIMATION
===================================== */

@keyframes skillsLightboxFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* =====================================
   KEYBOARD ACCESSIBILITY
===================================== */

.skills-gallery-item:focus-visible,
.skills-connect-btn:focus-visible,
.skills-lightbox-close:focus-visible,
.skills-lightbox-prev:focus-visible,
.skills-lightbox-next:focus-visible {
    outline: 3px solid #ffb800;
    outline-offset: -3px;
}


/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 1024px) {

    .skills-banner {
        height: 500px;
    }

    .skills-banner-title {
        font-size: 28px;
    }

    .skills-intro-container,
    .skills-gallery-container {
        padding: 0 30px;
    }

    .skills-main-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .skills-description p {
        font-size: 15px;
    }

    .skills-gallery-grid {
        column-gap: 12px;
        row-gap: 20px;
    }

}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 768px) {

    .skills-banner {
        height: 450px;
    }

    .skills-banner-container {
        padding: 70px 20px 0;
    }

    .skills-banner-title {
        font-size: 24px;
    }

    .skills-breadcrumb {
        font-size: 11px;
        gap: 8px;
    }

    .skills-introduction {
        padding: 28px 0 10px;
    }

    .skills-intro-container,
    .skills-gallery-container {
        padding: 0 20px;
    }

    .skills-main-title {
        font-size: 24px;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .skills-description p {
        font-size: 14px;
        line-height: 1.8;
        text-align: left;
    }

    .skills-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .skills-gallery-section {
        padding: 10px 0 20px;
    }

    .skills-connect-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .skills-connect-btn {
        justify-self: center;
    }

    .skills-lightbox-content {
        width: 88%;
    }

    .skills-lightbox-prev {
        left: 5px;
    }

    .skills-lightbox-next {
        right: 5px;
    }

    .skills-lightbox-prev,
    .skills-lightbox-next {
        width: 35px;
        height: 35px;

        font-size: 15px;
    }

}


/* =====================================
   SMALL MOBILE RESPONSIVE
===================================== */

@media (max-width: 480px) {

    .skills-banner {
        height: 380px;
    }

    .skills-banner-container {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 15px;
    }

    .skills-banner-title {
        font-size: 23px;
        text-align: center;
    }

    .skills-intro-container,
    .skills-gallery-container {
        padding: 0 15px;
    }

    .skills-main-title {
        font-size: 21px;
        margin-bottom: 20px;
    }

    .skills-description p {
        font-size: 13px;
    }

    .skills-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skills-gallery-item {
        aspect-ratio: 3 / 2;
    }

    .skills-connect-container p {
        font-size: 13px;
    }

    .skills-lightbox-close {
        top: 15px;
        right: 15px;
    }

}


/* =====================================
   REDUCED MOTION
===================================== */

@media (prefers-reduced-motion: reduce) {

    .skills-banner-image,
    .skills-breadcrumb,
    .skills-banner-title,
    .skills-lightbox[open] {
        animation: none;
    }

    .skills-reveal.skills-animation-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .skills-gallery-item img,
    .skills-image-overlay,
    .skills-image-icon,
    .skills-connect-btn,
    .skills-lightbox-close,
    .skills-lightbox-prev,
    .skills-lightbox-next {
        transition: none;
    }

}

