:root{
    --gradient: linear-gradient(135deg, #2a7b7a, #3ca3a9);
}

*{
    font-family: 'Open Sans', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    text-decoration: none;
    outline:none;
    transition: all .2s linear;
}

*::selection{
    background:#fff;
    color:#333;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    background:#333;
}

section{
    padding:0 7%;
}

.btn{
    padding: 1.6rem 5rem;
    font-size: 2rem;
    margin-top: 1rem;
    cursor: pointer;
    border:none;
    background:var(--gradient);
    color:#fff;
}

.btn:hover{
    background:#fff;
    color:#333;
}

.heading{
    text-align: center;
    font-size: 4rem;
    color: #fff;
    padding: 1rem;
    /* padding-top: 8.5rem; */
    /*width: 70rem;*/
    margin-top: 3rem;
}

header{
    width:100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top:0; left: 0;
    background:var(--gradient);
    z-index: 1000;
    padding:2rem 7%;
}

header .logo{
    font-size: 2.5rem;
    color:#fff;
}

header .navbar ul{
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

header .navbar ul li a{
    font-size: 2rem;
    margin-left: 2rem;
    color:#fff;
    position: relative;
}

header .navbar ul li a::before{
    content: '';
    position: absolute;
    bottom:-.5rem; right:0;
    height:.2rem;
    width:0%;
    background:#fff;
    transition: .2s linear;
}

header .navbar ul li a.active::before,
header .navbar ul li a:hover::before{
    left:0;
    width:100%;
}

header #menu{
    font-size: 3rem;
    color:#fff;
    cursor: pointer;
    display: none;
}

.home {
    position: relative; /* Tambahkan posisi relative */
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 1rem;
    margin: 0;
    z-index: 6;
    overflow: hidden; /* Pastikan tidak ada overflow dari pseudo-element */
}

/* Overlay Transparan */
.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #333, #444);
    background-image: url('/img/pattern.svg');
    background-size: cover;	
	opacity: 0.4;
    background-size: 20%;
    mix-blend-mode: normal;
    background-position: center;
    z-index: -1; /* Agar tidak menutupi konten */
}

.home .image{
    padding:1rem;
    flex:1 1 40rem;
    text-align: center;
}

.home .image img{
    /* height: 70vh; */
    padding-top: 4rem;
}

.home .content{
    padding:1rem;
    flex:1 1 40rem;
}

.home .content h1{
    font-size: 6rem;
    color:#ffcc00;
	font-weight:600;
}

.home .content p{
    font-size: 2.1rem;
    color:#eee;
    padding:1rem 0;
}

.core{
    min-height: 53vh;
}

.core .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.core .row .image{
    text-align: center;
    flex:1 1 30rem;
}

.core .row .image img{
    height: 65vh;
    padding:3rem 0;
}

.core .row .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex:1 1 70rem;
}

.core .row .box-container .box{
    margin:2rem;
    padding:2rem;
    width:40rem;
    box-shadow: 0 0 1rem rgba(0,0,0,.5);
    background:#444;
    border-radius: .5rem;
}

.core .row .box-container .box:hover{
    background:var(--gradient);
}

.core .row .box-container .box:hover i{
    color:#fff;
}

.core .row .box-container .box h3{
    font-size: 2rem;
    color:#fff;
}

.core .row .box-container .box h3 i{
    color:#3ca3a9;
    padding-right: .7rem;
}

.core .row .box-container .box p{
    font-size: 1.3rem;
    color:#eee;
    padding:1rem 0;
}

.about{
    background:#222;
}

.about .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 0rem;
}

.about .row .image{
    flex:1 1 45rem;
    text-align: center;
}

.about .row .image img{
    width:85%;
    border-radius: .5rem;
}

.about .row .content{
    flex:1 1 45rem;
    padding: 2.5rem;
}

.about .row .content h3{
    font-size: 3.5rem;
    color:#ffcc00;
}

