/* Reset & Variabel */
:root {
    --bg-blue-start: #1458FF;
    --bg-blue-end: #01C9FF;
    --accent-green: #d4f546;
    --text-white: #ffffff;
    --font-primary: 'Quicksand', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: url('assets/background.svg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Container Utama */
.main-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px; /* Ditambah padding atas agar lebih balance */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

/* Header */
header {
    margin-bottom: 40px;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Content Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px; /* Gap diperlebar agar pemisahan kiri-kanan lebih tegas */
    align-items: start;
    margin-bottom: auto; 
}

/* Kolom Kanan Adjustment */
.right-col {
    margin-top: 0px; /* Menurunkan posisi teks deskripsi dibanding H1 di kiri */
}

/* Typography Utama */
h1 {
    font-size: 2.4rem; /* Ukuran disesuaikan agar lebih impactful */
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 125px;
}

/* Highlight Tag */
.highlight-tag {
    background-color: var(--accent-green);
    color: #000;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
    border-radius: 4px;
}

.services-list {
    font-size: 1.05rem;
    font-weight: 600;
    opacity: 0.95;
}

/* Deskripsi Kolom Kanan */
.description {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 75px; /* Memberi ruang sebelum tombol */
    opacity: 0.9;
    font-weight: 500;
    max-width: 600px; /* Menjaga agar teks tidak terlalu melebar */
}

/* CTA Buttons Layout */
.cta-wrapper {
    display: flex;
    flex-direction: row; /* Memastikan tombol sejajar horizontal */
    gap: 24px; /* Jarak antar tombol sesuai desain */
    align-items: flex-start;
}

.cta-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-label {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap; /* Menjaga teks tombol tetap satu baris */
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-green {
    background-color: var(--accent-green);
    color: #000;
}

.btn-white {
    background-color: #fff;
    color: #000;
}

/* Footer Section */
footer {
    margin-top: 64px;
    text-align: center;
}

.tagline {
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
    opacity: 0.8;
}

.client-logos img {
    height: 95px;
    width: auto;
    object-fit: contain;
}

.copyright {
    font-size: 0.75rem;
    opacity: 0.5;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 25px;
    font-weight: 500;
}

/* Responsive Tablet & Mobile */
@media (max-width: 1189px) {
    h1 {
        margin-bottom: 75px;
        width: 450px;
    }
}


@media (max-width: 1024px) {
    h1 {
        margin-bottom: 56px;
        width: 450px;
    }

    .description {
        max-width: 500px;
    }

    .content-grid{
        gap: 40px;
    }

    .btn{
        gap: 8px;
        padding: 14px 16px;
    }

    .cta-wrapper{
        gap: 16px;
    }
}

/* Responsive Tablet & Mobile */
@media (max-width: 992px) {

    body{
        text-align: center;
    }
    /* Mengubah grid menjadi satu kolom dengan penamaan area */
    .content-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: 
            "judul"
            "deskripsi"
            "services"
            "buttons";
        gap: 0;
    }

    /* Mapping elemen ke area yang sudah ditentukan */
    
    /* Order 1: Judul Utama */
    .left-col h1 {
        grid-area: judul;
        font-size: 2.5rem;
        margin-bottom: 32px;
        width: 100%;
    }

    /* Order 2: We're currently refining... */
    .right-col .description {
        grid-area: deskripsi;
        margin-top: 0;
        margin-bottom: 32px;
        max-width: 100%;
    }

    /* Order 3: We work with brands... (Highlight Tag + List) */
    .left-col .services-box {
        grid-area: services;
        margin-bottom: 48px;
    }

    /* Order 4: CTA Buttons */
    .right-col .cta-wrapper {
        grid-area: buttons;
        flex-direction: row; /* Tetap sejajar horizontal */
        gap: 24px;
        margin-bottom: 60px;
    }

    /* Menghilangkan margin/padding bawaan kolom agar tidak mengganggu grid-area */
    .left-col, .right-col {
        display: contents; /* Membuat pembungkus kolom seolah tidak ada sehingga anak-anaknya bisa diatur grid */
    }

    .right-col {
        margin-top: 0;
    }

    .cta-wrapper{
        margin-left: 225px;
    }

    footer {
        margin-top: 40px;
    }
}

@media (max-width: 875px) {
    .cta-wrapper{
        margin-left: 165px;
    }

}

@media (max-width: 768px) {
    .cta-wrapper{
        margin-left: 110px;
    }

}

@media (max-width: 625px) {
    .cta-wrapper{
        margin-left: 35px;
    }

}

@media (max-width: 576px) {
    .main-container {
        padding: 30px 20px;
    }

    .left-col h1 {
        font-size: 2rem;
    }

    .right-col .cta-wrapper {
        flex-direction: column; /* Stack tombol hanya di mobile kecil */
        gap: 16px;
        display: flex;
        justify-content: center; 
        align-items: center;
        margin-left: 0px;
        margin-bottom: 40px;
    }

    footer {
        margin-top: 8px;
    }

    .client-logos img {
        height: 80px;
    }
}