/* =========================================================
   CV BAROKAH ARTHA PRIMA
   HOME PAGE
   ========================================================= */

.home-page {
    width: 100%;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-container {
    width: min(92%, 1240px);
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.home-hero {
    position: relative;
    width: 100%;
    height: 570px;
    overflow: hidden;
    background: #0b1f33;
}

.home-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;

    z-index: 1;
}

.home-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* GAMBAR */

.home-slide > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center;
}


/* OVERLAY */

.home-slide-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 35, 0.90) 0%,
            rgba(5, 20, 35, 0.72) 38%,
            rgba(5, 20, 35, 0.35) 70%,
            rgba(5, 20, 35, 0.10) 100%
        );
}


/* CONTENT */

.home-slide-content {
    position: relative;

    z-index: 3;

    width: min(92%, 1240px);
    height: 100%;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 30px 0 45px;
}


.home-eyebrow {
    display: block;

    margin-bottom: 15px;

    color: #d7b45a;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;
}


.home-slide h1,
.home-slide h2 {
    max-width: 720px;

    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 600;

    line-height: 1.08;

    letter-spacing: -1.5px;
}


.home-slide p {
    max-width: 620px;

    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.90);

    font-size: 14px;
    font-weight: 400;

    line-height: 1.8;
}


/* BUTTONS */

.home-slide-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


.home-btn {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 22px;

    border-radius: 3px;

    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.home-btn:hover {
    transform: translateY(-2px);
}


.home-btn-primary {
    background: #ffffff;
    color: #0b1f33;
}


.home-btn-primary:hover {
    background: #c9a24a;
    color: #ffffff;
}


.home-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.70);

    background: transparent;
    color: #ffffff;
}


.home-btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}


.home-btn-light {
    background: #ffffff;
    color: #0b1f33;
}


.home-btn-light:hover {
    background: #c9a24a;
    color: #ffffff;
}


/* =========================================================
   SLIDER ARROWS
   ========================================================= */

.home-slider-arrow {
    position: absolute;

    top: 50%;
    z-index: 20;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    transform: translateY(-50%);

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.20);
    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.home-slider-arrow:hover {
    background: rgba(201, 162, 74, 0.90);
    border-color: #c9a24a;
}


.home-slider-prev {
    left: 25px;
}


.home-slider-next {
    right: 25px;
}


/* =========================================================
   DOTS
   ========================================================= */

.home-slider-dots {
    position: absolute;

    left: 50%;
    bottom: 25px;

    z-index: 20;

    display: flex;

    gap: 7px;

    transform: translateX(-50%);
}


.home-slider-dot {
    width: 25px;
    height: 3px;

    padding: 0;

    border: 0;

    background: rgba(255, 255, 255, 0.40);

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}


.home-slider-dot.active {
    width: 40px;

    background: #ffffff;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.home-section {
    padding: 85px 0;
}


.home-intro,
.home-portfolio,
.home-articles {
    background: #ffffff;
}


.home-values {
    background: #f5f7f8;
}


/* =========================================================
   INTRO
   ========================================================= */

.home-intro-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 75px;
}


.home-section-label {
    display: block;

    margin-bottom: 12px;

    color: #345572;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}


.home-intro h2,
.home-section-heading h2,
.home-section-top h2 {
    margin: 0;

    color: #0b1f33;

    font-size: clamp(28px, 3.3vw, 43px);
    font-weight: 600;

    line-height: 1.2;

    letter-spacing: -1px;
}


.home-intro-text p {
    margin: 0 0 16px;

    color: #5d6973;

    font-size: 14px;

    line-height: 1.8;
}


.home-text-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-top: 5px;

    color: #0b1f33;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}


.home-text-link:hover {
    color: #c9a24a;
}


/* =========================================================
   VALUES
   ========================================================= */

.home-section-heading {
    max-width: 650px;

    margin-bottom: 40px;
}


.home-values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}


.home-value-card {
    min-height: 220px;

    padding: 26px;

    background: #ffffff;

    border: 1px solid #e1e6ea;
}


