/* ==========================================================
   PORTAL GTK KABUPATEN KONAWE
   File      : 15-roadmap.css
   Version   : 8.1 Stable
   Modul     : Roadmap & Renungan
   Developer : Haldi Ali Syukur
==========================================================*/


/* ==========================================================
   ROADMAP CONTAINER
==========================================================*/

.roadmap{

    width:95%;

    max-width:var(--container);

    margin:30px auto;

    padding:42px;

    background:var(--white);

    border:1px solid var(--border);

    border-radius:var(--radius-xl);

    box-shadow:var(--shadow-md);

    position:relative;

    overflow:hidden;

    animation:roadmapFade .7s ease forwards;

}


/* ==========================================================
   BACKGROUND DECORATION
==========================================================*/

.roadmap::before{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    top:-110px;

    left:-110px;

    background:rgba(21,101,192,.04);

    border-radius:50%;

}

.roadmap::after{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    right:-90px;

    bottom:-90px;

    background:rgba(21,101,192,.04);

    border-radius:50%;

}


/* ==========================================================
   HEADER
==========================================================*/

.roadmap-header{

    position:relative;

    z-index:2;

    text-align:center;

    margin-bottom:40px;

}


/* ==========================================================
   TITLE
==========================================================*/

.roadmap h2{

    color:var(--primary);

    font-size:34px;

    font-weight:800;

    margin-bottom:14px;

    letter-spacing:.3px;

}


/* ==========================================================
   SUBTITLE
==========================================================*/

.roadmap-subtitle{

    max-width:760px;

    margin:0 auto;

    color:var(--text-light);

    font-size:18px;

    line-height:1.9;

}


/* ==========================================================
   ROADMAP GRID
==========================================================*/

.roadmap-grid{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:

        repeat(auto-fit,minmax(270px,1fr));

    gap:24px;

}


/* ==========================================================
   ROADMAP CARD
==========================================================*/

.roadmap-card{

    position:relative;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    padding:32px 28px;

    background:var(--white);

    border:1px solid var(--border);

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow-sm);

    overflow:hidden;

    transition:var(--transition);

}


/* ==========================================================
   TOP BORDER
==========================================================*/

.roadmap-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:var(--primary);

}


/* ==========================================================
   HOVER
==========================================================*/

.roadmap-card:hover{

    transform:translateY(-8px);

    border-color:rgba(21,101,192,.18);

    box-shadow:var(--shadow-lg);

}


/* ==========================================================
   SHINE EFFECT
==========================================================*/

.roadmap-card::after{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:70%;

    height:100%;

    background:linear-gradient(

        90deg,

        transparent,

        rgba(255,255,255,.45),

        transparent

    );

    transform:skewX(-25deg);

    transition:.8s;

}

.roadmap-card:hover::after{

    left:150%;

}


/* ==========================================================
   ICON
==========================================================*/

.roadmap-card i{

    font-size:52px;

    margin-bottom:20px;

    transition:var(--transition);

}

.roadmap-card:hover i{

    transform:scale(1.12);

}


/* ==========================================================
   STATUS
==========================================================*/

.done::before{

    background:#16A34A;

}

.done i{

    color:#16A34A;

}


.progress::before{

    background:#F59E0B;

}

.progress i{

    color:#F59E0B;

}


.future::before{

    background:var(--primary);

}

.future i{

    color:var(--primary);

}


/* ==========================================================
   TITLE
==========================================================*/

.roadmap-card h3{

    margin-bottom:14px;

    color:var(--primary);

    font-size:22px;

    font-weight:700;

}


/* ==========================================================
   DESCRIPTION
==========================================================*/

.roadmap-card p{

    color:var(--text-light);

    font-size:15px;

    line-height:1.8;

}


/* ==========================================================
   BADGE
==========================================================*/

.roadmap-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-top:18px;

    padding:8px 16px;

    border-radius:999px;

    background:#F5F9FF;

    color:var(--primary);

    border:1px solid var(--border);

    font-size:13px;

    font-weight:700;

}


/* ==========================================================
   ROADMAP FOOTER
==========================================================*/

.roadmap-footer{

    position:relative;

    z-index:2;

    margin-top:45px;

    padding-top:35px;

    border-top:1px solid var(--border);

    text-align:center;

}


