@import url('./projects.css');

.learning-hero-card {
    background-color: #1a1a2e;
    border: 1px solid #3a2a6e;
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    text-align: left;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.learning-hero-card:hover {
    border-color: #7d46ff;
    box-shadow: 0 0 20px rgba(125, 70, 255, 0.2);
}

.learning-card {
    background-color: #1a1a2e;
    border: 1px solid #3a2a6e;
    border-radius: 0;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.learning-card:hover {
    transform: translateY(-5px);
    border-color: #7d46ff !important;
    box-shadow: 0 8px 25px rgba(125, 70, 255, 0.2) !important;
}

.learning-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(125, 70, 255, 0.15);
    border: 1px solid rgba(125, 70, 255, 0.4);
    color: #7d46ff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.learning-card h4 {
    color: #7d46ff;
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.learning-card .lead-text {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.learning-card .desc-text {
    color: #cfc6ec;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.learning-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(58, 42, 110, 0.6);
}

.learning-card-actions .btn-see-more {
    padding: 8px 16px;
    font-size: 0.88rem !important;
    letter-spacing: 0.5px;
}

.resource-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.resource-chip {
    display: inline-flex;
    align-items: center;
    background-color: rgba(36, 26, 69, 0.6);
    color: #dacbff;
    border: 1px solid #3a2a6e;
    padding: 0.25rem 0.65rem;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.resource-chip:hover {
    background-color: #7d46ff;
    color: #ffffff;
    border-color: #7d46ff;
}

.guide-callout-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #161626 100%);
    border: 1px solid #3a2a6e;
    padding: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.guide-callout-card:hover {
    border-color: #7d46ff;
    box-shadow: 0 8px 25px rgba(125, 70, 255, 0.2);
}

.guide-callout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7d46ff, #a87ffb, #7d46ff);
}

