/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8F9FA; /* Light Gray from woocommerce-product.html */
    color: #4b5563; /* Text medium from woocommerce-product.html */
    line-height: 1.6;
    overflow-y: auto; /* Ensure body can scroll */
    overflow-x: hidden; /* Prevent horizontal scroll */
}
/* UBAH FONT-FAMILY UNTUK HEADING DI SINI */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif; /* Menggunakan font Inter untuk heading */
    color: #1f2937; /* Dark text from woocommerce-product.html */
    /* font-weight default akan diatur per hX di bawah */
}
/* **DESKTOP:** Teks "Basis Pengetahuan Layanan Legal & Perizinan" */
h1 {
    font-size: 2rem; /* Dikecilkan dari 2.5rem */
    font-weight: 700;
}
/* Aturan h4 umum yang diselaraskan */
h4 {
    font-size: 1.125rem; /* Mengatur ukuran dasar h4 ke text-lg */
    font-weight: 600;    /* Mengatur ketebalan dasar h4 ke font-semibold */
}

/* Force hidden class to always apply display: none */
.hidden {
    display: none !important;
}

/* Custom utility for minimum height, adjusted for overall layout */
/* This ensures the main content area has a consistent minimum height */
.min-h-content-area {
    min-height: calc(100vh - 8rem); /* Adjust based on header/padding above content */
}
@media (min-width: 768px) {
    .min-h-content-area {
        min-height: calc(100vh - 4rem); /* Smaller adjustment for desktop */
    }
}

/* Header Logo */
.header-logo {
    height: 3rem !important; /* Set a fixed height and use !important to override Tailwind */
    width: auto !important; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure it doesn't overflow its container */
    object-fit: contain; /* Ensure logo is contained within its bounds */
}

/* Responsive adjustment for header logo on smaller screens */
@media (max-width: 767px) {
    .header-logo {
        height: 2.5rem !important; /* Slightly smaller height for mobile to fit better */
        width: auto !important; /* Ensure width scales with height */
        flex-shrink: 0; /* Prevent it from shrinking due to flex container */
    }
    header .flex.items-center { /* Parent of the logo link */
        flex-shrink: 0; /* Prevent this container from shrinking */
    }
}


/* Sidebar Styles */
aside#sidebar {
    background-color: #FFFFFF; /* White background from woocommerce-product.html */
    width: 280px; /* Fixed width for sidebar */
    min-width: 280px; /* Ensure it doesn't shrink */
    max-width: 280px; /* Ensure it doesn't expand */
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Soft shadow from woocommerce-product.html */
    border-radius: 0.75rem; /* Rounded corners from woocommerce-product.html */
    z-index: 50; /* Ensure sidebar is above other content on mobile */
    padding: 1.5rem; /* Adjusted padding to match woocommerce-product.html aside */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Sidebar toggle buttons */
#open-sidebar-btn, #close-sidebar-btn {
    z-index: 60; /* Ensure buttons are above sidebar */
}

/* Sidebar navigation links */
.sidebar-link {
    background-color: #FFFFFF; /* White background from woocommerce-product.html */
    color: #4b5563; /* Text medium from woocommerce-product.html */
    padding: 0.5rem 1rem; /* Adjusted padding to match woocommerce-product.html filter-button */
    border-radius: 0.5rem; /* Rounded corners from woocommerce-product.html filter-button */
    font-weight: 500;
    transition: all 0.3s ease; /* Smooth transition */
    border: 1px solid #e5e7eb; /* Border from woocommerce-product.html filter-button */
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.775rem; /* text-sm from woocommerce-product.html filter-button */
}

.sidebar-link:hover {
    background-color: #1ab69d; /* Primary color from woocommerce-product.html */
    color: white; /* White text on hover */
    border-color: #1ab69d; /* Primary color border on hover */
}

.sidebar-link.active {
    background-color: #1ab69d; /* Primary color from woocommerce-product.html */
    color: white; /* White text for active link */
    border-color: #1ab69d; /* Primary color border */
    box-shadow: 0 4px 10px rgba(26, 182, 157, 0.3); /* Shadow from woocommerce-product.html filter-button */
    font-weight: 600;
}

/* Sidebar category icons */
.category-icon {
    margin-right: 0.5rem; /* Space between icon and text */
    font-size: 1.2em; /* Slightly larger icons */
}

/* Sidebar Sub-category Header Styling */
.sub-category-header {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically align items */
    gap: 0.5rem; /* Space between icon and text */
}

