/**
 * Beranda Page Optimizations
 * Improved spacing, visual flow, and consistency
 */

/* Find Job / Content Sections - Better spacing */
.find-job.section {
    padding: 70px 0;
    background: #ffffff;
}

/* Section Title - Enhanced styling */
.find-job .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: left;
    position: relative;
    padding-bottom: 15px;
}

.find-job .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

/* Job List - Enhanced cards */
.find-job .job-list {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.find-job .job-list:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #3498db;
}

.find-job .job-list.fixed {
    padding: 25px 30px;
}

/* Job list content */
.find-job .job-list-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.5;
}

.find-job .job-list-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.find-job .job-list-content h4 a:hover {
    color: #3498db;
}

/* Meta tag styling */
.find-job .meta-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #7f8c8d;
}

.find-job .meta-tag span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.find-job .meta-tag i {
    color: #3498db;
    font-size: 14px;
}

.find-job .meta-tag a {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.find-job .meta-tag a:hover {
    color: #3498db;
}

/* Button styling */
.find-job .btn-common.btn-rm {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
}

.find-job .btn-common.btn-rm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    text-decoration: none;
    color: white;
}

/* Alternate background for sections */
.find-job.section:nth-of-type(even) {
    background: #f8f9fa;
}

/* Grafik section - Special styling */
.find-job.section:last-child {
    padding: 70px 0 80px 0;
    background: #ffffff;
}

/* Widget iframe container */
#widgetIframe {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 30px;
}

#widgetIframe iframe {
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .find-job.section {
        padding: 50px 0;
    }

    .find-job .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .find-job .job-list.fixed {
        padding: 20px 25px;
    }
}

@media (max-width: 767px) {
    .find-job.section {
        padding: 40px 0;
    }

    .find-job .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .find-job .job-list.fixed {
        padding: 20px;
    }

    .find-job .job-list-content h4 {
        font-size: 16px;
    }

    .find-job .meta-tag {
        font-size: 12px;
        gap: 10px;
    }

    .find-job .job-tag {
        flex-direction: column;
        gap: 15px;
    }

    .find-job .job-tag .pull-left,
    .find-job .job-tag .pull-right {
        float: none !important;
        width: 100%;
    }

    .find-job .btn-common.btn-rm {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .find-job.section {
        padding: 30px 0;
    }

    .find-job .section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .find-job .job-list {
        margin-bottom: 15px;
    }

    .find-job .job-list.fixed {
        padding: 15px;
    }

    #widgetIframe {
        padding: 15px;
        margin-top: 20px;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Page wrapper */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
