/* ---- GLOBAL PAGE STYLE ---- */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    text-align: center;
    margin: 50px;
    background: linear-gradient(135deg, #0e0e0e, #1b1b1b);
    color: white;
}

/* ---- TITLE ---- */
/* Clean, soft glow — noticeable but not neon */
h1 {
    font-size: 42px;
    margin-bottom: 40px;
    text-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
}

/* ---- SKILL BLOCK ---- */
.skill {
    font-size: 20px;
    margin: 30px 0;
    animation: fadeIn 0.7s ease forwards;
    opacity: 0;
}

/* Stylish but subtle entrance animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- BAR CONTAINER ---- */
.bar {
    width: 70%;
    height: 28px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    margin: 10px auto;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.15);

    /* Gentle depth without neon */
    box-shadow:
        inset 0 0 6px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.4);
}

/* ---- PROGRESS BAR ---- */
.progress {
    height: 100%;
    padding-right: 10px;
    text-align: right;
    font-weight: bold;
    line-height: 28px;
    color: white;
    border-radius: 20px;

    /* Smooth slide animation */
    animation: slideIn 1s ease-out forwards;
    transform: translateX(-100%);
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

/* ---- CLEAN, PROFESSIONAL, NON-MUDDY COLORS ---- */

/* High skill - modern green */
.progress-7 {
    width: 70%;
    background: linear-gradient(90deg, #4CAF50, #43A047);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.25);
}

/* Solid green with a touch of olive */
.progress-6 {
    width: 60%;
    background: linear-gradient(90deg, #66BB6A, #5DAE62);
    box-shadow: 0 0 8px rgba(102, 187, 106, 0.25);
}

/* Gold – clean and bright, not brown */
.progress-5 {
    width: 50%;
    background: linear-gradient(90deg, #FFC107, #FFB300);
    box-shadow: 0 0 7px rgba(255, 193, 7, 0.25);
}

/* Clear golden amber */
.progress-4 {
    width: 40%;
    background: linear-gradient(90deg, #FFB74D, #FFA726);
    box-shadow: 0 0 7px rgba(255, 183, 77, 0.25);
}

/* Modern soft orange/red */
.progress-3 {
    width: 30%;
    background: linear-gradient(90deg, #FF7043, #F4511E);
    box-shadow: 0 0 7px rgba(244, 81, 30, 0.25);
}

/* Deeper controlled red */
.progress-2 {
    width: 20%;
    background: linear-gradient(90deg, #E57373, #E53935);
    box-shadow: 0 0 7px rgba(229, 57, 53, 0.25);
}

/* Professional blue for WIP */
.progress-wip {
    width: 10%;
    background: linear-gradient(90deg, #64B5F6, #1E88E5);
    box-shadow: 0 0 7px rgba(66, 165, 245, 0.25);
}


/* ---- HOVER EFFECT ---- */
.skill:hover .bar {
    box-shadow:
        inset 0 0 6px rgba(0,0,0,0.4),
        0 4px 12px rgba(255,255,255,0.12);
}
