/* =========================================================
   DOKUMEN
   PART 1
   SECTION • BACKGROUND • HEADER
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.section-dokumen{

    position:relative;

    overflow:hidden;

    padding:
        clamp(110px,10vw,140px)
        0
        90px;

    background:

        radial-gradient(
            circle at top left,
            rgba(34,197,94,.10) 0%,
            transparent 40%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(132,204,22,.08) 0%,
            transparent 40%
        ),

        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdfb 45%,
            #f4faf4 100%
        );

}


/* =========================================================
   BACKGROUND BLUR
========================================================= */

.dokumen-blur{

    position:absolute;

    border-radius:50%;

    pointer-events:none;

    filter:blur(110px);

    opacity:.9;

    z-index:0;

}

.dokumen-blur.blur-left{

    width:520px;

    height:520px;

    top:-220px;

    left:-180px;

    background:

        radial-gradient(

            circle,

            rgba(34,197,94,.14),

            transparent 72%

        );

}

.dokumen-blur.blur-right{

    width:480px;

    height:480px;

    bottom:-200px;

    right:-180px;

    background:

        radial-gradient(

            circle,

            rgba(212,175,55,.08),

            transparent 72%

        );

}


/* =========================================================
   CONTAINER
========================================================= */

.section-dokumen .container{

    position:relative;

    z-index:2;

    width:min(1320px,94%);

    margin:0 auto;

}


/* =========================================================
   HEADER
========================================================= */

.dokumen-header{

    max-width:820px;

    margin:
        0 auto 70px;

    text-align:center;

}


/* =========================================================
   LABEL
========================================================= */

.dokumen-label{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:
        10px 18px;

    margin-bottom:22px;

    border-radius:999px;

    background:

        rgba(21,128,61,.08);

    border:

        1px solid rgba(21,128,61,.14);

    color:var(--primary);

    font-size:.78rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.dokumen-label i{

    font-size:.9rem;

}


/* =========================================================
   TITLE
========================================================= */

.dokumen-header h2{

    margin:0;

    font-size:

        clamp(2.4rem,4vw,3.9rem);

    line-height:1.1;

    font-weight:800;

    letter-spacing:-1.6px;

    color:var(--text-heading);

}

.dokumen-header h2 span{

    color:var(--primary);

}


/* =========================================================
   DESCRIPTION
========================================================= */

.dokumen-header p{

    max-width:720px;

    margin:
        24px auto 0;

    font-size:1rem;

    line-height:1.9;

    color:var(--text-soft);

}

/* =========================================================
   DOKUMEN
   PART 2
   GRID • CARD • TOP
========================================================= */


/* =========================================================
   GRID
========================================================= */

.dokumen-grid{

    position:relative;

    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:28px;

}


/* =========================================================
   CARD
========================================================= */

.dokumen-item{

    position:relative;

    display:flex;

    flex-direction:column;

    padding:34px;

    border-radius:28px;

    background:#ffffff;

    border:
        1px solid rgba(15,23,42,.08);

    box-shadow:

        0 16px 40px rgba(15,23,42,.06);

    overflow:hidden;

    transition:

        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}


/* =========================================================
   CARD OVERLAY
========================================================= */

.dokumen-item::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(

            180deg,

            rgba(255,255,255,.55),

            transparent 28%

        );

    pointer-events:none;

}


/* =========================================================
   HOVER
========================================================= */

.dokumen-item:hover{

    transform:

        translateY(-6px);

    border-color:

        rgba(21,128,61,.18);

    box-shadow:

        0 24px 60px rgba(15,23,42,.10);

}


/* =========================================================
   TOP
========================================================= */

.dokumen-top{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:28px;

}


/* =========================================================
   ICON
========================================================= */

.dokumen-icon{

    width:74px;

    height:74px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    border-radius:22px;

    background:

        linear-gradient(

            135deg,

            var(--primary),

            #22c55e

        );

    color:#ffffff;

    font-size:1.8rem;

    box-shadow:

        0 12px 28px rgba(21,128,61,.20);

    transition:

        transform .25s ease,
        box-shadow .25s ease;

}

.dokumen-item:hover .dokumen-icon{

    transform:scale(1.05);

    box-shadow:

        0 18px 38px rgba(21,128,61,.28);

}


/* =========================================================
   BADGE
========================================================= */

.dokumen-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:

        8px 16px;

    border-radius:999px;

    background:

        rgba(21,128,61,.08);

    border:

        1px solid rgba(21,128,61,.14);

    color:var(--primary);

    font-size:.72rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

/* =========================================================
   DOKUMEN
   PART 3
   CONTENT • BUTTON
========================================================= */


/* =========================================================
   CONTENT
========================================================= */