.roadmap-footer p{

    max-width:820px;

    margin:0 auto;

    color:var(--text);

    font-size:17px;

    line-height:2;

}


.roadmap-footer strong{

    color:var(--primary);

    font-weight:700;

}


/* ==========================================================
   ANIMATION
==========================================================*/

.roadmap{

    opacity:0;

    transform:translateY(20px);

    animation:roadmapFade .8s ease forwards;

}


@keyframes roadmapFade{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ==========================================================
   CARD ANIMATION
==========================================================*/

.roadmap-card{

    animation:cardFade .7s ease both;

}

.roadmap-card:nth-child(1){

    animation-delay:.08s;

}

.roadmap-card:nth-child(2){

    animation-delay:.16s;

}

.roadmap-card:nth-child(3){

    animation-delay:.24s;

}

.roadmap-card:nth-child(4){

    animation-delay:.32s;

}

.roadmap-card:nth-child(5){

    animation-delay:.40s;

}

.roadmap-card:nth-child(6){

    animation-delay:.48s;

}


@keyframes cardFade{

    from{

        opacity:0;

        transform:translateY(18px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   RENUNGAN PREMIUM
==========================================================*/

.renungan{

    margin-top:60px;

    text-align:center;

}


/* ==========================================================
   HEADER
==========================================================*/

.renungan-header{

    margin-bottom:30px;

}


.renungan-icon{

    width:70px;

    height:70px;

    margin:0 auto;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#F5F9FF;

    color:var(--primary);

    font-size:34px;

    box-shadow:var(--shadow-sm);

}


.renungan h3{

    margin-top:18px;

    color:var(--primary);

    font-size:30px;

    font-weight:800;

}


.renungan-divider{

    width:90px;

    height:4px;

    margin:18px auto 0;

    border-radius:999px;

    background:linear-gradient(

        90deg,

        var(--primary),

        var(--primary-dark)

    );

}

/* ==========================================================
   TANGGAL INSPIRASI
==========================================================*/

.quote-date{

    margin-top:14px;

    color:#64748B;

    font-size:16px;

    font-weight:500;

    letter-spacing:.3px;

}


/* ==========================================================
   HEADER QUOTE
==========================================================*/

.quote-header{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:14px;

    margin-bottom:30px;

}


/* ==========================================================
   AVATAR
==========================================================*/

.quote-avatar{

    width:120px;

    height:120px;

    object-fit:cover;

    border-radius:50%;

    border:4px solid #EEF5FF;

    box-shadow:0 12px 28px rgba(21,101,192,.18);

    transition:.3s;

}

.quote-avatar:hover{

    transform:scale(1.05);

}



/* ==========================================================
   ICON
==========================================================*/

.quote-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:42px;

    height:42px;

    border-radius:50%;

    background:#EEF5FF;

    font-size:22px;

    box-shadow:0 4px 12px rgba(21,101,192,.10);

}


/* ==========================================================
   CATEGORY
==========================================================*/

.quote-category{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 24px;

    background:linear-gradient(

        135deg,

        var(--primary),

        var(--primary-dark)

    );

    color:#fff;

    border-radius:999px;

    font-size:15px;

    font-weight:700;

}

/* ==========================================================
   QUOTE CARD
==========================================================*/

.renungan-box{

    width:100%;
    max-width:820px;

    margin:35px auto 0;

    padding:32px 38px;

    background:var(--white);

    border:1px solid var(--border);

    border-radius:var(--radius-xl);

    box-shadow:var(--shadow-md);

    position:relative;

    overflow:hidden;

}


/* ==========================================================
   DECORATION
==========================================================*/

.renungan-box::before{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    top:-90px;

    left:-90px;

    border-radius:50%;

    background:rgba(21,101,192,.04);

}

.renungan-box::after{

    content:"";

    position:absolute;

    width:150px;

    height:150px;

    right:-75px;

    bottom:-75px;

    border-radius:50%;

    background:rgba(21,101,192,.04);

}


/* ==========================================================
   QUOTE MARK
==========================================================*/

.quote-mark{

    position:relative;

    z-index:2;

    font-size:50px;

    color:var(--primary);

    opacity:.20;

}

.quote-open{

    text-align:left;

}

.quote-close{

    text-align:right;

}


/* ==========================================================
   QUOTE TEXT
==========================================================*/

#renunganText{

    position:relative;

    z-index:2;

    margin:8px 0;

    color:var(--text);

    font-size:22px;

    line-height:1.9;

    font-style:italic;

}


/* ==========================================================
   DIVIDER
==========================================================*/

.quote-divider{

    width:160px;

    height:1px;

    margin:25px auto;

    background:#DCE7F7;

}


/* ==========================================================
   AUTHOR
==========================================================*/

.quote-author{

    position:relative;

    z-index:2;

}


.quote-author strong{

    display:block;

    color:var(--primary);

    font-size:20px;

    font-weight:700;

}


.quote-author span{

    display:block;

    margin-top:8px;

    color:var(--text-light);

    font-size:15px;

}


/* ==========================================================
   RESPONSIVE SYSTEM
==========================================================*/

/* =======================
   DESKTOP
======================= */

@media (max-width:1200px){

.roadmap{

    padding:38px;

}

.renungan-box{

    max-width:720px;

}

}


/* =======================
   LAPTOP
======================= */

@media (max-width:992px){

.roadmap{

    padding:34px 28px;

}

.roadmap h2{

    font-size:30px;

}

.roadmap-subtitle{

    font-size:17px;

}

.roadmap-grid{

    grid-template-columns:repeat(2,1fr);

}

.roadmap-card{

    padding:28px 22px;

}

.roadmap-card h3{

    font-size:20px;

}

.roadmap-footer p{

    font-size:16px;

}


/* ---------- RENUNGAN ---------- */

.renungan{

    margin-top:50px;

}

.renungan h3{

    font-size:27px;

}

.renungan-box{

    max-width:680px;

    padding:28px;

}

#renunganText{

    font-size:20px;

}

.quote-mark{

    font-size:42px;

}

}


/* =======================
   TABLET
======================= */

@media (max-width:768px){

.roadmap{

    padding:28px 20px;

}

.roadmap h2{

    font-size:27px;

}

.roadmap-subtitle{

    font-size:16px;

}

.roadmap-grid{

    grid-template-columns:1fr;

}

.roadmap-card{

    padding:24px 20px;

}

.roadmap-card i{

    font-size:44px;

}

.roadmap-card h3{

    font-size:19px;

}

.quote-avatar{

    width:90px;

    height:90px;

}


/* ---------- RENUNGAN ---------- */

.renungan{

    margin-top:45px;

}

.renungan-icon{

    width:58px;

    height:58px;

    font-size:28px;

}

.renungan h3{

    font-size:24px;

}

.renungan-divider{

    width:70px;

}

.renungan-box{

    max-width:100%;

    padding:22px 18px;

}

#renunganText{

    font-size:18px;

    line-height:1.75;

}

.quote-mark{

    font-size:34px;

}

.quote-divider{

    width:100px;

}

.quote-author strong{

    font-size:17px;

}

.quote-author span{

    font-size:14px;

}

}


/* =======================
   MOBILE
======================= */

@media (max-width:480px){

.roadmap{

    padding:22px 16px;

}

.roadmap h2{

    font-size:23px;

}

.roadmap-subtitle{

    font-size:15px;

}

.roadmap-card{

    padding:20px 16px;

}

.roadmap-card i{

    font-size:40px;

}

.roadmap-card h3{

    font-size:18px;

}

.roadmap-card p{

    font-size:14px;

}


/* ---------- RENUNGAN ---------- */

.renungan{

    margin-top:35px;

}

.renungan-icon{

    width:52px;

    height:52px;

    font-size:24px;

}

.renungan h3{

    font-size:21px;

}

.renungan-box{

    padding:18px 16px;

}

#renunganText{

    font-size:16px;

    line-height:1.65;

}

.quote-mark{

    font-size:28px;

}

.quote-divider{

    width:80px;

}

.quote-author strong{

    font-size:15px;

}

.quote-author span{

    font-size:13px;

}

}


/* ==========================================================
   QUOTE ANIMATION
==========================================================*/

.quote-fade{

    opacity:0;

    transform:translateY(10px);

    transition:all .35s ease;

}

.quote-show{

    opacity:1;

    transform:translateY(0);

    transition:all .35s ease;

}