/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #D7CEAF;
    font-family: 'Poppins', sans-serif;
    color: #1C150F;
}
main {
    flex: 1;
}
/* ========== DROPDOWN MENU STYLES ========== */
.fpci-dropdown {
    position: relative;
}

.fpci-dropdown-toggle::after {
    display: inline-block;
    margin-left: 5px;
    content: "▼";
    font-size: 10px;
    transition: transform 0.3s ease;
}

.fpci-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999;          /* ← NAIKKAN INI */
    list-style: none;
    margin: 0;
}

.fpci-dropdown:hover .fpci-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.fpci-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #1C150F;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fpci-dropdown-item:hover {
    background: #F5F2E8;
    color: #5C6844;
    padding-left: 25px;
}

.fpci-dropdown:hover .fpci-dropdown-toggle::after {
    transform: rotate(180deg);
}

.fpci-dropdown-item.active {
    background: #F5F2E8;
    color: #5C6844;
    font-weight: 600;
    padding-left: 25px;
}
/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 25px rgba(0,0,0,0.06);
    position: relative;
    z-index: 9999;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar .navbar-collapse {
    flex: 1;
}

.navbar-nav {
    gap: 8px;
}

.navbar .nav-link {
    color: #1C150F;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 40px;
    letter-spacing: 0.3px;
}

.navbar .nav-link:hover {
    color: #5C6844;
    background: rgba(92,104,68,0.08);
    transform: translateY(-2px);
}

    .navbar .nav-link.active {
        color: #5C6844;
        background: rgba(92,104,68,0.12);
    }

/* SEARCH STYLES - ENHANCED */
.search-wrapper {
    position: relative;
    display: inline-block;
}

.search-input {
    width: 0;
    padding: 8px 12px;
    border: 2px solid #5C6844;
    border-radius: 40px;
    outline: none;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}

.search-input.active {
    width: 250px;
    opacity: 1;
    visibility: visible;
    padding-right: 35px;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #1C150F;
    transition: all 0.3s ease;
    z-index: 2;
}

.search-icon:hover {
    color: #5C6844;
    transform: translateY(-50%) scale(1.1);
}

/* Search Autocomplete */
.search-autocomplete {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 350px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999;
    max-height: 400px;
    overflow-y: auto;
}

.search-autocomplete.active {
    opacity: 1;
    visibility: visible;
}