.home-value-number {
    margin-bottom: 48px;

    color: #9ca7af;

    font-size: 11px;
    font-weight: 600;
}


.home-value-card h3 {
    margin: 0 0 9px;

    color: #0b1f33;

    font-size: 18px;
    font-weight: 600;
}


.home-value-card p {
    margin: 0;

    color: #68747e;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   SECTION TOP
   ========================================================= */

.home-section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 32px;
}


/* =========================================================
   EMPTY CARD
   ========================================================= */

.home-empty-card {
    min-height: 240px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;

    border: 1px solid #e1e6ea;

    background: #fafbfc;
}


.home-empty-icon {
    width: 50px;
    height: 50px;

    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf2f5;

    color: #345572;
}


.home-empty-card h3 {
    margin: 0 0 8px;

    color: #0b1f33;

    font-size: 18px;
    font-weight: 600;
}


.home-empty-card p {
    max-width: 500px;

    margin: 0;

    color: #6b7780;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.home-cta {
    padding: 0 0 85px;

    background: #ffffff;
}


.home-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 48px 52px;

    background: #0b1f33;
}


.home-cta-box .home-section-label {
    color: #aebbc6;
}


.home-cta-box h2 {
    max-width: 650px;

    margin: 0 0 10px;

    color: #ffffff;

    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 600;

    line-height: 1.2;
}


.home-cta-box p {
    margin: 0;

    color: #c5d0d8;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .home-hero {
        height: 520px;
    }

    .home-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-cta-box {
        padding: 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .home-container {
        width: 90%;
    }

    .home-hero {
        height: 590px;
    }

    .home-slide > img {
        object-position: center;
    }

    .home-slide-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 20, 35, 0.35) 0%,
                rgba(5, 20, 35, 0.72) 48%,
                rgba(5, 20, 35, 0.96) 100%
            );
    }

    .home-slide-content {
        width: 90%;
        justify-content: center;
        padding-bottom: 30px;
    }

    .home-slide h1,
    .home-slide h2 {
        max-width: 340px;

        font-size: 31px;

        letter-spacing: -0.5px;
    }

    .home-slide p {
        max-width: 340px;

        font-size: 13px;
    }

    .home-slider-arrow {
        width: 36px;
        height: 36px;
    }

    .home-slider-prev {
        left: 10px;
    }

    .home-slider-next {
        right: 10px;
    }

    .home-section {
        padding: 60px 0;
    }

    .home-values-grid {
        grid-template-columns: 1fr;
    }

    .home-section-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-cta {
        padding-bottom: 60px;
    }

    .home-cta-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 32px 25px;
    }

}

/* ================= SERVICES ================= */

.home-services {
    background: #f7f8fa;
}

.home-services .home-section-heading {
    max-width: 760px;
    margin-bottom: 50px;
}

.home-services-intro {
    max-width: 680px;
    margin: 18px 0 0;
    color: #687481;
    font-size: 15px;
    line-height: 1.8;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-service-card {
    display: flex;
    gap: 24px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e5e9ed;
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(11, 31, 51, .08);
}

.home-service-number {
    flex: 0 0 auto;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #8a96a1;
    letter-spacing: .08em;
}

.home-service-content h3 {
    margin: 0 0 10px;
    color: #0b1f33;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.home-service-content p {
    margin: 0;
    color: #687481;
    font-size: 14px;
    line-height: 1.75;
}


/* ================= SERVICES MOBILE ================= */

@media (max-width: 700px) {

    .home-services .home-section-heading {
        margin-bottom: 32px;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-service-card {
        padding: 22px;
        gap: 16px;
    }

    .home-service-content h3 {
        font-size: 16px;
    }

    .home-service-content p {
        font-size: 13px;
        line-height: 1.7;
    }

}


/* =========================================================
   HOMEPAGE PORTFOLIO THUMBNAIL
   ========================================================= */

.home-portfolio-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f3;
}

.home-portfolio-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.home-portfolio-card:hover .home-portfolio-image img {
    transform: scale(1.04);
}


/* CATEGORY */

.home-portfolio-category {
    position: absolute;
    left: 18px;
    bottom: 18px;

    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    background: rgba(20, 31, 38, 0.88);
    color: #fff;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    border-radius: 3px;
}


/* NO IMAGE */

.home-portfolio-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9aa5ab;
    font-size: 36px;
    background: #eef1f3;
}


