*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0b0f14;
}

/* ── SKILLS SECTION ── */
.skills-section {
    min-height: 100vh;
    background: url("../images/image.png") no-repeat center/cover fixed;
    display: flex;
    align-items: flex-start;
}

.overlay {
    width: 100%;
    background: rgba(8, 18, 28, 0.87);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 100px 80px 80px;
    min-height: 100vh;
}

.overlay h1 {
    text-align: center;
    font-size: 42px;
    color: #00ff66;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

/* glowing underline on heading */
.overlay h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #00ff66;
    margin: 10px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px #00ff66;
}

.intro {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 60px;
    color: #9ca3af;
    line-height: 1.75;
    font-size: 15.5px;
}

/* ── SKILL CARDS GRID ── */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 26px;
    max-width: 1100px;
    margin: 0 auto;
}

/* CARD — glassmorphism */
.skill-card {
    background: rgba(13, 17, 23, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 255, 102, 0.14);
    border-radius: 16px;
    padding: 30px 26px;
    transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.32s ease,
                border-color 0.32s ease;
    cursor: default;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 44px rgba(0, 255, 102, 0.1);
    border-color: rgba(0, 255, 102, 0.55);
}

/* SKELETON LOADING */
.skill-card.skeleton {
    min-height: 180px;
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
    border-radius: 16px;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.8; }
}

.skill-card i {
    font-size: 32px;
    color: #00ff66;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0,255,102,0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.skill-card:hover i {
    transform: scale(1.14) rotate(-4deg);
    filter: drop-shadow(0 0 12px rgba(0,255,102,0.8));
}

.skill-card h3 {
    color: #f3f4f6;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.skill-card p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.7;
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── FOOTER ── */
footer {
    background: #08121c;
    text-align: center;
    padding: 20px;
    color: #aaa;
}

.social-links { margin-bottom: 12px; }

.social-links a {
    color: #00ff66;
    font-size: 22px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.social-links a:hover {
    color: #7ee8a2;
    transform: translateY(-3px);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
    .overlay { padding: 80px 36px 60px; }
    .overlay h1 { font-size: 34px; }
}

@media (max-width: 600px) {
    .overlay { padding: 70px 20px 50px; }
    .overlay h1 { font-size: 28px; }
    .intro { font-size: 14px; margin-bottom: 40px; }
    .skills-container { grid-template-columns: 1fr; gap: 18px; }
    .skill-card { padding: 24px 20px; }
}
