:root {
    --primary-color: #008F97;
    --secondary-color: #FFFFFF;
    --text-color: #333333;
    --card-bg-color: #D6F5F6;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: #f4f4f4;
    color: var(--text-color);
}

/* --- Preloader / Loading Screen --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
    color: var(--secondary-color);
    transition: transform 0.5s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.8;
    }
}

.loader-icon {
    display: block;
    margin: 0 auto;
    color: var(--secondary-color);
    animation: bounce 1.2s ease-in-out infinite;
    transition: font-size 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.icon-small {
    font-size: 2rem;
}

.icon-medium {
    font-size: 3.5rem;
}

.icon-large {
    font-size: 4.5rem;
}

#preloader p {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- Header & Navigasi --- */
.header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

/* --- Search Bar --- */
.search-container {
    display: flex;
    flex-grow: 1;
    margin: 0 2rem;
    justify-content: flex-end;
}

.search-input {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: var(--font-family);
    min-width: 250px;
}

.search-button {
    background-color: #007077;
    color: var(--secondary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #00565C;
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Navigasi Menu --- */
.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu li a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #B2E5E7;
}

/* --- Animasi Ikon --- */
@keyframes shake {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.animated-icon {
    animation-name: shake;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

/* --- Bagian Banner (DIPERBAIKI) --- */
.banner-section {
    position: relative;
    width: 91%;
    max-width: 700px;
    margin: 2rem auto 0;
    /* Atur tinggi tetap dan pastikan overflow tersembunyi */
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.banner-slideshow {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.banner-slide {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
}

.banner-slide img {
    /* Atur gambar untuk mengisi 100% dari wadahnya */
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Efek mengkilap pada banner */
.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
    pointer-events: none;
    animation: slow-diagonal-shine 4s infinite;
}

@keyframes slow-diagonal-shine {
    0% {
        transform: rotate(45deg) translateX(-150%);
    }
    10% {
        transform: rotate(45deg) translateX(150%);
    }
    100% {
        transform: rotate(45deg) translateX(150%);
    }
}

/* --- DISKON LABEL BARU (Gaya dengan Animasi) --- */
.discount-label {
    max-width: 1000px;
    margin: 0 auto 2rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.8rem 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Kelas yang akan ditambahkan oleh JavaScript */
.discount-label.show {
    opacity: 1;
    transform: translateY(0);
}

.discount-label p {
    margin: 0;
}

/* --- Bagian Layanan --- */
.app-services {
    padding: 2rem;
    max-width: 1000px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-section {
    padding: 1rem;
    text-align: center; 
    position: relative;
}

.section-title {
    font-size: 1.5rem; 
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem; 
    font-weight: 400;
    color: var(--text-color);
}

.app-grid {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    box-shadow: 
        -2px -2px 5px rgba(255, 255, 255, 0.2),
        2px 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Animasi untuk efek mengkilap diagonal pada kartu */
@keyframes diagonal-shine {
    0% {
        transform: rotate(45deg) translateX(-200%);
    }
    10% {
        transform: rotate(45deg) translateX(200%);
    }
    100% {
        transform: rotate(45deg) translateX(200%);
    }
}

/* Pseudo-element untuk efek mengkilap pada kartu */
.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    pointer-events: none;
    animation: diagonal-shine 6s infinite;
}

/* Penundaan animasi untuk setiap kartu */
.app-card:nth-child(1)::before { animation-delay: 0s; }
.app-card:nth-child(2)::before { animation-delay: 0.5s; }
.app-card:nth-child(3)::before { animation-delay: 1s; }
.app-card:nth-child(4)::before { animation-delay: 1.5s; }
.app-card:nth-child(5)::before { animation-delay: 2s; }
.app-card:nth-child(6)::before { animation-delay: 2.5s; }

.app-card:hover {
    transform: scale(1.1);
}

.app-icon {
    display: none;
}

/* Gaya untuk gambar ikon kustom */
.app-card img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 0.3rem;
}

.app-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: capitalize;
}

/* --- VOUCHER SECTION --- */
.voucher-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.voucher-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.voucher-slideshow-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.voucher-card-wrapper {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem;
}

.voucher-card {
    flex: 0 0 90%; 
    min-width: 280px;
    height: 220px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: var(--secondary-color);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Gaya warna untuk setiap voucher */
.voucher-card-1 {
    background: linear-gradient(135deg, #008F97, #00C896);
}

.voucher-card-2 {
    background: linear-gradient(135deg, #FF6F61, #FF9B8D);
}

.voucher-card-3 {
    background: linear-gradient(135deg, #4A4A4A, #777777);
}

.voucher-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.voucher-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.voucher-description {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.voucher-validity {
    font-size: 0.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.voucher-code-box {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.5rem;
}

.voucher-code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem;
    user-select: all;
    color: var(--secondary-color);
}

.copy-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.copy-btn:hover {
    background-color: #f0f0f0;
}

.voucher-terms {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* --- HOT OFFER SECTION (BARU) --- */
.hot-offer-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hot-offer-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hot-offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes fire-glow {
    0% { filter: drop-shadow(0 0 5px #ff7f00); }
    50% { filter: drop-shadow(0 0 10px #ff3b00); }
    100% { filter: drop-shadow(0 0 5px #ff7f00); }
}

.hot-offer-emoji {
    animation: fire-glow 1.5s ease-in-out infinite;
}

.hot-offer-timer {
    display: inline-block;
    color: #FF0000;
    padding: 0;
    border-radius: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.hot-offer-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hot-offer-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    line-height: 1.5;
}

.hot-offer-btn {
    background-color: #FF0000;
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hot-offer-btn:hover {
    background-color: #CC0000;
    transform: translateY(-2px);
}

/* --- Floating Customer Service Chat --- */
.floating-chat {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    display: none;
    align-items: center;
    text-decoration: none;
    background-color: transparent;
    border-radius: 5px;
    box-shadow: none;
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

.floating-chat.show-chat {
    opacity: 1;
}

.chat-content {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease-in-out;
}

.chat-text {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    transition: max-width 0.5s ease-in-out, margin-right 0.5s ease-in-out;
    margin-right: 0;
}

.chat-text.show {
    max-width: 150px;
    margin-right: 0.5rem;
}

.chat-icon {
    font-size: 1.8rem;
    padding: 0.3rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.floating-chat:hover .chat-icon {
    background-color: #007077;
}

/* Animasi Ikon Bergetar */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.chat-icon.animate-pulse {
    animation: pulse 1s infinite ease-in-out;
}

/* --- Guide/Panduan --- */
#guide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
}

#guide-person {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 2001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    animation: bobbing 2s infinite ease-in-out;
}

.guide-person-image {
    width: 80px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@keyframes bobbing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

#guide-bubble {
    position: fixed;
    bottom: 12rem;
    left: 2rem;
    z-index: 2001;
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#guide-bubble.visible {
    opacity: 1;
    display: block;
}

.guide-text-container {
    margin-bottom: 1rem;
}

.guide-controls {
    display: flex;
    justify-content: space-between;
}

#guide-next, #guide-skip {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#guide-next {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

#guide-next:hover {
    background-color: #007077;
}

#guide-skip {
    background-color: #ccc;
    color: var(--text-color);
}

#guide-skip:hover {
    background-color: #bbb;
}

/* Gaya Panah Baru */
#guide-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    transition: all 0.5s ease-in-out;
    transform-origin: center;
}

/* Gaya Animasi Gelembung Kecil */
.bubble-animation {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    z-index: 2002;
    animation: popAndMove 2s infinite ease-in-out;
}

@keyframes popAndMove {
    0% {
        transform: translate(0, 0) scale(0.2);
        opacity: 0;
    }
    50% {
        opacity: 1;
        transform: translate(0, -50px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(0, -100px) scale(0.5);
    }
}

/* Pengaturan untuk setiap gelembung agar bergerak berurutan */
.bubble-animation:nth-child(1) { animation-delay: 0s; }
.bubble-animation:nth-child(2) { animation-delay: 0.5s; }
.bubble-animation:nth-child(3) { animation-delay: 1s; }

/* --- Promo Slideshow Section (DIPERBAIKI) --- */
.promo-slideshow {
    max-width: 1000px;
    height: 300px;
    margin: 2rem auto;
    position: relative;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: var(--secondary-color);
    /* Pastikan overflow tersembunyi */
    overflow: hidden;
}

.promo-title-container {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.promo-title {
    color: var(--secondary-color);
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1000px;
    margin: auto;
    /* Pastikan overflow tersembunyi */
    overflow: hidden;
}

.mySlides {
    display: none;
    height: 100%;
}

.mySlides img {
    /* Atur gambar untuk mengisi 100% dari wadahnya */
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
    border-radius: 10px;
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: .4 } 
    to { opacity: 1 }
}

/* --- FAQ Section --- */
.faq-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-question span {
    color: var(--text-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 1.2rem;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.faq-answer.show {
    max-height: 200px;
    padding: 1.2rem;
}

.faq-answer p {
    line-height: 1.6;
    color: #555;
}

/* --- Bagian Baru: Penghasilan Tambahan --- */
.earn-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.earn-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.freelancer-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.freelancer-card {
    background-color: var(--card-bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 300px;
    width: 100%;
}

.freelancer-job {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.freelancer-desc-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.freelancer-desc-list {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-color);
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.freelancer-desc-list li {
    margin-bottom: 0.5rem;
}

.freelancer-cta {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.more-info-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

.earn-btn {
    background-color: #FF0000;
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.earn-btn:hover {
    background-color: #CC0000;
    transform: translateY(-2px);
}

/* --- Gaya Pop-up Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--secondary-color);
    margin: auto;
    padding: 2.5rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeInScale 0.3s ease-in-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-text-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

.modal-text-content p {
    margin-bottom: 1rem;
}

.modal-text-content ol {
    margin-left: 1rem;
}

.modal-text-content li {
    margin-bottom: 0.5rem;
}

/* --- Responsif --- */
@media (max-width: 768px) {
    .banner-section {
        height: 150px;
    }
    .discount-label {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        border-radius: 0 0 8px 8px;
    }
    #guide-person {
        left: 20px;
        bottom: 20px;
    }
    #guide-bubble {
        bottom: 140px;
        left: 20px;
        width: calc(100% - 40px);
    }
    .guide-arrow {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%) rotate(180deg);
        border-bottom-color: var(--secondary-color);
        border-top-color: transparent;
    }
    .header-container {
        flex-wrap: wrap;
    }
    .search-container {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    .search-input {
        min-width: 100%;
    }
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100%;
        background-color: var(--primary-color);
        padding-top: 5rem;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
    }
    .nav-menu.is-active {
        right: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }
    .nav-menu li {
        margin: 1rem 0;
    }
    .app-grid {
        justify-content: center;
    }
    .app-card {
        padding: 0.7rem 1rem;
    }
    .app-card img {
        width: 40px;
        height: 40px;
    }
    .app-label {
        font-size: 0.75rem;
    }
    .floating-chat {
        top: auto;
        bottom: 1rem;
        right: 1rem;
    }
    .voucher-card {
        flex: 0 0 95%; 
        min-width: 250px;
    }
    .hot-offer-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hot-offer-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .hot-offer-text {
        flex: 1;
        margin-bottom: 0;
    }
    .freelancer-grid {
        flex-direction: column;
        align-items: center;
    }
    .freelancer-card {
        max-width: 100%;
    }
    .modal-content {
        padding: 1.5rem;
    }
}

@media (min-width: 769px) {
    .voucher-card {
        flex: 0 0 45%; 
    }
    .hot-offer-card {
        flex-direction: row;
        justify-content: space-between;
    }
    .hot-offer-text {
        text-align: left;
    }
}


/* --- Bagian Baru: Pilihan Metode Pembayaran --- */
.payment-methods-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.payment-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.payment-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.payment-accordion {
    text-align: left;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: #f9f9f9;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #e0e0e0;
}

.method-name {
    flex-grow: 1;
}

.method-icon {
    width: 24px;
    height: 24px;
    margin-left: 1rem;
    margin-right: auto;
}

.accordion-icon {
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.accordion-content p {
    margin: 0 0 0.5rem 0;
}

.accordion-content.show {
    max-height: 200px;
    padding: 1.5rem;
}

.accordion-content ol {
    margin-left: 1rem;
    padding-left: 0;
}

/* --- Bagian Baru: Pertanyaan dan Jawaban Pelanggan --- */
.customer-qa-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.customer-qa-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.customer-qa-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.qa-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.answer {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* --- Bagian Baru: Footer --- */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2.5rem 1rem;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-info {
    flex: 2;
    max-width: 400px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-address {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-links {
    flex: 1;
}

.footer-link-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links .footer-link {
    color: #fff;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.footer-links .footer-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        min-width: unset;
    }

    .social-icons {
        justify-content: center;
    }
}
