* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.hero-section {
    background-image: url('code.jpg');
    background-size: cover;
    background-position: center; 
    height: 100vh;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center;
    position: relative;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px; 
    background-color: #2f80ed;
}

.hamburger-menu {
    display: none; /* Sembunyikan di desktop */
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 5px;
    background-color: white;
    border-radius: 3px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.navbar ul {
    list-style-type: none;
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 5px 10px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 25px;
}

.button {
    display: inline-block;
    background-color: white;
    color: #000000;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background-color:#2f80ed;
}

.about-us {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.about-us h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #000000;
}

.about-us p {
    font-size: 16px;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
}

.services-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.services-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.contact-section {
    padding: 60px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-section input,
.contact-section textarea {
    padding: 15px 15px 15px 45px; 
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

contact-section input,
.contact-section textarea {
    padding: 15px 15px 15px 45px; 
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

.input-icon-container {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}

.input-icon-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-95%);
    color: #888;
    font-size: 18px;
}

.textarea-container i {
    top: 15px;
    transform: translateY(0); 
}

.input-icon-container input,
.input-icon-container textarea {
    padding-left: 45px;
}

.button-kirim {
    display: inline-block;
    background-color: #2f80ed;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button-kirim:hover {
    background-color: #1a5bb8;
}

footer {
    background-color: #2f80ed;
    color: white;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
    }

    .navbar ul {
        display: none; 
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #2f80ed;
        width: 100%;
        flex-direction: column;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px); 
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    .navbar ul.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar ul li {
     margin: 15px 0;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .button {
        padding: 10px 20px;
    }

}

    .services-section, .contact-section {
        padding: 40px 15px;
    }

    .services-section h2, .contact-section h2 {
        font-size: 28px;
    }

    html {
        scroll-behavior: smooth;
    }

.follow-text {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
    }

.social-icon {
    margin-top: 15px;
}

.social-icon a {
    color: white;
    font-size: 24px;
    margin-top: 10px;
    margin: 0 10px;
    text-decoration: none;
}

.social-icon a:hover {
    transform: translateY(-3px);
}