.about .row .content h4{
    font-size: 3rem;
    color:#fff;
}

.about .row .content p{
    font-size: 1.8rem;
    color:#eee;
    padding:1rem 0;
}

.about .row .content p i{
    padding-right: .5rem;
    color:#3ca3a9;
}

.features{
    min-height: 0vh;
}

.features .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.features .box-container .box{
    text-align: center;
    margin: 1.5rem;
    padding: 1rem;
    border: .2rem solid #fff;
    width: 69rem;
}

.features .box-container .box:hover{
    background:var(--gradient);
}

.features .box-container .box i{
    height:7rem;
    width:7rem;
    line-height: 7rem;
    text-align: center;
    border-radius: 50%;
    background:#fff;
    color:#333;
    font-size: 3rem;
    margin:1rem 0;
}

.features .box-container .box h3{
    color:#fff;
    font-size: 3rem;
}

.features .box-container .box p{
    color:#eee;
    font-size: 1.7rem;
    padding:1rem .5rem;
}

.product{
	background: #222;
	}

.product .container {
	text-align: center;
    padding: 20px;
	margin-top: 4em;
    }
.product .promo-title {
    font-size: 3em;
	font-weight: bold;
    color: white;
        }
        .product .promo span {
            position: relative;
            display: inline-block;
            padding-bottom: 3px;
        }
        .product .promo span::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, #ffcc00, #ff6600);
            border-radius: 3px;
			margin-bottom: 5px;
        }
        .product .subheading {
            font-size: 1.5em;
            font-weight: bold;
            color: white;
            margin-bottom: 10px;
        }
        .product .countdown {
            display: flex;
            justify-content: center;
            gap: 20px;
            font-size: 2em;
            font-weight: bold;
            color: #00d4ff;
            margin-bottom: 20px;
        }
        .product .time-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 15px 25px;
            border-radius: 10px;
        }
        .product .lbl {
            font-size: 0.8em;
            color: #ddd;
            margin-top: 5px;
        }
        .product .box-container {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        .product .box {
            background: rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 10px;
            display: flex;
            flex-direction: row;
            align-items: center;
            width: 600px;
        }
        .product .image {
            flex: 0 0 200px;
        }
        .product .image img {
            width: 100%;
            border-radius: 10px;
        }
        .product .content {
            flex: 1;
            text-align: left;
            padding-left: 20px;
        }
        .product .content h3 {
            font-size: 1.3em;
            margin: 10px 0;
			color: #ffff;
		font-weight: 600;
        }
		.product .content p {
        font-size: 1em;
        margin: 10px 0;
		color: #ffff;
        }
        .product .strike {
            text-decoration: line-through;
            color: #ff6666;
            font-size: 1.2em;
        }
        .product .price {
            font-size: 1.5em;
            font-weight: bold;
            color: #ffcc00;
        }
        .product .btn {
            background: var(--gradient);
            color: white;
            border: none;
            padding: 15px 20px;
            cursor: pointer;
            border-radius: 5px;
            font-size: 1em;
        }
        .product .btn:hover {
            opacity: 0.8;
        }

.footer{
    min-height: 4rem;
}

.footer .credit{
    color:#fff;
    background:#333333;
    text-align: center;
    font-size: 2rem;

}

/* testi */

.testi {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial {
    position: relative;
    max-width: 700px;
    width: 100%;
    padding: 1px 0;
    overflow: hidden;
}
.testimonial .image {
	height: auto;
    width: 55rem;
    object-fit: cover;
    border-radius: 3%;
}
.testimonial .slide {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	row-gap: 5px;
	padding: 0 0 4rem 0;
	margin-top: 3rem;
	width: 100%;
	background: var(--gradient);
	border-radius: 3%;
}
.slide p {
	text-align: center;
	padding: 0 160px;
	font-size: 2rem;
	font-weight: 500;
	color: #ffffff;
}
.slide .quote-icon {
	font-size: 30px;
	color: #4070f4;
}
.slide .details {
	display: flex;
	flex-direction: column;
	align-items: center;
	}
.details .name {
	font-size: 2rem;
	font-weight: 600;
	color: #ffffff;
	}
	
/* swiper button css */
.nav-b {
	height: 40px !important;
	width: 40px !important;
	border-radius: 50%;
	transform: translateY(30px);
	background-color: rgba(0, 0, 0, 0.1);
	transition: 0.2s;
	}
.nav-b:hover {
	background-color: rgba(0, 0, 0, 0.2);
	}
.nav-b::after,
.nav-b::before {
	font-size: 20px;
	color: #fff;
	}
.swiper-pagination-bullet {
	background-color: rgba(0, 0, 0, 0.8);
	}
.swiper-pagination-bullet-active {
	background-color: #ffffff;
	}

/* media queries  */

@media (max-width:768px){

    html{
        font-size: 55%;
    }

    header #menu{
        display: block;
    }

    header .navbar{
        position: fixed;
        top:-120%; left: 0;
        width:100%;
        background:#fff;
    }

    header .navbar ul{
        flex-flow: column;
        padding:2rem;
    }

    header .navbar ul li{
        width:100%;
        text-align: center;
    }

    header .navbar ul li a{
        display: block;
        background:var(--gradient);
        margin:1rem 0;
        padding:1rem;
        font-size: 2.5rem;
        z-index: 0;
    }

    header .navbar ul li a::before{
    height:100%;
    bottom:0;
    z-index: -1;
    background:#333;
    }

    .fa-times{
    transform: rotate(180deg);
    }

    header .navbar.nav-toggle{
    top:7.4rem;
    }

    .home .content{
    text-align: center;
    }

    .core .row .image{
    display: none;
    }

    .contact .content{
    padding:3rem 0;
    }
	
	.core .row .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: no-wrap;
    flex:1 1 70rem;
	}
	
	.core .row .box-container .box p{
	font-size: 1.7rem;
    color: #eee;
    padding: 1rem 0;
	}
/*
	.product .box-container .box .content h3{
    font-size: 3rem;
    color:#fff;
	text-align: center;
	}

	.product .box-container .box .content p{
    font-size: 1.7rem;
    color:#eee;
	text-align: center;
	padding: 0rem;
	}
	
	.product .box-container .box .content .strike{
    font-size: 1.8rem;
    color:#999999;
	text-decoration-line: line-through;
	text-decoration-color: red;
	text-align: center;
	}
	
	.product .box-container .box .content .price{
    font-size: 3rem;
    color:#fff;
	text-align: center;
	}*/
	
	.product .box {
                flex-direction: column;
                align-items: center;
                text-align: center;
                width: 100%;
            }
            .product .content {
                padding-left: 0;
            }
	
	.testimonial .image {
	height: auto;
    width: 100%;
    object-fit: cover;
	}
	
	.testimonial .slide {
	padding: 0 0 4rem 0;
	margin-top: 3rem;
	border-radius: 3%;
	}
}

@media (max-width:500px){

    html{
        font-size: 50%;
    }
	
	.home{
        min-height: 50vh;
		/*display: flex;*/
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
		background:url(https://komala.pages.dev/img/bg-hero.webp) repeat;
		background-size: cover;
		background-position: center;
		background-attachment: fixed;
		padding-top: 1rem;
	}

    .home .content h1{
        font-size: 4rem;
		color: #ffcc00;
		font-weight:bold;
    }

    .home .image img{
        height:auto;
        width:300px;
		padding-top: 0rem;

    }

    .heading{
        width: auto;
    }

    .product .box-container .box{
        flex-flow: column;
    }

    .product .box-container .box .image img{
        width:85%;
        border:none;
    }
	
	.about .row .content p {
    font-size: 2.3rem;
	}
	
	.product .content {
	text-align: center;
	}
}