* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f5f7fa;
    color: #1e293b;
    line-height: 1.6;
}

header {
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #1d4ed8;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    gap: 40px;
    position: relative;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    min-height: 90vh;
    overflow: hidden;
}

/* LEFT */
.hero-left {
    max-width: 520px;
    z-index: 2;
}

.hero-left h2 {
    font-size: 44px;
    line-height: 1.3;
}

.hero-left p {
    margin: 20px 0 30px;
    color: #64748b;
}

/* BUTTON */
.hero-btn {
    display: flex;
    gap: 15px;
}

.btn.secondary {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-right img {
    width: 420px;
    max-width: 100%;
    object-fit: contain;
    transform: translateY(20px);
}

/* BACKGROUND BIAR NYATU */
.hero-right::before {
    content: "";
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #dbeafe, transparent);
    border-radius: 50%;
    z-index: -1;
}

/* IMAGE */
.hero-image {
    position: relative;
}

.hero-image img {
    max-width: 420px;
    width: 100%;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

/* FLOAT ANIMATION (biar hidup) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* BACKGROUND SOFT GRADIENT */
.hero::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, #dbeafe, transparent);
    z-index: -1;
}

.btn {
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #1d4ed8;
}

.hero img {
    margin: 0 15px 15px 0; /* Memberi jarak di bawah dan kanan */
    max-width: 650px;
}

.section {
    padding: 60px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.footer {
    background: #0f172a;
    color: #cbd5f5;
    padding: 30px 8%;
    text-align: center;
}

.highlight {
    color: #2563eb;
    font-weight: bold;
}
section {
    padding: 70px 20px;
    text-align: center;
}

h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

p.sub {
    color: #666;
    margin-bottom: 40px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

/* CARD */
.card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}

/* ICON */
.icon {
    font-size: 32px;
    color: #2563eb;
    margin-bottom: 15px;
}

/* CONTACT */
.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input, 
.contact textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    resize: none;
}

.contact button {
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact button:hover {
    background: #1e40af;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media(max-width:600px){
    h2 { font-size: 24px; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        margin: 0 10px;
    }

   .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 5%;
        min-height: auto;
    }

    .hero-left h2 {
        font-size: 26px;
    }

    .hero-btn {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-right {
        justify-content: center;
        margin-top: 30px;
    }

    .hero-right img {
        width: 240px;
        transform: none;
    }

    .hero-right::before {
        width: 250px;
        height: 250px;
        right: 50%;
        transform: translate(50%, -50%);
    }
    .section {
        padding: 40px 5%;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .hero-text {
        max-width: 100%;
    }
}