/* Shared Card Styles - For consistency across all tabs */
.tab-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.tab-description {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Standardized card styles with improved spacing */
.job-card, .benefit-card, .workshop-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px; /* Increased spacing between cards */
    border: 1px solid #eee;
    border-top: 5px solid var(--primary-color); /* Thicker top border for visibility */
}

.job-card:hover, .benefit-card:hover, .workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Card header styles with improved spacing */
.job-header, .benefit-header, .workshop-header {
    padding: 24px; /* Increased padding */
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.job-header, .workshop-header {
    background-color: white;
    color: var(--text-dark);
}

.job-header.card-toggle, .benefit-header.card-toggle, .workshop-header.card-toggle {
    cursor: pointer;
}

.job-title, .benefit-title, .workshop-title {
    font-size: 1.5rem; /* Larger title */
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.3;
}

/* Expandable details for all cards */
.job-details, .benefit-details, .workshop-details {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.job-card.expanded .job-details, 
.benefit-card.expanded .benefit-details,
.workshop-card.expanded .workshop-details {
    padding: 24px; /* Increased padding */
    max-height: 500px;
    opacity: 1;
    flex-grow: 1;
}

/* Reasons section styles with improved clarity */
.reasons-title {
    font-size: 1.25rem; /* Larger title */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.reasons-list li {
    position: relative;
    padding-left: 30px; /* More spacing for list items */
    margin-bottom: 15px; /* More spacing between items */
    font-size: 1.05rem; /* Larger text */
    color: var(--text-dark);
    line-height: 1.4;
}

.reasons-list li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 20px; /* Larger bullet */
}

/* Toggle icon style for all cards - improved visibility */
.toggle-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px; /* Larger icon */
    height: 36px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    color: var(--text-medium);
}

.toggle-icon i {
    font-size: 16px; /* Larger icon */
}

.job-card.expanded .toggle-icon,
.benefit-card.expanded .toggle-icon,
.workshop-card.expanded .toggle-icon {
    transform: rotate(180deg);
}

.job-header .toggle-icon,
.workshop-header .toggle-icon {
    background-color: #f5f5f5;
    border: 1px solid #eee;
}

.job-card.expanded .toggle-icon,
.workshop-card.expanded .toggle-icon {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Visual hint for clickable cards */
.card-hint {
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 0.9rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
}

/* Animated card toggle indicator */
.card-toggle:hover .toggle-icon {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .job-card, .benefit-card, .workshop-card {
        margin-bottom: 20px;
    }
    
    .job-header, .benefit-header, .workshop-header {
        padding: 18px;
    }
    
    .job-details, .benefit-details, .workshop-details,
    .job-card.expanded .job-details, 
    .benefit-card.expanded .benefit-details {
        padding: 18px;
    }
}

.card-action {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.card-action a {
    text-decoration: none;
}

.card-action .btn-apply {
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-action .btn-apply {
        width: 100%;
        min-width: 0;
    }
} 