:root {
    --primary-orange: #F97316;
    --dark-orange: #EA580C;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --section-gray: #F1F5F9;
}

/* Section */
.specializations-section {
    padding: 3rem 0;
    background: var(--section-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 9999px;
}

.section-desc {
    font-size: 0.9375rem;
    color: #64748B;
    margin-top: 0.75rem;
}

/* Grid */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Card */
.spec-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-orange);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.spec-card:hover::before {
    opacity: 1;
}

.spec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.12);
    border-color: var(--primary-orange);
}

.spec-card.featured {
    border-color: rgba(249, 115, 22, 0.20);
    background: linear-gradient(135deg, #FFF7ED, var(--white));
}

.spec-card.featured::before {
    opacity: 1;
}

.spec-card.premium {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, #FFEDD5, #FFF7ED);
    box-shadow: 0 4px 25px rgba(249, 115, 22, 0.10);
}

.spec-card.premium::before {
    opacity: 1;
    height: 4px;
}

.spec-card-inner {
    padding: 1.25rem 1.25rem 1.25rem;
    position: relative;
}

/* Badge */
.spec-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.7rem;
    border-radius: 9999px;
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.25);
}

.spec-card.featured .spec-badge {
    background: var(--dark-orange);
}

.spec-card.premium .spec-badge {
    background: #DC2626;
}

/* Icon */
.spec-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(249, 115, 22, 0.08);
    border-radius: 50%;
    margin-bottom: 0.75rem;
    transition: all 0.4s ease;
}

.spec-card:hover .spec-icon-wrapper {
    background: var(--primary-orange);
    transform: scale(1.05) rotate(-5deg);
}

.spec-card.featured:hover .spec-icon-wrapper {
    background: var(--dark-orange);
}

.spec-icon {
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.spec-card:hover .spec-icon {
    color: var(--white);
}

/* Title */
.spec-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.spec-card:hover .spec-title {
    color: var(--primary-orange);
}

/* Description */
.spec-desc {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Divider */
.spec-divider {
    width: 40px;
    height: 2px;
    background: var(--primary-orange);
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.spec-card:hover .spec-divider {
    width: 60px;
    opacity: 1;
}

/* Footer */
.spec-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-salary {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-orange);
    background: rgba(249, 115, 22, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.spec-card:hover .spec-salary {
    background: var(--primary-orange);
    color: var(--white);
}

.spec-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-orange);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.spec-btn:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateX(4px);
}

/* Responsive */

/* Tablet */
@media (min-width: 640px) {
    .specializations-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-title::after {
        width: 70px;
        height: 3px;
    }
    
    .section-desc {
        font-size: 1rem;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .spec-card-inner {
        padding: 1.5rem;
    }
    
    .spec-icon-wrapper {
        width: 4rem;
        height: 4rem;
    }
    
    .spec-icon {
        font-size: 1.75rem;
    }
    
    .spec-title {
        font-size: 1.125rem;
    }
    
    .spec-desc {
        font-size: 0.875rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .specializations-section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-title::after {
        width: 80px;
        height: 4px;
    }
    
    .specs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .spec-card-inner {
        padding: 1.75rem;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .specs-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .specializations-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-title::after {
        width: 40px;
        height: 2px;
    }
    
    .section-desc {
        font-size: 0.8125rem;
    }
    
    .specs-grid {
        gap: 0.75rem;
    }
    
    .spec-card-inner {
        padding: 1rem;
    }
    
    .spec-icon-wrapper {
        width: 2.75rem;
        height: 2.75rem;
    }
    
    .spec-icon {
        font-size: 1.25rem;
    }
    
    .spec-title {
        font-size: 0.875rem;
    }
    
    .spec-desc {
        font-size: 0.75rem;
        line-height: 1.6;
    }
    
    .spec-badge {
        font-size: 0.5rem;
        padding: 0.15rem 0.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .spec-salary {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .spec-btn {
        font-size: 0.7rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spec-card {
    animation: fadeInUp 0.6s ease forwards;
}

.spec-card:nth-child(1) { animation-delay: 0.05s; }
.spec-card:nth-child(2) { animation-delay: 0.10s; }
.spec-card:nth-child(3) { animation-delay: 0.15s; }
.spec-card:nth-child(4) { animation-delay: 0.20s; }
.spec-card:nth-child(5) { animation-delay: 0.25s; }
.spec-card:nth-child(6) { animation-delay: 0.30s; }
.spec-card:nth-child(7) { animation-delay: 0.35s; }
.spec-card:nth-child(8) { animation-delay: 0.40s; }
.spec-card:nth-child(9) { animation-delay: 0.45s; }
.spec-card:nth-child(10) { animation-delay: 0.50s; }
.spec-card:nth-child(11) { animation-delay: 0.55s; }
.spec-card:nth-child(12) { animation-delay: 0.60s; }