﻿.filter-btn {
    border: 2px solid transparent;
    color: #0A1D37;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.filter-btn:hover {
    background-color: rgba(10, 29, 55, 0.05);
    color: #0d6efd;
    
}

.filter-btn.active {
    background-color: #0A1D37 !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(10, 29, 55, 0.2);
}

.ls-widest {
    letter-spacing: 5px;
}

.hover-translate-y {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-translate-y:hover,
.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.hover-scale,
.img-hover-zoom,
.transition-slow {
    transition: transform 2.0s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.hover-translate-y:hover .hover-scale,
.hover-translate-y:hover .img-hover-zoom,
.hover-translate-y:hover .transition-slow,
.project-card:hover .img-hover-zoom {
    transform: scale(1.1) !important;
}

.text-navy {
    color: #0A1D37;
}

.text-gradient-purple {
    background: linear-gradient(45deg, #ffffff 40%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-placeholder::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #0A1D37 !important;
    color: white !important;
    transform: scale(1.15) !important;
    box-shadow: 0 15px 30px rgba(10, 29, 55, 0.25) !important;
    border-color: #0A1D37 !important;
}

.main-prev,
.main-next {
    width: 50px !important;
    height: 50px !important;
    background: white !important;
    color: #0A1D37 !important;
    border: 1px solid rgba(10, 29, 55, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    z-index: 100 !important;
    box-shadow: 0 10px 20px rgba(10, 29, 55, 0.1) !important;
}

.main-prev {
    left: -60px !important;
}

.main-next {
    right: -60px !important;
}

.shadow-premium {
    box-shadow: 0 20px 40px rgba(10, 29, 55, 0.08) !important;
}

.btn-navy {
    background-color: #0A1D37 !important;
    color: white !important;
    border: 1px solid #0A1D37 !important;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: #232864 !important;
    border-color: #232864 !important;
    
}

.btn-outline-navy {
    color: #0A1D37 !important;
    border: 1px solid #0A1D37 !important;
    transition: all 0.3s ease;
}

.btn-outline-navy:hover {
    background-color: #0A1D37 !important;
    color: white !important;
    
}

.avatar-ring {
    padding: 3px;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    display: inline-flex;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 29, 55, 0.4) 0%, transparent 100%);
    pointer-events: none;
}
/* Filter Bar Improvements */
.border-xl-start {
    border-left: 1px solid rgba(10, 29, 55, 0.1);
}

@media (min-width: 1200px) {
    .ps-xl-3 {
        padding-left: 1rem !important;
    }
}

@media (max-width: 1199.98px) {
    .border-xl-start {
        border-left: none;
        border-top: 1px solid rgba(10, 29, 55, 0.05);
        padding-top: 1rem;
    }
}

.filter-btn-sub {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.75rem !important;
    white-space: nowrap;
}

.filter-sub-group {
    min-height: 40px;
}

/* Disable Hover Lift on Search Boxes */
.glass-card, 
#project-filters > div,
.filter-sub-group {
    transform: none !important;
    transition: none !important;
}

.glass-card:hover, 
#project-filters > div:hover {
    transform: none !important;
    box-shadow: 0 15px 30px rgba(10, 29, 55, 0.1) !important;
}

/* Smooth Section Transitions - Fade & Shrink */
.project-section-wrapper {
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1), margin 0.7s ease, padding 0.7s ease;
    max-height: 3000px; /* Large enough for content */
    opacity: 1;
    transform: scale(1);
    overflow: hidden;
}

.section-hidden {
    opacity: 0 !important;
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transform: scale(0.95) translateY(20px) !important;
    pointer-events: none !important;
    visibility: hidden;
}
