/* Basic clean styles for CleanLite */

:root {
    --wrap-width: 1100px;
    --accent: #1e73be;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #eaeaea;
    --bg-light: #f9f9f9;
    color-scheme: light;
}

/* FIX: GLOBAL OVERFLOW SAFETY */
* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #222;
    background: #fff;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wrap {
    max-width: var(--wrap-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   HEADER STYLES
   ===================================================== */

.site-header {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    z-index: 999;
    background-color: #fff;
}

.header-wrap {
    display: block;
}

/* Header Top Row: Logo and Hamburger side by side */
.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 auto;
    min-width: 0;
}

.custom-logo-link img {
    height: auto;
    display: block;
    max-height: 50px;
}

.site-identity {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 22px;
    text-decoration: none;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.site-description {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

/* =====================================================
   NAVIGATION STYLES
   ===================================================== */

.main-navigation {
    display: flex;
    align-items: center;
}

/* Navigation Menu */
.main-navigation .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.main-navigation .nav-menu li {
    position: relative;
    list-style: none;
    margin: 0;
}

.main-navigation .nav-menu>li>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 6px;
    white-space: nowrap;
}

.main-navigation .nav-menu>li>a:hover,
.main-navigation .nav-menu>li>a:focus {
    color: var(--accent);
    background-color: rgba(30, 115, 190, 0.05);
}

/* Dropdown Arrow for Parent Items */
.main-navigation .nav-menu>li.menu-item-has-children>a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.main-navigation .nav-menu>li.menu-item-has-children:hover>a::after {
    transform: rotate(-180deg);
}

/* =====================================================
   DROPDOWN SUBMENU STYLES
   ===================================================== */

.main-navigation .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    list-style: none;
    margin: 0;
}

/* Show dropdown on hover */
.main-navigation .nav-menu li:hover>.sub-menu,
.main-navigation .nav-menu li:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown menu items */
.main-navigation .nav-menu .sub-menu li {
    margin: 0;
}

.main-navigation .nav-menu .sub-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-navigation .nav-menu .sub-menu a:hover,
.main-navigation .nav-menu .sub-menu a:focus {
    background-color: var(--bg-light);
    color: var(--accent);
}

/* Nested Submenu (Level 3+) - Flies Right */
.main-navigation .nav-menu .sub-menu .sub-menu {
    top: -8px;
    left: 100%;
    margin-left: 0;
}

/* Arrow for nested submenu items */
.main-navigation .nav-menu .sub-menu .menu-item-has-children>a::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* =====================================================
   HAMBURGER MENU BUTTON
   ===================================================== */

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-dark);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
    background-color: var(--bg-light);
    border-color: #ccc;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 20px;
    height: 14px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger to X animation when menu is open */
.menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* =====================================================
   MOBILE NAVIGATION STYLES
   ===================================================== */

@media (max-width: 768px) {
    .header-wrap {
        display: block;
        width: 100%;
    }

    /* Top row: Logo LEFT, Nav hidden, Hamburger RIGHT */
    .header-top-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
        position: relative;
    }

    /* Logo takes available space */
    .site-branding {
        flex: 1 1 auto;
        min-width: 0;
        order: 1;
    }

    /* Logo image sizing */
    .site-branding .custom-logo-link img {
        max-width: 100%;
        max-height: 45px;
        width: auto;
        height: auto;
    }

    /* Hamburger button - stays on right */
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
        order: 3;
    }

    /* Navigation - full width, below logo and hamburger */
    .main-navigation {
        flex: 0 0 100%;
        width: 100%;
        order: 4;
    }

    /* Mobile menu - FULL WIDTH of device screen */
    .main-navigation .nav-menu {
        display: none;
        flex-direction: column;
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        margin-top: 15px;
        padding: 0;
        background: var(--bg-light);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        list-style: none;
    }

    .main-navigation .nav-menu.toggled-on {
        display: flex !important;
    }

    /* Menu items - full width */
    .main-navigation .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .main-navigation .nav-menu li:last-child {
        border-bottom: none;
    }

    /* Menu links */
    .main-navigation .nav-menu>li>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        border-radius: 0;
        font-size: 16px;
        font-weight: 500;
        color: var(--text-dark);
        text-decoration: none;
        white-space: normal;
    }

    .main-navigation .nav-menu>li>a:hover,
    .main-navigation .nav-menu>li>a:focus {
        background-color: rgba(30, 115, 190, 0.08);
    }

    /* Mobile Dropdown/Submenu */
    .main-navigation .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        min-width: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.03);
        list-style: none;
    }

    .main-navigation .nav-menu .sub-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-navigation .nav-menu .sub-menu li:last-child {
        border-bottom: none;
    }

    .main-navigation .nav-menu .sub-menu a {
        display: block;
        padding: 14px 20px 14px 40px;
        font-size: 15px;
        color: var(--text-dark);
        text-decoration: none;
    }

    .main-navigation .nav-menu .sub-menu a:hover,
    .main-navigation .nav-menu .sub-menu a:focus {
        background-color: rgba(30, 115, 190, 0.06);
    }

    /* Level 3 on mobile - more indent */
    .main-navigation .nav-menu .sub-menu .sub-menu {
        margin: 0;
        background-color: rgba(0, 0, 0, 0.04);
    }

    .main-navigation .nav-menu .sub-menu .sub-menu a {
        padding-left: 60px;
    }

    /* Dropdown arrow on mobile */
    .main-navigation .nav-menu>li.menu-item-has-children>a::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid currentColor;
        margin-left: 8px;
        flex-shrink: 0;
    }

    .main-navigation .nav-menu .sub-menu .menu-item-has-children>a::after {
        display: none;
    }
}

