﻿/* =========================
   ROOT (MODERN NOVA STYLE)
========================= */
:root {
    --bg: #f8fafc;
    --bg-soft: #ffffff;
    --bg-alt: #f1f5f9;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-soft: rgba(37,99,235,.1);
    --border: rgba(0,0,0,0.06);
}

/* =========================
   BASE
========================= */
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow:auto;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 1600px;
    margin: auto;
    padding: 0 30px;
}

/* =========================
   TOPBAR (NOVA STYLE)
========================= */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3000;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.topbar-container {
    max-width: 1600px;
    margin: auto;
    height: 70px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.topbar-logo img {
    height: 42px;
}

/* =========================
   MENU
========================= */
.topbar-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

    /* LINK */
    .topbar-menu a {
        position: relative;
        text-decoration: none;
        font-size: 14px;
        color: var(--muted);
        font-weight: 500;
        transition: .25s;
    }

        /* UNDERLINE ANIMATION */
        .topbar-menu a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0%;
            height: 2px;
            background: var(--primary);
            transition: .3s;
        }

        .topbar-menu a:hover {
            color: var(--text);
        }

            .topbar-menu a:hover::after {
                width: 100%;
            }

/* =========================
   CTA BUTTON
========================= */
.btn {
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    transition: .25s;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    border: none;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(37,99,235,.25);
    }

.btn-outline {
    border: 1px solid var(--border);
    background: white;
}

    .btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

/* =========================
   BURGER
========================= */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .burger span {
        width: 24px;
        height: 2px;
        background: var(--text);
    }

/* =========================
   SECTION
========================= */
.section {
    padding: 100px 0;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.section .container {
    position: relative;
    z-index: 2;
    max-width: 1500px;
}
.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    margin-bottom: 50px;
}

.section-alt {
    padding: 100px 0;
    background: var(--bg-alt);
    align-items: center;
    justify-content: center;
    text-align: center;
}
    .section-alt .container {
        position: relative;
        z-index: 2;
        max-width: 1500px;
    }


/* =========================
   HOME
========================= */

.section-first {
    height: 700px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(rgba(15,23,42,.75), rgba(15,23,42,.75)), url('/assets/img/banner/banner01.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .section-first::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(600px 300px at 20% 0%, rgba(59,130,246,.25), transparent), radial-gradient(500px 250px at 80% 100%, rgba(99,102,241,.25), transparent);
        z-index: 1;
    }

    .section-first .container {
        position: relative;
        z-index: 2;
        max-width: 900px;
    }

    .section-first h1 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    /* DESC */
    .section-first p {
        font-size: 16px;
        margin-bottom: 30px;
        opacity: 0.9;
    }

    /* BUTTON */
    .section-first .btn {
        padding: 12px 22px;
        border-radius: 10px;
        font-size: 15px;
        text-decoration:none;
    }



/* =========================
   PAGE
========================= */

.section-page {
    height: 700px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: black;
    background: linear-gradient(rgba(15,23,42,0), rgba(15,23,42,0)), url('/assets/img/banner/banner02.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .section-page::before {
        content: "";
        position: absolute;
        inset: 0;
        
        z-index: 1;
    }
    .section-page .page-detail {
        max-width: 1100px;
        z-index:2;
    }
    .section-page .container {
        position: relative;
        z-index: 2;
        margin-right:900px;
    }

    .section-page h1 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    /* DESC */
    .section-page p {
        font-size: 18px;
        margin-bottom: 30px;
        opacity: 0.9;
    }

    /* BUTTON */
    .section-page .btn {
        padding: 12px 22px;
        border-radius: 10px;
        font-size: 15px;
        text-decoration: none;
    }

/* =========================
   ROW (2 COLUMN FLEX)
========================= */
.content-row {
    min-width: 900px;
    max-width: 1000px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
}

/* =========================
   COLUMN
========================= */
.content-box {
    flex: 1;
}

    /* custom width */
    .content-box.left {
        flex: 0 0 40%;
        background:white;
        padding:20px;
       
    }
    .content-box-border.left {
        flex: 0 0 40%;
        background: white;
        padding: 20px;
        border:10px #2563eb;
        border-radius:30px;
    }

    .content-box.right {
        flex: 0 0 60%;
    }

/* =========================
   CONTENT TEXT
========================= */
.content-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.content-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 15px;
}

/* =========================
   CONTENT LIST
========================= */
.content-text-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

/* ITEM */
.content-text-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

/* CHECK ICON */
.content-text-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BULLET MODE */
.content-text-bullet {
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
}

/* =========================
   IMAGE GRID (AUTO ROW)
========================= */
.content-img-group {
    display: grid;
    /* 🔥 maksimal 2 per row */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ITEM */
.content-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 14px;
    padding: 15px;
    transition: .25s;
}

   

    /* HOVER */
    .content-img:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(59,130,246,.35), 0 6px 15px rgba(99,102,241,.25), 0 0 20px rgba(59,130,246,.25);
    }


