/* Home-only styles for index.php */
@media (min-width: 992px) {
    .navbar-collapse.collapse {
        display: flex !important;
        visibility: visible !important;
    }
}

.header {
    z-index: 1000 !important;
    position: relative;
}

.search-widget-container i {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.slide-content-enter {
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-wrapper {
    position: relative;
}

.timeline-container {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ff9e30 #f1f5f9;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.timeline-container::-webkit-scrollbar {
    height: 8px;
}

.timeline-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: #ff9e30;
    border-radius: 10px;
}

.timeline-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid #ff9e30;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-nav-btn:hover {
    background: #ff9e30;
    transform: translateY(-50%) scale(1.1);
}

.timeline-nav-btn:hover .material-symbols-outlined {
    color: white;
}

.timeline-nav-btn.left {
    left: -24px;
}

.timeline-nav-btn.right {
    right: -24px;
}

@media (max-width: 768px) {
    .timeline-nav-btn {
        display: none;
    }
}
