/* Page-specific styles for the redesigned careers page */
.job-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.apply-arrow {
    transition: transform 0.2s ease;
}
.job-card:hover .apply-arrow {
    transform: translateX(4px);
}

.role-category-card {
    transition: background-color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    width: 18rem; /* Fixed width for each card */
    margin-right: 1.5rem; /* space-x-6 */
}
.role-category-card:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.connect-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.connect-card-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.connect-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.connect-card-text {
    color: #4b5563;
    max-width: 450px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.connect-card-btn {
    display: inline-flex;
    align-items: center;
    background-color: #111827;
    color: #ffffff;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.connect-card-btn:hover {
    background-color: #374151;
    transform: translateY(-2px);
}

/* Marquee styles for roles */
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.roles-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.roles-marquee-content {
  display: flex;
  width: fit-content; /* Let the content define the width */
  animation: scroll-left 80s linear infinite;
}

.roles-marquee-container:hover .roles-marquee-content {
  animation-play-state: paused;
}

