/* ==================================================
   Premium Resume Page Styles (Dark & Modern)
   ================================================== */
body {
    background: #040b14 !important;
    color: #a8b2c1;
    font-family: 'Poppins', sans-serif;
}

#main {
    padding: 80px 40px;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #0a192f 0%, #040b14 100%);
}

.resume {
    color: #a8b2c1;
    animation: fadeIn 1s ease-in-out;
}

/* Section Title */
.section-title {
    padding-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ccd6f6;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #149ddd, #00d2ff);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-title:hover h2::after {
    width: 100%;
}

.section-title p {
    font-size: 16px;
    line-height: 1.8;
    color: #8892b0;
    max-width: 800px;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #149ddd, #00d2ff);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 157, 221, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 157, 221, 0.6);
    color: #fff;
}

/* Resume Layout */
.resume-container .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.resume-title {
    font-size: 26px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #ccd6f6;
}

/* Resume Items (Timeline) */
.resume-item {
    padding: 0 0 20px 20px;
    margin-top: -2px;
    border-left: 2px solid #149ddd; /* Timeline vertical line */
    position: relative;
}

.resume-item h4 {
    line-height: 1.4;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    color: #00d2ff;
    margin-bottom: 10px;
}

.resume-item h5 {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #ccd6f6;
}

.resume-item::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    left: -9px;
    top: 0;
    background: #040b14;
    border: 2px solid #149ddd;
    box-shadow: 0 0 10px rgba(20, 157, 221, 0.5);
    transition: all 0.3s ease;
}

.resume-item:hover::before {
    background: #149ddd;
    box-shadow: 0 0 15px rgba(20, 157, 221, 0.8);
}

.resume-item p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.resume-item ul {
    padding-left: 20px;
}

.resume-item ul li {
    padding-bottom: 10px;
    font-size: 15px;
    color: #a8b2c1;
    line-height: 1.6;
}

/* Skills Section */
.skills-section {
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.skill-tag {
    background: rgba(20, 157, 221, 0.1);
    color: #00d2ff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(20, 157, 221, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: linear-gradient(135deg, #149ddd, #00d2ff);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(20, 157, 221, 0.4);
    border-color: transparent;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1199px) {
    #main {
        padding: 60px 20px;
    }
}

@media (max-width: 992px) {
    .resume-container .row {
        grid-template-columns: 1fr;
    }
    
    .skills-section {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 28px;
    }

    .resume-title {
        font-size: 22px;
    }

    .resume-item h4 {
        font-size: 16px;
    }

    .skill-tag {
        font-size: 14px;
        padding: 8px 15px;
    }
}
