/* Masonry Grid Styles */
.masonry-grid {
    display: grid;
    grid-gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 200px;
}

.masonry-item {
    display: flex;
    overflow: hidden;
    border-radius: 0.75rem;
}

.masonry-item:nth-child(3n+1) {
    grid-row-end: span 2;
}

.masonry-item:nth-child(5n+2) {
    grid-row-end: span 3;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
/* Careers Section */
#careers-list {
    animation: fadeIn 0.5s ease-out forwards;
}

.career-item {
    transition: all 0.3s ease;
}

.career-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.1);
}

/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .masonry-item {
        height: 250px;
        grid-row-end: auto !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #6C63FF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a52e0;
}