/* --- Variabel Warna dan Font --- */
:root {
    --primary-bg: #303030; /* Background utama gelap (hitam) */
    --secondary-bg: #FFFFFF; /* Background bagian terang (putih) */
    --accent-yellow: #FED501; /* Warna aksen kuning */
    --text-dark: #303030; /* Teks gelap */
    --text-light: #FFFFFF; /* Teks terang */
    --text-gray: #FFFFFF; /* Teks abu-abu untuk body */
    --light-gray-bg: #F8F8F8; /* Background sangat terang untuk beberapa section */

    /* Warna spesifik dari gambar smco.co.id */
    --smco-green: #6CBE45;
    --smco-dark-bg: #30353A; /* Warna latar belakang footer */
    --smco-text-light-gray: #FFFFFF; /* Teks info footer */
    --smco-text-dark-gray: #FFFFFF; /* Teks copyright */

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --transition-speed: 0.3s ease-in-out;
}

/* --- Global Styling --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--secondary-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Mencegah horizontal scroll akibat berantakan */
}

/* Menambahkan kelas no-scroll untuk body, yang akan ditambahkan oleh JS */
body.no-scroll {
    overflow: hidden; /* Mencegah scrolling saat menu mobile terbuka */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Utilitas untuk teks tengah */
.text-center {
    text-align: center;
}

/* Utilitas untuk margin-top */
.mt-4 {
    margin-top: 1.5rem !important; /* Contoh: 1.5rem = 24px */
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.8em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--accent-yellow);
    transition: color var(--transition-speed);
}

a:hover {
    color: #FFC107;
}

.section-padding {
    padding: 80px 0;
}

.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9em;
    font-weight: 500;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed), border-color var(--transition-speed);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform var(--transition-speed);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--primary-bg);
    border: 2px solid var(--accent-yellow);
}

.btn-primary:hover {
    background-color: var(--primary-bg);
    color: var(--accent-yellow);
    border-color: var(--primary-bg);
}
.btn-primary:hover::before {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
}

.btn-secondary:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-bg);
}
.btn-secondary:hover::before {
    background-color: rgba(0, 0, 0, 0.1);
}

/* --- Header (Navbar) - Bentuk Pil --- */
header {
    position: fixed;
    top: 20px; /* Posisi top awal 20px dari atas */
    left: 50%;
    transform: translateX(-50%); /* Selalu di tengah horizontal */
    width: calc(100% - 40px); /* Lebar dikurangi margin di kanan-kiri */
    max-width: 1200px; /* Lebar maksimum seperti container */
    z-index: 1000;
    padding: 0;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed), backdrop-filter var(--transition-speed), width 0.5s ease-out;
    border-radius: 50px; /* Bentuk pil */
    overflow: hidden; /* Pastikan konten tidak meluber */
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); /* Bayangan default */
    background-color: rgba(48, 48, 48, 0.6); /* Latar belakang semi-transparan default */
    backdrop-filter: blur(10px); /* Efek blur default */
    -webkit-backdrop-filter: blur(10px);
    border: none; /* Menghilangkan border putih */
}

/* Saat di-scroll, bisa berubah atau tetap */
header.transparent-header {
    background-color: rgba(48, 48, 48, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
}

header.scrolled {
    background-color: rgba(48, 48, 48, 0.8);
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: none;
}

/* Kontainer internal navbar untuk layout */
.navbar-pill-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* Tinggi internal navbar */
    padding: 0 30px; /* Padding internal agar konten tidak menempel tepi */
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img { /* Styling untuk gambar logo PNG */
    height: 40px;
    width: auto;
    vertical-align: middle;
    object-fit: contain;
    max-width: 200px;
    animation: fadeInScale 1s ease-out forwards;
    transform: scale(0.9);
    opacity: 0;
    transition: all var(--transition-speed);
}
@keyframes fadeInScale {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center; /* Pusatkan menu di tengah */
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 12px;
    position: relative;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.85em; /* Ukuran default link navbar */
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-speed);
    padding: 5px 0;
    white-space: nowrap;
}

/* Garis bawah dinamis */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width var(--transition-speed), left var(--transition-speed), transform var(--transition-speed);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

/* Garis bawah untuk active link */
.nav-link.active-link::after {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

.nav-link:hover {
    color: var(--accent-yellow);
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-bg);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    z-index: 1;
    border-radius: 4px;
    padding: 5px 0;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), transform var(--transition-speed);
}

