/* ============================= */
/*       VARIABLES / THEME       */
/* ============================= */
:root {
    --primary: #001f3f;           /* warna utama biru gelap */
    --secondary: #2ecc71;         /* warna aksen hijau */
    --light: #f8f9fa;             /* background terang */
    --dark: #212529;              /* teks gelap */
    --gray: #6c757d;              /* teks sekunder */
    --logo-hatta: #ffffff;
    --logo-amp: #ffd700;
    --logo-associate: #2ecc71;
}

/* ============================= */
/*       GLOBAL RESET & BODY      */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #fff;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================= */
/*           LOGO STYLES          */
/* ============================= */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* jarak antara logo & teks */
}

/* ubah frame logo jadi bulat */
.logo-img {
    width: 40px;        /* ukuran logo */
    height: 40px;
    border-radius: 50%; /* ini yang bikin bulat */
    object-fit: cover;  /* biar gambar proporsional */
    border: 2px solid var(--secondary); /* optional: border hijau */
}

/* warna teks */
.logo-hatta { color: #ffffff; }      /* putih */
.logo-amp { color: #ffd700; }        /* kuning */
.logo-associate { color: #2ecc71; }  /* hijau */

/* ============================= */
/*            HEADER              */
/* ============================= */
header {
    background-color: var(--primary);
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    margin-left: 30px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: var(--secondary);
}
.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ============================= */
/*             HERO               */
/* ============================= */
.hero {
    background: linear-gradient(rgba(0,31,63,.8),rgba(0,31,63,.8)),
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80')
                no-repeat center center/cover;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}
.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}
.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-primary {
    background-color: var(--secondary);
    color: white;
}
.btn-primary:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ============================= */
/*           SECTIONS             */
/* ============================= */
section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================= */
/*           ABOUT US             */
/* ============================= */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap; /* biar responsive di layar kecil */
}
.about-text {
    flex: 1;
}
.about-text h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}
.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}
.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.about-image img {
    width: 100%;   /* full container */
    height: auto;  /* tetap proporsional */
    display: block;
    border-radius: 8px; /* biar nyambung sama container */
}

/* ============================= */
/*           SERVICES / FITUR      */
/* ============================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}
.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
}
.service-card ul { list-style: none; }
.service-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--gray);
}
.service-card ul li::before {
    content:'✓';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ============================= */
/*          PROCESS / KERJA KAMI  */
/* ============================= */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}
.process-steps::before {
    content:'';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary);
    z-index: 1;
}
.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}
.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 5px solid white;
}
.step h3 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 10px;
}
.step p { color: var(--gray); font-size: 14px; }

/* ============================= */
/*         TESTIMONIALS           */
/* ============================= */
.testimonials {
    background-color: #f8f9fa;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
    position: relative;
}
.testimonial-text::before {
    content: '"';
    font-size: 60px;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
}
.author-info h4 { color: var(--primary); margin-bottom:5px; }
.author-info p { color: var(--gray); font-size:14px; }

/* ============================= */
/*           CTA SECTION          */
/* ============================= */
.cta-section {
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(rgba(0,31,63,0.9), rgba(0,31,63,0.9)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') 
                no-repeat center center/cover;
    color: white;
}
.cta-section h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
}

/* ============================= */
/*          CONTACT SECTION       */
/* ============================= */
#contact {
    padding: 80px 20px;
    background-color: var(--light);
    text-align: center;
}
#contact .contact-container p {
    font-size: 20px;
    margin: 15px 0;
    line-height: 1.5;
}
#contact .contact-container .highlight {
    font-weight: 700;
    color: var(--primary);
}

/* ============================= */
/*           RESPONSIVE           */
/* ============================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 36px; }
    .about-content { flex-direction: column; }
    .process-steps { flex-direction: column; align-items: center; }
    .process-steps::before { display: none; }
    .step { margin-bottom: 40px; }
}

@media (max-width: 768px) {
    nav ul { display: none; }
    .mobile-menu { display: block; }
    .hero { padding: 150px 0 80px; }
    .hero h1 { font-size: 30px; }
    .cta-buttons { flex-direction: column; gap: 15px; }
    .btn { width: 100%; max-width: 300px; margin: 0 auto; }
    section { padding: 60px 0; }
    .section-title h2 { font-size: 30px; }
    .cta-section h2 { font-size: 32px; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .section-title h2 { font-size: 26px; }
    .cta-section h2 { font-size: 28px; }
    #contact .contact-container p { font-size: 18px; }
}

/* ============================= */
/*        DESKTOP SCALE UP LEBIH BESAR        */
/* ============================= */
@media (min-width: 1200px) {
    .container { max-width: 1800px; padding: 0 60px; } /* penuh kiri-kanan */
    header .logo { font-size: 36px; }                  /* logo & teks header */
    nav ul li a { font-size: 22px; }                  /* menu navigasi */
    
    .hero h1 { font-size: 90px; line-height: 1.2; }  /* judul hero besar */
    .hero p { font-size: 28px; max-width: 1200px; }  /* paragraf hero */
    .btn { padding: 20px 60px; font-size: 22px; }    /* tombol besar */
    
    .section-title h2 { font-size: 64px; }            /* judul section */
    .section-title p { font-size: 26px; max-width: 1200px; } /* deskripsi section */
    
    .about-text h3 { font-size: 48px; }              /* judul about */
    .about-text p { font-size: 24px; }              /* teks about */
    
    .service-icon { font-size: 70px; }              /* icon fitur */
    .service-card h3 { font-size: 36px; }           /* judul card */
    .service-card ul li { font-size: 22px; }        /* list card */
    
    .step-number { width: 140px; height: 140px; font-size: 36px; } /* step besar */
    .step h3, .step p { font-size: 20px; }         /* step teks */
    
    .testimonial-text { font-size: 26px; }          /* testi teks */
    .author-info h4 { font-size: 24px; }           /* testi author */
    .author-info p { font-size: 20px; }            /* testi profesi */
    
    .cta-section h2 { font-size: 70px; }           /* CTA besar */
    
    #contact .contact-container p { font-size: 28px; } /* kontak besar */
}