.sub-category-header i {
    font-size: 1rem; /* Adjust icon size as needed */
    margin-right: 0.25rem; /* Space between icon and text in sub-category header */
    color: #4b5563; /* Match text color */
}

/* NEW: Styles for sub-category text (PUPR, ESDM) */
.sub-category-header .sub-category-text {
    font-size: 0.9rem; /* Smaller font size for sub-category titles */
    color: #31b978; /* Set text color to service-title button color */
    font-weight: 600; /* Keep it bold */
}


/* Sidebar Sub-service List (Daftar Layanan) */
.sub-service-item {
    display: flex; /* Use flex to align icon and text */
    align-items: flex-start; /* Align icon and text to the top */
    padding: 0.5rem 1rem; /* Adjusted padding to match sidebar-link */
    border-radius: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
    color: #4b5563; /* Text medium from woocommerce-product.html */
    font-size: 0.75rem; /* text-sm (14px) from woocommerce-product.html filter-button */
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid transparent; /* Add transparent border for consistency */
}

.sub-service-item:hover {
    background-color: #1ab69d; /* Primary color on hover */
    color: white; /* White text on hover */
    border-color: #1ab69d; /* Primary color border on hover */
}

.sub-service-item.active {
    background-color: #1ab69d; /* Primary color for active sub-service */
    color: white; /* White text for active sub-service */
    font-weight: 600;
    border-color: #1ab69d; /* Primary color border */
    box-shadow: 0 4px 10px rgba(26, 182, 157, 0.3); /* Shadow from woocommerce-product.html filter-button */
}

/* Service icon in sub-service list */
.sub-service-item .service-icon {
    margin-right: 0.5rem; /* Space between icon and text */
    font-size: 1.1em; /* Slightly larger icons */
}

/* Main Content Area */
#main-content-area {
    background-color: #F8F9FA; /* Light Gray from woocommerce-product.html */
}

/* Card Modern Style */
.card-modern {
    background-color: white;
    border-radius: 0.75rem; /* Rounded-xl from woocommerce-product.html */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Soft shadow from woocommerce-product.html */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb; /* Border from woocommerce-product.html */
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Category Grid Cards */
.category-card {
    background-color: white;
    border-radius: 0.75rem; /* Match card-modern */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Match card-modern */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    height: 150px;
    border: 1px solid #e5e7eb;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.category-card .text-5xl {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    color: #1ab69d;
}

/* **DESKTOP:** Teks Nama Kategori pada Card */
.category-card h2 {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem; /* Dikecilkan dari 1.125rem */
}


/* Tab Buttons - Pill Button Style (Desktop Base) */
#service-tabs {
    /* Menggunakan flex dan gap untuk jarak antar tombol */
    display: flex;
    gap: 0.5rem; /* Menjaga jarak antar tombol */
    flex-wrap: wrap; /* Izinkan wrap jika terlalu banyak tab */
    margin-bottom: 0.5rem; /* Mengurangi jarak ke konten tab di bawah */
}

.tab-button {
    color: #4b5563; /* Default gray text for inactive tabs */
    border: 2px solid #1ab69d; /* Primary color outline for inactive tabs (nyala!) */
    border-radius: 2rem; /* Pill shape - adjusted radius */
    font-weight: 600;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0.7rem 1.7rem;
    font-size: 0.75rem !important; /* Added !important for desktop tabs */
    background-color: transparent; /* Default transparent background for inactive */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    line-height: 1; 
    /* margin-right: 0.5rem; Ini sudah diganti oleh gap di parent */
}

/* **DESKTOP:** Hover effect untuk tab-button (inactive) - Mengembalikan ke primary color dan teks putih, tanpa shadow */
.tab-button:not(.tab-active):hover {
    background-color: #1ab69d; /* Warna primary */
    color: white; /* Teks putih */
    border-color: #1ab69d;
    box-shadow: none; /* Hapus shadow */
}

/* Active tab button style (Desktop & Mobile) */
.tab-button.tab-active {
    background-color: #1ab69d;
    color: white;
    border-color: #1ab69d;
    box-shadow: none; /* Hapus shadow */
}

/* **DESKTOP:** Hover effect untuk tab-button (active) - Tetap warna primary gelap, teks putih, tanpa shadow */
.tab-button.tab-active:hover {
    background-color: #159c85 !important;
    box-shadow: none !important; /* Hapus shadow */
}