.dropdown-content a {
    color: var(--text-light);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    text-transform: none;
    font-size: 0.9em;
    font-weight: 400;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-yellow);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown a i {
    margin-left: 8px;
    font-size: 0.7em;
    vertical-align: middle;
    transition: transform var(--transition-speed);
}

.dropdown:hover a i {
    transform: rotate(180deg);
}

/* Bagian info di kanan navbar */
.navbar-right-info {
    display: flex;
    align-items: center;
    gap: 15px; /* Spasi antar item info */
    margin-left: 30px; /* Spasi dari menu */
}

.info-item-right {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity var(--transition-speed);
}

.info-item-right:hover {
    opacity: 1;
    color: var(--accent-yellow);
}

.info-item-right i {
    margin-right: 5px;
    font-size: 1.1em;
}

/* --- Mobile Navigation --- */
.menu-toggle {
    display: none; /* Sembunyikan di desktop */
    flex-direction: column;
    cursor: pointer;
    width: 28px;
    height: 18px;
    justify-content: space-between;
    margin-left: 20px; /* Spasi dari elemen kanan */
    z-index: 1001; /* Pastikan di atas overlay menu */
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Default state for mobile nav (hidden off-screen) */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(48, 48, 48, 0.95); /* Semi-transparan */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column; /* Item dalam kolom */
    justify-content: center; /* Pusatkan secara vertikal */
    align-items: center; /* Pusatkan secara horizontal */
    transform: translateX(100%); /* Sembunyikan di luar layar */
    transition: transform 0.4s ease-out;
    border-radius: 0;
    overflow-y: auto;
    z-index: 999;
    display: none; /* Sembunyikan secara default */
}

/* State saat menu mobile aktif (visible on-screen) */
nav.active {
    transform: translateX(0); /* Munculkan menu */
    display: flex; /* Tampilkan menu (penting!) */
}


/* Media query untuk desktop: sembunyikan hamburger dan tampilkan nav */
@media (min-width: 769px) { /* Adjust breakpoint as needed */
    nav {
        position: relative; /* Reset position for desktop */
        transform: translateX(0); /* Ensure visible on desktop */
        background-color: transparent; /* Reset background for desktop */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        display: flex; /* Display as flex on desktop */
        flex-direction: row; /* Row direction on desktop */
        height: auto;
        overflow-y: visible;
        z-index: auto;
    }
    .menu-toggle {
        display: none; /* Sembunyikan hamburger di desktop */
    }
}

/* Media query untuk mobile: tampilkan hamburger dan atur nav default */
@media (max-width: 768px) { /* Ini adalah breakpoint untuk mobile */
    .menu-toggle {
        display: flex; /* Tampilkan hamburger di mobile */
    }
    /* NAV MOBILE DEFAULT STATE (TERSEMBUNYI) */
    nav:not(.active) { /* Saat tidak aktif, pastikan tersembunyi sepenuhnya */
        display: none; /* Menyembunyikan menu saat tidak aktif */
    }
    nav.active { /* Hanya tampilkan jika aktif */
        display: flex; /* Menampilkan menu saat aktif */
    }
}


nav.active ul {
    flex-direction: column;
    text-align: center;
}

nav.active ul li {
    margin: 20px 0;
}

nav.active ul li a {
    font-size: 1.8em;
    color: var(--text-light);
}

/* --- HERO SECTION --- */
.hero-section-kap {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding-bottom: 80px;
    padding-left: 80px;
    text-align: left;
    color: var(--text-light);
    overflow: hidden;
    background-image: url('gedung.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efek parallax */
    z-index: 1; /* Di atas section selanjutnya */
    margin-bottom: 0; /* Menghilangkan spasi putih di bawah hero section */
}

/* Pseudo-elemen ::before tidak digunakan untuk gambar */
.hero-section-kap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay-kap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 20%, rgba(0, 0, 0, 0) 80%);
    z-index: 1;
}

.hero-content-kap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    max-width: 600px;
    color: var(--text-light);
}

/* Animasi Fade-in untuk teks hero */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInText 1s ease-out forwards;
}

.main-title-kap {
    font-family: var(--font-heading);
    font-size: 5em;
    font-weight: 700;
    color: var(--text-light);
    line-height: 0.9;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    animation-delay: 0.3s;
}

.subtitle-kap {
    font-family: var(--font-heading);
    font-size: 3em;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    animation-delay: 0.6s;
}

