
:root {
    --primary-color: #1a3a8f;
    --primary-dark: #0d2561;
    --primary-light: #2d7be5;
    --primary-gradient: linear-gradient(135deg, #1a3a8f 0%, #2d7be5 100%);
    --secondary-color: #f9a825;
    --secondary-dark: #d18900;
    --accent-color: #00b894;
    --light-color: #f8f9fa;
    --dark-color: #1e293b;
    --text-color: #334155;
    --text-light: #64748b;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Grays */
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 24px;
    --radius-lg: 16px; /* Compatibility alias */
    --radius-md: 12px; /* Compatibility alias */
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    padding-top: 80px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-light);
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1320px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin: 0 auto;
}

/* ============================================================
   BUTTONS & COMPONENTS
   ============================================================ */
.btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    border: 2px solid transparent;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--dark-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Badges */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
    color: var(--dark-color);
}

.bg-accent {
    background-color: var(--accent-color) !important;
    color: white;
}

/* ============================================================
   NAVBAR STYLES - ENHANCED
   ============================================================ */
.navbar {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Nav Links */
.nav-link {
    color: var(--dark-color) !important;
    font-weight: 600;
    padding: 0.6rem 1rem !important;
    border-radius: 50px;
    position: relative;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    margin: 0 0.2rem;
}

.nav-link i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.05);
}

.nav-link:hover i {
    transform: translateY(-2px);
    color: var(--secondary-color);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.08);
    font-weight: 700;
}

.nav-link.active i {
    color: var(--secondary-color);
}

/* Remove old underline */
.nav-link.active::after {
    display: none;
}

/* Dropdown Arrow Fix */
.nav-link.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
    display: inline-block;
}

.nav-link.active.dropdown-toggle::after {
    display: inline-block;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    margin-top: 1rem !important;
    padding: 0.8rem;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.03);
    animation: dropdownSlide 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: top center;
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-15px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-item {
    padding: 0.8rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gray-700);
    font-size: 0.95rem;
    border-radius: 10px;
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    background: var(--primary-color);
    color: white;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(0,0,0,0.05);
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.05);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.navbar-toggler:hover {
    background: rgba(13, 110, 253, 0.1);
}

/* Search Form in Navbar */
.search-form {
    width: 100%;
    max-width: 280px;
}

.search-form .input-group {
    box-shadow: none;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.search-form .input-group:focus-within {
    background: white;
    border-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-form .form-control {
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background-color: transparent;
    color: var(--text-color);
}

.search-form .form-control::placeholder {
    color: #999;
    font-size: 0.85rem;
}

.search-form .form-control:focus {
    box-shadow: none;
    background-color: transparent;
}

.search-form .btn {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
    border-left: 1px solid rgba(0,0,0,0.05);
}

.search-form .btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 1rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
        margin: 0.2rem 0;
    }
    
    .search-form {
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .dropdown-menu {
        box-shadow: none;
        border: 1px solid rgba(0,0,0,0.05);
        padding: 0;
        margin-top: 0.5rem !important;
        background: #f8f9fa;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animation-delay-1 { animation-delay: 0.2s; }
.animation-delay-2 { animation-delay: 0.4s; }
.animation-delay-3 { animation-delay: 0.6s; }

/* ============================================================
   HERO SECTION STYLES
   ============================================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: -80px; /* Counteract body padding-top for full screen */
    padding-top: 80px; /* Add padding back to content */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    overflow: hidden;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
    transform: scale(1);
}

.hero-slider .swiper-slide-active img {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 37, 97, 0.9) 0%, rgba(13, 37, 97, 0.7) 50%, rgba(13, 37, 97, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-hero-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(249, 168, 37, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-hero-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 168, 37, 0.5);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    bottom: 30px; /* Default for smaller screens */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 3; /* Default for smaller screens */
    animation: bounce 2s infinite;
    opacity: 0.8;
    transition: opacity 0.3s;
}

@media (min-width: 992px) {
    .scroll-down {
        bottom: 80px; /* Adjusted for larger screens */
        z-index: 9999; /* Ensure it's always on top */
    }
}

.scroll-down:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Swiper Custom Navigation */
.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section .swiper-button-next:after,
.hero-section .swiper-button-prev:after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
    background: var(--secondary-color);
    color: var(--dark-color) !important;
    border-color: var(--secondary-color);
}

.hero-section .swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease;
}

