.header .logo h1 {
    color: white;
}

.bg-app {
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #6366f1 30%));
}

.features-section .feature-box {
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #6366f1 30%));
}

.section-badge {
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #6366f1 30%));
}

.about .feature-box .feature-icon {
    background-color: white;
    color: #6366f1;
}

.hero .hero-content .hero-title {
    font-size: 2.5rem;
}

.hero .hero-content .hero-description {
    font-size: 1.7rem;
}

@media (max-width: 768px) {
    .hero .hero-content .hero-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
}

.maps iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.features-2 .feature-card-2 {
    padding: 0;
}

.services .services-grid .service-card {
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #6366f1 30%));
}

.footer {
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #6366f1 30%));
}


/* Lecturer Card - Modern Design */
.lecturer-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lecturer-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image Section */
.lecturer-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg,
            #f5f7fa 0%,
            #c3cfe2 100%);
}

.lecturer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lecturer-card:hover .lecturer-image {
    transform: scale(1.08);
}

.lecturer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lecturer-card:hover .lecturer-overlay {
    opacity: 1;
}

/* Content Section */
.lecturer-content {
    padding: 1.75rem;
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #6366f1 30%));
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lecturer-info {
    margin-bottom: 1rem;
}

.lecturer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.lecturer-department,
.lecturer-discipline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.5;
}

.lecturer-department i,
.lecturer-discipline i {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Social Links Section */
.lecturer-social {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: translateY(0);
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-sinta:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.social-scholar:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.social-pddikti:hover {
    background: linear-gradient(135deg, #10b981, #059669);
}

.social-scopus:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Responsive Design */
@media (max-width: 768px) {
    .lecturer-card {
        border-radius: 16px;
    }

    .lecturer-content {
        padding: 1.5rem;
    }

    .lecturer-name {
        font-size: 1.1rem;
    }

    .lecturer-department,
    .lecturer-discipline {
        font-size: 0.85rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}


/* Modern Search Input */
.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.4rem;
    z-index: 2;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 3.5rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    outline: none;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.search-input::placeholder {
    color: #9ca3af;
    font-size: 0.95rem;
}

.search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1),
        0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.search-input:focus~.search-icon {
    color: var(--accent-color);
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: #6b7280;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.2s ease;
    z-index: 2;
}

.search-clear:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-50%) rotate(90deg);
}

.search-clear:active {
    transform: translateY(-50%) scale(0.95);
}

/* Loading state for search */
.search-wrapper.loading .search-icon i::before {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-wrapper {
        max-width: 100%;
    }

    .search-input {
        padding: 0.875rem 3rem 0.875rem 3rem;
        font-size: 0.95rem;
    }

    .search-icon {
        left: 1rem;
        font-size: 1.2rem;
    }

    .search-clear {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
}

/* Category Filter Wrapper */
.category-filter-wrapper {
    position: relative;
}

.category-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.4rem;
    z-index: 2;
    pointer-events: none;
}

.category-select {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    outline: none;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    cursor: pointer;
}

.category-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1),
        0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* Select2 Customization for Category */
.select2-container--bootstrap-5 .select2-selection {
    border-radius: 50px !important;
    border: 2px solid #e5e7eb !important;
    padding: 0.75rem 1rem 0.75rem 3rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.select2-container--bootstrap-5 .select2-selection:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: var(--accent-color) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1),
        0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-radius: 16px !important;
    border: 2px solid var(--accent-color) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Sidebar Search Variant */
.search-wrapper-sidebar {
    position: relative;
    width: 100%;
}

.search-icon-sidebar {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: none;
}

.search-input-sidebar {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.5rem;
    font-size: 0.9rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    outline: none;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-input-sidebar::placeholder {
    color: #9ca3af;
    font-size: 0.85rem;
}

.search-input-sidebar:focus {
    border-color: var(--accent-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.search-clear-sidebar {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: #6b7280;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    z-index: 2;
}

.search-clear-sidebar:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-50%) rotate(90deg);
}

.search-clear-sidebar:active {
    transform: translateY(-50%) scale(0.95);
}

/* Section Title Spacing - Responsive */
.section-title-spacing {
    margin-top: 8rem;
}

@media (max-width: 768px) {
    .section-title-spacing {
        margin-top: 4rem;
    }
}

.navmenu .active {
    color: white;
    font-weight: bold;
}

.banner {
    height: 350px;
}

/* Mobile: max-width 576px */
@media (max-width: 576px) {
    .navmenu .active {
        color: var(--accent-color);
    }

    .banner img {
        height: 173px;
    }

    .banner {
        margin-bottom: -150px;
    }
}

@media (max-width: 576px) {
    .hero .carousel {
        min-height: 60vh;
        /* cukup tinggi tapi tidak terlalu besar */
    }

    .hero img {
        height: 60vh;
    }

    .hero {
        margin-bottom: -100px;
    }
}

/* Tablet (opsional jika mau berbeda juga) */
@media (min-width: 577px) and (max-width: 1196px) {
    .navmenu .active {
        color: var(--accent-color);
    }
}

.pointer {
    cursor: pointer;
}

.btn-see-more {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--heading-color);
    border: 1px solid var(--heading-color);
    border-radius: 0.375rem;
    /* seperti .btn */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-see-more:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    font-weight: bold;
}

.btn-see-more:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(3, 40, 123, 0.3);
}

.btn-see-more:active {
    background-color: var(--default-color);
    border-color: var(--default-color);
}

.image-frame {
    background: url("{{ asset('template/images/bg-img.jpg') }}") center/cover no-repeat;
}

.partner-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

#search-mitra:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

/* Pagination Styling */
.pagination {
    gap: 8px;
}

.pagination .page-link {
    color: var(--accent-color);
    border: 1px solid #e5e7eb;
    margin: 0;
    border-radius: 50px !important;
    padding: 8px 18px;
    min-width: 44px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #6366f1 30%)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.pagination .page-link:hover:not(.active) {
    background-color: var(--accent-color);
    color: #fff !important;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.pagination .page-item.disabled .page-link {
    color: #9ca3af;
    background-color: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
}