.tagline-kap {
    font-family: var(--font-body);
    font-size: 1.3em;
    color: var(--accent-yellow);
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation-delay: 0.9s;
}

/* Keyframe untuk animasi teks hero */
@keyframes slideInText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- WHATSAPP FLOAT BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px; /* Diatur ke kiri sesuai gambar terakhir yang relevan */
    right: auto; /* Menonaktifkan properti 'right' jika diatur sebelumnya */
    background-color: #25D366; /* WhatsApp green */
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 1.5em; /* Ukuran ikon */
    line-height: 60px; /* Pusatkan ikon vertikal */
    z-index: 1000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.whatsapp-float i {
    vertical-align: middle; /* Memastikan ikon di tengah */
}

.whatsapp-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #FF0000; /* Warna notifikasi merah */
    color: #FFF;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 0.7em;
    font-weight: bold;
    display: none; /* Sembunyikan notifikasi jika tidak ada */
}


/* --- SECTION 2 - SERVICES HORIZONTAL LAYOUT (BRIGHT BACKGROUND & TEXTURED) --- */
.services-horizontal-section {
    background-color: var(--secondary-bg); /* Latar belakang CERAH (putih) */
    color: var(--text-dark); /* Teks di section menjadi gelap */
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}
/* Background Tekstur untuk Section 2 */
.services-horizontal-section.textured-bg {
    background-image: url('image_6fea98.png'); /* Ganti dengan path gambar tekstur Anda */
    background-repeat: repeat; /* Ulangi tekstur */
    background-size: auto; /* Ukuran asli tekstur */
    background-position: center;
    background-attachment: fixed; /* Efek Parallax */
}


.services-horizontal-section .section-subtitle {
    color: var(--accent-yellow); /* Subtitle tetap kuning aksen */
}

.section-title-horizontal-services {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 700;
    color: var(--text-dark); /* Judul utama menjadi gelap */
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.services-cards-horizontal-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.service-card-horizontal {
    /* Efek Blurry Glass pada background cerah */
    background-color: rgba(255, 255, 255, 0.85); /* Latar belakang kartu putih transparan */
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    backdrop-filter: blur(8px); /* Efek blur yang sesuai untuk background cerah */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05); /* Border gelap transparan */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); /* Bayangan umum lembut */
    transition: transform var(--transition-speed), background-color var(--transition-speed), box-shadow var(--transition-speed);
    color: var(--text-dark); /* Teks di dalam kartu menjadi gelap */
    flex: 1 1 calc(25% - 22.5px);
    min-width: 200px;
    max-width: 280px;
}

.service-card-horizontal:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.95); /* Lebih solid putih saat hover */
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
}

.card-icon-horizontal {
    width: 60px;
    height: 60px;
    /* Latar belakang ikon menggunakan warna aksen kuning */
    background-color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background-color var(--transition-speed);
}

.service-card-horizontal:hover .card-icon-horizontal {
    background-color: var(--primary-bg); /* Saat hover kartu, ikon menjadi gelap */
}

.card-icon-horizontal i {
    font-size: 2.2em;
    /* Warna ikon menjadi warna utama gelap Anda */
    color: var(--primary-bg);
    text-shadow: none;
    transition: color var(--transition-speed);
}

.service-card-horizontal:hover i {
    color: var(--accent-yellow); /* Saat hover kartu, ikon menjadi kuning */
}

.service-card-horizontal h3 {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-dark); /* Judul kartu menjadi gelap */
    margin-bottom: 10px;
}

.service-card-horizontal p {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--text-gray); /* Deskripsi kartu menjadi abu-abu */
    margin-bottom: 0;
}

/* --- SECTION 3 - ABOUT US - NEW MODERN LAYOUT WITH Visi, Misi, Nilai (DARK BACKGROUND) --- */
.about-magazine-section {
    background-color: var(--primary-bg); /* Latar belakang GELAP */
    color: var(--text-light); /* Teks di section menjadi putih */
    padding: 100px 0;
    font-family: var(--font-heading);
    overflow: hidden;
}

.about-header-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 25px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light); /* Teks header bar menjadi putih */
}
.creative-tag {
    color: var(--accent-yellow);
}
.company-name-small {
    opacity: 0.7;
}


.about-module-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.about-module {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px; /* Jarak antar modul */
    padding: 0 25px; /* Padding sisi horizontal */
}

