/* Enhanced Skill Cards with Animations */

/* Skills Section Layout */
.skills-wrap {
    padding: 1rem 0;
}

.skills-list.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
    perspective: 1000px;
}

/* Skill Card Base Styling */
.skill-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 10px 25px rgba(10, 36, 99, 0.12);
    border: 1px solid rgba(10, 36, 99, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #0A2463;
    font-weight: 600;
    min-height: 80px;
}

/* Skill Card Hover Effects */
.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 215, 0, 0.1) 100%);
    clip-path: circle(0% at 0% 0%);
    transition: clip-path 0.5s ease-in-out;
    z-index: -1;
}

.skill-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.1));
    border-radius: 0 0 15px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover::before {
    clip-path: circle(150% at 0% 0%);
}

.skill-card:hover::after {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-15px) rotateX(10deg);
    box-shadow: 0 25px 35px rgba(10, 36, 99, 0.18);
    border-color: rgba(255, 215, 0, 0.2);
}

/* Highlighted Skill Cards */
.skill-card.highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, #ffffff 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 15px 30px rgba(10, 36, 99, 0.15);
    color: #0A2463;
}

.skill-card.highlight::before {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.skill-card.highlight:hover {
    transform: translateY(-15px) rotateX(10deg);
    box-shadow: 0 30px 40px rgba(10, 36, 99, 0.25);
}

/* Experience Section Styling */
.experience-section {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 2px dashed rgba(255, 215, 0, 0.15);
}

.sub-title {
    color: #0A2463;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.sub-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7C3AED, transparent);
    transition: width 0.3s ease;
}

.sub-title:hover::after {
    width: 100%;
}

/* Experience Cards */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(10, 36, 99, 0.12);
    border: 1px solid rgba(10, 36, 99, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, #7C3AED, #6C2ADD);
    transition: height 0.4s ease;
}

.experience-card:hover::before {
    height: 100%;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(10, 36, 99, 0.18);
}

.experience-card.highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, #ffffff 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 20px 35px rgba(10, 36, 99, 0.15);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.exp-title {
    color: #0A2463;
    font-weight: 700;
    font-size: 1.2rem;
}

.exp-duration {
    color: #7C3AED;
    font-weight: 600;
    font-size: 1rem;
}

.exp-role {
    color: #0A2463;
    font-weight: 600;
    margin: 0.5rem 0;
}

.exp-meta {
    color: #555;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.exp-body {
    color: #444;
    line-height: 1.6;
}

.experience-summary {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    text-align: center;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .skills-list.two-col {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .skills-list.two-col {
        grid-template-columns: 1fr;
    }
    
    .skill-card:hover {
        transform: translateY(-8px) rotateX(5deg);
    }
    
    .experience-card:hover {
        transform: translateY(-5px);
    }
}
