/* ==========================================================
   BAPENDA RIAU MOBILE APP
   PART 1
   Global - Navbar - Hero - Card - Button
   ========================================================== */


/* ==========================================================
   ROOT
   ========================================================== */

:root{

    --primary:#198754;
    --primary-dark:#157347;
    --primary-light:#d1fae5;

    --secondary:#0d6efd;

    --danger:#dc3545;
    --warning:#ffc107;
    --info:#0dcaf0;

    --dark:#212529;
    --gray:#6c757d;
    --gray-light:#adb5bd;

    --light:#f8fafc;
    --white:#ffffff;

    --radius:20px;

    --shadow-sm:0 5px 15px rgba(0,0,0,.06);
    --shadow:0 15px 35px rgba(0,0,0,.08);
    --shadow-lg:0 25px 60px rgba(0,0,0,.12);

    --transition:.30s ease;

}


/* ==========================================================
   RESET
   ========================================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Plus Jakarta Sans',sans-serif;

    background:#fff;

    color:#374151;

    overflow-x:hidden;

    line-height:1.7;

}


/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

h1,h2,h3,h4,h5,h6{

    font-weight:700;

    color:#1f2937;

}

.display-4{

    line-height:1.18;

}

.lead{

    color:#6b7280;

    font-size:1.1rem;

}

p{

    color:#6b7280;

}

a{

    text-decoration:none;

    transition:var(--transition);

}

img{

    max-width:100%;

    height:auto;

}


/* ==========================================================
   NAVBAR
   ========================================================== */

.navbar{

    background:rgba(255,255,255,.96)!important;

    backdrop-filter:blur(15px);

    transition:.35s;

    border-bottom:1px solid rgba(0,0,0,.05);

}

.navbar-brand{

    transition:.3s;

}

.navbar-brand:hover{

    transform:translateY(-2px);

}

.navbar-brand img{

    transition:.4s;

}

.navbar-brand:hover img{

    transform:rotate(-8deg);

}

.navbar-brand .fw-bold{

    font-size:1rem;

}

.nav-link{

    color:#495057!important;

    font-weight:600;

    margin:0 8px;

    position:relative;

}

.nav-link:hover{

    color:var(--primary)!important;

}

.nav-link.active{

    color:var(--primary)!important;

}

.nav-link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-4px;

    width:0;

    height:3px;

    background:var(--primary);

    border-radius:20px;

    transition:.3s;

}

.nav-link:hover::after,

.nav-link.active::after{

    width:100%;

}

.navbar-toggler{

    border:none;

    box-shadow:none!important;

}


/* ==========================================================
   SECTION
   ========================================================== */

section{

    padding:90px 0;

}


/* ==========================================================
   HERO
   ========================================================== */