/* =========================
   CUSTOM COLUMN IMAGE (OPTIONAL)
========================= */
.content-img-group.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.content-img-group.col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.general-box {
    width: 97%;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px 14px;
    background: #F0F1F2;
    padding: 20px;
}
    .general-box img {
        display:inline;
    }
/* =========================
   TAG BOX BASE
========================= */
.content-box-tag {
    display: inline-flex; /* 🔥 auto width sesuai text */
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.1);
    background: white;
    color: #1e293b;
    font-weight: 500;
    position: absolute;
    white-space: nowrap;
    /* modern shadow biru */
    box-shadow: 0 10px 20px rgba(59,130,246,.15), 0 2px 6px rgba(37,99,235,.15);
    transition: .25s ease;
}

    .content-box-tag:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(59,130,246,.25), 0 5px 10px rgba(37,99,235,.2);
    }

/* =========================
   POSITIONING
========================= */

/* TOP */
.content-csharpp {
}

.content-csharpp-left {
    left: 34%;
    transform: translateX(-50%);
}
.content-csharpp-right-center {
    top:1000px;
    left: 24%;
    transform: translateX(-50%);
}
.content-box-top-right {
    top: 10px;
    right: 10px;
}

/* MIDDLE */
.content-box-center-left {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.content-box-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.content-box-center-right {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

/* BOTTOM */
.content-box-bottom-left {
    bottom: 10px;
    left: 10px;
}

.content-box-bottom-center {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.content-box-bottom-right {
    bottom: 10px;
    right: 10px;
}


/* =========================
   PRODUCT SHOW CASE
========================= */
.product-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* jarak antar gambar */
    justify-content: flex-start;
    padding:50px;
}

.product-item {
    flex: 0 1 calc(25% - 20px); /* maksimal 4 gambar per baris */
    max-width: calc(25% - 20px); /* pastikan tidak melar */
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    padding:10px;
}

    .product-item img {
        width: 100%;
        display: block;
        margin-bottom:10px;
        
    }

    .product-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.product-meta {
    border-top: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

    .product-meta h3 {
        margin: 0 0 5px 0;
        font-size: 1.1em;
    }

    .product-meta p {
        margin: 2px 0;
        font-size: 0.9em;
        color: #555;
    }

/* Responsif: 3 kolom di layar menengah */
@media (max-width: 1200px) {
    .product-item {
        flex: 0 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

/* Responsif: 2 kolom di tablet kecil */
@media (max-width: 900px) {
    .product-item {
        flex: 0 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Responsif: 1 kolom di HP */
@media (max-width: 600px) {
    .product-item {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

/*=========================
    TERM AND CONDITIOM
==========================*/
.content-tnc {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

    .content-tnc ._tnc-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .content-tnc .section-title {
        font-size: 2rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 15px;
        color: #0a2540;
    }

    .content-tnc .section-sub {
        font-size: 1rem;
        text-align: center;
        max-width: 800px;
        margin: 0 auto 40px auto;
        color: #555;
    }

    .content-tnc ._tnc-block {
        margin-bottom: 40px;
    }

        .content-tnc ._tnc-block h2 {
            font-size: 1.5rem;
            color: #0a2540;
            border-bottom: 2px solid #0a2540;
            padding-bottom: 8px;
            margin-bottom: 20px;
        }

    .content-tnc ._tnc-table-wrapper {
        overflow-x: auto; /* scroll jika layar kecil */
    }

    .content-tnc ._tnc-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

        .content-tnc ._tnc-table th,
        .content-tnc ._tnc-table td {
            padding: 15px 20px;
            vertical-align: top;
            border: 1px solid #ddd;
            word-wrap: break-word;
        }

        .content-tnc ._tnc-table th {
            background-color: #f5f5f5;
            font-weight: 600;
            text-align: left;
            color: #0a2540;
        }

        .content-tnc ._tnc-table td strong {
            display: block;
            font-size: 1.05rem;
            margin-bottom: 5px;
            color: #0a2540;
        }

        .content-tnc ._tnc-table td p {
            margin: 5px 0;
            font-size: 0.95rem;
            color: #333;
        }

        .content-tnc ._tnc-table td ul {
            padding-left: 20px;
            margin: 5px 0;
        }

            .content-tnc ._tnc-table td ul li {
                margin-bottom: 5px;
                font-size: 0.95rem;
                color: #333;
            }

    .content-tnc ._tnc-footer {
        font-size: 0.85rem;
        text-align: center;
        color: #777;
        margin-top: 30px;
    }

/* Responsif: 2 kolom → 1 kolom di mobile */
@media (max-width: 768px) {
    .content-tnc ._tnc-table th,
    .content-tnc ._tnc-table td {
        display: block;
        width: 100%;
    }

    .content-tnc ._tnc-table th {
        text-align: left;
    }

    .content-tnc ._tnc-table td {
        margin-bottom: 20px;
        border: none;
        border-bottom: 1px solid #eee;
    }
}

/* ==============================
   Container Contact Us
================================= */
.content-contact-us {
    min-width: 900px;
    max-width: 1000px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    text-align: left;
}
.content-contact-us-box {
    flex: 1;
}
    .content-contact-us-box.left {
        flex: 0 0 50%;
        background: white;
        padding: 20px;
    }
    .content-contact-us-box.right {
        margin-top:-245px;
        gap:50px;
        flex: 0 0 25%;
        padding: 20px;
    }
.contact-form{
    gap:10px;
    padding:20px;
    margin-right:40px;
}
.content-contact-us .contact-form input,
.content-contact-us .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    margin:10px;
}
    .content-contact-us .contact-form input:focus,
    .content-contact-us .contact-form textarea:focus {
        border-color: #007bff;
        outline: none;
    }

.content-contact-us .contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.content-contact-us .contact-form button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
    margin-left:10px;
    
}

    .content-contact-us .contact-form button:hover {
        background-color: #0056b3;
    }
.content-contact-us .contact-info .info-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    margin-bottom:20px;
}

    .content-contact-us .contact-info .info-card i {
        font-size: 1.5rem;
        color: #007bff;
        min-width: 40px;
        text-align: center;
    }

    .content-contact-us .contact-info .info-card p {
        margin: 0;
        font-size: 1rem;
        color: #3a3f5c;
        line-height: 1.4;
    }


/* =========================
   WRAPPER (IMPORTANT)
========================= */
.content-box {
    position: relative; /* 🔥 WAJIB agar absolute bekerja */
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .content-row {
        min-width: unset;
        flex-direction: column;
        text-align: center;
    }

    .content-box.left,
    .content-box.right {
        flex: 1 1 100%;
    }

    .content-img-group {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* =========================
   GRID
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}

/* =========================
   CARD
========================= */
.card {
    background: white;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    transition: .3s;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,.08);
    }

/* BADGE */
.badge {
    display: inline-block;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 10px;
}

/* IMAGE */
.home-img {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .home-img img {
        height: 60px;
    }

/* CTA LINK */
.card-cta-row {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
}

    .card-cta-row:hover {
        text-decoration: underline;
    }

/* =========================
   ROW (2 TYPE)
========================= */
.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

    .row.reverse {
        direction: rtl;
    }

        .row.reverse > * {
            direction: ltr;
        }

/* =========================
   FOOTER (MODERN CLEAN)
========================= */
.footer {
    background: #0f172a; /* 🔥 dark navy modern */
    color: #cbd5f5;
    padding: 70px 20px 30px;
    font-size: 14px;
}

    /* CONTAINER */
    .footer .container {
        max-width: 1600px;
        margin: auto;
    }

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* TITLE */
.footer h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

/* TEXT */
.footer p {
    margin: 6px 0;
    color: #94a3b8;
    line-height: 1.6;
    transition: .2s;
}

    /* LINK EFFECT (biar terasa interaktif) */
    .footer p:hover {
        color: #e2e8f0;
        cursor: pointer;
    }

/* LOGO AREA (optional kalau mau tambah logo nanti) */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .footer-logo img {
        height: 36px;
    }

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(148,163,184,.15);
    text-align: center;
    font-size: 13px;
    color: #64748b;
}
/* =========================
   CONTACT ITEM
========================= */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    color: #94a3b8;
}

    .footer-contact-item .icon {
        font-size: 16px;
    }

/* =========================
   SOCIAL ICON
========================= */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,.05);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #cbd5f5;
        text-decoration: none;
        transition: .25s;
        font-size: 14px;
    }

        /* HOVER EFFECT */
        .footer-social a:hover {
            background: #3b82f6;
            color: white;
            transform: translateY(-3px);
        }
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1350px) {
    .section-page {
        min-width: 600px;
    }

        .section-page .page-detail {
            max-width: 450px;
            z-index: 2;
        }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 15px 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer h4 {
        margin-bottom: 10px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 640px) {
    .section-page{
        min-width:600px;
    }
    .section-page .page-detail {
        max-width: 450px;
        z-index: 2;
    }
    .burger {
        display: flex;
    }
    .section-first {
        padding: 120px 15px 80px;
    }

        .section-first h1 {
            font-size: 28px;
        }

        .section-first p {
            font-size: 14px;
        }
    .topbar-menu {
        position: absolute;
        top: 70px;
        right: 20px;
        width: 260px;
        background: white;
        border-radius: 16px;
        border: 1px solid var(--border);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        display: none;
    }

        .topbar-menu.active {
            display: flex;
        }

    .section-title {
        font-size: 26px;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .iam-footer-container {
        grid-template-columns: 1fr;
    }
}
