
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* HEADER */

.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
}

.nav {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
}

.logo span {
    background: #075fc7;
    color: white;
    padding: 8px 10px;
    border-radius: 8px;
}

.logo strong {
    color: #075fc7;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #222;
    font-size: 14px;
    font-weight: 500;
}

nav a:hover {
    color: #075fc7;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 25px;
}


/* HERO */

.hero {
    background: linear-gradient(120deg, #eef6ff, #fff);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.subtitle {
    color: #075fc7;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #075fc7;
}

.hero-text > p:not(.subtitle) {
    color: #666;
    line-height: 1.8;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
}

.hero-button {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: #075fc7;
    color: white;
}

.btn-outline {
    border: 2px solid #075fc7;
    color: #075fc7;
}


/* SECTION */

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title p {
    color: #075fc7;
    font-size: 13px;
    font-weight: 600;
}

.section-title h2 {
    font-size: 32px;
    margin: 8px 0;
}

.section-title span {
    color: #777;
}


/* CATEGORY */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: .3s;

}

.category:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.category img {
    width: 100%;
    height: 100px;
    object-fit: contain;


}

.category h3 {
    margin-bottom: 10px;
}

.category p {
    color: #777;
    font-size: 14px;
    align-items: center;
    justify-content: flex-start;
    text-align: left;

}



/* PRODUCT */

.product-section {
    background: #f7f9fc;
}

/* =========================
   HALAMAN KATEGORI PRODUK
========================= */

.product-header {
    text-align: center;
    padding: 60px 20px 30px;
    background: #f5f8fc;
}

.product-header h1 {
    color: #075fc7;
    font-size: 35px;
    margin-bottom: 10px;
}

.product-header p {
    color: #777;
}


/* DAFTAR PRODUK */

.product-list {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* CARD PRODUK */

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}


/* GAMBAR */

.product-item img {
    width: 100%;
    height: 220px;

    object-fit: contain;
    padding: 15px;

    box-sizing: border-box;
}


/* INFORMASI */

.product-item-info {
    padding: 20px;
}

.product-item-info span {
    color: #075fc7;
    font-size: 13px;
    font-weight: bold;
}

.product-item-info h2 {
    margin: 8px 0;
}

.product-item-info p {
    color: #777;
    line-height: 1.6;
}

.product-item-info h3 {
    color: #075fc7;
    margin: 15px 0;
}


/* TOMBOL */

.btn-product {
    display: inline-block;

    padding: 10px 18px;

    background: #075fc7;
    color: white;

    text-decoration: none;

    border-radius: 8px;

    transition: 0.3s;
}

.btn-product:hover {
    background: #004c9e;
}


/* KEMBALI */

.back-button {
    text-align: center;
    padding: 20px 20px 50px;
}

.back-button a {
    color: #075fc7;
    text-decoration: none;
}


/* =========================
   HP
========================= */

@media (max-width: 768px) {

    .product-header {
        padding: 40px 20px 20px;
    }

    .product-header h1 {
        font-size: 28px;
    }

    .product-list {
        grid-template-columns: 1fr;
        padding: 25px 20px;
    }

    .product-item img {
        height: 200px;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
}

.product img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info small {
    color: #075fc7;
}

.product-info h3 {
    margin: 8px 0;
}

.product-info p {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

.product-info a {
    color: #075fc7;
    text-decoration: none;
    font-weight: 600;
}


/* ABOUT */

.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p:not(.subtitle) {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* SOLUTION */

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.solution {
    text-align: center;
    padding: 30px 15px;
    background: #f7f9fc;
    border-radius: 15px;
}

.solution i {
    font-size: 35px;
    color: #075fc7;
    margin-bottom: 15px;
}

.solution p {
    color: #777;
    font-size: 14px;
    margin-top: 8px;
}


/* PORTFOLIO */

.portfolio {
    background: #f7f9fc;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.portfolio-item div {
    padding: 20px;
}

.portfolio-item p {
    color: #777;
    font-size: 14px;
}


/* CONTACT */

.contact {
    background: #075fc7;
    color: white;
}

.contact .subtitle {
    color: #cfe5ff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact h2 {
    font-size: 35px;
    margin-bottom: 15px;
}

.contact p {
    line-height: 1.8;
}

.contact-info > div {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info i {
    font-size: 20px;
}

.contact .btn-primary {
    background: white;
    color: #075fc7;
    margin-top: 15px;
}


/* FOOTER */

footer {
    background: #101820;
    color: white;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-grid h3 {
    margin-bottom: 15px;
}

.footer-grid p {
    color: #aaa;
    line-height: 1.7;
}

.footer-grid a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
}

.social {
    display: flex;
    gap: 15px;
}

.social a {
    font-size: 20px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding: 20px;
    color: #888;
    font-size: 13px;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .container {
        width: 92%;
    }

    .nav {
        min-height: 65px;
    }

    nav {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,.1);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-image {
        order: -1;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 27px;
    }

    .category-grid,
    .product-grid,
    .portfolio-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 29px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-button {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
    }

}