/* SkillKart Custom Styles */

/* Hero Section */
.skill-hero {
    padding: 220px 0 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.skill-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
                      radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 40%);
    z-index: 1;
}

.skill-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.skill-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.skill-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.skill-hero .highlight {
    background: linear-gradient(to right, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

/* Three Pillars Section */
.pillar-section {
    padding: 100px 0;
    background: #f8fafc;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .pillar-grid {
        grid-template-columns: 1fr;
    }
}

.pillar-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.pillar-card:nth-child(2) .pillar-icon-box {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    color: #db2777;
}

.pillar-card:nth-child(3) .pillar-icon-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
}

.pillar-card:nth-child(4) .pillar-icon-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #ea580c;
}

.pillar-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.pillar-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Tech Stack Section */
.tech-section {
    padding: 100px 0;
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .skill-hero {
        padding: 160px 0 80px;
    }
    .skill-hero h1 {
        font-size: 2.5rem;
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skill-hero {
        padding: 140px 0 60px;
    }
    .skill-hero h1 {
        font-size: 2rem;
    }
    .skill-hero p {
        font-size: 1.1rem;
    }
    .pillar-section, .tech-section {
        padding: 60px 0;
    }
    .pillar-card {
        padding: 30px;
    }
    .pillar-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .skill-hero h1 {
        font-size: 1.75rem;
    }
}

.tech-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-card:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: scale(1.02);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #475569;
    transition: 0.3s;
}

.tech-card:hover .tech-icon {
    color: #3b82f6;
    transform: scale(1.1);
}

.tech-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
}