/* Aturan untuk modul ganjil (1 dan 3) - Teks Kiri, Gambar Kanan */
.about-module-top,
.about-module-bottom {
    flex-direction: row;
}

/* Aturan untuk modul genap (2) - Gambar Kiri, Teks Kanan */
.about-module-middle {
    flex-direction: row; /* TETAP ROW untuk desktop: Gambar di kiri, Teks di kanan */
}

.module-content {
    flex: 1;
    padding: 40px; /* Padding di sekitar konten teks */
    background-color: rgba(255, 255, 255, 0.08); /* Latar belakang kotak teks transparan di atas gelap */
    color: var(--text-light); /* Teks putih di kotak teks */
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative; /* Untuk tag detail */
    z-index: 1; /* Pastikan di atas gambar di beberapa kasus */
    backdrop-filter: blur(10px); /* Efek blur untuk glassmorphism */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border putih transparan */
}

.module-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 350px; /* Tinggi minimum untuk gambar */
}

.module-image-container img {
    width: 100%;
    height: auto;
    max-height: 500px; /* Batasi tinggi gambar */
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Gaya Judul Modul */
.module-title {
    font-size: 3.5em; /* Ukuran font sangat besar */
    font-weight: 900; /* Sangat tebal */
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-light); /* Judul putih */
    letter-spacing: -2px; /* Lebih rapat */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

.module-content p {
    font-family: var(--font-body);
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8); /* Teks deskripsi lebih lembut */
    margin-bottom: 15px;
}
.module-content p:last-child {
    margin-bottom: 0;
}

.mission-list, .values-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.mission-list li, .values-list li {
    font-family: var(--font-body);
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}
.mission-list li::before, .values-list li::before {
    content: '\2022'; /* Bullet point unicode */
    color: var(--accent-yellow); /* Bullet point kuning */
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}
.values-list li b {
    color: var(--accent-yellow); /* Bold text dalam nilai-nilai kuning */
}


/* Tag Detail di Sudut Konten */
.content-detail-tag {
    position: absolute;
    bottom: -15px; /* Geser sedikit ke luar kotak */
    right: 40px; /* Posisi di kanan bawah */
    background-color: var(--accent-yellow);
    color: var(--primary-bg);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 2; /* Pastikan di atas elemen lain */
}


/* Efek Overlay / Corner Design pada Gambar */
.image-corner-accent {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--accent-yellow); /* Kotak kuning di sudut */
    border-radius: 10px;
    z-index: 1;
    opacity: 0.8;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.module-image-container:hover .image-corner-accent {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

.image-corner-accent.top-left { top: -15px; left: -15px; }
.image-corner-accent.top-right { top: -15px; right: -15px; }
.image-corner-accent.bottom-left { bottom: -15px; left: -15px; }
.image-corner-accent.bottom-right { bottom: -15px; right: -15px; }

/* Lingkaran Overlay pada Gambar */
.image-circle-overlay {
    position: absolute;
    width: 100px; /* Ukuran lingkaran */
    height: 100px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1); /* Warna transparan */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    transform: translate(-50%, -50%); /* Pusatkan */
    left: 50%;
    top: 50%;
    opacity: 0; /* Sembunyikan secara default */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    pointer-events: none; /* Agar tidak menghalangi klik pada gambar */
}
.module-image-container:hover .image-circle-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2); /* Membesar saat hover */
}


/* --- TAX TOOL SECTION - PPH 21 CALCULATOR --- */
.tax-tool-section {
    background-color: var(--accent-yellow); /* Latar belakang KUNING PT MAS */
    color: var(--primary-bg); /* Teks gelap di atas kuning */
    padding: 100px 0;
}

.tax-tool-title {
    font-family: var(--font-heading);
    font-size: 3em; /* Sedikit lebih kecil dari header section gelap */
    font-weight: 800;
    color: var(--primary-bg); /* Judul gelap */
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Sedikit bayangan teks */
}

.tax-tool-description {
    font-family: var(--font-body);
    font-size: 1.1em;
    color: rgba(48, 48, 48, 0.9); /* Teks deskripsi agak gelap */
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.pph21-calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dua kolom di desktop */
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: flex-start;
}

.calculator-form-card,
.calculator-result-card {
    background-color: var(--secondary-bg); /* Latar belakang kartu putih */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* Bayangan lembut */
    border: 1px solid var(--light-gray-bg); /* Border halus */
    color: var(--text-dark); /* Teks di kartu gelap */
}

