/* ===================================
   Custom Navbar Fixes
   =================================== */

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #0f8040;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a5a2d;
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #0f8040 #f1f1f1;
}

a {
    text-decoration: none;
}

/* ===================================
   Bottom Navigation Bar (Mobile Only)
   =================================== */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #e2e8f0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    padding: 0.75rem;
    flex: 1;
    transition: all 0.3s ease;
}

.bottom-nav-item i {
    font-size: 1.5rem;
}

.bottom-nav-item:hover,
.bottom-nav-item:active,
.bottom-nav-item.active {
    color: #0f8040;
}

/* Add padding to body to prevent content being hidden by bottom navbar */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }
}

/* ===================================
   Notification Badge
   =================================== */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Notification Badge in Bottom Navbar */
.bottom-nav-item .notification-badge {
    top: 8px;
    right: 50%;
    transform: translateX(12px);
}

/* Navbar Container */
.navbar .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

/* Remove navbar shadow */
.navbar {
    box-shadow: none !important;
}

/* User Dropdown Name Styling */
.user-name {
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===================================
   Info Modal
   =================================== */
.info-modal {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.info-modal .modal-header {
    padding: 1rem 1rem 0 1rem;
}

.info-modal .btn-close {
    background: transparent;
    opacity: 0.5;
}

.info-modal .btn-close:hover {
    opacity: 1;
}

.modal-icon {
    font-size: 4rem;
    color: #0f8040;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.info-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.modal-text {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e293b;
    font-size: 0.95rem;
}

.feature-item i {
    color: #0f8040;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #0f8040 0%, #0a5a2d 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 128, 64, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 128, 64, 0.4);
    background: linear-gradient(135deg, #0a5a2d 0%, #0f8040 100%);
}

/* Modal Responsive */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }

    .modal-icon {
        font-size: 3rem;
    }

    .info-modal .modal-title {
        font-size: 1.25rem;
    }

    .modal-text {
        font-size: 0.9rem;
    }

    .feature-item {
        font-size: 0.85rem;
    }
}

/* ===================================
   Notification Card
   =================================== */
.notification-section {
    background: transparent;
}

.notification-card {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
    position: relative;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-icon {
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    color: white;
}

.notification-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: white;
}

.notification-text {
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.5;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.notification-close i {
    font-size: 1rem;
}

/* Responsive Notification */
@media (max-width: 768px) {
    .notification-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
    }

    .notification-icon {
        font-size: 1.5rem;
    }

    .notification-title {
        font-size: 0.95rem;
    }

    .notification-text {
        font-size: 0.85rem;
    }

    .notification-close {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .notification-close i {
        font-size: 0.85rem;
    }
}

/* ===================================
   News Section
   =================================== */
.news-section {
    background: #f8fafc;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.news-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #0f8040 0%, #0a5a2d 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.news-date,
.news-author {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    color: #64748b;
}

.news-date i,
.news-author i {
    font-size: 0.9rem;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0f8040;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.news-link:hover {
    color: #0a5a2d;
    gap: 0.75rem;
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(4px);
}

/* Responsive News Cards */
@media (max-width: 767px) {
    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 1.25rem;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .news-meta {
        gap: 0.75rem;
    }
}

/* ===================================
   App Download Section - Simple Modern
   =================================== */
.app-download-section {
    background: #ffffff;
}

.app-download-card {
    background: linear-gradient(135deg, #0f8040 0%, #0a5a2d 100%);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.app-download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.app-download-content {
    position: relative;
    z-index: 2;
}

.app-download-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
}

.app-download-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.btn-playstore-simple {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-playstore-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #0a5a2d;
}

.playstore-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.btn-playstore-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-playstore-text small {
    font-size: 0.7rem;
    color: #64748b;
}

.btn-playstore-text strong {
    font-size: 1rem;
    font-weight: 700;
}

.app-icon-wrapper {
    position: relative;
    z-index: 2;
}

.app-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .app-download-card {
        padding: 2.5rem;
    }

    .app-download-title {
        font-size: 1.5rem;
    }

    .app-icon {
        font-size: 6rem;
    }
}

@media (max-width: 767px) {
    .app-download-card {
        padding: 2rem;
        text-align: center;
    }

    .app-download-title {
        font-size: 1.35rem;
    }

    .app-download-desc {
        font-size: 0.9rem;
    }

    .btn-playstore-simple {
        margin: 0 auto;
    }

    .app-icon-wrapper {
        margin-top: 2rem;
    }

    .app-icon {
        font-size: 4rem;
    }
}

/* ===================================
   Notification Page Styles
   =================================== */
.notif-header {
    border-bottom: 1px solid #e2e8f0;
}

.notif-tabs {
    border: none;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.notif-tabs .nav-link {
    color: #64748b;
    border: none;
    border-radius: 12px;
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
}

.notif-tabs .nav-link:hover {
    background: #f1f5f9;
    color: #0f8040;
}

.notif-tabs .nav-link.active {
    background: #0f8040;
    color: white;
}

.notif-tabs .nav-link .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notif-tabs .nav-link.active .badge {
    background: white !important;
    color: #0f8040;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notif-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notif-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    background: #f8fafc;
}

.notif-item.unread {
    background: #f0fdf4;
    border-color: #0f8040;
    border-left-width: 4px;
}

.notif-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon i {
    font-size: 1.5rem;
    color: white;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.notif-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.notif-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.notif-time,
.notif-category {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.notif-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.btn-close-notif {
    background: transparent;
    border: none;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-close-notif:hover {
    background: #fee2e2;
    color: #ef4444;
}

.notif-empty {
    padding: 4rem 0;
}

/* Responsive Notifications */
@media (max-width: 991px) {
    .notif-tabs {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .notif-tabs::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 767px) {
    .notif-header {
        padding: 1rem 0 !important;
    }

    .notif-header .section-title {
        font-size: 1.5rem;
    }

    .notif-header .row {
        gap: 0.75rem;
    }

    .notif-header .col-auto {
        width: 100%;
    }

    .notif-header .btn {
        width: 100%;
        justify-content: center;
    }

    .notif-tabs-section {
        padding: 0.75rem 0 !important;
    }

    .notif-tabs .nav-link {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    .notif-content-section {
        padding: 1.5rem 0 !important;
    }

    .notif-item {
        padding: 1rem;
        gap: 0.75rem;
        border-radius: 12px;
        flex-wrap: wrap;
    }

    .notif-icon {
        width: 45px;
        height: 45px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .notif-icon i {
        font-size: 1.25rem;
    }

    .notif-content {
        flex: 1;
        min-width: 0;
        width: calc(100% - 45px - 28px - 1.5rem);
    }

    .notif-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .notif-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.6rem;
    }

    .notif-meta {
        gap: 1rem;
    }

    .notif-time,
    .notif-category {
        font-size: 0.75rem;
    }

    .notif-actions {
        flex-shrink: 0;
        width: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
    }

    .btn-close-notif {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .btn-close-notif i {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .notif-header .section-title {
        font-size: 1.35rem;
    }

    .notif-tabs .nav-link {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }

    .notif-tabs .nav-link .badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    .notif-item {
        padding: 0.85rem;
    }

    .notif-icon {
        width: 40px;
        height: 40px;
    }

    .notif-icon i {
        font-size: 1.1rem;
    }

    .notif-title {
        font-size: 0.9rem;
    }

    .notif-desc {
        font-size: 0.8rem;
    }

    .notif-time,
    .notif-category {
        font-size: 0.7rem;
    }

    .notif-actions .btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.6rem;
    }
}

/* ===================================
   Riwayat Page Styles
   =================================== */
.riwayat-header {
    border-bottom: 1px solid #e2e8f0;
}

.filter-section .form-select,
.filter-section .form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 0.625rem 0.75rem;
    font-size: 0.9rem;
}

.filter-section .form-select:focus,
.filter-section .form-control:focus {
    border-color: #0f8040;
    box-shadow: 0 0 0 0.2rem rgba(15, 128, 64, 0.15);
}

/* Statistics Cards */
.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
}

/* Riwayat List */
.riwayat-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.riwayat-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.riwayat-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #0f8040;
}

.riwayat-header-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.riwayat-number {
    font-size: 1rem;
    font-weight: 600;
    color: #0f8040;
    display: flex;
    align-items: center;
}

.badge-status {
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-diproses {
    background: #fef3c7;
    color: #92400e;
}

.status-disetujui {
    background: #d1fae5;
    color: #065f46;
}

.status-ditolak {
    background: #fee2e2;
    color: #991b1b;
}

.status-selesai {
    background: #dbeafe;
    color: #1e40af;
}

.riwayat-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.riwayat-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.riwayat-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.meta-item {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.riwayat-progress {
    margin-top: 1rem;
}

.progress-bar-custom {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0f8040 0%, #0a5a2d 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.riwayat-actions-inline {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Pagination */
.pagination .page-link {
    color: #0f8040;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem;
}

.pagination .page-item.active .page-link {
    background: #0f8040;
    border-color: #0f8040;
}

.pagination .page-link:hover {
    background: #f0fdf4;
    border-color: #0f8040;
}

/* Responsive Riwayat */
@media (max-width: 767px) {
    .riwayat-header {
        padding: 1rem 0 !important;
    }

    .riwayat-header .section-title {
        font-size: 1.5rem;
    }

    .riwayat-header .row {
        gap: 0.75rem;
    }

    .riwayat-header .col-auto {
        width: 100%;
    }

    .riwayat-header .btn {
        width: 100%;
        justify-content: center;
    }

    .filter-section {
        padding: 0.75rem 0 !important;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
    }

    .stat-icon i {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .riwayat-item {
        padding: 1.25rem;
    }

    .riwayat-header-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .riwayat-title {
        font-size: 1rem;
    }

    .riwayat-desc {
        font-size: 0.85rem;
    }

    .riwayat-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .meta-item {
        font-size: 0.75rem;
    }

    .riwayat-actions-inline {
        flex-direction: column;
    }

    .riwayat-actions-inline .btn {
        width: 100%;
    }
}

/* ===================================
   Detail Permohonan Page Styles
   =================================== */
.detail-header {
    border-bottom: 1px solid #e2e8f0;
}

.detail-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}

.detail-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Info Grid */
.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    display: block;
    margin-bottom: 0.25rem;
}

.info-item p {
    font-size: 1rem;
    color: #1e293b;
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.timeline-item.completed .timeline-marker {
    color: #0f8040;
}

.timeline-item.active .timeline-marker {
    color: #f59e0b;
    animation: pulse 2s infinite;
}

.timeline-item.pending .timeline-marker {
    color: #cbd5e1;
}

.timeline-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

/* Document List */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: #0f8040;
    background: #f8fafc;
}

.document-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #dc2626;
    flex-shrink: 0;
}

.document-item:has(.bi-file-image-fill) .document-icon {
    background: #dbeafe;
    color: #2563eb;
}

.document-info {
    flex: 1;
}

.document-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.document-info small {
    font-size: 0.8rem;
    color: #94a3b8;
}

.document-status {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

.document-status.verified {
    background: #d1fae5;
    color: #065f46;
}

.document-status.pending {
    background: #fef3c7;
    color: #92400e;
}

/* Notes */
.notes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.note-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 3px solid #0f8040;
}

.note-header {
    margin-bottom: 0.75rem;
}

.note-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.note-author strong {
    font-size: 0.95rem;
    color: #1e293b;
}

.note-content p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* Progress Circle */
.progress-circle-wrapper {
    padding: 1rem 0;
}

.progress-circle {
    display: inline-block;
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: #f0fdf4;
    color: #0f8040;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item small {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: #1e293b;
    margin: 0;
    font-weight: 500;
}

/* Responsive Detail */
@media (max-width: 991px) {
    .detail-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .detail-header {
        padding: 1rem 0 !important;
    }

    .detail-header .section-title {
        font-size: 1.35rem;
    }

    .detail-header .d-flex {
        flex-wrap: wrap;
    }

    .detail-card {
        padding: 1.25rem;
    }

    .detail-card-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .info-item label {
        font-size: 0.8rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline::before {
        left: 0.75rem;
    }

    .timeline-marker {
        left: -1.25rem;
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1rem;
    }

    .timeline-content h6 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .document-item {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .document-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .document-status {
        order: 3;
        width: 100%;
        text-align: center;
    }

    .document-item .btn {
        order: 4;
        width: 100%;
    }
}

/* ===================================
   Layanan Page Styles
   =================================== */
.layanan-header {
    border-bottom: 1px solid #e2e8f0;
}

/* Search Bar */
.layanan-search {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.layanan-search:focus-within {
    border-color: #0f8040;
    box-shadow: 0 0 0 4px rgba(15, 128, 64, 0.1);
}

.layanan-search .input-group-text {
    background: white;
    border: none;
    color: #64748b;
}

.layanan-search .form-control {
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
}

.layanan-search .form-control:focus {
    box-shadow: none;
}

/* Stats Banner */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0f8040 0%, #0a5a2d 100%);
    border-radius: 16px;
    color: white;
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.stat-box p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Service Cards */
.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #0f8040;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f8040 0%, #0a5a2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.service-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-populer {
    background: #fef3c7;
    color: #92400e;
}

.badge-baru {
    background: #dbeafe;
    color: #1e40af;
}

.service-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.service-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.service-meta span {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.service-stats span {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

/* Responsive Layanan */
@media (max-width: 991px) {
    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .stat-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .layanan-header {
        padding: 1rem 0 !important;
    }

    .layanan-header .section-title {
        font-size: 1.5rem;
    }

    .search-filter-section {
        padding: 1rem 0 !important;
    }

    .layanan-search .form-control {
        font-size: 0.9rem;
        padding: 0.625rem;
    }

    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
        gap: 0.75rem;
    }

    .stat-box h3 {
        font-size: 1.35rem;
    }

    .stat-box p {
        font-size: 0.8rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }

    .service-title {
        font-size: 0.8rem;
    }

    .service-desc {
        font-size: 0.85rem;
    }

    .service-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .service-meta span {
        font-size: 0.8rem;
    }

    .service-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .service-footer .btn {
        width: 100%;
    }
}

/* Service Modal Styles */
.service-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f8040 0%, #0a5a2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.service-modal-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    padding: 0.5rem 0;
    color: #475569;
    display: flex;
    align-items: center;
}

.procedure-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.procedure-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0f8040;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.step-content {
    flex: 1;
}

.step-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.contact-info-modal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.contact-item-modal {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-item-modal i {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: #f0fdf4;
    color: #0f8040;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item-modal small {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
}

.contact-item-modal p {
    font-size: 0.9rem;
    color: #1e293b;
    margin: 0;
    font-weight: 500;
}

/* Modal Responsive */
@media (max-width: 767px) {
    .service-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .service-modal-header h4 {
        font-size: 1.25rem;
    }

    .contact-info-modal {
        grid-template-columns: 1fr;
    }

    .step-number {
        width: 10px;
        height: 10px;
        font-size: 0.9rem;
    }
}

/* ===================================
   Profile Page Styles
   =================================== */
.profile-header {
    border-bottom: 1px solid #e2e8f0;
}

.profile-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.profile-avatar-section {
    margin-bottom: 2rem;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #0f8040;
    object-fit: cover;
}

.btn-change-avatar {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f8040;
    border: 3px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-change-avatar:hover {
    background: #0a5a2d;
    transform: scale(1.1);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.profile-email {
    color: #64748b;
    margin: 0 0 0.75rem 0;
}

.profile-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.stat-item {
    text-align: center;
}

.stat-item h5 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f8040;
    margin: 0 0 0.25rem 0;
}

.stat-item p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.profile-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.section-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.section-header h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.section-content {
    padding: 1.5rem;
}

.info-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    display: block;
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 1rem;
    color: #1e293b;
    margin: 0;
    font-weight: 500;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.security-item:last-child {
    border-bottom: none;
}

.security-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.security-info i {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #f0fdf4;
    color: #0f8040;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.security-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.security-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Edit Modal Form */
.modal-body .form-label {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
}

.modal-body .form-control,
.modal-body .form-select {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 0.625rem 0.75rem;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    border-color: #0f8040;
    box-shadow: 0 0 0 0.2rem rgba(15, 128, 64, 0.15);
}

.modal-body h6 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Responsive Profile */
@media (max-width: 991px) {
    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .btn-change-avatar {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 767px) {
    .profile-header {
        padding: 1rem 0 !important;
    }

    .profile-header .section-title {
        font-size: 1.5rem;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .btn-change-avatar {
        width: 32px;
        height: 32px;
    }

    .btn-change-avatar i {
        font-size: 0.9rem;
    }

    .profile-name {
        font-size: 1.25rem;
    }

    .profile-stats {
        padding: 1rem 0;
        margin: 1rem 0;
    }

    .stat-item h5 {
        font-size: 1.5rem;
    }

    .stat-item p {
        font-size: 0.75rem;
    }

    .section-header {
        padding: 0.75rem 1rem;
    }

    .section-header h5 {
        font-size: 1rem;
    }

    .section-content {
        padding: 1rem;
    }

    .info-item label {
        font-size: 0.8rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    .security-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .security-info {
        width: 100%;
    }

    .security-item .btn {
        width: 100%;
    }
}

/* ===================================
   Weather Section
   =================================== */
.weather-section {
    background: transparent;
}

.weather-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border: none;
    box-shadow: none;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.weather-icon {
    font-size: 3.5rem;
    color: #f59e0b;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.weather-details {
    color: #1e293b;
}

.weather-temp {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: #0f8040;
}

.weather-desc {
    font-size: 0.9rem;
    margin-top: 0.25rem;
    color: #475569;
}

.weather-location {
    display: flex;
    align-items: center;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 500;
}

.weather-location i {
    font-size: 0.9rem;
    color: #0f8040;
}

.weather-extra {
    /*display: flex;*/
    gap: 2rem;
}

.weather-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    font-size: 0.95rem;
}

.weather-item i {
    font-size: 1.2rem;
    color: #0f8040;
}

/* Weather Bottom Container */
.weather-bottom {
    display: contents;
}

/* Responsive Weather */
@media (max-width: 768px) {
    .weather-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .weather-info {
        width: 100%;
        justify-content: center;
    }

    .weather-bottom {
        display: flex;
        justify-content: space-between;
        width: 100%;
        gap: 1rem;
    }

    .weather-location {
        flex: 1;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }

    .weather-extra {
        flex: 1;
        gap: 1rem;
    }

    .weather-icon {
        font-size: 2.5rem;
    }

    .weather-temp {
        font-size: 1rem;
    }

    .weather-details h6 {
        font-size: 0.8rem;
    }
}

/* Hero Section Background */
.hero-section {
    background-color: transparent !important;
}

/* Banner Image Responsive */
.carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 768px) {
    .carousel-inner img {
        height: 500px;
        object-fit: cover;
    }
}

@media (max-width: 767px) {
    .carousel-inner img {
        height: auto;
        object-fit: contain;
    }
}

/* ===================================
   Search Bar
   =================================== */
.search-bar-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    box-shadow: 0 6px 30px rgba(15, 128, 64, 0.15);
}

.search-icon {
    color: #64748b;
    font-size: 1.2rem;
    margin: 0 0.75rem;
}

.search-input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1rem;
    padding: 0.5rem 0;
    background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.search-input:focus {
    box-shadow: none;
    border: none;
}

.search-input::placeholder {
    color: #94a3b8;
}

.btn-search {
    background: linear-gradient(135deg, #0f8040 0%, #0a5a2d 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 128, 64, 0.3);
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 128, 64, 0.4);
    background: linear-gradient(135deg, #0a5a2d 0%, #0f8040 100%);
}

.btn-search i {
    font-size: 1.1rem;
}

/* Responsive Search Bar */
@media (max-width: 768px) {
    .search-bar {
        padding: 0.4rem 0.5rem;
    }

    .search-input {
        font-size: 0.9rem;
    }

    .btn-search {
        padding: 0.5rem 1rem;
    }
}

/* Section Title Styling */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
}

/* Responsive Section Title */
@media (max-width: 767px) {
    .section-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.4rem;
    }
}

/* Button Outline Primary Custom */
.btn-outline-primary {
    color: #0f8040;
    border: none;
    background: transparent;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #e8f5e9;
    color: #0f8040;
    border: none;
}

/* ===================================
   Category Cards Redesign
   =================================== */

/* Custom column for 8 cards per row */
@media (min-width: 1200px) {
    .col-xl-15 {
        flex: 0 0 12.5%;
        max-width: 12.5%;
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

/* Left Navigation Icons - Desktop Only */
.navbar-nav.d-lg-flex {
    flex-direction: row;
    padding-left: 0;
}

/* Logo Center Position */
.navbar-brand.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Right Navigation - Always on the right */
.ms-auto.d-flex {
    margin-left: auto !important;
}

/* Mobile Toggle Button - Minimalist Style */
.navbar-toggler {
    margin-right: 0;
    border: none !important;
    padding: 0.25rem 0.5rem;
    background: transparent !important;
    box-shadow: none !important;
}

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

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f8040' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover .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='%230a5a2d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Collapsible Content - Full width below */
.navbar-collapse {
    flex-basis: 100%;
    width: 100%;
}

/* Desktop Mode */
@media (min-width: 992px) {
    .navbar .container {
        flex-wrap: nowrap;
    }

    /* Logo on the left in desktop */
    .navbar-brand.logo {
        position: static !important;
        transform: none !important;
        order: 1;
        margin-right: 2rem;
    }

    .navbar-nav.d-lg-flex {
        order: 2;
        margin-right: auto;
        position: relative;
        z-index: 5;
    }

    .ms-auto.d-flex {
        order: 3;
        position: relative;
        z-index: 5;
    }

    /* Hide collapse menu on desktop - Multiple selectors for stronger specificity */
    .navbar-collapse,
    .navbar-collapse.collapse,
    .navbar-collapse.collapse.show,
    #navbarContent,
    .navbar .navbar-collapse {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* Mobile & Tablet Mode */
@media (max-width: 991.98px) {
    .navbar .container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    /* Hide hamburger button */
    .navbar-toggler {
        display: none !important;
    }

    /* Logo on the left */
    .navbar-brand.logo {
        position: static;
        transform: none;
        order: 1;
        margin-right: auto;
    }

    /* Search and User on the right */
    .ms-auto.d-flex {
        order: 2;
        margin-left: auto !important;
    }

    /* Hide collapse menu completely */
    .navbar-collapse,
    #navbarContent {
        display: none !important;
    }
}