/* Responsive adjustments for tabs on mobile */
@media (max-width: 767px) {
    /* **MOBILE:** Teks "Basis Pengetahuan Layanan Legal & Perizinan" */
    #welcome-screen h1 {
        font-size: 1.2rem !important; /* Dikecilkan lagi */
    }

    /* **MOBILE:** Teks "Pilih kategori di bawah untuk menemukan informasi yang Anda butuhkan" */
    #welcome-screen p {
        font-size: 0.8rem !important; /* Dikecilkan lagi */
    }

    /* **MOBILE:** Teks Deskripsi pada category-card */
    .category-card p {
        font-size: 0.9rem !important; /* Dikecilkan lagi */
    }

    /* **MOBILE:** Teks Menu Breadcrumbs */
    #mobile-category-breadcrumb a {
        font-size: 0.7rem !important;
    }

    /* **MOBILE:** Teks Title pada Service Detail Setiap Layanan */
    #service-title {
        font-size: 1.2rem !important;
    }

    /* TAB BUTTONS CSS FOR MOBILE - Individual Pills */
    #service-tabs {
        display: flex;
        flex-wrap: nowrap; /* Penting: mencegah wrapping */
        overflow-x: auto; /* Memungkinkan scrolling horizontal */
        -webkit-overflow-scrolling: touch; /* Untuk smooth scrolling di iOS */
        scrollbar-width: none; /* Sembunyikan scrollbar untuk Firefox */
        -ms-overflow-style: none; /* Sembunyikan scrollbar untuk IE/Edge */
        justify-content: flex-start; /* Selalu mulai dari kiri */
        padding: 0; 
        margin-bottom: 0.75rem; /* Jarak antara tab dan konten */
        gap: 0px; /* Jarak antar tombol dirapatkan lebih jauh */
    }

    #service-tabs::-webkit-scrollbar {
        display: none; /* Sembunyikan scrollbar untuk Chrome/Safari */
    }

    .tab-button {
        font-size: 0.75rem !important; /* Ukuran font lebih terbaca */
        padding: 0.2rem 0.4rem !important; /* Padding tombol agar lebih nyaman */
        border: 1px solid #1ab69d !important; /* Mengembalikan border dengan warna */
        background-color: white;
        color: #4b5563;
        line-height: 1;
        flex-shrink: 0; /* KRUSIAL: Cegah penyusutan agar tombol tidak terlalu kecil */
        flex-grow: 0; /* KRUSIAL: Cegah pertumbuhan agar tidak meregang ke seluruh lebar */
        white-space: nowrap; /* Cegah teks melingkar */
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center; /* Rata tengah ikon dan teks */
        margin-right: -1px !important; /* Memaksa margin-right menjadi negatif untuk overlap minimal */
        border-radius: 2rem !important; /* Sudut membulat untuk setiap tombol */
        position: relative; 
        z-index: 1; 
    }

    /* Tidak perlu lagi first-child/last-child radius rules karena setiap tombol sudah rounded */
    /* Z-index untuk tombol aktif tetap lebih tinggi */
    .tab-button.tab-active {
        background-color: #1ab69d;
        color: white;
        border-color: #1ab69d;
        z-index: 2; 
    }
}


/* Content Paragraphs - General (can be overridden by more specific rules) */
/* **DESKTOP:** Teks "Pilih kategori di bawah untuk menemukan informasi yang Anda butuhkan" */
p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* **DESKTOP:** Teks menu breadcrumbs (jika ada, akan mengikuti aturan umum a) */
#desktop-breadcrumb a { /* Menargetkan link di dalam desktop breadcrumb */
    font-size: 0.8rem;
    color: #6B7280;
    text-decoration: none;
}
#desktop-breadcrumb a:hover {
    text-decoration: underline;
}

/* Specific styling for content within tabs (Info Layanan, Proses, Analisa Biaya) */
.info-layanan-content,
.proses-content,
.analisis-content,
.persyaratan-content {
    background-color: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    margin-top: 0.55rem;
    margin-bottom: 1.5rem;
}

/* Hover effect for tab content areas */
.info-layanan-content:hover,
.proses-content:hover,
.analisis-content:hover,
.persyaratan-content:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* **DESKTOP & MOBILE:** Teks Heading Definisi, Proses, dll. (h4 dalam tab content) */
.info-layanan-content h4,
.proses-content h4,
.analisis-content h4,
.persyaratan-content h4 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1ab69d !important;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

