/* Pengaturan warna & font dasar */
:root {
    --primary: #059A87;     
    --secondary: #F4B700;   
    --purple-dark: #2B185A; 
    --text-dark: #1A1A1A;
    --text-gray: #4A4A4A;
    --white: #ffffff;
    --font-poppins: 'Poppins', sans-serif;
    --smooth-bezier: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    outline: none;
}

body {
    font-family: var(--font-poppins);
    background-color: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Animasi scroll dari bawah ke atas */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--smooth-bezier);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.4s; }

/* Navbar nempel di atas */
.navbar {
    background-color: var(--white);
    padding: 20px 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03); 
    transition: all 0.4s var(--smooth-bezier);
}

.logo-img {
    max-height: 50px; 
    width: auto;
    display: block;
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* Pembungkus Navigasi & Hamburger */
.nav-actions {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    gap: 15px; 
}

/* Sembunyikan tombol hamburger di PC */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 32px; 
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    transition: color 0.3s var(--smooth-bezier);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.4s var(--smooth-bezier);
}

.nav-links a:hover::after, 
.nav-links a.active::after {
    width: 100%;
}

.btn-catalog {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.4s var(--smooth-bezier);
}

.btn-catalog:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(5, 154, 135, 0.15);
}

/* Area konten utama What We Do */
.wwd-section {
    padding: 80px 0 100px 0;
    background-color: var(--white);
}

.main-title {
    color: var(--purple-dark);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.wwd-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: start;
}

.wwd-left {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.wwd-right {
    padding-top: 100px; 
}

/* Efek kotak layanan pas kursor lewat */
.wwd-item {
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.4s var(--smooth-bezier);
    border: 1px solid transparent;
}

.wwd-item:hover {
    transform: translateY(-8px);
    background: rgba(5, 154, 135, 0.02);
    border-color: rgba(5, 154, 135, 0.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
}

.title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.title-icon {
    width: 45px; 
    height: auto;
    object-fit: contain;
    transition: transform 0.5s var(--smooth-bezier);
}

/* Bikin ikon miring dan membesar dikit */
.wwd-item:hover .title-icon {
    transform: scale(1.15) rotate(8deg);
}

.wwd-item h2 {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.wwd-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: justify;
}

/* Warna khusus teks */
.text-yellow { color: var(--secondary); }
.text-teal { color: var(--primary); }
.text-purple { color: var(--purple-dark); }

/* Bagian Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-col h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.focus-title {
    font-size: 16px;
    margin-bottom: 15px;
}

.border-left {
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 30px;
}

.footer-links, .footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Link footer geser dikit pas di-hover */
.footer-links li a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.footer-contact li {
    font-size: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-contact li i {
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 50%;
}

.slogan {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}

/* Penyesuaian di layar Tablet */
@media (max-width: 1024px) {
    .wwd-grid { gap: 40px; }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .border-left {
        border-left: none;
        padding-left: 0;
    }
}

/* Penyesuaian Khusus Mobile (HP) */
@media (max-width: 768px) {
    
    /* Navbar Hamburger & Nav Links Mobile */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-catalog {
        padding: 8px 18px;
        font-size: 14px;
        margin: 0;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        transform: translateY(-150%);
        opacity: 0;
        z-index: -1;
        transition: all 0.4s var(--smooth-bezier);
        display: flex; /* Gantikan display: none; */
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        z-index: 999;
    }

    /* Content Mobile */
    .wwd-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .wwd-right { padding-top: 0; }
    .main-title { text-align: center; }
    
    .wwd-item { padding: 15px; }
    .wwd-item p { text-align: center; }
    .title-wrapper { justify-content: center; }
    
    /* Footer Mobile */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-contact { align-items: center; }
    
    /* Matiin animasi geser di HP biar nggak kepencet ga sengaja */
    .footer-links li a:hover, .footer-contact li:hover {
        transform: none; 
    }
}