@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Palet Warna Kustom */
    --primary-color: #0e1a2b;       /* Navy Gelap */
    --secondary-color: #425a73;     /* Biru Slate */
    --accent-color: #6e3daa;        /* Ungu Aksen */
    --border-color: #bfc9d9;        /* Perak Halus */
    --bg-light: #e6eef6;            /* Biru Es Terang */
    
    --white: #ffffff;
    --text-dark: #0e1a2b;
    --text-muted: #425a73;
    
    --shadow: 0 4px 6px -1px rgba(14, 26, 43, 0.05), 0 2px 4px -2px rgba(14, 26, 43, 0.05);
    --hover-shadow: 0 20px 25px -5px rgba(14, 26, 43, 0.1), 0 8px 10px -6px rgba(14, 26, 43, 0.1);
    --transition: all 0.3s ease;
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    background-image: 
        radial-gradient(at 0% 100%, rgba(110, 61, 170, 0.05) 0px, transparent 40%),
        radial-gradient(at 100% 0%, rgba(66, 90, 115, 0.06) 0px, transparent 45%),
        radial-gradient(rgba(66, 90, 115, 0.07) 1.5px, transparent 0);
    background-size: 100% 100%, 100% 100%, 24px 24px;
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
    font-size: 1.1rem;
}

/* Header & Nav */
header {
    background-color: var(--primary-color);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(14, 26, 43, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text h1 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
}

.logo-text p {
    font-size: 0.65rem;
    color: var(--border-color);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    font-family: var(--font-header);
    font-weight: 600;
    color: var(--border-color);
    font-size: 0.85rem;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    background-color: var(--secondary-color);
}

.nav-admin-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.nav-admin-btn:hover {
    background-color: #55278c;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background-image: 
        linear-gradient(rgba(14, 26, 43, 0.55), rgba(14, 26, 43, 0.55)), 
        url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h2 {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--border-color);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #55278c;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.25rem 1.5rem;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Cards & Grid Styles */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-link {
    margin-top: auto;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.card-link:hover {
    color: #55278c;
}

/* Profil Page */
.profil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.profil-about {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow);
}

.vision-card {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
}

.vision-card h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.mission-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mission-item {
    background-color: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mission-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.org-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow);
}

.org-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--bg-light);
    margin: 0 auto 1.25rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 3px solid var(--border-color);
}

.org-role {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Layanan Page */
.layanan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.layanan-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow);
}

.layanan-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.layanan-requirements {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.layanan-requirements h5 {
    margin-bottom: 0.5rem;
}

.layanan-requirements ul {
    list-style-type: none;
}

.layanan-requirements li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.25rem;
}

.layanan-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Galeri Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(14, 26, 43, 0.9) 0%, transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.3;
}

