/* Custom CSS untuk Frontend Pusdako */

:root {
    --primary-color: #dc3545;
    --secondary-color: #c82333;
    --text-color: #333;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Padding bottom untuk mobile agar tidak tertutup bottom nav */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
    
    .mobile-footer-spacer {
        margin-bottom: 60px !important;
    }
}

* {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Banner Section */
.banner-section {
    position: relative;
    overflow: hidden;
}

/* Hero Section Banner Carousel */
.hero-section-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-section-banner .carousel {
    width: 100%;
}

.hero-section-banner .carousel-inner {
    width: 100%;
}

.hero-section-banner .banner-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-section-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-section-banner .banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section-banner .banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-section-banner .banner-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-section-banner .banner-button {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-section-banner .banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Default Hero Section (when no banners) */
.hero-section-default {
    min-height: 600px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 5rem 0;
    display: flex;
    align-items: center;
}

.hero-section-default .stat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.banner-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.8) 0%, rgba(200, 35, 51, 0.8) 100%);
    z-index: 1;
}

.banner-slide .container {
    position: relative;
    z-index: 2;
}

.min-vh-50 {
    min-height: 500px;
}

.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators li:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicators .active {
    background-color: #fff;
    width: 30px;
    border-radius: 6px;
}

.hero-section-banner .carousel-control-prev,
.hero-section-banner .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-section-banner .carousel-control-prev:hover,
.hero-section-banner .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.4);
}

.hero-section-banner .carousel-control-prev {
    left: 30px;
}