.calculator-form-card h3,
.calculator-result-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-bg); /* Judul kartu gelap */
    margin-bottom: 25px;
    text-align: left;
}

.form-group-pph21 {
    margin-bottom: 20px;
    text-align: left;
}

.form-group-pph21 label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95em;
    color: var(--text-dark); /* Label gelap */
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group-pph21 input[type="number"],
.form-group-pph21 select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--text-gray); /* Border input abu-abu */
    border-radius: 8px;
    background-color: var(--secondary-bg); /* Background input putih */
    color: var(--text-dark); /* Teks input gelap */
    font-family: var(--font-body);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none; /* Menghilangkan styling default browser pada select */
    -moz-appearance: none;
    appearance: none;
}

.form-group-pph21 select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23303030'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); /* Custom arrow untuk select (gelap) */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    padding-right: 30px; /* Ruang untuk arrow */
}

.form-group-pph21 input::placeholder,
.form-group-pph21 select::placeholder {
    color: var(--text-gray);
    opacity: 0.7;
}

.form-group-pph21 input[type="number"]:focus,
.form-group-pph21 select:focus {
    border-color: var(--primary-bg); /* Kuning saat fokus */
    box-shadow: 0 0 0 3px rgba(48, 48, 48, 0.2); /* Bayangan fokus gelap */
    outline: none;
}

.calculate-button,
.reset-button {
    background-color: var(--primary-bg); /* Tombol gelap */
    color: var(--accent-yellow); /* Teks kuning */
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 15px;
}

.calculate-button:hover {
    background-color: var(--text-dark); /* Lebih gelap saat hover */
    color: var(--accent-yellow);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.reset-button {
    background-color: var(--text-gray); /* Reset button abu-abu */
    color: var(--text-light); /* Teks putih */
}
.reset-button:hover {
    background-color: #303030;
    transform: translateY(-2px);
}


.calculator-result-card {
    text-align: left;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray-bg); /* Garis pemisah abu-abu terang */
}
.result-item:last-child {
    border-bottom: none;
}

.result-item span:first-child {
    font-family: var(--font-body);
    color: var(--text-dark); /* Label gelap */
    font-size: 0.95em;
}
.result-item span:last-child {
    font-family: var(--font-heading);
    color: var(--text-dark); /* Hasil gelap */
    font-size: 1em;
    font-weight: 600;
}

.result-item.highlight span {
    color: var(--primary-bg) !important; /* Highlight jadi primary-bg (gelap) */
    font-weight: 700;
}
.result-item.final-result span {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--primary-bg); /* Final result sangat gelap/primary-bg */
    padding-top: 10px;
    border-top: 1px solid var(--primary-bg); /* Border atas primary-bg */
}


/* --- NEW CTA BAR - "Consult Now!" (BRIGHT BACKGROUND) --- */
.consult-now-cta-bar {
    background-color: var(--secondary-bg); /* Latar belakang putih cerah */
    padding: 30px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    border-top: 1px solid var(--light-gray-bg); /* Garis pemisah atas */
    border-bottom: 1px solid var(--light-gray-bg); /* Garis pemisah bawah */
    /* Menghapus background-image untuk membuatnya putih cerah */
    background-image: none; /* Pastikan tidak ada gambar tekstur di sini */
    background-attachment: scroll; /* Mengatasi potensi parallax jika sebelumnya ada */
}

.consult-now-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px; /* Sesuaikan lebar agar lebih lebar dari container */
    width: 100%;
    padding: 0 25px;
}

.consult-now-title {
    font-family: var(--font-heading);
    font-size: 3em;
    font-weight: 800;
    color: var(--text-dark); /* Teks gelap */
    margin: 0;
    letter-spacing: -1px;
}

.consult-now-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-yellow); /* Latar belakang kuning */
    color: var(--primary-bg); /* Teks gelap */
    padding: 15px 30px;
    border-radius: 50px; /* Bentuk pil */
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(254, 213, 1, 0.3);
}

.consult-now-button:hover {
    background-color: var(--primary-bg); /* Hitam saat hover */
    color: var(--accent-yellow); /* Kuning saat hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.consult-now-button i {
    font-size: 1.2em;
    color: var(--primary-bg); /* Ikon gelap */
    transition: color 0.3s ease;
}
.consult-now-button:hover i {
    color: var(--accent-yellow); /* Ikon kuning saat hover */
}


