.main-page .page-hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.main-page .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.main-page .page-hero .container {
    position: relative;
    z-index: 1;
}

.main-page .search-box {
    margin-top: -30px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-page #job-listings .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.main-page #job-listings .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.main-page .icon-circle {
    transition: all 0.3s ease;
}

.main-page .card:hover .icon-circle {
    background-color: #007bff !important;
    color: white;
}

.main-page .card:hover .icon-circle i {
    color: white !important;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-page .page-hero {
        padding: 60px 0;
    }
    
    .main-page .search-box {
        margin-top: -20px;
        padding: 20px;
    }
}