/* **DESKTOP & MOBILE:** Ikon dalam heading h4 */
.info-layanan-content h4 i,
.proses-content h4 i,
.analisis-content h4 i,
.persyaratan-content h4 i {
    color: #1ab69d !important;
    margin-right: 0.5rem;
    font-size: 1.125rem !important;
}


/* **DESKTOP & MOBILE:** Teks isi dari Definisi, Pentingnya, dll. (p dalam tab content) */
.info-layanan-content p,
.proses-content p,
.analisis-content p,
.proses-content .process-step-box .text-gray-700,
.info-layanan-content p.text-red-500,
.persyaratan-content p {
    font-size: 0.8rem;
}

/* Specific styling for italic text in tab contents */
.info-layanan-content p.italic,
.proses-content p.italic,
.analisis-content p.italic,
.persyaratan-content p.italic {
    font-size: 0.875rem !important;
    line-height: 1.5;
}

/* Process Step Styling */
.process-step-box {
    display: flex;
    align-items: flex-start;
    background-color: #F8F9FA;
    border-left: 4px solid #1ab69d;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.process-step-number {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background-color: #1ab69d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 0.875rem;
}

/* Tooltip for process steps */
.process-step {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
}

/* Panah tooltip */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Tampilkan tooltip saat hover */
.process-step:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Penyesuaian responsif untuk lebar tooltip */
@media (max-width: 768px) {
    .tooltip-text {
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        top: 110%;
    }
    .tooltip-text::after {
        top: -16px;
        border-color: transparent transparent #333 transparent;
    }
}

/* Call to action button styles */
.flex.flex-wrap.gap-4.mt-8 a,
.flex.flex-wrap.gap-4.mt-8 button {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.flex.flex-wrap.gap-4.mt-8 a:hover,
.flex.flex-wrap.gap-4.mt-8 button:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transform: translateY(-3px) scale(1.02);
}
.bg-green-600 {
    background-color: #31b978;
}
.bg-green-600:hover {
    background-color: #299a62;
}

/* Chart container styles */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    height: 25vh;
    max-height: 200px;
}

/* Chart summary background color - UPDATED */
#chart-summary {
    background-color: #F8F9FA;
}

/* Footer Styling (Integrated) */
.footer-integrated {
    background-color: white;
    color: #6B7280;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.65rem;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

/* Specific styling for the main footer */
.footer-main {
    background-color: white;
    color: #6B7280;
    padding: 0.5rem 0; /* Mengurangi padding vertikal */
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: auto;
}

/* Adjust footer text size for desktop */
@media (min-width: 768px) { /* Ini akan diterapkan pada tablet dan desktop */
    .footer-main div, .footer-main p {
        font-size: 0.75rem !important; /* Ukuran font 12px untuk desktop */
    }
}
@media (max-width: 767px) { /* Untuk mobile, bisa lebih kecil lagi */
     .footer-main div, .footer-main p {
        font-size: 0.65rem !important; /* Ukuran font 10.4px untuk mobile */
    }
}


/* Accordion Styles (for Proses and Analisa Biaya) */
.accordion-item {
    margin-bottom: 1rem;
}

.accordion-header {
    background-color: #F8F9FA;
    color: #1f2937;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}

.accordion-header:hover {
    background-color: #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Default state for accordion icon (pointing down) */
.accordion-icon {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
    color: #4b5563;
}

/* Active state for accordion icon (pointing up) */
.accordion-content.active + .accordion-header .accordion-icon,
.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    padding: 0 1rem;
}

.accordion-content.active {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
    padding-bottom: 1rem;
}

/* Specific rules for #sub-service-accordion-content on mobile */
@media (max-width: 767px) {
    #sub-service-accordion-header h3.lg\:block.hidden {
        display: none !important;
    }

    #sub-service-accordion-header {
        display: flex !important;
        background-color: #1ab69d;
        color: white;
        border-color: #1ab69d;
        box-shadow: 0 4px 10px rgba(26, 182, 157, 0.3);
        font-size: 0.775rem;
    }
    #sub-service-accordion-header .accordion-icon {
        color: white;
    }

    #sub-service-accordion-content {
        display: block !important;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
        padding: 0 1rem;
        padding-bottom: 0;
    }

    #sub-service-accordion-content.active {
        max-height: 1000px;
        opacity: 1;
        pointer-events: auto;
        padding-bottom: 1rem;
    }
}