.dokumen-content{

    display:flex;

    flex-direction:column;

    flex:1;

    margin-bottom:30px;

}

.dokumen-content h3{

    margin:0 0 14px;

    font-size:

        clamp(1.35rem,2vw,1.65rem);

    font-weight:800;

    line-height:1.35;

    letter-spacing:-.4px;

    color:var(--text-heading);

}

.dokumen-content p{

    margin:0;

    color:var(--text-soft);

    font-size:.98rem;

    line-height:1.9;

}


/* =========================================================
   BUTTON
========================================================= */

.btn-download{

    margin-top:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:18px;

    width:100%;

    padding:16px 18px;

    border-radius:18px;

    text-decoration:none;

    background:

        rgba(21,128,61,.05);

    border:

        1px solid rgba(21,128,61,.12);

    color:var(--primary);

    font-weight:700;

    transition:

        background .25s ease,

        border-color .25s ease,

        color .25s ease,

        transform .25s ease;

}


/* =========================================================
   BUTTON TEXT
========================================================= */

.btn-download span{

    flex:1;

    font-size:.95rem;

    white-space:nowrap;

}


/* =========================================================
   BUTTON ICON
========================================================= */

.btn-download i{

    width:44px;

    height:44px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    border-radius:14px;

    background:

        rgba(21,128,61,.10);

    color:var(--primary);

    font-size:1rem;

    transition:

        background .25s ease,

        color .25s ease,

        transform .25s ease;

}


/* =========================================================
   BUTTON HOVER
========================================================= */

.btn-download:hover{

    background:var(--primary);

    border-color:var(--primary);

    color:#ffffff;

    transform:translateY(-2px);

}

.btn-download:hover i{

    background:

        rgba(255,255,255,.18);

    color:#ffffff;

    transform:translateX(4px);

}


/* =========================================================
   BUTTON ACTIVE
========================================================= */

.btn-download:active{

    transform:translateY(0);

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.btn-download:focus-visible{

    outline:3px solid rgba(21,128,61,.25);

    outline-offset:4px;

}

/* =========================================================
   DOKUMEN
   PART 4
   RESPONSIVE • FINISHING
========================================================= */


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width:1200px){

    .dokumen-grid{

        grid-template-columns:
            repeat(2,minmax(0,1fr));

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:992px){

    .section-dokumen{

        padding:
            100px
            0
            75px;

    }

    .dokumen-header{

        margin-bottom:55px;

    }

    .dokumen-header h2{

        font-size:clamp(2.1rem,5vw,3rem);

    }

    .dokumen-item{

        padding:28px;

        border-radius:24px;

    }

    .dokumen-top{

        margin-bottom:24px;

    }

    .dokumen-icon{

        width:66px;
        height:66px;

        border-radius:20px;

        font-size:1.55rem;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:768px){

    .section-dokumen{

        padding:
            90px
            0
            60px;

    }

    .dokumen-header{

        margin-bottom:40px;

    }

    .dokumen-header h2{

        font-size:2rem;

        line-height:1.2;

    }

    .dokumen-header p{

        font-size:.95rem;

    }

    .dokumen-label{

        font-size:.72rem;

        padding:
            8px 14px;

    }

    .dokumen-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    .dokumen-item{

        padding:24px;

        border-radius:22px;

    }

    .dokumen-top{

        margin-bottom:20px;

    }

    .dokumen-icon{

        width:60px;

        height:60px;

        border-radius:18px;

        font-size:1.35rem;

    }

    .dokumen-content{

        margin-bottom:24px;

    }

    .dokumen-content h3{

        font-size:1.3rem;

    }

    .dokumen-content p{

        font-size:.94rem;

    }

    .btn-download{

        padding:15px 16px;

    }

    .btn-download span{

        font-size:.9rem;

    }

    .btn-download i{

        width:40px;

        height:40px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:480px){

    .section-dokumen{

        padding:
            80px
            0
            50px;

    }

    .dokumen-header h2{

        font-size:1.7rem;

    }

    .dokumen-item{

        padding:20px;

    }

    .dokumen-icon{

        width:54px;

        height:54px;

        font-size:1.2rem;

    }

    .dokumen-badge{

        font-size:.65rem;

        padding:
            6px 12px;

    }

    .btn-download{

        padding:14px;

    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion:reduce){

    .dokumen-item,

    .dokumen-icon,

    .btn-download,

    .btn-download i{

        transition:none !important;

    }

}


/* =========================================================
   PRINT
========================================================= */

@media print{

    .dokumen-blur{

        display:none;

    }

    .dokumen-item{

        box-shadow:none;

        border:1px solid #dcdcdc;

        break-inside:avoid;

    }

    .btn-download{

        border:1px solid #dcdcdc;

        background:#ffffff;

        color:#000000;

    }

}