.hero-section .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--secondary-color) !important;
    width: 30px !important;
    border-radius: 5px !important;
}

/* Hero Responsive */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2.2rem; }
    .hero-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 1.8rem; }
    .btn-hero-primary, .btn-hero-outline { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
}

/* ============================================================
   QUICK INFO SECTION
   ============================================================ */
.quick-info-section {
    position: relative;
    margin-top: -100px; /* Overlap with hero */
    padding-bottom: 4rem;
    z-index: 10;
}

.info-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    box-shadow: inset 0 0 20px rgba(13, 110, 253, 0.05);
}

.info-card:hover .info-card-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.info-card-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(45deg, var(--primary-color), var(--dark-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
    font-weight: 500;
}

/* Responsive fix for quick info */
@media (max-width: 991.98px) {
    .quick-info-section {
        margin-top: -50px;
    }
    
    .info-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .quick-info-section {
        margin-top: 3rem;
        padding-top: 0;
    }
}

/* ============================================================
   SEJARAH SECTION - UPGRADED
   ============================================================ */
.sejarah-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.sejarah-title-wrapper {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.sejarah-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.2);
}

.section-subtitle {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Hero Area */
.sejarah-hero-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.sejarah-image-container {
    position: relative;
    height: 400px;
}

.sejarah-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sejarah-image-container:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: center;
    padding-left: 3rem;
}

.overlay-content {
    color: white;
    max-width: 300px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.5s;
}

.overlay-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Stats Grid */
.sejarah-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--dark-color);
}

