/* Variabel Global - Skema Warna Dark Profesional & Elegan */
:root {
    --primary-color: #007bff; /* Biru terang untuk aksi utama/highlight */
    --secondary-color: #6c757d; /* Abu-abu sedang untuk teks sekunder */
    --background-dark: #121212; /* Latar belakang paling gelap */
    --background-medium: #1a1a1a; /* Latar belakang bagian */
    --background-light: #2c2c2c; /* Latar belakang elemen kartu/kontras */
    --text-color-light: #e0e0e0; /* Warna teks utama terang */
    --text-color-faded: #a0a0a0; /* Warna teks pudar */
    --border-color: #333333; /* Warna border/divider */
    --accent-color: #ffc107; /* Kuning untuk sedikit aksen atau ikon */
    --font-family-primary: 'Poppins', sans-serif;
    --font-family-secondary: 'Roboto', sans-serif;
}

/* Reset dan Gaya Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    background-color: var(--background-dark);
    color: var(--text-color-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3; /* Sedikit lebih gelap saat hover */
}

h1, h2, h3 {
    font-family: var(--font-family-secondary);
    color: var(--text-color-light);
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
}

p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-color-faded);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header */
.main-header {
    background-color: var(--background-dark);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo a {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.main-header .nav-links {
    display: flex;
}

.main-header .nav-links li {
    margin-left: 30px;
}

.main-header .nav-links a {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-color-light);
    padding: 5px 0;
    position: relative;
}

.main-header .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 50%;
    bottom: -5px;
    transition: width 0.3s ease, left 0.3s ease;
}

.main-header .nav-links a:hover::after,
.main-header .nav-links a.active::after {
    width: 100%;
    left: 0;
}


/* Bagian Umum (Section) */
.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 50px 20px;
    overflow: hidden; /* Tambahan bagus untuk memastikan tidak ada yang meluber */

}
.hero-carousel {
            
            z-index: 0;
        }

        .hero-carousel amp-img {
            object-fit: cover;
            object-position: center;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7); /* Overlay gelap */
            z-index: 1;
        }

        .hero-content {
            max-width: 900px;
            position: relative; /* Di atas overlay */
            z-index: 2;
        }


.hero-section .tagline {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: var(--text-color-light);
    animation: fadeIn 1.5s ease-out 0.5s backwards;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 18px 35px;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    animation: fadeInUp 1s ease-out 1s backwards;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.6);
}




/* About Section */
.about-section {
    background-color: var(--background-medium);
}

.about-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-grid .about-text {
    flex: 2;
}

.about-grid .about-image {
    flex: 1;
    text-align: center;
}

.about-grid .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services-section {
    background-color: var(--background-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.service-card .service-icon {
    font-size: 3.5em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.service-card ul {
    margin-top: 15px;
    list-style-type: disc;
    text-align: left;
    margin-left: 20px;
    color: var(--text-color-faded);
}

.service-card ul li {
    margin-bottom: 5px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--background-medium);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-color-light);
}

.testimonial-card cite {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--accent-color);
}

/* Contact Section */

.contact-section {
    background-color: var(--background-dark);
    text-align: center;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 50px auto;
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color-light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--background-medium);
    color: var(--text-color-light);
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form .cta-button {
    width: auto;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.1em;
}
.contact-cta-wrapper {
    margin-bottom: 50px; /* Jarak antara tombol dan info kontak */
}

.contact-cta-button {
    /* Gaya untuk tombol CTA di bagian kontak */
    background-color: #229ED9; /* Warna ikon Telegram */
    color: #fff;
    padding: 18px 35px;
    font-size: 1.2em; /* Sedikit lebih kecil dari CTA hero, tapi tetap menonjol */
    box-shadow: 0 5px 15px rgba(34, 158, 217, 0.4); /* Shadow sesuai warna Telegram */
    display: inline-flex; /* Untuk menengahkan ikon jika ditambahkan */
    align-items: center;
    justify-content: center;
}

.contact-cta-button:hover {
    background-color: #1a8ccb; /* Warna hover sedikit lebih gelap */
    box-shadow: 0 8px 20px rgba(34, 158, 217, 0.6);
}

.contact-info {
    margin-top: 40px; /* Sesuaikan jarak setelah tombol */
    font-size: 1.1em;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-color-faded);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    color: var(--accent-color); /* Warna aksen untuk ikon email/whatsapp/live chat */
    margin-right: 10px;
    font-size: 1.2em;
}
/* Footer */
.main-footer {
    background-color: var(--background-dark);
    color: var(--text-color-faded);
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.95em;
}

.main-footer p {
    margin: 5px 0;
}

/* Responsif */
        @media (max-width: 992px) {
            h1 {
                font-size: 2.8em;
            }
            h2 {
                font-size: 2.2em;
            }
            .main-header .nav-links li {
                margin-left: 20px;
            }
            .about-grid {
                flex-direction: column;
            }
            .about-grid .about-image {
                order: -1; /* Gambar di atas teks di mobile */
                margin-bottom: 30px;
            }
        }

        @media (max-width: 768px) {
            .main-header .container {
                flex-direction: column;
            }
            .main-header .nav-links {
                margin-top: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }
            .main-header .nav-links li {
                margin: 5px 10px;
            }
            .hero-section {
                min-height: 70vh;
                padding: 80px 20px;
            }
            h1 {
                font-size: 2.2em;
            }
            .hero-section .tagline {
                font-size: 1.2em;
            }
            .cta-button {
                padding: 15px 25px;
                font-size: 1.1em;
            }
            h2 {
                font-size: 1.8em;
                margin-bottom: 40px;
            }
            .services-grid, .testimonials-grid, .blog-posts-grid {
                grid-template-columns: 1fr;
            }
            .contact-form { /* Ini harus dihapus/dikomentari dari CSS Anda juga */
                padding: 30px 20px;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 1.8em;
            }
            .hero-section .tagline {
                font-size: 1em;
            }
            .cta-button {
                padding: 12px 20px;
                font-size: 1em;
            }
            .main-header .logo a {
                font-size: 1.5em;
            }
            .main-header .nav-links {
                font-size: 0.9em;
            }
            .main-header .nav-links li {
                margin: 3px 5px;
            }
            p {
                font-size: 1em;
            }
            .section {
                padding: 60px 0;
            }
        }