.cv-section {
    color: #212529;
    padding: 40px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cv-header h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #007bff;
    margin-bottom: 10px;
}

.cv-header h2 {
    font-size: 1.2rem;
    text-align: center;
    color: red;
    margin-bottom: 30px;
}

.cv-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: whitesmoke;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.cv-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
    color: whitesmoke;
}

.cv-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.cv-content ul li {
    margin-bottom: 10px;
    color: whitesmoke;
}

.cv-skills .cv-skill-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.cv-skills .cv-skill-item span {
    flex: 1;
    font-size: 1rem;
    font-weight: bold;
    color: whitesmoke;
}

.progress-bar {
    flex: 3;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    display: block;
    height: 100%;
    width: var(--progress-width, 50%);
    background: linear-gradient(90deg, #007bff, #17a2b8);
    transition: width 1s ease-in-out;
}

.cv-personal-skills ul li strong {
    color: #007bff;
}

@media (max-width: 768px) {
    .cv-section {
        padding: 20px;
    }

    .cv-header h1 {
        font-size: 2rem;
    }

    .cv-header h2 {
        font-size: 1rem;
    }

    .cv-content h3 {
        font-size: 1.5rem;
    }

    .cv-content p {
        font-size: 0.9rem;
    }
}

.cv-skills {
    margin-top: 20px;
}

.cv-skill-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    position: relative;
}

.cv-skill-item span {
    flex: 1;
    font-size: 1rem;
    font-weight: bold;
    color: #343a40;
}

.progress-bar {
    flex: 3;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-bar::before {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #007bff, #17a2b8);
    transition: width 1s ease-in-out;
}

.progress-bar:hover::before {
    filter: brightness(1.2);
}

.progress-bar[data-hover]::before {
    width: var(--progress-width);
}

footer {
    background-color: rgb(18, 26, 38);
    color: #ecf0f1;
    text-align: center;
    padding: 20px;
    border-top: 5px solid red;
    position: relative;
}

footer p {
    margin: 10px 0;
    font-size: 18px;
}

footer span {
    font-weight: bold;
    color: red;
}

footer a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: red;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

footer a:hover {
    background-color: darkred;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    footer p {
        font-size: 16px;
    }

    footer a {
        padding: 8px 16px;
    }
}