.stat-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Highlight Box */
.highlight-text {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.highlight-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 193, 7, 0.05) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.highlight-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.highlight-text h6 {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.highlight-text h6::before {
    content: '\f3c5'; /* Map Marker Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.highlight-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Timeline Controls */
.timeline-controls {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-nav {
    display: inline-flex;
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.timeline-nav-btn {
    border: none;
    background: transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray-600);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-nav-btn:hover {
    background: rgba(13, 110, 253, 0.05);
    color: var(--primary-color);
}

.timeline-nav-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Timeline Layout - Premium Design */
.sejarah-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* Vertical Line */
.sejarah-timeline::before {
    content: '';
    position: absolute;
    top: 60px; /* Adjusted to align with the top of the first card */
    bottom: 0;
    left: 50%;
    width: 6px; /* Increased width for thicker line */
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(13, 110, 253, 0.2) 15%, 
        rgba(13, 110, 253, 0.2) 85%, 
        transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
}

/* Vertical Line Progress Overlay */
.sejarah-timeline::after {
    content: '';
    position: absolute;
    top: 60px; /* Adjusted to align with the top of the first card */
    height: 200px;
    left: 50%;
    width: 6px; /* Increased width for thicker line */
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    transform: translateX(-50%);
    z-index: 0;
    opacity: 1; /* Increased opacity for thicker color */
}

.periode-item {
    display: flex;
    margin-bottom: 6rem;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    z-index: 1;
}

.periode-item:nth-child(even) {
    flex-direction: row-reverse;
}

.periode-image {
    width: 50%;
    padding: 0 4rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Year Badge */
.periode-year-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.4rem;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.3);
    border: 4px solid white;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 1px;
}

.periode-item:hover .periode-year-badge {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 20px 45px rgba(13, 110, 253, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), #ffc107);
    border-color: #fff;
}

.periode-bg-pattern {
    font-size: 15rem;
    color: rgba(13, 110, 253, 0.04);
    position: absolute;
    z-index: 1;
    transition: all 0.6s ease;
    transform: scale(0.9) rotate(-10deg);
}

.periode-item:hover .periode-bg-pattern {
    transform: scale(1.1) rotate(0deg);
    color: rgba(13, 110, 253, 0.08);
}

/* Glassmorphism Card */
.periode-content {
    width: 50%;
    padding: 3rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

/* Gradient Top Border */
.periode-content::before {
    content: ''; /* Was previously used for dot, now strictly decoration */
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.periode-item:hover .periode-content {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(13, 110, 253, 0.12);
}

.periode-item:hover .periode-content::before {
    opacity: 1;
}

/* The Center Dot (Node) - Moved to pseudo-element of wrapper or handled differently */
/* To avoid HTML changes, we will use ::after for dot and a new approach for line */
/* Actually, let's stick to using ::after on content for the line, and ::before on content for the dot, 
   but we need to override the decoration ::before I just added. 
   Correction: Let's use a nested element approach or keep it simple. 
   I will revert the 'decoration' idea to keep the dot logic.
*/

/* Resetting ::before for Dot Logic */
.periode-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: white;
    border: 6px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 6px white, 0 0 20px rgba(13, 110, 253, 0.2);
    z-index: 10;
    transform: translateY(-50%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Override top/left/right from previous rule */
    left: auto; 
    right: auto;
    height: 24px; /* Force height back */
    background: white; /* Force background back */
    opacity: 1; /* Force opacity back */
}

/* The Horizontal Connector Line */
.periode-content::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px; /* Longer connector */
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    z-index: 5;
    transform: translateY(-50%);
    opacity: 0.4;
    transition: all 0.4s ease;
}

/* Hover States for Dot & Line */
.periode-item:hover .periode-content::before {
    background: var(--secondary-color);
    border-color: white;
    box-shadow: 0 0 0 6px var(--secondary-color), 0 0 30px rgba(255, 193, 7, 0.5);
    transform: translateY(-50%) scale(1.4);
    opacity: 1;
}

.periode-item:hover .periode-content::after {
    opacity: 1;
    height: 3px;
    background: var(--secondary-color);
    width: 80px;
}

/* Positioning for Left/Right items */
.periode-item:nth-child(odd) .periode-content::before {
    right: -82px; /* Adjusted for wider padding/gap */
}

.periode-item:nth-child(odd) .periode-content::after {
    right: -80px;
    background: linear-gradient(270deg, var(--primary-color), transparent);
}

.periode-item:nth-child(even) .periode-content::before {
    left: -82px;
}

.periode-item:nth-child(even) .periode-content::after {
    left: -80px;
}

/* Content Typography Enhancements */
.periode-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.periode-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.periode-item:hover .periode-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.2);
}

.periode-meta h5 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    color: var(--dark-color);
}

.periode-era {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.3rem;
}

.periode-keywords {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.keyword {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gray-600);
    border: 1px solid #e9ecef;
    font-weight: 600;
    transition: all 0.3s ease;
}

.periode-item:hover .keyword {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}

.periode-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.periode-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.periode-meta h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark-color);
}

.periode-era {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.2rem;
}

