@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0056b3; /* Biru Korporat */
    --secondary-color: #007bff;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white-color: #fff;
    --box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.navbar {
    background: var(--white-color);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

.logo b {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: var(--dark-color);
    transition: all 0.3s ease-in-out;
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.8)), url('https://via.placeholder.com/1920x1080.png?text=Latar+Belakang+Teknologi') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 180px 0 120px;
    min-height: 70vh;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.domain-search-container {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 50px;
}

#domain-input {
    width: 100%;
    padding: 15px 25px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
}

#search-btn {
    padding: 15px 30px;
    border: none;
    background: var(--secondary-color);
    color: var(--white-color);
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: background 0.3s ease;
}

#search-btn:hover {
    background: #0069d9;
}

#domain-result {
    margin-top: 1rem;
    font-weight: 600;
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: var(--light-color);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text ul {
    list-style: none;
    margin-top: 1rem;
}

.about-text ul li {
    margin-bottom: 10px;
}

.about-text i {
    color: var(--primary-color);
    margin-right: 10px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Services Section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.features {
    text-align: center;
    margin-top: 50px;
}

.features h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.features ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.features li {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.features i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Testimonials Section */
.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    font-weight: 600;
    color: var(--dark-color);
}

/* Contact Section */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    border: none;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #004494;
}


/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 20px 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    z-index: 999;
}

/* Responsive Design */
@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--white-color);
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 1rem 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    footer .container {
        flex-direction: column;
        gap: 15px;
    }
}