/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a; 
}

::-webkit-scrollbar-thumb {
    background: #334155; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569; 
}

/* Base Glassmorphism utility */
.glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Premium Card Hover Effect */
.glass-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-hover:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Hero Badge Animation */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.2); }
    50% { box-shadow: 0 0 25px rgba(139, 92, 246, 0.4); }
}

.hero-badge {
    animation: glow 3s infinite;
}

/* Text Gradients */
.text-gradient-primary {
    background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Animation Utility Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays */
.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }
/* Infinite Logo Slider */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    /* background and borders removed as requested */
}

.slider-container::before,
.slider-container::after {
    /* Shadows removed as requested */
    display: none;
}

.slider-track {
    display: flex;
    gap: 2rem; /* Reduced gap for better card spacing */
    width: max-content;
    animation: scroll 60s linear infinite; /* Slower animation for cards */
    padding: 0 2rem;
}

.slider-item {
    min-width: 200px; /* Card width */
    transition: transform 0.3s ease;
}

.slider-item:hover {
    transform: translateY(-4px);
}

/* Card styles within slider */
.slider-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    backdrop-filter: blur(12px);
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider-item:hover .slider-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.slider-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

.slider-item:hover .slider-icon-box {
    transform: scale(1.1);
}

.slider-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}

/* Project Slider Styles */
.project-slide-item {
    min-width: 320px; /* Slightly larger for images */
    height: 220px;
    transition: transform 0.3s ease;
}

.project-slide-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem)); /* Adjust based on duplicate set */
    }
}

/* Slider Navigation Buttons */
.slider-prev, .slider-next {
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:active, .slider-next:active {
    transform: scale(0.95);
}

/* Country code dropdown readability (mobile/desktop) */
select[data-country-code-select] {
    color: #e2e8f0;
    background-color: transparent;
}

select[data-country-code-select] option {
    background-color: #0f172a;
    color: #e2e8f0;
}