/* =========================================================
   HOMEPAGE ARTICLE THUMBNAIL
   ========================================================= */

.home-article-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f3;
}

.home-article-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.home-article-card:hover .home-article-image img {
    transform: scale(1.04);
}


/* CATEGORY */

.home-article-category {
    position: absolute;
    left: 18px;
    bottom: 18px;

    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    background: rgba(20, 31, 38, 0.88);
    color: #fff;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    border-radius: 3px;
}


/* NO IMAGE */

.home-article-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9aa5ab;
    font-size: 36px;
    background: #eef1f3;
}

@media (max-width: 900px) {

    .home-portfolio-grid,
    .home-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .home-portfolio-grid,
    .home-article-grid {
        grid-template-columns: 1fr;
    }

    .home-portfolio-image,
    .home-article-image {
        aspect-ratio: 16 / 10;
    }

}

/* =========================================================
   HOMEPAGE PORTFOLIO & ARTICLE CARDS
   ========================================================= */

.home-portfolio-grid,
.home-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   PORTFOLIO CARD
   ========================================================= */

.home-portfolio-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e3e7ea;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(11, 31, 51, 0.08);
}

.home-portfolio-content {
    padding: 22px;
}

.home-portfolio-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
}

.home-portfolio-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7a858e;
    font-size: 11px;
}

.home-portfolio-meta i {
    color: #345572;
}

.home-portfolio-content h3 {
    margin: 0 0 10px;
    color: #0b1f33;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.home-portfolio-content h3 a {
    color: inherit;
    text-decoration: none;
}

.home-portfolio-content h3 a:hover {
    color: #c9a24a;
}


/* =========================================================
   ARTICLE CARD
   ========================================================= */

.home-article-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e3e7ea;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(11, 31, 51, 0.08);
}

.home-article-content {
    padding: 22px;
}

.home-article-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #7a858e;
    font-size: 11px;
}

.home-article-date i {
    color: #345572;
}

.home-article-content h3 {
    margin: 0 0 10px;
    color: #0b1f33;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.home-article-content h3 a {
    color: inherit;
    text-decoration: none;
}

.home-article-content h3 a:hover {
    color: #c9a24a;
}

.home-article-content p {
    margin: 0 0 14px;
    color: #68747e;
    font-size: 12px;
    line-height: 1.7;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================================
   THUMBNAIL HEIGHT
   ========================================================= */

.home-portfolio-image,
.home-article-image {
    height: 230px;
    aspect-ratio: auto;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .home-portfolio-grid,
    .home-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-portfolio-image,
    .home-article-image {
        height: 220px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .home-portfolio-grid,
    .home-article-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-portfolio-image,
    .home-article-image {
        height: 210px;
    }

    .home-portfolio-content,
    .home-article-content {
        padding: 20px;
    }

}

/* =========================================================
   MOBILE — HORIZONTAL SLIDER
   PORTFOLIO & ARTICLES
   ========================================================= */

@media (max-width: 600px) {

    .home-portfolio-grid,
    .home-article-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        padding-bottom: 8px;

        scrollbar-width: none;
    }

    .home-portfolio-grid::-webkit-scrollbar,
    .home-article-grid::-webkit-scrollbar {
        display: none;
    }


    /* SETIAP CARD */

    .home-portfolio-card,
    .home-article-card {
        flex: 0 0 86%;
        width: 86%;
        min-width: 86%;

        scroll-snap-align: start;
    }


    /* THUMBNAIL */

    .home-portfolio-image,
    .home-article-image {
        width: 100%;
        height: 205px;
        aspect-ratio: auto;
    }


    /* CONTENT */

    .home-portfolio-content,
    .home-article-content {
        padding: 20px;
    }

}