body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: white;
    margin: 0;
    padding: 0;

}

.resume-container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    background: #222;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    background: url('../images/mainbg.jpg') center center/cover no-repeat, #1a1a1a;
    position: relative;
}

.header {
    text-align: center;
    padding: 32px 0 16px 0;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #f4b400;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 0 0 0 #f4b400;
    animation: profile-glow 2s infinite alternate;
}

@keyframes profile-glow {
    0% {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 0 0 0 #f4b400;
        border-color: #f4b400;
    }

    50% {
        box-shadow: 0 2px 24px 8px rgba(244, 180, 0, 0.5), 0 0 16px 8px #f4b400;
        border-color: #ffe066;
    }

    100% {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 0 0 0 #f4b400;
        border-color: #f4b400;
    }
}

.subtitle {
    color: #f4b400;
    margin-top: 5px;
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-banner {
    width: 100%;
    background: #222;
    color: #fff;
    overflow: hidden;
    padding: 8px 0;
    border-top: 2px solid #444;
    border-bottom: 2px solid #444;
    margin-top: 15px;
    /* Space above banner */
}

.contact-banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollBanner 25s linear infinite;
    font-size: 14px;
}

.contact-banner-content i {
    color: #ffcc00;
}

@keyframes scrollBanner {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.download-cv-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    /* Reduced padding */
    background: #f4b400;
    color: #181818;
    font-weight: 600;
    font-size: 0.85rem;
    /* Smaller font size */
    border-radius: 16px;
    /* Smaller border radius */
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(244, 180, 0, 0.15);
}

.download-cv-btn i {
    margin-right: 8px;
}

.download-cv-btn:hover {
    background: #181818;
    color: #f4b400;
    box-shadow: 0 4px 16px rgba(244, 180, 0, 0.25);
    border: 2px solid #f4b400;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 24px;
}

.left-column,
.right-column {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    background: url('../images/containerbg.jpg') center center/cover no-repeat, #181818;
    position: relative;
    overflow: hidden;
}

.left-column::before,
.right-column::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24, 24, 24, 0.85);
    /* dark overlay for readability */
    border-radius: 12px;
    z-index: 0;
}

.left-column>*,
.right-column>* {
    position: relative;
    z-index: 1;
}

h2 {
    color: #f4b400;
    border-bottom: 2px solid #f4b400;
    padding-bottom: 5px;
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.timeline {
    margin-top: 10px;
}

.timeline-item {
    margin-bottom: 18px;
    padding-left: 8px;
    border-left: 2px solid #f4b400;
}

.year {
    color: #f4b400;
    font-weight: bold;
    display: block;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.languages,
.passions,
.projects,
.achievements,
.contact-info {
    list-style: none;
    padding: 0;
}

.languages li,
.passions li,
.projects li,
.achievements li,
.contact-info li {
    margin: 7px 0;
    font-size: 1rem;
}

.passions i,
.contact-info i {
    color: #f4b400;
    margin-right: 8px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.skills span {
    background-color: transparent;
    border: 2px solid #f4b400;
    color: #f4b400;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 8px;
    transition: background 0.2s, color 0.2s;
}

.skills span:hover {
    background: #f4b400;
    color: #181818;
}

/* ...existing code... */
.skills-circles {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 10px;
    justify-content: flex-start;
}

.skill-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Skill popup overlay */
.skill-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.skill-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup box */
.skill-popup {
    background: #fff;
    color: #333;
    padding: 20px;
    width: 400px;
    border-radius: 10px;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.skill-popup-overlay.active .skill-popup {
    transform: scale(1);
}

.skill-popup h3 {
    margin-bottom: 10px;
    color: #222;
}

.skill-popup p {
    font-size: 14px;
    line-height: 1.5;
}

.skill-popup .close-btn {
    margin-top: 15px;
    padding: 8px 15px;
    border: none;
    background: #ff4d4d;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

/* Clicked circle expansion */
.circle.clicked {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}


.circle {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(#f4b400 calc(var(--level, 0) * 1%),
            #333 calc(var(--level, 0) * 1%));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s cubic-bezier(.4, 2, .3, 1);
}

.circle:hover {
    transform: scale(1.18);
    z-index: 2;
    box-shadow: 0 4px 24px rgba(244, 180, 0, 0.25);
}

.circle::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #181818;
    z-index: 1;
}

.skill-label,
.skill-percent {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    z-index: 2;
    font-size: 0.95rem;
    color: #f4b400;
    font-weight: 600;
}

.skill-label {
    top: 38px;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}

.skill-percent {
    top: 20px;
    font-size: 1.1rem;
    color: #f4b400;
    font-weight: 700;
}

/* Set the progress dynamically using inline style or JS */
.circle[data-level="90"] {
    --level: 90;
}

.circle[data-level="80"] {
    --level: 80;
}

.circle[data-level="70"] {
    --level: 70;
}

.circle[data-level="60"] {
    --level: 60;
}

.circle[data-level="61"] {
    --level: 61;
}



/* ...existing code... */

.footer {
    background: url('../images/footerbg.jpg') center center/cover no-repeat, #181818;
    color: #f4b400;
    text-align: center;
    padding: 28px 0 18px 0;
    margin-top: 32px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.footer h2 {
    color: #f4b400;
    margin-bottom: 16px;
    border-bottom: none;
    font-size: 1.2rem;
}

.contact-info {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

.contact-info li {
    margin: 8px 0;
    color: #fff;
    font-size: 1rem;
}

.contact-info i {
    color: #f4b400;
    margin-right: 8px;
}

.contact-link {
    color: #ffffff;
    /* Professional dark color */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-link:hover,
.contact-link:focus {
    color: #f4b400;
    /* Accent color on hover */
    text-decoration: underline;
}

@media (max-width: 800px) {
    .content {
        flex-direction: column;
        gap: 20px;
    }

    .left-column,
    .right-column {
        margin: 0;
        padding: 18px 10px;
    }

    .resume-container {
        padding: 8px;
    }

    .footer {
        border-radius: 0 0 8px 8px;
        padding: 18px 0 10px 0;
    }

    .skills-circles {
        gap: 18px;
        justify-content: flex-start;
    }

    .circle {
        width: 70px;
        height: 70px;
    }

    .circle::before {
        top: 9px;
        left: 9px;
        width: 52px;
        height: 52px;
    }

    .skill-label {
        top: 28px;
        font-size: 0.85rem;
    }

    .skill-percent {
        top: 13px;
        font-size: 1rem;
    }
}