/*
Theme Name: AsThemes
Author: Ayo Sumbar
Version: 1.0.1
Description: Optimized WordPress Theme
Text Domain: asthemes
*/

/* ======================
   ROOT
====================== */

:root{
    --container:1200px;

    --primary:#0d6efd;
    --secondary:#ddf3ff;

    --text:#222;
    --text-light:#666;

    --radius:14px;
}

/* ======================
   RESET
====================== */

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body {
    font-family: system-ui, sans-serif;
    margin: 0;
    color: var(--text);
    line-height: 1.3;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

a{
    color:inherit;
    text-decoration:none;
}
.hero h1, h3, p {
    margin: 0;
}
.container {
    position: relative;
    padding: 0 15px;
}
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
}
.apg-right {
    display: flex;
    align-items: center;
}
/* MENU MOBILE */
.apg-hd-menu .menu {
    position: absolute;
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1;
    white-space: nowrap;
    font-weight: 500;
}
.apg-hd-menu .menu li {
    background: #296061;
    padding: 4px 10px;
    border-radius: 6px;
    color: #fff;
}
/* HOMEPAGE */
.homepage{
    overflow:hidden;
}
.header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(to bottom, #e6ffff, #ffffff);
    overflow: visible;
    z-index: 1;
}
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("assets/img/header-vector.svg");
    background-repeat: no-repeat;
    background-position: right center;
    opacity: .5;
    pointer-events: none;
    z-index: -1;
    background-size: 100% auto;
}
.header-apg-dim {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
}
.custom-logo {
    width: 100%;
    height: 100%;
    max-width: 150px;
}
/* ======================
   HERO
====================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 310px;
    overflow: hidden;
    isolation: isolate;
    background:
    linear-gradient(
        180deg,
        #ffffff 0%,
        #f3fbff 40%,
        #d2fdfd 100%
    );
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/img/bodi-datiak.svg") center top / 162% auto no-repeat;
    opacity: .15; /* Atur opacity di sini */
    z-index: -1;
    pointer-events: none;
}
.hero .container, .apg-wp-icon {
    position: relative;
    z-index: 1;
}
.hero .container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
.apg-wp-icon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    opacity: .5;
}
.hero-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}
.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:auto;
    min-height:100%;
    display:block;
    opacity:.2;
    transform:translateZ(0);
    backface-visibility:hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.des-apg {
    text-shadow: 0 3px 12px rgb(0 0 0 / 35%);
    font-size: 16px;
}

.body-apg-dekor {
    position: absolute;
    bottom: 0;
    width: 100%;
}
/* ======================
   BUTTON
====================== */
.login-apg, .btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: #b2140a;
    color: #fff;
    font-weight: 600;
    transition: .3s;
    z-index: 1;
}
.btn-primary {
    padding: 10px 20px;
}
.login-apg{
    padding: 4px 8px;
    border:none;
}
.theme-price, .btn-detail {
    display: inline-flex;
    padding: 8px 18px;
    border: 1px solid #a9dbdb;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    color: #296061;
}
.btn-detail {
    background: #296061;
    color: #fff;
}
.des-apg-eks {
    font-size: 20px;
    font-weight: 700;
}
/* ======================
   SECTION
====================== */

.section-heading {
    display: flex;
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    flex-direction: column;
    gap: 16px;
}
.hd-apg-kstema {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #296061;
    color: #fff;
    margin: 0 -15px 15px;
    padding: 0 15px 15px;
}
.hd-apg-kstema h4, .section-heading h2{
    margin:0;
}
.hd-apg-kstema h4 {
    max-width: 1000px;
}
.ks-apg-protime h3 {
    margin-top: 10px;
}
.hd-apg-kstema h2 {
    margin-bottom: 0;
    margin-top:12px;
}
.meta-apg-kstema {
    margin-top: 10px;
    border-top: 1px dashed #296061;
}
.ks-apg-tema .apg-meta {
    margin-top: 16px;
}
.ks-apg-tema {
    padding-bottom: 20px;
}
.buat-apg-web .meta-apg-kstema {
    border-top: unset;
    margin-top: unset;
}
.buat-apg-web .meta-apg-kstema {
    display: flex;
    gap: 15px;
    flex-direction: column;
}
.buat-apg-web .hd-apg-kstema {
    background: #cb6115;
}
.buat-apg-web .btn-detail{
    background: #cb6115;
    border:none;
}
.buat-apg-web .ks-apg-protime {
    background: #fff0e6;
    padding: 0 20px 12px;
    border-radius: 20px;
}
.buat-apg-web {
    border-bottom: 3px solid #cb6115;
    padding-bottom: 14px;
}
/* ======================
   FEATURES
====================== */

.features{
    position: relative;
    padding: 10px 0 100px;
    background: #fff;
}