/* Ensure mobile accordion header is hidden on desktop */
@media (min-width: 768px) {
    #sub-service-accordion-header {
        display: none !important;
    }
    #sub-service-accordion-content {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        padding: 0 !important;
    }
}

/* Mobile Category Breadcrumb */
#mobile-category-breadcrumb {
    display: none;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

#mobile-category-breadcrumb a {
    color: #4b5563;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

#mobile-category-breadcrumb a i {
    margin-right: 0.5rem;
}

/* Ensure it's shown on mobile only */
@media (max-width: 767px) {
    #mobile-category-breadcrumb {
        display: block;
    }
}

@media (min-width: 768px) {
    #mobile-category-breadcrumb {
        display: none !important;
    }
}

/* General Layout Adjustments for Responsiveness */
#main-content-area {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
}

@media (min-width: 768px) {
    #main-content-area {
        padding: 2rem;
    }
}

/* Adjust gap between sidebar and service content on smaller screens */
#service-detail-screen {
    gap: 1.5rem;
}

/* Ensure service-content takes full width on mobile and adjust its padding */
#service-content {
    width: 100%;
    /* Default desktop padding (p-6) will be 1.5rem from Tailwind */
}
@media (max-width: 767px) {
    #service-content {
        padding: 0.75rem;
    }
}


/* Adjust padding for the overall main section */
main.flex-1 {
    padding: 0.75rem;
}

@media (min-width: 640px) { /* Tailwind's sm breakpoint */
    main.flex-1 {
        padding: 0.75rem;
    }
}

@media (min-width: 768px) { /* Tailwind's md breakpoint */
    main.flex-1 {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) { /* Tailwind's lg breakpoint */
    main.flex-1 {
        padding: 1.5rem;
    }
}

/* Adjust search input width on mobile */
header .relative.w-full.max-w-md.mx-4.lg\:mx-0 {
    width: calc(100% - 100px); /* Adjust width to account for sidebar button */
    margin-left: 1rem;
    margin-right: 1rem;
}

@media (min-width: 1024px) {
    header .relative.w-full.max-w-md.mx-4.lg\:mx-0 {
        width: 100%; /* Full width on desktop */
        max-width: 500px;
        margin-left: auto; /* Push to right */
        margin-right: 0; /* Align to right */
    }
}

/* Adjust font size for the search input placeholder */
#search-input::placeholder {
    font-size: 0.9rem; /* Atur ukuran font placeholder di sini */
    color: #9ca3af; /* Warna placeholder default */
}

/* Optional: Adjust for mobile if needed, though 0.9rem might be fine */
@media (max-width: 767px) {
    #search-input::placeholder {
        font-size: 0.8rem; /* Lebih kecil sedikit untuk mobile */
    }
}


/* Chatbot styles */
#chatbot-container {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #e5e7eb;
}
#chatbot-messages {
    display: flex;
    flex-direction: column;
}

/* Remove line below tab-buttons for desktop */
#service-content > div.border-b-2.border-gray-200 {
    border-bottom: none !important;
    margin-bottom: 0.5rem !important;
}

/* Service Title button style */
.service-title-button {
    background-color: #31b978; /* Same as CTA Tanya button color */
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: inline-flex; /* Use flex to align icon and text */
    align-items: center;
    justify-content: flex-start; /* Align content to the start */
    text-align: left; /* Align text to the left */
    font-size: 1.25rem; /* text-xl */
    line-height: 1.5; /* Add some line height */
    margin-bottom: 1.5rem; /* Space below the button */
    border: none; /* Remove default button border */
    width: fit-content; /* Make button fit content */
}

.service-title-button:hover {
    background-color: #299a62; /* Darker shade on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.service-title-button i {
    margin-right: 0.75rem; /* Space between icon and text */
    font-size: 1.5rem; /* Slightly larger icon */
}

@media (max-width: 767px) {
    .service-title-button {
        font-size: 1rem; /* Smaller font for mobile */
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    .service-title-button i {
        font-size: 1.2rem; /* Smaller icon for mobile */
        margin-right: 0.5rem;
    }
}

/* **DESKTOP:** Teks judul pada service-title */
@media (min-width: 768px) {
    .service-title-button {
        font-size: 1.125rem !important; /* Dikecilkan ke text-lg */
        padding: 0.4rem 0.8rem !important; /* Sesuaikan padding */
    }
    .service-title-button i {
        font-size: 1.3rem !important; /* Sesuaikan ukuran ikon */
    }
}