.periode-keywords {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword {
    background: #f8f9fa;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gray-600);
    border: 1px solid #e9ecef;
}

/* Timeline Responsive Adjustments */
@media (max-width: 991.98px) {
    .sejarah-timeline::before {
        left: 30px;
    }
    
    .sejarah-timeline::after {
        left: 30px; /* Align progress line too */
    }

    .periode-item, 
    .periode-item:nth-child(even) {
        flex-direction: column;
        padding-left: 80px; /* Increased space for line */
        margin-bottom: 4rem;
    }
    
    .periode-image {
        width: 100%;
        padding: 0;
        margin-bottom: 2rem;
        justify-content: flex-start;
        height: auto;
    }
    
    .periode-year-badge {
        position: static;
        transform: none;
        display: inline-block;
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
    
    .periode-bg-pattern {
        display: none; /* Hide on mobile to reduce clutter */
    }
    
    .periode-content {
        width: 100%;
        padding: 2rem;
    }
    
    /* Adjust Dot Position */
    .periode-item:nth-child(odd) .periode-content::before,
    .periode-item:nth-child(even) .periode-content::before {
        left: -50px; /* (80px padding - 30px line pos) */
        right: auto;
        transform: translateY(-50%);
    }

    /* Adjust Line Position - Precision Fix */
    .periode-item:nth-child(odd) .periode-content::after,
    .periode-item:nth-child(even) .periode-content::after {
        width: 50px; /* Connect from dot (-50px) to content (0) */
        left: -50px;
        right: auto;
    }
    
    .sejarah-hero-container {
        margin-bottom: 3rem;
    }
}

@media (max-width: 575.98px) {
    .timeline-nav {
        border-radius: 15px;
        padding: 0.5rem;
    }
    
    .timeline-nav-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .sejarah-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .periode-item {
        padding-left: 60px;
    }
    
    .sejarah-timeline::before,
    .sejarah-timeline::after {
        left: 20px;
    }
    
    .periode-item:nth-child(odd) .periode-content::before,
    .periode-item:nth-child(even) .periode-content::before {
        left: -40px; /* 60 - 20 */
    }
    
    .periode-item:nth-child(odd) .periode-content::after,
    .periode-item:nth-child(even) .periode-content::after {
        width: 40px;
        left: -40px;
    }
}

/* Enhanced Sejarah CTA */
.sejarah-cta {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    padding: 5rem 2rem;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(13, 110, 253, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-top: 6rem;
    text-align: center;
}

.sejarah-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 10s infinite ease-in-out;
}

.sejarah-cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 8s infinite ease-in-out reverse;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.sejarah-cta h4 {
    color: var(--dark-color);
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
    background: linear-gradient(45deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sejarah-cta p {
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border: none;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.4);
}

.cta-buttons .btn-outline-primary {
    border-width: 2px;
    background: white;
}

.cta-buttons .btn-outline-primary:hover {
    transform: translateY(-5px);
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

@media (max-width: 575.98px) {
    .sejarah-cta {
        padding: 3rem 1.5rem;
        margin-top: 3rem;
    }
    
    .sejarah-cta h4 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   LAYANAN SECTION - UPGRADED
   ============================================================ */
.layanan-section {
    padding: 6rem 0;
    background-color: white;
    position: relative;
}

.layanan-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.layanan-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.layanan-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
    border-radius: 4px;
}

.layanan-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.layanan-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.layanan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.layanan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.layanan-card:hover::before {
    transform: scaleX(1);
}

.layanan-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.layanan-card-icon {
    width: 80px;
    height: 80px;
    background: rgba(13, 110, 253, 0.08);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    transform: rotate(-5deg);
}

.layanan-card:hover .layanan-card-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.layanan-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.layanan-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.layanan-card-body p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.layanan-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.layanan-card-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.layanan-card-list li i {
    color: var(--success-color, #28a745);
    font-size: 1rem;
}

.layanan-card .btn {
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.layanan-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

/* ============================================================
   BERITA PAGE STYLES - UPGRADED
   ============================================================ */
.berita-section {
    padding: 6rem 0;
    background-color: white;
    position: relative;
}

.berita-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.berita-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.berita-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.berita-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.berita-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.berita-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.berita-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.berita-card:hover .berita-image img {
    transform: scale(1.1);
}

.berita-date-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: white;
    border-radius: 12px;
    padding: 0.5rem 0.8rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2;
    min-width: 60px;
}

.berita-date-badge .day {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.berita-date-badge .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--dark-color);
    font-weight: 700;
}

.berita-content {
    padding: 0rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.berita-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.berita-tag {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.berita-views {
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.berita-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--dark-color);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 50;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card:hover .berita-title {
    color: var(--primary-color);
}

.berita-excerpt {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.berita-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
    margin-top: auto;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.berita-card:hover .read-more {
    gap: 0.8rem;
    color: var(--primary-color);
}

.btn-berita-all {
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.btn-berita-all:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.4);
}
/* ============================================================
   BERITA PAGE STYLES - UPGRADED
   ============================================================ */
.berita-header {
    background: linear-gradient(135deg, #0f204b 0%, #1a3c8a 100%);
    padding: 6rem 0 4rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    margin-top: -80px; /* Offset for fixed navbar if needed, or adjust based on layout */
    padding-top: 120px; /* More padding top to account for navbar */
}

/* Background Pattern */
.berita-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
        url('../../img/pattern-grid.png') repeat;
    opacity: 0.1;
    z-index: 0;
}

/* Decorative Wave or Border at Bottom */
.berita-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color), #ffdb4d, var(--secondary-color));
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.berita-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.berita-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.berita-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Badge Styling inside Header */
.berita-header .badge {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6em 1.2em;
    border-radius: 50px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.berita-header .badge:hover {
    transform: translateY(-3px);
}

.berita-header .bg-secondary {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white;
}

.berita-header .bg-accent {
    background-color: var(--secondary-color) !important;
    color: var(--dark-color);
    font-weight: 700;
}


/* ============================================================
   BERITA MAIN CONTENT & SIDEBAR - UPGRADED
   ============================================================ */

/* Main Content Container */
.berita-list-container {
    padding-bottom: 5rem;
}

/* Berita Card Styling */
.berita-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.berita-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.berita-img-container {
    position: relative;
    height: 240px; /* Increased height */
    overflow: hidden;
}

.berita-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.berita-item:hover .berita-img {
    transform: scale(1.08);
}

.berita-category {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.berita-content {
    padding: 0rem !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.berita-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.berita-item:hover .berita-title {
    color: var(--primary-color);
}

.berita-excerpt {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.berita-meta {
    font-size: 0.85rem;
    color: #adb5bd;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: auto;
}

.berita-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.berita-meta i {
    color: var(--secondary-color);
}

/* Sidebar Styling */
.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(0,0,0,0.04);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.8rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Popular News List */
.popular-berita-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-berita-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.popular-berita-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-berita-item:hover {
    transform: translateX(5px);
}

.popular-berita-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.popular-berita-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-berita-title a:hover {
    color: var(--primary-color);
}

.popular-berita-meta {
    font-size: 0.8rem;
    color: #adb5bd;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 0.8rem;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-item a:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.category-count {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.category-item a:hover .category-count {
    background: var(--primary-color);
    color: white;
}

/* Pagination Modern */
.pagination-container {
    margin-top: 3rem;
}

.pagination .page-item .page-link {
    border: none;
    margin: 0 0.3rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    font-weight: 600;
    color: var(--dark-color);
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}

.pagination .page-item .page-link:hover:not(.active) {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination .page-item.disabled .page-link {
    background: #f1f3f5;
    color: #adb5bd;
    box-shadow: none;
    cursor: not-allowed;
}

/* Empty State - Enhanced */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    max-width: 600px;
    margin: 0 auto;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--secondary-color), #ffdb4d);
}

.empty-state i {
    font-size: 5rem;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.empty-state h3 {
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.empty-state p {
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.empty-state .btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
    transition: all 0.3s ease;
}

.empty-state .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

/* ============================================================
   BERITA DETAIL PAGE STYLES
   ============================================================ */
.berita-detail-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #15317a 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
	font-size:1.3rem;
}

.berita-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: url('../../assets/img/bg_kantorbupati.jpg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.breadcrumb-container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.berita-detail-container {
    padding-bottom: 5rem;
}

.berita-detail-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.berita-header-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.berita-header-image:hover {
    transform: scale(1.02);
}

.berita-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.berita-detail-content {
    padding: 3rem;
}

.berita-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.meta-item i {
    color: var(--accent-color);
}

.kategori-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
}

.kategori-badge:hover {
    background: var(--primary-color);
    color: white;
}

.berita-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.berita-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.berita-content p {
    margin-bottom: 1.5rem;
}

.berita-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.berita-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-share {
    display: flex;
    gap: 1rem;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-normal);
}

.share-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.share-facebook { background: #3b5998; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-linkedin { background: #0077b5; }

.share-like { background: #25d366; }
.share-dislike { background: #f25961; }

/* Related News */
.related-news-section {
    margin-top: 5rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.related-news-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.related-news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.related-news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-news-card:hover .related-news-image {
    transform: scale(1.1);
}

.related-news-content {
    padding: 1.5rem;
}

.related-news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.related-news-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s;
}

.related-news-title a:hover {
    color: var(--primary-color);;
}

.related-news-meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Sidebar Widget */
.sidebar-widget {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.popular-berita-list, .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-berita-item {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.popular-berita-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-berita-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.popular-berita-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s;
}

.popular-berita-title a:hover {
    color: var(--secondary-color);
}

.popular-berita-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

.category-item {
    margin-bottom: 0.8rem;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition-normal);
}

.category-item a:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.category-count {
    background: var(--gray-300);
    color: var(--dark-color);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================================
   GALLERY PAGE STYLES
   ============================================================ */
.galeri-container {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 2rem auto 0;
}

/* ============================================================
   POTENSI SECTION
   ============================================================ */
.potensi-section {
    padding: 6rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.potensi-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.potensi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.potensi-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.potensi-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.potensi-card:hover .potensi-img img {
    transform: scale(1.1);
}

.potensi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.potensi-card:hover .potensi-overlay {
    opacity: 1;
}

.potensi-overlay i {
    font-size: 3.5rem;
    color: white;
    transform: scale(0.5) rotate(-15deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.potensi-card:hover .potensi-overlay i {
    transform: scale(1) rotate(0deg);
}

.potensi-content {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.potensi-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.potensi-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.potensi-slider {
    padding: 1rem 1rem 4rem;
}

.potensi-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* ============================================================
   GALERI SECTION - UPGRADED
   ============================================================ */
.galeri-section {
    background-color: #f8f9fa;
    padding: 6rem 0;
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Featured Layout: 1st item is large */
.galeri-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.galeri-item:nth-child(2),
.galeri-item:nth-child(3),
.galeri-item:nth-child(4),
.galeri-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .galeri-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 575px) {
    .galeri-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .galeri-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.galeri-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.galeri-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 2;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.galeri-item:hover img {
    transform: scale(1.15);
}

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

.galeri-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255,255,255,0.5);
    opacity: 0;
}

.galeri-item:hover .galeri-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.galeri-caption {
    color: white;
    font-weight: 400;
    font-size: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
    opacity: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.galeri-item:hover .galeri-caption {
    transform: translateY(0);
    opacity: 1;
}

.btn-gallery-view {
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    background: white;
    color: var(--dark-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
}

.btn-gallery-view:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ============================================================
   KONTAK SECTION - UPGRADED
   ============================================================ */
.kontak-section {
    position: relative;
    background-color: white;
    padding: 6rem 0;
    overflow: hidden;
}

.kontak-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.kontak-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kontak-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.kontak-card h3 {
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
}

.kontak-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.kontak-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.kontak-item:hover {
    background: #f8f9fa;
    border-color: rgba(0,0,0,0.05);
}

.kontak-item:last-child {
    margin-bottom: 0;
}

.kontak-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
    transition: transform 0.3s ease;
}

.kontak-item:hover .kontak-icon {
    transform: rotate(15deg) scale(1.1);
}

.kontak-details h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.kontak-details p {
    margin-bottom: 0.2rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Form Styles */
.kontak-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.kontak-form .form-control,
.kontak-form .form-select {
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.kontak-form .form-control:focus,
.kontak-form .form-select:focus {
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.kontak-form textarea.form-control {
    resize: none;
}

.kontak-form .btn-primary {
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-color), #0a58ca);
    border: none;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.kontak-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

/* Map/Location Section (Optional if added later) */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 3rem;
    height: 400px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    margin-bottom: 2rem;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    width: 95%;
    height: 85vh;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

.lightbox-image-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.lightbox-image-container img {
    width: 100%;
    height: 100%;
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    padding: 10px 18px;
    background: rgba(0,0,0,0.3);
    color: white;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    border-radius: 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
	word-wrap: break-word;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.6);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ============================================================
   SEARCH PAGE STYLES
   ============================================================ */
.search-hero {
    background: var(--primary-gradient);
    padding: 5rem 0 4rem;
    margin-top: 0; /* Adjust if needed */
    position: relative;
    overflow: hidden;
}

.search-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.search-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.search-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.search-box-pro {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.search-box-pro .input-group {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal);
}

.search-box-pro .input-group:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.search-box-pro input {
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    background: white;
}

.search-box-pro input::placeholder {
    color: var(--gray-400);
}

.search-box-pro input:focus {
    box-shadow: none;
    background: white;
}

.search-box-pro button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-box-pro button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.results-section {
    padding: 4rem 0;
    background: var(--gray-100);
    min-height: 60vh;
}

.results-header {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.results-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.results-count {
    color: var(--gray-600);
    font-size: 1rem;
}

.results-count .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.result-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.result-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.result-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.result-card:hover .result-card-image img {
    transform: scale(1.05);
}

.result-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.result-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--gray-800);
}

.result-card-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.result-card-meta i {
    color: var(--accent-color);
}

.empty-state {
    text-align: center;
    padding: 5rem 2rem;
}

.empty-state i {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.empty-state h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* ============================================================
   FOOTER STYLES
   ============================================================ */
/* ============================================================
   FOOTER STYLES - UPGRADED
   ============================================================ */
.footer {
    background: linear-gradient(135deg, #0f204b 0%, #1a3c8a 100%);
    color: white;
    padding-top: 6rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Background Pattern/Decoration */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 20%),
        url('../../img/pattern-grid.png') repeat; /* Fallback or subtle pattern */
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), #ffdb4d, var(--secondary-color));
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.footer-content {
    position: relative;
    z-index: 1;
}

/* Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-brand img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
    transition: transform 0.3s ease;
}

.footer-brand:hover img {
    transform: rotate(5deg) scale(1.05);
}

.footer-about {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 0;
    border-radius: 50%;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.social-link:hover::before {
    transform: translateY(0);
}

.social-link:hover i {
    transform: rotate(360deg);
    color: var(--dark-color);
}

/* Footer Titles */
.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 45px;
    width: 10px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.col-lg-2:hover .footer-title::before,
.col-lg-3:hover .footer-title::before {
    width: 60px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--secondary-color);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
    background: rgba(255, 215, 0, 0.1);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer {
        padding-top: 4rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}



/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
/* Extra Small Mobile - Below 320px */
@media (max-width: 319.98px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    body { padding-top: 55px; }
    h1 { font-size: 1.2rem; }
    h2 { font-size: 1rem; }
    p { font-size: 0.8rem; }
    
    .berita-detail-header { padding: 1rem 0; margin-bottom: 1rem; font-size: 1rem; }
    .berita-header-image,
    .berita-image-placeholder { height: 200px; }
    .berita-detail-content { padding: 1rem; }
    .berita-title { font-size: 1.2rem; }
    .berita-content { font-size: 0.9rem; }
    .btn { padding: 0.5rem 0.8rem; font-size: 0.75rem; }
}

/* Extra Small Mobile - 320px to 374px */
@media (max-width: 374.98px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    body { padding-top: 60px; }
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    p { font-size: 0.85rem; }
    
    .berita-detail-header { padding: 1.2rem 0; margin-bottom: 1.5rem; font-size: 1rem; }
    .berita-detail-header h1 { font-size: 1.2rem; }
    
    .berita-header-image,
    .berita-image-placeholder { height: 220px; }
    
    .berita-detail-content { padding: 1.2rem; }
    .berita-title { font-size: 1.3rem; }
    .berita-content { font-size: 0.95rem; }
    
    .btn { padding: 0.6rem 1rem; font-size: 0.8rem; }
}

/* Mobile - 375px to 575px */
@media (max-width: 575.98px) and (min-width: 375px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    body { padding-top: 70px; }
    
    .berita-detail-header { padding: 1.5rem 0; margin-bottom: 2rem; font-size: 1rem; }
    
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    p { font-size: 0.9rem; }
    
    .berita-header-image,
    .berita-image-placeholder { height: 250px; }
    
    .berita-detail-content { padding: 1.5rem; }
    
    .berita-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .berita-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .berita-meta {
        flex-wrap: wrap;
        gap: 0.8rem;
        font-size: 0.9rem;
    }
    
    .berita-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .section-title { font-size: 1.4rem; margin-bottom: 1.5rem; }
    
    .related-news-card { margin-bottom: 1.2rem; }
    .related-news-image { height: 160px; }
    .related-news-title { font-size: 1rem; }
    
    .sidebar-widget { padding: 1.5rem; }
    .widget-title { font-size: 1.2rem; }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Navbar & Footer Responsive */
@media (max-width: 992px) {
    .navbar-brand { font-size: 1.4rem; }
    .nav-link { font-size: 0.9rem; padding: 0.5rem 0.8rem !important; }
    .search-form { max-width: 280px; margin-top: 0.5rem; }
    .navbar-collapse { margin-top: 1rem; }
}

@media (max-width: 768px) {
    .navbar { padding: 0.7rem 0; }
    .navbar-brand { font-size: 1.3rem; }
    .navbar-brand img { height: 40px; }
    .nav-link { font-size: 0.9rem; padding: 0.6rem 1rem !important; }
    .search-form { max-width: 100%; margin: 1rem auto 0; margin-right: auto; }
    .dropdown-menu { min-width: 200px; }
    
    .footer { padding-top: 3rem; padding-bottom: 2rem; }
    .footer-content .row > div { margin-bottom: 2.5rem; }
    .footer-logo { font-size: 1.5rem; margin-bottom: 1.5rem; }
    .footer-logo img { height: 45px; }
    .footer-about { font-size: 0.95rem; margin-bottom: 2rem; }
    .footer-title { font-size: 1.15rem; margin-bottom: 1.3rem; }
    .footer-links a { font-size: 1rem; }
    .footer-bottom { padding-top: 2rem; margin-top: 3rem; }
    .footer-bottom-links { gap: 1.8rem; }
}

@media (max-width: 576px) {
    .navbar { padding: 0.6rem 0; }
    .navbar-brand { font-size: 1.1rem; gap: 0.3rem; }
    .navbar-brand img { height: 35px; }
    .nav-link { font-size: 0.85rem; padding: 0.5rem 0.7rem !important; }
    .search-form .form-control, .search-form .btn { padding: 0.45rem 0.7rem; font-size: 0.8rem; }
    
    .footer { padding-top: 2.5rem; padding-bottom: 1.5rem; }
    .footer-logo { font-size: 1.3rem; gap: 0.7rem; }
    .footer-logo img { height: 40px; }
    .footer-social a { width: 36px; height: 36px; font-size: 0.85rem; }
}
