@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh; /* tinggi halaman web nya */
    background: #212529; /* warna latar belakang */
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 20px;
}

.navbar h2 {
    color: #ffb742; /* Warna Kiri Atas */
    font-weight: 600;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    list-style: none;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    margin-right: 25px;
    transition: color 0.3s ease;
}

.navbar ul li:hover a {
    color: #ffb742;
}

.navbar ul li:last-child a {
    margin: 0;
}

.dm-btn {
    background-color: hsl(91, 100%, 51%);
    padding: 6px 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;    
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.dm-btn:hover{
    background: hsl(88, 100%, 60%);
}

.main{
    height: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main h4 {
    font-size: 32px;
    color: #fff;
    font-weight: 600;
}

.main h4 span {
    color: hsl(91, 100%, 51%);
    text-decoration: underline;
}

.main p.title {
    font-size: 44px;
    color: #fff;
    font-weight: 600;
    margin-top: 8px;
}

.main p.subtitle {
    font-size: 16px;
    color: #ccc;
    margin-top: 20px;
}

.main img {
    width: 200px;
    height: 200px;
    margin-top: 100px;
}

.guarantee{
    margin-top: 50px;
    padding: 0 14px;
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
}

.guarantee .item{
    background: #292b2e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100%;
    border-radius: 10px;
    padding: 0 30px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guarantee .item:hover {
    border-color:#ffb742;
}

.guarantee .item .icon {
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.guarantee .item:hover .icon{
    background-color: #ffb742;
}

.guarantee .item .icon i {
    font-size: 30px;
}

.guarantee .item .info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guarantee .item .info h3 {
    color: #ffb742;
    font-size: 28px;
}

.guarantee .item .info p {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.guarantee .item > i {
    color: #fff;
    font-size: 30px;
    transition: color 0.3s ease;
}

.guarantee .item:hover > i{
    color: #ffb742;
}

.seprator {
    margin: 50px 50px 30px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-block;
    color: #ffb742;
    border-radius: 12px;
}

.about{
    display: flex;
    color:#ffb742;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 0 50px;
}

.about img{
    width: 170px;
}

.about .info h3 {
    color: #ffb742;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.about .info p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
}

.about .info button {
    margin-top: 20px;
}

footer{
    position: relative;
    background: #1c1c1c;
    padding: 80px 50px 40px;
    margin-top: 100px;
}

footer .start{
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    background-color: #ffb742;
    padding: 30px 25px;
    border-radius: 15px;
    width: 70%;
    top: -16%;
    left: 15%;
}

footer .start p {
    font-size: 13px;
    width: 35%;
}

footer .start button {
    background: transparent;
    border: 1px solid #000;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

footer .start button:hover {
    background-color: #fff;
    border-color: #fff;
}

footer .cols {
    display: flex;
    align-items: start;
}

footer .cols .about-col {
    flex: 3;
}

footer .cols .about-col h3 {
    color: #ffb742;
    margin-bottom: 20px;
}

footer .cols .about-col p {
    color: #ccc;
    font-size: 13px;
}

footer .cols .links-col {
    flex: 3;
}

footer .cols .links-col h4, footer .cols .news-col h4 {
    color: #fff;
    margin-top: 20px;
}

footer .cols .links-col a {
    display: block;
    text-decoration: none;
    color: #7b7b7b;
    font-size: 14px;
    line-height: 26px;
    transition: color 0.3s ease;
}

footer .cols .links-col a:hover {
    color: #ffb742;
}

footer .cols .news-col {
    flex: 3;
}

footer .cols .news-col p {
    color: #7b7b7b;
    font-size: 15px;
}

footer .cols .news-col form {
    width: 100%;
    margin-top: 20px;
    position: relative;
    color: #fff;
}

footer .cols .news-col form input {
    width: 100%;
    background: #212529;
    border: none;
    padding: 13px;
    border-radius: 100px;
    font-weight: 400;
    font-size: 13px;
}

footer .cols .news-col form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #ffb742;
    border: none;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

footer .cols .news-col form button:hover {
    background-color: #fb8c00;
}

footer .cols .news-col form button i {
    font-size: 26px;
}

@media screen and (max-width: 1100px) {
    .guarantee {
        flex-wrap: wrap;
        gap: 10px;
    }

    .guarantee .item {
        flex-basis: 49%;
    }

    footer {
        margin-top: 150px;
    }

    footer .start {
        width: 90%;
        left: 5%;
        top: -20%;
    }

    footer .cols {
        flex-wrap: wrap;
    }

    footer .cols .about-col {
        flex-basis: 50%;
    }

    footer .cols .links-col {
        flex-basis: 50%;
    }

    footer .cols .news-col {
        flex-basis: 50%;
    }
}

@media screen and (max-width: 700px) {
    .navbar button{
        display: none;
    }

    .main h4 {
        font-size: 24px;
    }

    .main p.title {
        font-size: 36px;
    }

    .main p.subtitle {
        font-size: 14px;
    }

    .guarantee .item {
        flex-basis: 100%;;
    }

    .about {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 650px) {
    .navbar {
        justify-content: center;
    }

    .navbar h2 {
        display: none;
    }

    .navbar ul li a {
        font-size: 14px;
    }

    .main {
        margin-top: 50px;
        height: 320px;
        justify-content: start;
    }

    .main h4 {
        font-size: 20px
    }

    .main p.title {
        font-size: 28px;
    }

    .main p.subtitle{
        font-size: 12px;
    }

    .main img{
        margin-top: 40px;
        width: 150px;
        height: 150px;
    }

    footer .start {
        top: -8%;
    }

    footer .start p {
        display: none;
    }

    footer .cols .about-col {
        flex-basis: 100%;
        margin-bottom: 40px;
    }

    footer .cols .links-col {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    footer .cols .news-col {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 480px) {
    .main p.title{
        font-size: 18px;    
    }

    .main p.subtitle{
        font-size: 10px;
    }

    .guarantee .item .info h3 {
        font-size: 20px;
    }

    .guarantee .item .info p {
        font-size: 12px;
    }
}