/* Talent/Expertise Section Styles */
.block-talent {
    position: relative;
    padding: 8rem 0 6rem;
    background-color: #FBF4F0;
    color: #5D524B;
    overflow: hidden;
    z-index: 10;
}

.talent-container {
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 4rem;
}

.talent-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.talent-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #5D524B;
}

.talent-title span {
    color: #A67C52;
    font-weight: 400;
}

.talent-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Talent Grid */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.talent-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(93, 82, 75, 0.1);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    /* min-height: 350px; Removed to fix spacing */
}

.talent-card:hover {
    transform: translateY(-10px);
    background: #FFFFFF;
    border-color: #A67C52;
    box-shadow: 0 20px 40px rgba(166, 124, 82, 0.15);
}

/* Card Icon */
.talent-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #A67C52 0%, #8B6340 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #FEF9ED;
    box-shadow: 0 10px 20px rgba(166, 124, 82, 0.3);
    transition: transform 0.4s ease;
}

.talent-card:hover .talent-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.talent-icon {
    width: 32px;
    height: 32px;
}

/* Card Content */
.talent-info {
    /* flex: 1; Removed so card doesn't stretch */
}

.talent-card-title {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #5D524B;
}

.talent-card-desc {
    font-size: 1.6rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Tags */
.talent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.talent-tag {
    padding: 0.4rem 1rem;
    background: rgba(93, 82, 75, 0.05);
    border: 1px solid rgba(93, 82, 75, 0.1);
    border-radius: 50px;
    font-size: 1.15rem;
    color: #5D524B;
    font-weight: 500;
    transition: all 0.3s ease;
}

.talent-card:hover .talent-tag {
    background: rgba(166, 124, 82, 0.1);
    border-color: #A67C52;
    color: #A67C52;
}

/* Contact Button */
.talent-btn {
    width: max-content;
    align-self: flex-start;
    padding: 0.6rem 1.5rem;
    background: rgba(93, 82, 75, 0.05);
    border: 1px solid rgba(93, 82, 75, 0.1);
    border-radius: 50px;
    white-space: nowrap;
    color: #5D524B;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.talent-btn span {
    margin-right: 0.5rem;
}

.talent-btn svg {
    transition: transform 0.3s ease;
}

.talent-card:hover .talent-btn {
    background: #5D524B;
    color: #FEF9ED;
    border-color: #5D524B;
}

.talent-card:hover .talent-btn svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .talent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .talent-grid {
        grid-template-columns: 1fr;
    }

    .talent-container {
        padding: 0 1.5rem;
    }
}