.hero-section{

    position:relative;

    overflow:hidden;

    background:
        radial-gradient(circle at top right,#d8fbe8 0%,transparent 38%),
        radial-gradient(circle at bottom left,#dfeeff 0%,transparent 35%);

}

.hero-phone{

    max-height:700px;

    transition:.45s;

    filter:drop-shadow(0 35px 45px rgba(0,0,0,.16));

}

.hero-phone:hover{

    transform:translateY(-12px);

}

.hero-badge{

    font-size:.95rem;

}

.hero-counter h3{

    font-weight:800;

    color:var(--primary);

}

.hero-counter small{

    color:#6b7280;

}


/* ==========================================================
   BUTTON
   ========================================================== */

.btn{

    transition:.25s;

    border-radius:50px;

    font-weight:600;

}

.btn:hover{

    transform:translateY(-3px);

}

.btn-success{

    background:linear-gradient(135deg,#198754,#157347);

    border:none;

}

.btn-success:hover{

    background:linear-gradient(135deg,#157347,#146c43);

}

.btn-outline-success{

    border-width:2px;

}


/* ==========================================================
   BADGE
   ========================================================== */

.badge{

    letter-spacing:.5px;

    font-size:.88rem;

    padding:.7rem 1rem;

}


/* ==========================================================
   CARD
   ========================================================== */

.card{

    border:none;

    border-radius:24px;

    transition:.35s;

    overflow:hidden;

    box-shadow:var(--shadow-sm);

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.card-body{

    padding:2rem;

}


/* ==========================================================
   FEATURE
   ========================================================== */

.feature-icon{

    width:72px;

    height:72px;

    border-radius:22px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:32px;

    transition:.3s;

}

.card:hover .feature-icon{

    transform:scale(1.08);

}


/* ==========================================================
   IMAGE
   ========================================================== */

.img-rounded{

    border-radius:24px;

}


/* ==========================================================
   LIST
   ========================================================== */

.list-check{

    list-style:none;

    padding:0;

}

.list-check li{

    margin-bottom:12px;

}

.list-check i{

    color:var(--primary);

    margin-right:8px;

}


/* ==========================================================
   UTILITIES
   ========================================================== */

.text-primary{

    color:var(--primary)!important;

}

.bg-primary-soft{

    background:#eaf7ef;

}

.shadow-soft{

    box-shadow:var(--shadow);

}

.rounded-xl{

    border-radius:24px;

}

.rounded-xxl{

    border-radius:30px;

}


/* ==========================================================
   ANIMATION
   ========================================================== */

.fade-up{

    animation:fadeUp .7s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ==========================================================
   SELECTION
   ========================================================== */

::selection{

    background:var(--primary);

    color:#fff;

}


/* ==========================================================
   SCROLLBAR
   ========================================================== */

::-webkit-scrollbar{

    width:9px;

}

::-webkit-scrollbar-thumb{

    background:#198754;

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#f1f1f1;

}

/* ==========================================================
   BAPENDA RIAU MOBILE APP
   PART 2
   Screenshot - CTA - Footer - Delete Account
   ========================================================== */


/* ==========================================================
   SCREENSHOT
   ========================================================== */

.screenshot-card{

    position:relative;

    border-radius:26px;

    overflow:hidden;

    background:#fff;

}

.screenshot-card img{

    transition:.45s;

    display:block;

}

.screenshot-card:hover img{

    transform:scale(1.05);

}

.screenshot-card::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.20),
        transparent 60%
    );

    opacity:0;

    transition:.35s;

}

.screenshot-card:hover::after{

    opacity:1;

}

.screenshot-card .card-body{

    text-align:center;

    padding:18px;

}

.screenshot-card h6{

    margin:0;

    font-weight:700;

}


/* ==========================================================
   CTA DOWNLOAD
   ========================================================== */

.download-box{

    background:linear-gradient(
        135deg,
        #198754,
        #157347
    );

    color:#fff;

    border-radius:30px;

    padding:70px;

    position:relative;

    overflow:hidden;

}

.download-box::before{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    right:-80px;

    top:-80px;

}

.download-box::after{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    background:rgba(255,255,255,.05);

    border-radius:50%;

    left:-70px;

    bottom:-70px;

}

.download-box h2{

    color:#fff;

}

.download-box p{

    color:rgba(255,255,255,.9);

}

.download-box .btn{

    position:relative;

    z-index:10;

}


/* ==========================================================
   DELETE ACCOUNT
   ========================================================== */

.delete-card{

    border-radius:30px;

    overflow:hidden;

}

.delete-card .card-body{

    padding:45px;

}

.delete-title{

    font-weight:800;

    margin-bottom:15px;

}

.delete-desc{

    color:#6b7280;

}


/* ==========================================================
   FORM
   ========================================================== */

.form-label{

    font-weight:600;

    margin-bottom:8px;

}

.form-control,

.form-select{

    border-radius:14px;

    min-height:54px;

    border:1px solid #dce3ea;

    transition:.25s;

}

.form-control:focus,

.form-select:focus{

    border-color:#198754;

    box-shadow:0 0 0 .2rem rgba(25,135,84,.15);

}

textarea.form-control{

    min-height:130px;

    resize:vertical;

}


/* ==========================================================
   CHECKBOX
   ========================================================== */

.form-check{

    margin-bottom:12px;

}

.form-check-input{

    width:20px;

    height:20px;

    cursor:pointer;

}

.form-check-input:checked{

    background-color:#198754;

    border-color:#198754;

}

.form-check-label{

    padding-left:6px;

    cursor:pointer;

}


/* ==========================================================
   ALERT
   ========================================================== */

.alert{

    border:none;

    border-radius:18px;

    padding:18px 20px;

}

.alert-warning{

    background:#fff8e1;

    color:#8a6d3b;

}

.alert-success{

    background:#e9f7ef;

    color:#146c43;

}

.alert-danger{

    background:#fdecec;

}


/* ==========================================================
   INFO BOX
   ========================================================== */

.info-box{

    background:#f8fafc;

    border-left:5px solid #198754;

    border-radius:18px;

    padding:20px;

}

.info-box h6{

    margin-bottom:10px;

    font-weight:700;

}

.info-box p{

    margin:0;

}


/* ==========================================================
   DELETE STEPS
   ========================================================== */

.delete-steps{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:15px;

}

.step-item{

    flex:1;

    text-align:center;

    position:relative;

}

.step-circle{

    width:70px;

    height:70px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    color:#fff;

    font-size:30px;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.step-item:hover .step-circle{

    transform:translateY(-6px);

}

.step-line{

    flex:1;

    height:4px;

    background:#dee2e6;

    margin-top:34px;

}

.step-item h6{

    margin-top:18px;

    margin-bottom:8px;

    font-weight:700;

}

.step-item small{

    color:#6c757d;

    line-height:1.6;

}


/* ==========================================================
   FOOTER
   ========================================================== */

.footer{

    background:#f8fafc;

    margin-top:80px;

    padding:70px 0 25px;

}

.footer h5,

.footer h6{

    font-weight:700;

}

.footer p{

    color:#6b7280;

}

.footer-menu{

    list-style:none;

    padding:0;

    margin:0;

}

.footer-menu li{

    margin-bottom:12px;

}

.footer-menu a{

    color:#6b7280;

    transition:.25s;

}

.footer-menu a:hover{

    color:#198754;

    padding-left:6px;

}

.footer hr{

    margin:35px 0;

}

.footer .btn{

    border-radius:50px;

}


/* ==========================================================
   SOCIAL ICON
   ========================================================== */

.social-icon{

    width:45px;

    height:45px;

    border-radius:50%;

    display:inline-flex;

    justify-content:center;

    align-items:center;

    background:#fff;

    color:#198754;

    margin-right:10px;

    transition:.3s;

    box-shadow:0 5px 12px rgba(0,0,0,.08);

}

.social-icon:hover{

    background:#198754;

    color:#fff;

    transform:translateY(-3px);

}


/* ==========================================================
   DIVIDER
   ========================================================== */

.divider{

    width:70px;

    height:4px;

    background:#198754;

    border-radius:20px;

    margin:18px auto;

}

/* ==========================================================
   BAPENDA RIAU MOBILE APP
   PART 3 (FINAL)
   Responsive - Animation - Utilities
   ========================================================== */


/* ==========================================================
   FLOATING
   ========================================================== */

.float{

    animation:floating 4s ease-in-out infinite;

}

@keyframes floating{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0px);

    }

}


/* ==========================================================
   HOVER
   ========================================================== */

.hover-up{

    transition:.3s;

}

.hover-up:hover{

    transform:translateY(-8px);

}

.zoom{

    overflow:hidden;

}

.zoom img{

    transition:.45s;

}

.zoom:hover img{

    transform:scale(1.08);

}


/* ==========================================================
   GLASS EFFECT
   ========================================================== */

.glass{

    background:rgba(255,255,255,.7);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.3);

}


/* ==========================================================
   LOADER
   ========================================================== */

.loader{

    width:42px;

    height:42px;

    border-radius:50%;

    border:4px solid #e9ecef;

    border-top:4px solid #198754;

    animation:spin .8s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}


/* ==========================================================
   BACK TO TOP
   ========================================================== */

.back-to-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:52px;

    height:52px;

    border-radius:50%;

    background:#198754;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-size:20px;

    box-shadow:0 12px 30px rgba(0,0,0,.18);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

}