/* =====================================================
   DESKTOP STYLES
   ===================================================== */

@media (min-width: 769px) {

    /* Desktop header wrap */
    .header-wrap {
        display: block;
    }

    /* Desktop: Logo left, Nav right, Hamburger hidden */
    .header-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 30px;
    }

    /* Hide hamburger on desktop */
    .menu-toggle {
        display: none !important;
    }

    /* Logo should not expand on desktop */
    .site-branding {
        flex: 0 0 auto;
        margin-bottom: 0;
    }

    /* Navigation aligns to the right */
    .main-navigation {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 auto;
    }

    /* Menu items in a row */
    .main-navigation .nav-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
}

/* =====================================================
   HERO SLIDER STYLES
   ===================================================== */

.hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: var(--hero-height, 400px);
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-container {
    display: flex;
    width: 100%;
    min-height: var(--hero-height, 400px);
}

/* Left Side: Background + Text */
.hero-content {
    flex: 0 0 50%;
    width: 50%;
    background-color: var(--slide-bg-color, #1a365d);
    color: var(--slide-text-color, #ffffff);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 20px;
}

.hero-content-inner {
    max-width: calc(var(--wrap-width, 1100px) / 2);
    width: 100%;
    padding-right: 60px;
}

.hero-heading {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: inherit;
}

.hero-subheading {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin: 0 0 30px 0;
    opacity: 0.9;
    color: inherit;
}

.hero-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--slide-text-color, #ffffff);
    color: var(--slide-bg-color, #1a365d);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Right Side: Image */
.hero-image {
    flex: 0 0 50%;
    width: 50%;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Navigation Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-dot:hover {
    transform: scale(1.2);
}

.hero-dot.active {
    background: #fff;
}

/* Slider Arrow Navigation */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
    left: 20px;
}

.hero-arrow-next {
    right: 20px;
}

/* Hero Slider Responsive - Mobile */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
    }

    .hero-content {
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
        padding: 40px 20px;
    }

    .hero-content-inner {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .hero-heading {
        font-size: 1.75rem;
    }

    .hero-image {
        flex: 0 0 auto;
        width: 100%;
        min-height: 200px;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .hero-arrow-prev {
        left: 10px;
    }

    .hero-arrow-next {
        right: 10px;
    }

    .hero-slider-dots {
        bottom: 15px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }
}

/* =====================================================
   POSTS & CONTENT
   ===================================================== */

.site-main {
    padding: 40px 0;
    width: 100%;
}

.entry-header {
    margin-bottom: 15px;
}

.entry-title,
.page-title,
.widget-title {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.3;
}

.entry-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.entry-content {
    margin-bottom: 30px;
    color: #444;
}

.post-thumbnail img,
.post-thumbnail-single img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 25px;
    border-radius: 6px;
}

.entry-tags .tag-links a {
    display: inline-block;
    background: #f1f1f1;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    color: #555;
    margin-right: 6px;
    font-size: 12px;
}

/* =====================================================
   SIDEBAR & WIDGETS
   ===================================================== */

.widget-area {
    margin-top: 40px;
}

@media (min-width: 900px) {
    .site-main .wrap {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 60px;
    }

    /* Homepage: Full width, no sidebar grid */
    .home .site-main .wrap {
        display: block;
    }

    .widget-area {
        margin-top: 0;
    }
}

.widget {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    color: var(--text-dark);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    text-decoration: none;
    color: #444;
    transition: color 0.2s;
}

.widget ul li a:hover {
    color: var(--accent);
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    font-size: 14px;
    color: var(--text-light);
    background: var(--bg-light);
    margin-top: 40px;
}

/* =====================================================
   UTILITIES
   ===================================================== */

.screen-reader-text {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent);
    color: #fff;
    padding: 8px 12px;
    z-index: 100000;
    text-decoration: none;
    border-radius: 4px;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 10px;
}

/* =====================================================
   STICKY HEADER
   ===================================================== */

.site-wrapper {
    overflow-x: visible;
}

/* Force header to fix to top */
body.has-sticky-header .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Add padding to body so content doesn't hide behind fixed header */
body.has-sticky-header {
    padding-top: 75px;
}

/* Adjust top position for Admin Bar */
body.has-sticky-header.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.has-sticky-header {
        padding-top: 100px;
    }

    body.has-sticky-header.admin-bar .site-header {
        top: 46px;
    }
}