/* --- CONTACT FOOTER CUSTOM (Sesuai Screenshot 2025-06-07 124028.jpg) --- */
.contact-footer-custom {
    background-image: url('gedung.jpg'); /* Ganti dengan path gambar gedung Anda */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efek Parallax */
    padding: 60px 0 20px 0;
    position: relative;
    color: var(--text-light); /* Default text color white */
}

.contact-footer-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(48, 53, 58, 0.85); /* Dark overlay */
    z-index: 0;
}

.contact-footer-grid, .contact-footer-copyright {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.contact-footer-grid {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr; /* Logo, Contact, Quick Links, Follow Us */
    gap: 20px; /* Reduced gap */
    align-items: flex-start;
    padding-top: 15px; /* Add padding top to align with image */
}

.footer-logo-custom {
    display: flex;
    justify-content: flex-start; /* Align to start for logo */
    align-items: flex-start;
}

.footer-logo-custom img {
    height: 40px; /* Ukuran logo, disesuaikan agar lebih besar dan sesuai referensi */
    width: auto;
    object-fit: contain;
}

.contact-info-col,
.quick-links-col,
.follow-us-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-info-col h3,
.quick-links-col h3,
.follow-us-col h3 {
    font-family: var(--font-heading);
    font-size: 1.1em; /* Smaller heading */
    font-weight: bold;
    color: var(--text-light); /* White color for headings */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-col ul,
.quick-links-col ul,
.follow-us-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-col li {
    font-family: var(--font-body);
    font-size: 0.9em;
    color: #a0a5aa; /* Light gray text */
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start; /* Align icon and text at start */
    gap: 10px;
}

.contact-info-col li i {
    color: var(--text-light); /* Ikon menjadi putih */
    font-size: 0.8em; /* Slightly smaller icon */
    margin-top: 3px; /* Adjust vertical alignment */
}

.contact-info-col li a {
    color: #a0a5aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-col li a:hover {
    color: var(--accent-yellow);
}

.quick-links-col ul li {
    margin-bottom: 6px; /* Slightly tighter spacing */
}

.quick-links-col ul li a {
    font-family: var(--font-body); /* Using body font for quick links as per image */
    font-size: 0.9em;
    color: #a0a5aa;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.quick-links-col ul li i {
    color: var(--text-light); /* Ikon menjadi putih */
    font-size: 0.6em; /* Smaller play icon */
    margin-right: 8px;
}

.quick-links-col ul li a:hover {
    color: var(--accent-yellow);
}

.follow-us-col ul li {
    font-family: var(--font-body);
    font-size: 0.9em;
    color: #a0a5aa;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.follow-us-col ul li i {
    color: var(--text-light); /* Ikon menjadi putih */
    font-size: 0.9em;
}

.contact-footer-copyright {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.8em; /* Slightly smaller font for copyright */
    color: #515458; /* Darker gray copyright text */
    padding-top: 20px; /* Adjusted padding */
    margin-top: 20px; /* Adjusted margin */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* --- RESPONSIVE FOOTER (CUSTOM) --- */
@media (max-width: 992px) {
    .contact-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-custom {
        justify-content: center;
        margin-bottom: 20px;
    }
    .contact-info-col,
    .quick-links-col,
    .follow-us-col {
        align-items: center;
    }
    .contact-info-col li,
    .quick-links-col li,
    .follow-us-col li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* General Mobile Adjustments */
    body {
        /* overflow-x: hidden; sudah ada di global, memastikan lagi */
    }
    .container {
        padding: 0 15px; /* Kurangi padding container di mobile */
    }
    .section-padding {
        padding: 60px 0; /* Kurangi padding section di mobile */
    }

    /* Header */
    header {
        top: 10px;
        width: calc(100% - 20px);
    }
    .navbar-pill-container {
        padding: 0 15px;
        height: 50px;
    }
    .logo-img { height: 35px; }
    .menu-toggle { display: flex; margin-left: auto; } /* Tampilkan hamburger */
    nav:not(.active) { /* Sembunyikan nav saat tidak aktif */
        display: none;
    }
    nav.active { /* Tampilkan nav saat aktif */
        display: flex;
    }


    /* Hero Section */
    .hero-section-kap {
        padding-bottom: 40px;
        padding-left: 20px; /* Kurangi padding kiri */
        /* Tambahkan align-items: center; dan text-align: center; jika ingin teks hero di tengah */
        align-items: center;
        text-align: center;
    }
    .hero-content-kap {
        max-width: 100%; /* Izinkan teks menggunakan lebar penuh */
        align-items: center; /* Pusatkan konten hero */
    }
    .main-title-kap { font-size: 2.8em; line-height: 1.1; margin-bottom: 10px; } /* Lebih kecil di mobile */
    .subtitle-kap { font-size: 1.8em; margin-bottom: 15px; }
    .tagline-kap { font-size: 0.9em; line-height: 1.4; }

    /* Services Section */
    .section-title-horizontal-services {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .services-cards-horizontal-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .service-card-horizontal {
        min-width: 100%; /* Lebar kartu hampir penuh */
        padding: 20px;
        align-items: center; /* Pusatkan konten kartu di mobile */
        text-align: center;
    }
    .service-card-horizontal h3 {
        font-size: 1.3em;
    }
    .service-card-horizontal p {
        font-size: 0.9em;
    }
    .card-icon-horizontal {
        margin-bottom: 10px; /* Kurangi margin ikon */
    }

    /* About Us Section */
    .about-header-top-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 30px;
    }
    .about-module {
        flex-direction: column !important;
        gap: 20px;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    .module-content {
        padding: 20px;
        text-align: center; /* Pusatkan teks konten modul di mobile */
    }
    .module-title {
        font-size: 2em; /* Kecilkan judul modul */
        letter-spacing: -0.5px;
    }
    .module-content p, .mission-list li, .values-list li {
        font-size: 0.9em;
        text-align: center; /* Pusatkan teks list di mobile */
    }
    /* Untuk list item dengan ikon, atur ulang posisi agar tetap rapi */
    .mission-list li, .values-list li {
        padding-left: 0;
        text-indent: 0;
        display: block; /* Agar setiap li menjadi blok penuh dan bisa di-text-align center */
    }
    .mission-list li::before, .values-list li::before {
        position: static; /* Kembali ke posisi normal */
        display: inline-block; /* Agar bullet point tetap di baris yang sama */
        margin-right: 5px; /* Spasi setelah bullet */
    }
    .image-corner-accent {
        width: 40px;
        height: 40px;
        top: -5px;
        left: -5px;
    }
    .image-circle-overlay {
        width: 60px;
        height: 60px;
    }

    /* Tax Tool Section */
    .tax-tool-title {
        font-size: 2em;
    }
    .tax-tool-description {
        font-size: 0.9em;
        max-width: 90%;
        margin-bottom: 30px;
    }
    .pph21-calculator-wrapper {
        grid-template-columns: 1fr; /* Satu kolom di mobile */
        gap: 20px;
    }
    .calculator-form-card,
    .calculator-result-card {
        padding: 20px;
    }
    .calculator-form-card h3,
    .calculator-result-card h3 {
        font-size: 1.3em;
    }
    .form-group-pph21 label,
    .form-group-pph21 input,
    .form-group-pph21 select,
    .calculate-button,
    .reset-button {
        font-size: 0.8em;
        padding: 10px 12px;
    }
    .result-item span:first-child {
        font-size: 0.8em;
    }
    .result-item span:last-child {
        font-size: 0.9em;
    }
    .result-item.final-result span {
        font-size: 1em;
    }

    /* CTA Bar (Consult Now) */
    .consult-now-content {
        flex-direction: column;
        gap: 20px;
    }
    .consult-now-title {
        font-size: 1.8em;
    }
    .consult-now-button {
        padding: 10px 20px;
        font-size: 0.8em;
    }

    /* Footer / Contact Section */
    .contact-footer-grid {
        gap: 20px;
    }
    .footer-logo-custom img {
        height: 40px; /* Ukuran logo di mobile */
    }
    .contact-info-col h3,
    .quick-links-col h3,
    .follow-us-col h3 {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    .contact-info-col li,
    .quick-links-col li,
    .follow-us-col li {
        font-size: 0.75em;
        margin-bottom: 5px;
    }
    .contact-footer-copyright {
        font-size: 0.6em;
        padding-top: 10px;
        margin-top: 10px;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        width: 40px;
        height: 40px;
        bottom: 15px;
        left: 15px;
        font-size: 1.1em;
        line-height: 40px;
    }
    .whatsapp-notification {
        width: 14px;
        height: 14px;
        font-size: 0.5em;
    }
}