.back-to-top:hover{

    background:#157347;

    color:#fff;

    transform:translateY(-5px);

}


/* ==========================================================
   SECTION TITLE
   ========================================================== */

.section-title{

    font-weight:800;

    margin-bottom:18px;

}

.section-subtitle{

    color:#6c757d;

    max-width:700px;

    margin:auto;

}


/* ==========================================================
   ICON BOX
   ========================================================== */

.icon-box{

    width:65px;

    height:65px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    background:#e9f7ef;

    color:#198754;

}


/* ==========================================================
   IMAGE SHADOW
   ========================================================== */

.image-shadow{

    filter:drop-shadow(0 25px 35px rgba(0,0,0,.16));

}


/* ==========================================================
   BORDER
   ========================================================== */

.border-soft{

    border:1px solid #eef2f7;

}


/* ==========================================================
   TEXT
   ========================================================== */

.text-muted{

    color:#6b7280!important;

}


/* ==========================================================
   SPACING
   ========================================================== */

.py-100{

    padding-top:100px;

    padding-bottom:100px;

}

.mt-80{

    margin-top:80px;

}

.mb-80{

    margin-bottom:80px;

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:1200px){

    .hero-phone{

        max-height:600px;

    }

}

@media(max-width:992px){

    section{

        padding:75px 0;

    }

    .display-4{

        font-size:2.6rem;

    }

    .hero-phone{

        max-height:520px;

        margin-top:45px;

    }

    .download-box{

        padding:55px;

    }

}

@media(max-width:768px){

    section{

        padding:65px 0;

    }

    .display-4{

        font-size:2rem;

    }

    .hero-phone{

        max-height:420px;

    }

    .download-box{

        padding:40px 30px;

    }

    .delete-card .card-body{

        padding:30px;

    }

    .delete-steps{

        flex-direction:column;

        align-items:center;

    }

    .step-line{

        width:4px;

        height:50px;

        margin:12px auto;

    }

    .navbar-brand small{

        display:none;

    }

}

@media(max-width:576px){

    section{

        padding:55px 0;

    }

    .display-4{

        font-size:1.8rem;

    }

    .lead{

        font-size:1rem;

    }

    .btn-lg{

        width:100%;

        margin-bottom:12px;

    }

    .hero-phone{

        max-height:340px;

    }

    .feature-icon{

        width:60px;

        height:60px;

        font-size:26px;

    }

    .download-box{

        padding:30px 25px;

    }

    .delete-card .card-body{

        padding:22px;

    }

    .step-circle{

        width:60px;

        height:60px;

        font-size:24px;

    }

}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

button:focus,

.btn:focus,

.form-control:focus,

.form-select:focus{

    outline:none;

}


/* ==========================================================
   PRINT
   ========================================================== */

@media print{

    .navbar,

    .footer,

    .btn,

    .back-to-top{

        display:none!important;

    }

}


/* ==========================================================
   END
   ========================================================== */