.feature-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.feature-item{
    display: flex;
    text-align: center;
    gap: 15px;
    align-items: center;
}
.apg-item {
    display: flex;
    width: 100%;
    flex-direction: column;
    text-align: left;
}
.feature-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f7fb;
    font-size: 24px;
    padding: 10px;
}

/* ======================
   THEMES
====================== */

.theme-section{
    position: relative;
    padding-bottom: 30px;
    background: #eeffff;
    border-bottom: 3px solid #a9dbdb;
}
.apg-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.theme-grid {
    display: grid;
    gap: 20px;
}
.theme-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 7%);
    overflow: hidden;
}
.theme-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.apg-card-ft {
    display: flex;
    padding: 10px;
    gap: 14px;
    align-items: center;
    flex-direction: column;
}
.apg-card-ft h3 {
    font-size: 20px;
}

.btn-demo {
    padding: 4px 10px;
    color: #fff;
    font-weight: 500;
    border-radius: 14px;
    background: #b3003c;
}

/* =====================================
   TESTIMONIAL
===================================== */

.testimonial {

    padding:20px 0 0;
    height: 548px;

}

.testimonial .section-heading {
    margin-bottom: 0;
}

/* =====================================
   SLIDER
===================================== */

.testimonial-slider {

    position:relative;

    height:592px;

    overflow:hidden;

}



.testimonial-track {

    position:relative;

    width:100%;

    height:86%;

}



/* =====================================
   CARD DEFAULT MOBILE
===================================== */

.testimonial-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 330px;
    height: 440px;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: transform .45s ease, opacity .45s ease, box-shadow .45s ease;
}



.testimonial-card.active {

    opacity:1;

    pointer-events:auto;

    z-index:3;
    max-width: 294px;

}





/* =====================================
   QUOTE
===================================== */

.quote-apg-testi {

    position:absolute;


    top:15px;


    left:20px;


    font-size:90px;


    line-height:.8;


    font-weight:700;


    color:#949aaa;


    font-family:auto;

}



.testimonial-card.active .quote-apg-testi {

    color:#015f53;

}





/* =====================================
   TEXT
===================================== */

.testimonial-card p {

    position:relative;


    padding:60px 20px 0;


    margin:0;


    flex:1;


    color:#687287;


    font-size:19px;


    line-height:1.65;

}





/* =====================================
   USER
===================================== */

.testimonial-user {

    position:relative;


    height:120px;


    padding-top:55px;


    margin-top:auto;


    text-align:center;


    background:#949aaa;


    color:#fff;

}



.testimonial-card.active .testimonial-user {

    background:#015f53;

}




.testimonial-user img {

    position:absolute;


    top:-45px;


    left:50%;


    transform:translateX(-50%);


    width:100px;


    height:100px;


    object-fit:cover;


    border-radius:50%;


    border:5px solid #fff;

}



.testimonial-user strong {

    display:block;
    margin-top:5px;
    font-size:20px;

}


/* =====================================
   BUTTON
===================================== */

.testimonial-prev, .testimonial-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    background: #949aaa;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgb(0 0 0 / 25%);
}



.testimonial-prev {

    left:5px;

}



.testimonial-next {

    right:5px;

}


/* =====================================
   DESKTOP
===================================== */

@media(min-width:768px){


.testimonial-card {

    opacity:.75;

    pointer-events:auto;


    transform:

    translate(-50%,-50%)

    scale(.92);

}



/* kiri */

.testimonial-card.prev {
        transform: translate(calc(-50% - 340px), -50%) scale(.92);
        opacity: .8;
        z-index: 1;
        max-width: 380px;
    }





/* tengah */

.testimonial-card.active {

    transform:

    translate(-50%,-50%)

    scale(1.08);


    opacity:1;

    z-index:3;


    border:1px solid #015f53;
    box-shadow: 8px 0 20px -10px rgb(0 0 0 / 35%), -8px 0 20px -10px rgb(0 0 0 / 35%);

}





/* kanan */

.testimonial-card.next {

    transform:

    translate(calc(-50% + 340px),-50%)

    scale(.92);


    opacity:.8;

    z-index:1;
    max-width: 380px;

}



}