.hero-section-banner .carousel-control-next {
    right: 30px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Responsive Banner */
@media (max-width: 768px) {
    .hero-section-banner .banner-slide {
        min-height: 450px;
    }
    
    .hero-section-banner .banner-title {
        font-size: 2rem;
    }
    
    .hero-section-banner .banner-description {
        font-size: 1rem;
    }
    
    .hero-section-banner .banner-content {
        padding: 2rem 1rem;
    }
    
    .hero-section-default {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .banner-slide {
        min-height: 400px;
    }
    
    .min-vh-50 {
        min-height: 400px;
    }
    
    .banner-slide h1 {
        font-size: 2rem;
    }
    
    .banner-slide .lead {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-img-top {
    border-radius: 10px 10px 0 0;
}

/* Hero Banner Cards - Clean & Functional */
.hero-banner-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 400px;
    cursor: pointer;
    border-radius: 12px;
}

/* Ensure background image is visible */
.hero-banner-card[style*="background-image"] {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
    transition: background 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

.hero-banner-card:hover .hero-banner-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

/* Hero Card Content - Clean & Functional */
.hero-card-content {
    position: relative;
    z-index: 2;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    height: 100%;
    min-height: 400px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    color: #ffffff !important;
    padding: 2rem !important;
    box-sizing: border-box;
    width: 100%;
}

/* Hero Card Title */
.hero-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.3;
}

/* Hero Card Description */
.hero-card-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 500px;
}

/* Hero Card Button */
.hero-card-button {
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Default Icon */
.hero-default-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0.95;
}

/* Hero Card Number (for default cards) */
.hero-card-number {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
}

/* Override Bootstrap card body for hero banners */
.hero-banner-card .card-body,
.hero-default-card .card-body,
.card-swap-container .card .card-body {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Ensure cards don't have white background */
.card-swap-container .card {
    background-color: transparent !important;
}

/* Remove any pseudo-elements that might add background */
.hero-banner-card .card-body::before,
.hero-banner-card .card-body::after,
.hero-default-card .card-body::before,
.hero-default-card .card-body::after {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-card-content {
        min-height: 300px;
        padding: 1.5rem;
    }
    
    .hero-card-title {
        font-size: 1.5rem;
    }
    
    .hero-card-description {
        font-size: 0.9rem;
    }
    
    .hero-default-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .hero-card-number {
        font-size: 2.5rem;
    }
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-danger:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

/* Forms */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background-color: var(--primary-color);
    color: white;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* GLOBAL RESET - Fix semua masalah layout */
* {
    box-sizing: border-box !important;
}

body {
    overflow-x: hidden !important;
    position: relative !important;
}

.container {
    max-width: 1140px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.row {
    margin-left: -15px !important;
    margin-right: -15px !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.row::before,
.row::after {
    display: none !important;
    content: none !important;
}

[class*="col-"] {
    position: relative !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* Homepage Sections Fix - RESET & FIX */
.home-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    clear: both !important;
    overflow: hidden;
    position: relative;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    z-index: 1;
}

.home-section .container {
    max-width: 1140px !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Fix untuk semua section */
section {
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
    overflow: hidden !important;
}

section .container {
    position: relative !important;
    z-index: 1 !important;
}

section .row {
    position: relative !important;
    z-index: 1 !important;
}

section .card {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
}

/* Row styling untuk sections - menggunakan Bootstrap standard */
.info-section .row,
.chart-section .row,
.berita-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
}

/* Statistics section menggunakan standard Bootstrap grid - no override */

/* Fix Bootstrap Grid untuk semua halaman */
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    position: relative !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    float: none !important;
    box-sizing: border-box !important;
}

@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; }
    .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Statistics Section - Single Clean Grid Definition */
.statistics-section {
    position: relative;
}

.statistics-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.statistics-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.statistics-section .col-lg-4,
.statistics-section .col-md-4 {
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 2rem;
}

.statistics-section .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.statistics-section .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Other sections */
.berita-section .col-lg-4,
.berita-section .col-md-6 {
    margin-bottom: 2rem;
}

.info-section .card,
.chart-section .card,
.berita-section .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.berita-section .card-body {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column !important;
}

/* Fix untuk card image */
.berita-section .card-img-top {
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: cover !important;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .statistics-section .col-lg-4,
    .statistics-section .col-md-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .berita-section .col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .info-section .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .banner-section {
        min-height: 300px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .statistics-section .col-lg-4,
    .statistics-section .col-md-4,
    .statistics-section .col-md-6,
    .berita-section .col-lg-4,
    .berita-section .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
    
    .info-section .col-lg-6,
    .info-section .col-md-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* ============================================
   FIX SEMUA MASALAH LAYOUT - PASTIKAN RAPI & CENTER
   ============================================ */

/* Fix untuk semua halaman - Pastikan tidak ada elemen yang saling tindih */
section {
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
    overflow: visible !important;
    width: 100% !important;
}

section .container {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* CENTER SEMUA JUDUL HALAMAN */
section h1,
section .display-4,
section .display-5 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

section h1.text-center,
section .display-4.text-center,
section .display-5.text-center {
    text-align: center !important;
}

/* CENTER SEMUA ALERT */
section .alert {
    text-align: left !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
}

/* CENTER SEMUA FORM */
section form {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* CENTER SEMUA CARD */
section .card {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* CENTER SEMUA TABLE */
section .table-responsive {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* CENTER SEMUA ROW */
section .row {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
}

/* CENTER KONTEN DI DALAM COLUMN - Hanya untuk col-12 yang berisi judul */
section > .container > .row > .col-12:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Tapi biarkan konten di dalam col-md-8, col-md-10, col-lg-8 tetap left align */
section .col-md-8,
section .col-md-10,
section .col-lg-8,
section .col-md-6,
section .col-lg-6,
section .col-md-4,
section .col-lg-4 {
    align-items: flex-start !important;
}

/* CENTER SEMUA BUTTON DALAM FORM */
section form .btn,
section .btn-center {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

section form .btn-block {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* CENTER PAGINATION */
section .pagination {
    justify-content: center !important;
}

/* CENTER BREADCRUMB */
section .breadcrumb {
    justify-content: flex-start !important;
}

/* FIX UNTUK MEMASTIKAN SEMUA HALAMAN CENTER & RAPI */
section {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
}

section .container {
    display: block !important;
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Memastikan row tidak overflow */
section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Memastikan semua konten dalam container center */
section .container > h1,
section .container > .display-4,
section .container > .display-5 {
    text-align: center !important;
    margin: 0 auto 2rem auto !important;
    display: block !important;
    width: 100% !important;
}

/* Fix untuk direktori - table harus center */
section .table-responsive {
    width: 100% !important;
    margin: 0 auto !important;
}

/* Fix untuk form - harus center tapi konten tetap left */
section form {
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix untuk card yang menggunakan mx-auto */
section .mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Memastikan text-center bekerja */
.text-center {
    text-align: center !important;
}

/* Fix form */
.form-group {
    margin-bottom: 1rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.form-control {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Fix alert */
.alert {
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 1rem !important;
}

/* Fix untuk direktori page - table */
section .table-responsive {
    position: relative !important;
    z-index: 1 !important;
    background: #fff !important;
    overflow-x: auto !important;
}

section .table {
    position: relative !important;
    z-index: 1 !important;
    background: #fff !important;
}

/* Fix untuk semua card */
section .card {
    position: relative !important;
    z-index: 1 !important;
    background: #fff !important;
    margin-bottom: 1.5rem !important;
}

/* Fix untuk profil page */
section .row {
    position: relative !important;
    z-index: 1 !important;
}

/* Fix untuk pendaftaran page */
section form {
    position: relative !important;
    z-index: 1 !important;
}

/* Pastikan semua elemen tidak keluar dari container */
section * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Fix untuk kontak page - form */
section .card .card-body {
    position: relative !important;
    z-index: 1 !important;
}

/* Pastikan tidak ada elemen dengan z-index tinggi yang mengganggu */
*[style*="z-index"] {
    z-index: 1 !important;
}

/* Fix untuk berita page */
section .col-lg-8,
section .col-lg-4 {
    position: relative !important;
    z-index: 1 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ============================================
   GLOBAL PAGE LAYOUT IMPROVEMENTS
   ============================================ */

/* Page Section Base Styles */
.page-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
    min-height: calc(100vh - 200px);
}

.page-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Consistent Card Styles */
.page-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.page-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.page-card .card-header {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 12px 12px 0 0;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.page-card .card-body {
    padding: 2rem;
}

/* Professional Card Body Padding - Lebih Lebar */
.card-body.p-4.p-lg-5 {
    padding: 2.5rem !important;
}

@media (min-width: 992px) {
    .card-body.p-4.p-lg-5 {
        padding: 4.5rem !important;
    }
}

/* Lebih lebar untuk tampilan profesional pada page-card */
.page-card .card-body.p-4.p-lg-5 {
    padding: 3rem !important;
}

@media (min-width: 992px) {
    .page-card .card-body.p-4.p-lg-5 {
        padding: 5rem !important;
    }
    
    /* Padding 1rem untuk grafik di col-12 dan col-lg-6 */
    .col-12 .page-card .card-body.p-4.p-lg-5,
    .col-12 .card-body.p-4.p-lg-5,
    .col-lg-6 .page-card .card-body.p-4.p-lg-5,
    .col-lg-6 .card-body.p-4.p-lg-5 {
        padding: 1rem !important;
    }
}

@media (min-width: 1200px) {
    .page-card .card-body.p-4.p-lg-5 {
        padding: 5.5rem !important;
    }
    
    /* Padding 1rem untuk grafik di col-12 dan col-lg-6 */
    .col-12 .page-card .card-body.p-4.p-lg-5,
    .col-12 .card-body.p-4.p-lg-5,
    .col-lg-6 .page-card .card-body.p-4.p-lg-5,
    .col-lg-6 .card-body.p-4.p-lg-5 {
        padding: 1rem !important;
    }
}

/* Chart Container dalam card-body yang lebih lebar */
.card-body.p-4.p-lg-5 .chart-container {
    min-height: 400px;
    height: 400px;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .card-body.p-4.p-lg-5 .chart-container {
        min-height: 450px;
        height: 450px;
    }
}

/* Chart Container mengikuti col-12 - Lebar penuh */
.col-12 .chart-container,
[class*="col-"] .chart-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0;
    margin: 0;
}

.col-12 .chart-container canvas,
[class*="col-"] .chart-container canvas {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}

/* Pastikan card-body tidak membatasi lebar chart */
.card-body .chart-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible;
}

/* Responsive chart container */
@media (max-width: 768px) {
    .chart-container {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Consistent Form Styles */
.page-form {
    max-width: 100%;
}

.page-form .form-group {
    margin-bottom: 1.5rem;
}

.page-form label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.page-form .form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.page-form .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Consistent Table Styles */
.page-table {
    margin-bottom: 0;
}

.page-table thead {
    background: #dc3545;
    color: white;
}

.page-table thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.page-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #f0f0f0;
}

.page-table tbody tr:hover {
    background: #f8f9fa;
}

/* Consistent Spacing */
.section-spacing {
    margin-bottom: 3rem;
}

.section-spacing:last-child {
    margin-bottom: 0;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: #dc3545;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Alert Improvements */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.alert i {
    margin-right: 0.5rem;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .page-section {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-card .card-body {
        padding: 1.5rem;
    }

    .page-table {
        font-size: 0.875rem;
    }

    .page-table thead th,
    .page-table tbody td {
        padding: 0.75rem 0.5rem;
    }
}

/* Image Improvements */
.card-img-top,
.article-image {
    border-radius: 12px 12px 0 0;
    object-fit: cover;
}

.article-image {
    width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-weight: 400;
    color: #666;
}

/* ============================================
   HOME PAGE LAYOUT - CLEAN & CONSISTENT
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    overflow: hidden;
    padding: 5rem 0;
    display: flex;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-card-wrapper {
    position: relative;
    min-height: 500px;
}

/* Hero Default Cards */
.hero-default-card {
    cursor: pointer;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.hero-default-card:hover {
    transform: scale(1.02);
}

.hero-card-red {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.hero-card-green {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.hero-card-yellow {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

/* Statistics Section - Modern & Attractive Layout */
.home-statistics-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.home-statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 53, 69, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(220, 53, 69, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.home-statistics-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.home-statistics-section .row {
    margin: 0 -15px;
}

.home-statistics-section .row > [class*="col-"] {
    padding: 0 15px;
}

/* Statistics Card Item - Modern Design */
.statistics-card-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.statistics-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b, #dc3545);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.statistics-card-item:hover::before {
    transform: scaleX(1);
}

.statistics-card-item:nth-child(1) {
    animation-delay: 0.1s;
}

.statistics-card-item:nth-child(1) .statistics-icon-wrapper {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 25px rgba(240, 148, 51, 0.3);
}

.statistics-card-item:nth-child(2) {
    animation-delay: 0.2s;
}

.statistics-card-item:nth-child(2) .statistics-icon-wrapper {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 25px rgba(240, 148, 51, 0.3);
}

.statistics-card-item:nth-child(3) {
    animation-delay: 0.3s;
}

.statistics-card-item:nth-child(3) .statistics-icon-wrapper {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 25px rgba(240, 148, 51, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.statistics-card-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(220, 53, 69, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
}

.statistics-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 8px 25px rgba(240, 148, 51, 0.3);
}

.statistics-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.3), rgba(220, 39, 67, 0.3), rgba(188, 24, 136, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.statistics-card-item:hover .statistics-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(240, 148, 51, 0.5);
    background: linear-gradient(45deg, #ffa64d 0%, #ff7a5c 25%, #ff3d5f 50%, #ff2d7a 75%, #d41a9a 100%);
}

.statistics-card-item:hover .statistics-icon-wrapper::before {
    opacity: 1;
    animation: pulse-ring 1.5s ease-out infinite;
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.4), rgba(220, 39, 67, 0.4), rgba(188, 24, 136, 0.4));
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.statistics-icon-wrapper i {
    font-size: 2.8rem;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.statistics-card-item:hover .statistics-icon-wrapper i {
    transform: scale(1.1);
}

.statistics-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
    transition: all 0.3s ease;
    letter-spacing: -1px;
}

.statistics-card-item:hover .statistics-number {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.statistics-label {
    font-size: 1.15rem;
    color: #495057;
    margin: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.statistics-card-item:hover .statistics-label {
    color: #dc3545;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .home-statistics-section {
        padding: 4rem 0;
    }
    
    .statistics-card-item {
        padding: 2.5rem 2rem;
    }
    
    .statistics-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .statistics-icon-wrapper i {
        font-size: 2.2rem;
    }
    
    .statistics-number {
        font-size: 2.8rem;
    }
    
    .statistics-label {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

/* Section Header - Enhanced Modern Design */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a1a 0%, #495057 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    border-radius: 2px;
}

.section-header p {
    color: #6c757d;
    font-size: 1.15rem;
    margin: 0;
    font-weight: 400;
    margin-top: 1.5rem;
}

/* Info Section */
.home-info-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.home-text-large {
    font-size: 1.1rem;
    line-height: 1.8;
}

.home-text-normal {
    font-size: 1rem;
    line-height: 1.8;
}

.border-bottom-style {
    border-bottom: 1px solid #f0f0f0 !important;
}

/* Chart Section */
.home-chart-section {
    padding: 5rem 0;
    background: #ffffff;
}

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
}

/* Berita Section */
.home-berita-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.berita-card-title {
    font-size: 1.15rem;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card-image {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.berita-card-placeholder {
    height: 220px;
    width: 100%;
}

/* Statistics Icon Circle */
.statistics-icon-circle {
    width: 80px;
    height: 80px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        min-height: 500px;
        padding: 3rem 0;
    }
    
    .hero-card-wrapper {
        min-height: 400px;
        margin-top: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .home-statistics-section,
    .home-info-section,
    .home-chart-section,
    .home-berita-section {
        padding: 3rem 0;
    }
    
    .chart-container {
        height: 300px;
    }
    
    .statistics-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Statistics Cards Animation */
.statistics-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.statistics-card:nth-child(1) {
    animation-delay: 0.1s;
}

.statistics-card:nth-child(2) {
    animation-delay: 0.2s;
}

.statistics-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.statistics-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(220, 53, 69, 0.2) !important;
}

.statistics-card-body {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.statistics-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.statistics-card:hover .statistics-card-body::before {
    left: 100%;
}

.statistics-icon-wrapper {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.statistics-icon {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

.statistics-card:hover .statistics-icon {
    transform: scale(1.2) rotate(5deg);
    color: #c82333 !important;
}

.statistics-number {
    transition: all 0.3s ease;
    position: relative;
}

.statistics-card:hover .statistics-number {
    transform: scale(1.1);
    text-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.statistics-label {
    transition: all 0.3s ease;
}

.statistics-card:hover .statistics-label {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Pulse animation for icons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.statistics-card:hover .statistics-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Berita Content - Text Justify */
.berita-content {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
    font-size: 1.05rem;
}

.berita-content p {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 1.5rem;
}

.berita-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 8px;
}

.berita-content h1,
.berita-content h2,
.berita-content h3,
.berita-content h4,
.berita-content h5,
.berita-content h6 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.berita-content ul,
.berita-content ol {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.berita-content blockquote {
    text-align: left;
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    color: #fff;
}

.whatsapp-float i {
    margin-top: 0;
    font-size: 35px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 90px;
        right: 15px;
        font-size: 28px;
    }
    
    .whatsapp-float i {
        font-size: 32px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Adjust position jika ada bottom nav */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: calc(90px + env(safe-area-inset-bottom));
    }
}

