/* Jobysthan - Top Employers CSS (PlacementIndia Style) */

.employers-section {
    padding: 4rem 0;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.section-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.employers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Employer Card Styling */
.employer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 170px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.employer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Company Logo Wrapper */
.employer-logo-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

/* Logo Image styling */
.employer-logo-img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

/* Brand Details styling */
.employer-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
}

.employer-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e40af; /* PlacementIndia link-blue color */
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.employer-name:hover {
    color: #2563eb;
    text-decoration: underline;
}

.employer-location {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* Footer Action button container */
.employers-action-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-view-consultants {
    background: #ffffff;
    border: 1px solid #3b82f6;
    color: #2563eb;
    padding: 0.6rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-consultants:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

/* Responsive configurations */
@media (max-width: 1200px) {
    .employers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .employers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .employers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