/* =====================================================
   404 & SEARCH
   ===================================================== */

.error-404 .page-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.search-field {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex-grow: 1;
}

.search-submit {
    padding: 8px 16px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* =====================================================
   THEME CHECK RECOMMENDED CLASSES
   ===================================================== */

.sticky {
    display: block;
}

.bypostauthor {
    display: block;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
    font-size: 14px;
    opacity: 0.8;
}

/* =====================================================
   IZIN USAHA PAGE STYLES
   ===================================================== */

/* Header Section */
.izin-header {
    background-color: #f8fafc;
    color: #1a365d;
    padding: 60px 0 40px;
}

.izin-header .wrap {
    display: block;
}

.izin-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #1a365d;
}

.izin-description {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 900px;
    color: #64748b;
}

/* Tabs Section */
.izin-tabs-section {
    padding: 40px 0 60px;
    background-color: #fff;
}

.izin-tabs-section .wrap {
    display: block;
    width: 100%;
}

/* Tab Navigation */
.izin-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 40px;
    width: 100%;
}

/* Tab Content Container */
.izin-tabs-content {
    width: 100%;
}

.izin-tab-btn {
    background: none;
    border: none;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.izin-tab-btn:hover {
    color: #1a365d;
}

.izin-tab-btn.active {
    color: #1a365d;
}

.izin-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #eab308;
    border-radius: 2px 2px 0 0;
}

/* Tab Content */
.izin-tab-panel {
    display: none;
}

.izin-tab-panel.active {
    display: block;
    width: 100%;
}

/* Cards Grid */
.izin-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

/* Individual Card */
.izin-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.izin-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.izin-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.izin-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.izin-card-link {
    font-size: 0.9rem;
    color: #1a365d;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
}

.izin-card-link:hover {
    text-decoration: underline;
}

.izin-card-meta {
    margin-bottom: 20px;
}

.izin-card-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
}

.izin-card-time svg {
    flex-shrink: 0;
}

.izin-card-btn {
    display: block;
    text-align: center;
    background-color: #eab308;
    color: #1a365d;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: auto;
}

.izin-card-btn:hover {
    background-color: #ca9a06;
    transform: translateY(-2px);
}

/* Card List (for package features) */
.izin-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    color: #64748b;
    flex-grow: 1;
}

.izin-card-list li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.izin-card-list li:last-child {
    border-bottom: none;
}

.izin-card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 600;
}

.izin-disclaimer {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.izin-coming-soon {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Izin Usaha Responsive */
@media (max-width: 1024px) {
    .izin-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .izin-header {
        padding: 40px 0;
    }

    .izin-title {
        font-size: 1.75rem;
    }

    .izin-description {
        font-size: 1rem;
    }

    .izin-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .izin-tab-btn {
        padding: 12px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    .izin-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .izin-card {
        padding: 20px;
    }
}

/* =====================================================
   HOMEPAGE LAYANAN SECTION
   ===================================================== */
.layanan-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

.layanan-header {
    text-align: center;
    margin-bottom: 40px;
}

.layanan-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 12px 0;
}

.layanan-desc {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.layanan-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.layanan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.layanan-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a365d;
    margin: 0 0 12px 0;
}

.layanan-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.layanan-card-btn {
    display: block;
    text-align: center;
    background-color: #eab308;
    color: #1a365d;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.layanan-card-btn:hover {
    background-color: #ca9a06;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .layanan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: Mobile */
@media (max-width: 576px) {
    .layanan-section {
        padding: 40px 0;
    }

    .layanan-title {
        font-size: 1.5rem;
    }

    .layanan-grid {
        grid-template-columns: 1fr;
    }

    .layanan-card {

        padding: 20px;
    }
}

/* =====================================================
   LATEST POSTS SECTION (ARTIKEL TERBARU)
   ===================================================== */
.latest-posts-header {
    margin: 40px 0 30px;
}

.latest-posts-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0;
}

.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns per row by default */
    gap: 30px;
}

.post-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.post-card-thumbnail {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.post-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-thumbnail img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    margin-bottom: 12px;
}

.post-card-category {
    font-size: 0.85rem;
    color: #1a365d;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px 0;
    line-height: 1.4;
    flex-grow: 1;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
}

.post-card-title a:hover {
    color: #1d4ed8;
}

.post-card-btn {
    display: inline-block;
    align-self: flex-start;
    background-color: #facc15;
    /* Yellow */
    color: #0f172a;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.post-card-btn:hover {
    background-color: #eab308;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .latest-posts-grid {
        grid-template-columns: 1fr;
        /* 1 Column on mobile */
    }
}