/* FOOTER */
.site-footer {
    padding-bottom: 25px;
    background: linear-gradient(180deg, #ffffff 0%, #f3fbff 40%, #d2fdfd 100%);
}
.footer-grid {
    display: flex;
    flex-direction: column;
}
.footer-column.inlok {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-menu {
    display: flex;
    list-style: none;
    padding-left: 0;
    gap: 12px 20px;
    margin-top: 6px;
    flex-wrap: wrap;
    width: fit-content;
}
.apg-inlok, .footer-menu.footer-social a {
    display: flex;
    gap: 6px;
}
.apg-inlok {
    padding: 5px 0;
    border-top: 1px solid #badbdb;
    border-bottom: 1px solid #badbdb;
}
.footer-menu.footer-social a {
    align-items: center;
    font-weight: 500;
    white-space: nowrap;
}
.menu-icon {
    height: 30px;
    width: 30px;
    padding: 5px;
    background: #555;
    color: #fff;
    border-radius: 50%;
}
.apg-pin-loc {
    flex: none;
    height: 22px;
}
.footer-menu.petunjuk {
    display: block;
    white-space: nowrap;
    font-weight: 500;
}
.footer-menu.petunjuk li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
}
.footer-menu.petunjuk li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: currentColor;
    font-size: 1em;
}
.footer-bottom {
    padding-top: 8px;
    border-top: 1px solid #badbdb;
    font-weight: 500;
}
.apg-komed {
    margin-top: 10px;
}

/* LOGIN */
.apg-register{

display:flex;

justify-content:center;

padding:60px 0;

}

.apg-card{

width:100%;

max-width:460px;

background:#fff;

padding:35px;

border-radius:12px;

box-shadow:0 8px 35px rgba(0,0,0,.08);

}

.apg-card h2{

text-align:center;

margin-bottom:25px;

}

.apg-card input{

width:100%;

padding:13px;

margin-bottom:15px;

border:1px solid #ddd;

border-radius:6px;

font-size:15px;

}

.apg-card button{

width:100%;

padding:14px;

background:#2563eb;

color:#fff;

border:none;

border-radius:6px;

font-size:15px;

cursor:pointer;

}

.apg-card button:hover{

background:#1d4ed8;

}

.apg-errors{

background:#fee2e2;

padding:15px;

border-radius:8px;

margin-bottom:20px;

color:#991b1b;

}


.apg-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 350px;
    z-index: 9999;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, .08);
    padding: 10px 12px;
    border-radius: 10px 10px 0 0;
}

.apg-bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.apg-bottom-cta-text {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.apg-bottom-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff6000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}


@media (min-width:500px){
.hero::before {
    background-size: 114% auto;
}
.header {
     height: 60px;
}
}
@media (min-width:1100px){
.hero::before {
    background-size: 78% auto !important;
}
.apg-wp-icon {
    right: 50px !important;
}
.header {
    height: 130px !important;
}
}
@media (min-width:1550px){
.hero::before {
    background-size: 54% auto !important;
}
.apg-wp-icon {
    right: 250px !important;
}
.header {
    height: 150px !important;
}
}
@media (min-width:768px){
.container {
    margin: 0 auto;
    max-width: 1100px;
}
.header-row{
    padding-top:20px;
}
.header {
     height: 100px;
}
.custom-logo {
    max-width: 260px;
}
.apg-right {
    gap:20px;
}
.apg-hd-menu .menu{
    position:unset;
    transform: none;
    gap: 10px;
}
.apg-hd-menu .menu li {
    background: unset;
    border: unset;
    color: unset;
}
.login-apg {
    padding: 8px 14px;
}
.apg-wp-icon {
    right: 30px;
}
.hero{
    min-height:460px;
}
.hero::before {
        background-size: 110% auto;
}
.hero h1{
    font-size:clamp(2.5rem,4vw,4rem);
}
.des-apg {
    font-size: 24px;
    margin-bottom: 30px;
}
.header-apg-dim {
    gap: 30px;
}
.hd-apg-kstema{
    width:100vw;
    margin-left: calc(50% - 50vw);
}
.meta-apg-kstema {
    display: flex;
    gap: 15px;
}
.buat-apg-web .meta-apg-kstema{
    display: flex;
}
.feature-grid{
    grid-template-columns:
    repeat(3,1fr);
    padding: 0 30px;
}
.ks-apg-tema .feature-grid {
        grid-template-columns: repeat(2, 1fr);
}
.feature-item {
    align-items: flex-start;
}
.theme-grid {
    grid-auto-flow: column;
}
.apg-card-ft h3 {
    font-size: 26px;
}
.testimonial-grid{
    grid-template-columns:
    repeat(2,1fr);
    gap:30px;
}
.theme-section::before{
    top:-80px;
    height:100px;
}
.hd-apg-kstema h2, .section-heading h2 {
    font-size: 40px;
}
.footer-grid {
    flex-direction: row;
    gap: 20px;
}
.apg-pein {
    width: 20%;
}
.apg-komed {
    width: 30%;
}
.footer-column.inlok {
    width: 70%;
}
}
@media (hover: hover) {
.btn-detail:hover {
    background: #367f81;
}
.login-apg:hover, .btn-primary:hover{
    opacity:.8;
}
.member-dropdown a:hover, .apg-hd-menu .menu li:hover {
    background: #06a697;
    color: #fff;
}
.apg-bottom-cta-button:hover {
    background: #c54b02;
}
}