.gallery-date {
    color: var(--border-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Berita Page */
.search-bar {
    max-width: 500px;
    margin: 0 auto 3rem auto;
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex-grow: 1;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    background-color: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(110, 61, 170, 0.15);
}

.search-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 0 1.5rem;
    cursor: pointer;
    font-weight: 600;
}

.search-btn:hover {
    background-color: #55278c;
}

.berita-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-link {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.filter-link.active, .filter-link:hover {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

/* Detail Berita Page */
.news-detail-wrapper {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.news-detail-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.news-detail-body {
    padding: 3.5rem;
}

.news-detail-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.news-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    white-space: pre-line;
}

/* Admin Login Page */
.login-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 420px;
    margin: 4rem auto;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow);
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.alert-danger {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Admin Dashboard Table */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.table-wrapper {
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    font-weight: 600;
}

.admin-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    border-radius: 6px;
    margin-right: 0.25rem;
}

.btn-edit {
    background-color: #fef3c7;
    color: #d97706;
}

.btn-edit:hover {
    background-color: #fde68a;
}

.btn-delete {
    background-color: #fee2e2;
    color: #dc2626;
}

.btn-delete:hover {
    background-color: #fecaca;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0 2rem 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style-type: none;
}

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

.footer-link {
    color: var(--border-color);
}

.footer-link:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-info {
    list-style-type: none;
}

.footer-info li {
    color: var(--border-color);
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
}

.footer-desc {
    color: var(--border-color);
    margin-top: 1rem;
    max-width: 320px;
}

.footer-bottom {
    border-top: 1px solid var(--secondary-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--border-color);
    font-size: 0.85rem;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 1.5rem;
    }
    
    .grid-3, .layanan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid, .org-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profil-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .profil-about {
        padding: 1.5rem 1.25rem !important;
    }

    .profil-about p,
    .profil-about div {
        text-align: left !important;
    }

    .menu-toggle {
        display: flex;
    }
    
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        height: 80px;
        position: relative;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: var(--primary-color);
        padding: 1.5rem;
        gap: 0.75rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        border-top: 1px solid var(--secondary-color);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.65rem;
    }
    
    .nav-admin-btn {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-top: 0.5rem;
        padding: 0.65rem;
    }
    
    .hero-content h2 {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem !important;
    }
    
    .stat-card {
        padding: 1.5rem 1rem !important;
    }
    
    .stat-number {
        font-size: 2.25rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
    
    .grid-3, .layanan-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .org-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .news-detail-body {
        padding: 1.5rem;
    }
    
    .news-detail-img {
        height: 220px;
    }
}

/* Background Decorators */
main {
    position: relative;
    overflow: hidden;
}

.decor-icon {
    position: absolute;
    font-size: 8rem;
    opacity: 0.08; /* Faint watermark opacity increased for visibility */
    user-select: none;
    pointer-events: none;
    z-index: 1;
    color: var(--secondary-color);
    animation: floatDecor 12s ease-in-out infinite;
}

.decor-icon:nth-child(2n) {
    animation-duration: 16s;
    animation-delay: -3s;
}

.decor-icon:nth-child(3n) {
    animation-duration: 10s;
    animation-delay: -6s;
}

.decor-icon:nth-child(5n) {
    animation-duration: 8s;
    animation-delay: -2s;
}

@keyframes floatDecor {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -25px; }
}

.decor-1 { top: 5%; left: 3%; transform: rotate(15deg); }
.decor-2 { top: 15%; right: 5%; transform: rotate(-25deg); font-size: 10rem; }
.decor-3 { top: 26%; left: 4%; transform: rotate(45deg); font-size: 9rem; }
.decor-4 { top: 36%; right: 3%; transform: rotate(-15deg); }
.decor-5 { top: 48%; left: 6%; transform: rotate(30deg); font-size: 10rem; }
.decor-6 { top: 58%; right: 5%; transform: rotate(20deg); font-size: 9rem; }
.decor-7 { top: 68%; left: 5%; transform: rotate(-35deg); font-size: 10rem; }
.decor-8 { top: 78%; right: 4%; transform: rotate(15deg); }
.decor-9 { top: 88%; left: 4%; transform: rotate(-20deg); font-size: 9rem; }
.decor-10 { top: 96%; right: 5%; transform: rotate(45deg); font-size: 10rem; }
.decor-11 { top: 10%; left: 50%; transform: translateX(-50%) rotate(45deg); font-size: 8rem; }
.decor-12 { top: 32%; left: 45%; transform: rotate(-15deg); font-size: 11rem; }
.decor-13 { top: 53%; left: 52%; transform: rotate(25deg); font-size: 9rem; }
.decor-14 { top: 73%; left: 48%; transform: rotate(-35deg); font-size: 10rem; }
.decor-15 { top: 92%; left: 50%; transform: translateX(-50%) rotate(15deg); font-size: 9rem; }

/* Grid 2 Column (Untuk Card Berita yang Lebih Besar) */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.grid-2 .card-img-wrapper {
    height: 320px; /* Taller image for larger cards */
}

/* Tombol Kembali Custom */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
}

.btn-back:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* Premium Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for grid elements (optional beauty) */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* Floating WhatsApp Button */
.whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-float {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
    cursor: pointer;
    position: relative;
}

.whatsapp-float:hover {
    filter: drop-shadow(0 6px 15px rgba(0,0,0,0.35));
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Continuous Soft Ring Ripple Effect */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: waRipple 2s linear infinite;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

@keyframes waRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Wobble Animation (Attention grabber) */
@keyframes waWobble {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.whatsapp-float.wobble-anim {
    animation: waWobble 0.8s ease-in-out;
}

/* WhatsApp speech bubble */
.whatsapp-bubble {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    position: relative;
}

.whatsapp-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background-color: var(--white);
    border-right: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.whatsapp-container:hover .whatsapp-bubble {
    opacity: 1;
    transform: translateX(0);
}