.search-suggestion {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.search-suggestion:hover {
    background: #F5F2E8;
}

.search-suggestion i {
    font-size: 18px;
    color: #5C6844;
    margin-right: 12px;
}

.search-suggestion-content {
    flex: 1;
}

.search-suggestion-title {
    font-weight: 600;
    color: #1C150F;
    margin-bottom: 4px;
    font-size: 14px;
}

.search-suggestion-type {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SEARCH RESULTS PAGE */
.search-results-page {
    padding: 60px 0;
    background: #D7CEAF;
    min-height: 70vh;
}

.search-header {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.search-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1C150F;
    margin-bottom: 15px;
}

.search-header .query {
    color: #5C6844;
    background: rgba(92,104,68,0.1);
    padding: 5px 15px;
    border-radius: 40px;
    display: inline-block;
}

.search-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-tab {
    padding: 10px 24px;
    background: white;
    border-radius: 40px;
    text-decoration: none;
    color: #1C150F;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-tab:hover,
.search-tab.active {
    background: #5C6844;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92,104,68,0.3);
}

.search-tab .count {
    background: rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 2px 8px;
    margin-left: 8px;
    font-size: 12px;
}

.search-tab:hover .count,
.search-tab.active .count {
    background: rgba(255,255,255,0.3);
}

.result-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
}

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

.result-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

.result-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #5C6844;
    color: white;
    border-radius: 20px;
    font-size: 11px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C150F;
    margin-bottom: 10px;
    text-decoration: none;
}

.result-title:hover {
    color: #5C6844;
}

.result-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.result-meta {
    color: #999;
    font-size: 12px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
}

.no-results i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
/* Tambahkan ke file style.css Anda */

/* Search Results Page Styles */
.search-results-page {
    padding: 60px 0;
    background: #D7CEAF;
    min-height: 70vh;
}

/* Style untuk result badge dengan icon */
.result-badge i {
    margin-right: 5px;
    font-size: 12px;
}

/* Style khusus untuk contact info di hasil pencarian */
.contact-info {
    margin-top: 10px;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 12px;
}

.contact-info div {
    margin-bottom: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info div:last-child {
    margin-bottom: 0;
}

.contact-info i {
    width: 20px;
    color: #5C6844;
    font-size: 14px;
}

.contact-info .social-links {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.contact-info .social-links span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #5C6844;
    background: rgba(92,104,68,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-info .social-links span:hover {
    background: #5C6844;
    color: white;
    transform: translateY(-2px);
}

.contact-info .social-links span i {
    color: inherit;
}

/* Style untuk excerpt contact */
.result-excerpt .contact-info {
    font-size: 13px;
    line-height: 1.5;
}

/* Style untuk link di contact info */
.contact-info a {
    color: #5C6844;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #3d482e;
    text-decoration: underline;
}

/* Style untuk meta info contact */
.result-meta i {
    margin-right: 4px;
}

/* Animasi loading untuk search */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.search-loading {
    animation: pulse 1s ease-in-out infinite;
}

/* Style untuk tab yang aktif dengan icon */
.search-tab i {
    margin-right: 5px;
    font-size: 14px;
}

/* Style untuk no results dengan suggestions yang lebih baik */
.no-results .suggestions {
    text-align: left;
    display: inline-block;
    margin-top: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 16px;
    max-width: 400px;
}

.no-results .suggestions h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #1C150F;
    font-size: 16px;
}

.no-results .suggestions ul {
    margin: 0;
    padding: 0;
}

.no-results .suggestions li {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-results .suggestions li i {
    font-size: 14px;
    color: #5C6844;
    margin: 0;
    width: auto;
}

/* Style untuk empty state image */
.result-image i {
    font-size: 40px;
    color: #ccc;
}

/* Style untuk badge yang lebih menarik */
.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #5C6844 0%, #4a5637 100%);
    color: white;
    border-radius: 25px;
    font-size: 11px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(92,104,68,0.2);
}

/* Style untuk result title dengan hover effect */
.result-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C150F;
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.result-title:hover {
    color: #5C6844;
    transform: translateX(5px);
}

/* Style untuk excerpt */
.result-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

/* Style untuk meta info dengan icon */
.result-meta {
    color: #999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.result-meta i {
    margin-right: 3px;
    font-size: 11px;
}

.separator {
    margin: 0 5px;
    color: #ddd;
}

/* Hover effect untuk result card */
.result-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    border: 1px solid transparent;
}

.result-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(92,104,68,0.2);
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .search-results-page {
        padding: 30px 15px;
    }
    
    .search-header {
        padding: 25px 20px;
    }
    
    .search-header h1 {
        font-size: 24px;
    }
    
    .result-card {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .result-image {
        width: 100%;
        height: 160px;
    }
    
    .search-tabs {
        gap: 8px;
    }
    
    .search-tab {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .result-title {
        font-size: 18px;
    }
    
    .contact-info .social-links {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .contact-info .social-links span {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .contact-info div {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .no-results {
        padding: 40px 20px;
    }
    
    .no-results i {
        font-size: 48px;
    }
    
    .no-results h3 {
        font-size: 20px;
    }
}
/* Style untuk hasil pencarian pendaftaran */
.result-badge i.bi-mortarboard {
    margin-right: 5px;
}

.pendaftaran-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
}

.pendaftaran-status.active {
    background: #4CAF50;
    color: white;
}

.pendaftaran-status.closed {
    background: #f44336;
    color: white;
}

.pendaftaran-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pendaftaran-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

.pendaftaran-info i {
    font-size: 12px;
    color: #5C6844;
}
/* Responsive */
@media (max-width: 768px) {
    .search-input.active {
        width: 180px;
    }
    
    .search-autocomplete {
        width: 280px;
        right: -80px;
    }
    
    .result-card {
        flex-direction: column;
    }
    
    .result-image {
        width: 100%;
        height: 150px;
    }
    
    .search-tabs {
        gap: 10px;
    }
    
    .search-tab {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ========== AUTH STYLES (Login & Register) ========== */

/* Auth Body - tanpa header/footer */
.auth-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #D7CEAF 0%, #C4B996 100%);
    font-family: 'Poppins', sans-serif;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header img {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

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

.auth-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1C150F;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1C150F;
    font-size: 14px;
}

.form-group label i {
    margin-right: 8px;
    color: #5C6844;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E8E4D9;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #5C6844;
    box-shadow: 0 0 0 3px rgba(92,104,68,0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 18px;
    transition: color 0.3s ease;
}

.password-wrapper .toggle-password:hover {
    color: #5C6844;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5C6844;
}

/* Submit Button */
.btn-login-submit {
    width: 100%;
    padding: 14px;
    background: #5C6844;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login-submit:hover {
    background: #4a5637;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92,104,68,0.3);
}

.btn-login-submit:active {
    transform: translateY(0);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #E8E4D9;
}

.auth-footer p {
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: #5C6844;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    text-decoration: underline;
    color: #4a5637;
}

/* Alerts */
.alert {
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.alert-danger {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #e8f5e9;
    color: #4caf50;
    border: 1px solid #c8e6c9;
}

.alert i {
    font-size: 18px;
}

/* Text Muted */
.text-muted {
    color: #999;
    font-size: 11px;
    margin-top: 5px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 25px;
        margin: 20px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .btn-login-submit {
        padding: 12px;
        font-size: 14px;
    }
    
    .form-control {
        padding: 10px 12px;
    }
}

/* User Dropdown Styles */
.user-dropdown .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    margin-top: 10px;
    min-width: 200px;
}

.user-dropdown .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.user-dropdown .dropdown-item:hover {
    background: #F5F2E8;
    padding-left: 25px;
}

.user-dropdown .dropdown-item i {
    width: 20px;
}

/* BUTTON LOGIN */
.btn-login {
    border: 2px solid #5C6844 !important;
    color: #5C6844 !important;
    background: transparent !important;
    transition: all 0.35s ease;
    border-radius: 40px !important;
    padding: 8px 28px !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #5C6844;
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.btn-login:hover {
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(92,104,68,0.35);
    border-color: #5C6844 !important;
}

.btn-login:hover::before {
    width: 300px;
    height: 300px;
}

/* NAVBAR TOGGLER */
.navbar-toggler {
    border: none;
    padding: 10px;
    border-radius: 12px;
    background: rgba(92,104,68,0.1);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(28,21,15,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ========== PROFILE PAGE STYLES ========== */
.profile-container {
    padding: 40px 0;
    background: #D7CEAF;
    min-height: calc(100vh - 200px);
}

.profile-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
}

/* Profile Sidebar */
.profile-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.profile-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #F5F2E8 0%, #EDE8DC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon i {
    font-size: 50px;
    color: #5C6844;
}

.profile-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1C150F;
}

.profile-card .profile-email,
.profile-card .profile-username {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.profile-card .profile-email i,
.profile-card .profile-username i {
    color: #5C6844;
    font-size: 14px;
}

.role-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 15px;
}

.role-badge.admin {
    background: #dc3545;
    color: white;
}

.role-badge.member {
    background: #28a745;
    color: white;
}

/* Profile Content */
.profile-content {
    flex: 1;
}

.profile-edit-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.profile-edit-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1C150F;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #5C6844;
    display: inline-block;
}

.profile-edit-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1C150F;
    margin: 20px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E8E4D9;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1C150F;
    font-size: 14px;
}

.form-group label i {
    margin-right: 8px;
    color: #5C6844;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E8E4D9;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #5C6844;
    box-shadow: 0 0 0 3px rgba(92,104,68,0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-text {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    display: block;
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 18px;
    transition: color 0.3s ease;
}

.password-wrapper .toggle-password:hover {
    color: #5C6844;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E8E4D9;
}

.btn-save {
    background: #5C6844;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-save:hover {
    background: #4a5637;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92,104,68,0.3);
}

.btn-cancel {
    background: #f8f9fa;
    color: #1C150F;
    border: 1px solid #ddd;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-danger ul {
    padding-left: 20px;
}
/* Error message styling */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.nim-error-message {
    display: block;
}
/* Divider */
hr {
    margin: 25px 0;
    border: none;
    border-top: 1px solid #E8E4D9;
}

/* Responsive */
@media (max-width: 992px) {
    .profile-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .profile-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .profile-container {
        padding: 20px 0;
    }
    
    .profile-wrapper {
        padding: 0 15px;
    }
    
    .profile-edit-card {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .profile-edit-card h4 {
        font-size: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-save, .btn-cancel {
        width: 100%;
        justify-content: center;
    }
    
    .profile-card {
        padding: 20px;
    }
    
    .profile-icon {
        width: 80px;
        height: 80px;
    }
    
    .profile-icon i {
        font-size: 40px;
    }
    
    .profile-card h3 {
        font-size: 18px;
    }
}
/* CAROUSEL */
.carousel-item img {
    height: 600px;
    object-fit: cover;
    filter: brightness(60%);
}

.carousel-caption {
    left: 10%;
    bottom: 25%;
    text-align: left;
    animation: fadeInUp 1s ease;
}

.carousel-caption h1 {
    font-size: 64px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-caption p {
    font-size: 18px;
    color: #f1f1f1;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ABOUT */
.about-card {
    background: white;
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

.about-card h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1C150F 0%, #5C6844 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* TOMBOL ABOUT - LEARN MORE */
.btn-outline-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid #5C6844;
    color: #5C6844;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}

.btn-outline-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #5C6844, #7A8B5E);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-outline-main:hover {
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(92,104,68,0.3);
    border-color: transparent;
}

.btn-outline-main:hover::before {
    left: 0;
}

.btn-outline-main i,
.btn-outline-main svg {
    transition: transform 0.3s ease;
}

.btn-outline-main:hover i,
.btn-outline-main:hover svg {
    transform: translateX(5px);
}

.text-center h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

.text-center p {
    color: #444;
}
/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1C150F;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header .section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #5C6844, #67898C);
    margin: 0 auto;
    border-radius: 2px;
}
/* ========== FIX CARD UNIFORM SIZE ========== */
.card-custom {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%; /* 🔥 PASTIKAN TINGGI SAMA */
}

.card-custom .card-img-top {
    width: 100%;
    height: 200px; /* 🔥 TINGGI GAMBAR SERAGAM */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-custom .p-3 {
    padding: 1rem !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-custom .btn-sm {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    background: #5C6844;
    color: white;
    border: none;
    margin-bottom: 12px;
    align-self: flex-start;
}

.card-custom h6 {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    color: #1C150F;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(92,104,68,0.2);
}

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

/* Pastikan semua kolom memiliki tinggi yang sama */
.row .col-md-3 {
    display: flex;
    margin-bottom: 30px;
}

.row .col-md-3 > a {
    width: 100%;
    text-decoration: none;
}

/* CATEGORY BADGE */
.btn-sm {
    font-size: 12px;
    padding: 5px 15px;
    border-radius: 20px;
    background: #5C6844;
    color: white;
    border: none;
    margin-bottom: 15px;
}
/* ========== SUBMIT WRITINGS PAGE ========== */
.submit-container {
    min-height: calc(100vh - 200px);
    padding: 50px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.submit-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.submit-header {
    text-align: center;
    margin-bottom: 30px;
}

.submit-header i {
    font-size: 48px;
    color: #5C6844;
    margin-bottom: 15px;
}

.submit-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1C150F;
    margin-bottom: 10px;
}

.submit-header p {
    color: #666;
}

.alert-submit {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-submit.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-submit.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    flex-direction: column;
    align-items: flex-start;
}

.alert-submit.error ul {
    margin: 5px 0 0 20px;
}

.submit-form .form-group {
    margin-bottom: 25px;
}

.submit-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1C150F;
    font-size: 14px;
}

.submit-form label i {
    margin-right: 8px;
    color: #5C6844;
}

.submit-form .required {
    color: #dc3545;
}

.submit-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E8E4D9;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.submit-form .form-control:focus {
    outline: none;
    border-color: #5C6844;
    box-shadow: 0 0 0 3px rgba(92,104,68,0.1);
}

.submit-form .text-muted {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    display: block;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-submit {
    background: #5C6844;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background: #4a5637;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92,104,68,0.3);
}

.btn-cancel {
    background: #f8f9fa;
    color: #1C150F;
    border: 1px solid #ddd;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.info-note {
    margin-top: 25px;
    padding: 15px;
    background: #F5F2E8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #5C6844;
}

.info-note i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .submit-wrapper {
        padding: 25px;
        margin: 0 15px;
    }
    
    .submit-header h2 {
        font-size: 24px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit, .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

/* Gallery Styles untuk Submit Page */
.btn-add-gallery {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-add-gallery:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-remove-gallery {
    background: #dc3545;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-gallery:hover {
    background: #c82333;
    transform: scale(1.05);
}

.gallery-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}
/* URGENT BOX */

.urgent-box {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
}

.urgent-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: white;
}

.urgent-box h5 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1C150F;
}

.urgent-box p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}
.urgent-box img {
    width: 80%;
    max-width: 80px;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* FOOTER */
.footer {
    background: #1C150F;
    color: white;
    padding: 50px 0;
}

.footer-wrapper {
    margin-top: auto;
}

.footer-bottom {
    background: #67898C;
    text-align: center;
    color: white;
    padding: 12px;
    font-size: 14px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}


.footer p {
    color: #B6CCCA;
    font-size: 14px;
    line-height: 1.6;
}

.footer img {
    margin-bottom: 10px;
}


/* SOCIAL ICON */

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    margin: 0 1px;
}

.social-icon:hover {
    background: #5C6844;
    transform: translateY(-3px);
    color: white;
}
/* FOOTER LINK */
.footer-link {
    color: #B6CCCA;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-link:hover {
    color: #5C6844;
    transform: translateX(5px);
}
/* RAPIIIN FOOTER GRID */
.footer-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    text-align: center;
}

/* SEMUA KOLOM JADI SEIMBANG */
.footer-row > div {
    flex: 1;
}

/* KOLOM KIRI */
.footer-row > div:first-child {
    text-align: left;
}

/* KOLOM TENGAH (MENU) */
.footer-row > div:nth-child(2) {
    text-align: center;
}

/* KOLOM KANAN */
.footer-row > div:last-child {
    text-align: right;
}

/* MENU BIAR RAPI TENGAH */
.footer .row .col-6 {
    text-align: center;
}

/* JARAK MENU BIAR SAMA */
.footer-link {
    display: inline-block;
    margin-bottom: 6px;
}

/* SOCIAL ICON BIAR RATA KANAN */
.footer .social-icon {
    font-size: 20px;
}
/* KOLOM KIRI (LOGO) BIAR KE TENGAH VERTIKAL & RAPI */
.footer-row > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* LOGO AGAR POSISINYA LEBIH KE ATAS (SEJAJAR JUDUL FOLLOW US) */
.footer-row > div:first-child img {
    margin-top: 5px;
}

/* FOLLOW US AGAR POSISI ICON KE KANAN */
.footer-row > div:last-child .d-flex {
    justify-content: flex-end;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }

    .carousel-caption h1 {
        font-size: 30px;
    }

    .navbar .form-control {
        width: 100% !important;
        margin-top: 10px;
    }
}
/* ========== RESPONSIVE LENGKAP UNTUK HALAMAN SEARCH ========== */

/* Extra Large (1200px - 1399px) */
@media (max-width: 1399px) {
    .search-header {
        padding: 35px;
        margin-bottom: 35px;
    }
    
    .search-header h1 {
        font-size: 30px;
    }
    
    .result-card {
        padding: 22px;
        gap: 18px;
    }
    
    .result-image {
        width: 90px;
        height: 90px;
    }
    
    .result-title {
        font-size: 19px;
    }
}

/* Large (992px - 1199px) */
@media (max-width: 1199px) {
    .search-results-page {
        padding: 50px 0;
    }
    
    .search-header {
        padding: 30px;
        margin-bottom: 30px;
    }
    
    .search-header h1 {
        font-size: 28px;
    }
    
    .search-tabs {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .search-tab {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .result-card {
        padding: 20px;
        gap: 15px;
    }
    
    .result-image {
        width: 85px;
        height: 85px;
    }
    
    .result-title {
        font-size: 18px;
    }
    
    .result-excerpt {
        font-size: 13px;
    }
    
    .no-results {
        padding: 50px 20px;
    }
    
    .no-results i {
        font-size: 56px;
    }
}

/* Medium (768px - 991px) */
@media (max-width: 991px) {
    .search-results-page {
        padding: 40px 20px;
    }
    
    .search-header {
        padding: 25px;
        margin-bottom: 25px;
        border-radius: 18px;
    }
    
    .search-header h1 {
        font-size: 26px;
    }
    
    .search-header .query {
        font-size: 14px;
        padding: 4px 12px;
    }
    
    .search-tabs {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-tab {
        padding: 7px 16px;
        font-size: 12px;
    }
    
    .search-tab .count {
        font-size: 11px;
        padding: 1px 6px;
    }
    
    .result-card {
        padding: 18px;
        gap: 15px;
        flex-direction: column;
    }
    
    .result-image {
        width: 100%;
        height: 160px;
    }
    
    .result-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .result-title {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .result-excerpt {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .result-meta {
        font-size: 11px;
        gap: 6px;
    }
    
    /* Contact info di hasil pencarian */
    .contact-info {
        padding: 10px;
    }
    
    .contact-info div {
        font-size: 12px;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .contact-info .social-links {
        gap: 8px;
        margin-top: 8px;
    }
    
    .contact-info .social-links span {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .no-results {
        padding: 40px 20px;
        border-radius: 18px;
    }
    
    .no-results i {
        font-size: 48px;
    }
    
    .no-results h3 {
        font-size: 22px;
    }
    
    .no-results .suggestions {
        padding: 20px;
        max-width: 350px;
    }
    
    .no-results .suggestions h5 {
        font-size: 15px;
    }
    
    .no-results .suggestions li {
        font-size: 12px;
    }
}

/* Small (576px - 767px) */
@media (max-width: 767px) {
    .search-results-page {
        padding: 30px 15px;
    }
    
    .search-header {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 16px;
    }
    
    .search-header h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .search-header p {
        font-size: 13px;
    }
    
    .search-header .query {
        font-size: 13px;
        padding: 3px 10px;
    }
    
    .search-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .search-tab {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .search-tab .count {
        font-size: 10px;
        padding: 1px 5px;
    }
    
    .result-card {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 16px;
    }
    
    .result-image {
        height: 140px;
        border-radius: 10px;
    }
    
    .result-badge {
        font-size: 9px;
        padding: 3px 8px;
        margin-bottom: 8px;
    }
    
    .result-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .result-excerpt {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .result-meta {
        font-size: 10px;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .result-meta .separator {
        margin: 0 3px;
    }
    
    .contact-info {
        padding: 8px;
        margin-top: 5px;
    }
    
    .contact-info div {
        font-size: 11px;
        gap: 5px;
    }
    
    .contact-info i {
        font-size: 12px;
        width: 16px;
    }
    
    .contact-info .social-links {
        gap: 6px;
    }
    
    .contact-info .social-links span {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .no-results {
        padding: 30px 15px;
    }
    
    .no-results i {
        font-size: 40px;
    }
    
    .no-results h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .no-results p {
        font-size: 12px;
    }
    
    .no-results .suggestions {
        padding: 15px;
        margin-top: 20px;
    }
    
    .no-results .suggestions h5 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .no-results .suggestions li {
        font-size: 11px;
        margin-bottom: 6px;
    }
}

/* Extra Small (320px - 575px) */
@media (max-width: 575px) {
    .search-results-page {
        padding: 20px 10px;
    }
    
    .search-header {
        padding: 15px;
    }
    
    .search-header h1 {
        font-size: 18px;
    }
    
    .search-header p {
        font-size: 11px;
    }
    
    .search-header .query {
        font-size: 11px;
        padding: 2px 8px;
    }
    
    .search-tabs {
        gap: 6px;
    }
    
    .search-tab {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .search-tab .count {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .result-card {
        padding: 12px;
        border-radius: 14px;
    }
    
    .result-image {
        height: 120px;
    }
    
    .result-title {
        font-size: 15px;
    }
    
    .result-excerpt {
        font-size: 11px;
        line-height: 1.4;
    }
    
    .result-meta {
        font-size: 9px;
    }
    
    .contact-info {
        padding: 6px;
    }
    
    .contact-info div {
        font-size: 10px;
    }
    
    .contact-info .social-links span {
        font-size: 8px;
        padding: 2px 5px;
    }
    
    .no-results {
        padding: 20px 10px;
    }
    
    .no-results i {
        font-size: 32px;
    }
    
    .no-results h3 {
        font-size: 16px;
    }
    
    .no-results p {
        font-size: 11px;
    }
    
    .no-results .suggestions {
        padding: 12px;
    }
    
    .no-results .suggestions h5 {
        font-size: 13px;
    }
    
    .no-results .suggestions li {
        font-size: 10px;
    }
}

/* Landscape mode untuk mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .search-results-page {
        padding: 25px 15px;
    }
    
    .search-header {
        padding: 15px 20px;
    }
    
    .search-header h1 {
        font-size: 20px;
    }
    
    .result-card {
        flex-direction: row;
        gap: 15px;
    }
    
    .result-image {
        width: 100px;
        height: 100px;
    }
    
    .result-excerpt {
        -webkit-line-clamp: 2;
    }
    
    .search-tabs {
        flex-wrap: wrap;
    }
}

/* Tablet landscape (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .search-results-page {
        padding: 40px 30px;
    }
    
    .result-card {
        flex-direction: row;
    }
    
    .result-image {
        width: 100px;
        height: 100px;
    }
}

/* High DPI Screens (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .result-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .search-tab {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }
    
    .result-card:active {
        transform: scale(0.99);
    }
    
    .search-suggestion {
        min-height: 50px;
    }
}

/* Loading state untuk search */
.search-loading {
    text-align: center;
    padding: 40px;
}

.search-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #5C6844;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 575px) {
    .search-loading .spinner {
        width: 30px;
        height: 30px;
    }
}

/* Smooth transition */
.search-results-page,
.search-header,
.result-card,
.search-tab {
    transition: all 0.3s ease;
}

/* Animasi fade in untuk hasil pencarian */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    animation: fadeIn 0.3s ease forwards;
}

/* Stagger animation untuk result cards */
.result-card:nth-child(1) { animation-delay: 0.05s; }
.result-card:nth-child(2) { animation-delay: 0.1s; }
.result-card:nth-child(3) { animation-delay: 0.15s; }
.result-card:nth-child(4) { animation-delay: 0.2s; }
.result-card:nth-child(5) { animation-delay: 0.25s; }
.result-card:nth-child(6) { animation-delay: 0.3s; }