/* =====================================================
   WHY CHOOSE US SECTION
   ===================================================== */
.why-us-section {
    padding: 80px 0;
    background-color: #fff;
}

.why-us-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Left Column: Image */
.why-us-image-col {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.why-us-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.why-us-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
}

/* Right Column: Content */
.why-us-content-col {
    flex: 1;
}

.why-us-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 40px;
}

.why-us-feature-item {
    margin-bottom: 30px;
}

.why-us-feature-item:last-child {
    margin-bottom: 0;
}

.why-us-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.why-us-feature-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .why-us-container {
        flex-direction: column;
        gap: 40px;
    }

    .why-us-image-col,
    .why-us-content-col {
        width: 100%;
    }

    .why-us-title {
        font-size: 1.75rem;
        text-align: center;
    }
}

/* =====================================================
   FOOTER STYLES
   ===================================================== */
.site-footer {
    background-color: #0f172a;
    /* Dark Blue */
    color: #cbd5e1;
    /* Light Gray Text */
    padding: 60px 0 20px;
    margin-top: 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-bottom: 40px;
}

/* Footer Headings */
.footer-heading {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

/* Brand Column */
.footer-brand {
    margin-bottom: 30px;
}

.footer-site-title {
    color: #fff;
    margin: 0 0 20px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 600px;
    color: #94a3b8;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Make logo white if possible */
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-contact-list .icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Services List */
.footer-service-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-service-list li {
    margin-bottom: 12px;
}

.footer-service-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-service-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Copyright */
.site-info {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    text-align: left;
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand-col,
    .footer-services-col {
        width: 100%;
    }
}

/* =====================================================
   SEARCH POPUP STYLES
   ===================================================== */

/* Search Toggle Button */
.search-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.search-toggle:hover {
    background-color: var(--bg-light);
    color: var(--accent);
}

.search-icon {
    width: 20px;
    height: 20px;
}

/* Modal Overlay */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-inner {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    position: relative;
    text-align: center;
}

/* Close Button */
.search-close {
    position: absolute;
    top: -100px;
    right: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 10px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.search-close:hover {
    color: #ef4444;
    /* Red hover */
    transform: rotate(90deg);
}

/* Search Form Styling */
.search-modal .search-form {
    width: 100%;
}

.search-modal .search-field {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    color: #1a365d;
    padding: 20px 0;
    outline: none;
    text-align: center;
    transition: border-color 0.3s ease;
}

.search-modal .search-field:focus {
    border-bottom-color: var(--accent);
}

.search-modal .search-field::placeholder {
    color: #cbd5e1;
}

.search-modal .search-submit {
    display: none;
    /* Hide submit button, press Enter to search */
}

/* Hide Search Icon on Mobile */
@media (max-width: 768px) {
    .search-toggle {
        display: none;
    }
}

/* =====================================================
   FLOATING WHATSAPP BUTTON
   ===================================================== */
.cleanlite-floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99990;
    /* Below search modal (99999) */
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Tooltip Label */
.cleanlite-wa-label {
    background-color: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Show label after delay or on hover */
.cleanlite-floating-wa:hover .cleanlite-wa-label {
    opacity: 1;
    transform: translateX(0);
}

/* Button */
.cleanlite-wa-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    /* WhatsApp Green */
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    animation: pulse-wa 2s infinite;
}

.cleanlite-wa-button:hover {
    background-color: #22c55e;
    transform: scale(1.1);
    animation: none;
    /* Stop pulse on hover */
}

.cleanlite-wa-button svg {
    width: 32px;
    height: 32px;
}

/* Pulse Animation */
@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Show label by default after load (optional animation class can be added via JS if needed) */
.cleanlite-wa-label {
    opacity: 1;
    transform: translateX(0);
}