
/* Resume Styles - Modern & Professional */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --card-bg-color: #2a3038;
    --text-color: #fff;
    --text-secondary: #b8b8b8;
    --main-color: #0ef;
    --accent-color: #00aaff;
    --border-color: rgba(14, 239, 255, 0.2);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(31, 36, 45, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.logo i {
    font-size: 2rem;
    color: var(--main-color);
}

.logo:hover {
    color: var(--main-color);
    transform: translateX(-5px);
}

.actions {
    display: flex;
    gap: 1rem;
}

.btn-download,
.btn-print {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--main-color);
}

.btn-download {
    background: var(--main-color);
    color: var(--bg-color);
}

.btn-download:hover {
    background: transparent;
    color: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(14, 239, 255, 0.3);
}

.btn-print {
    background: transparent;
    color: var(--main-color);
}

.btn-print:hover {
    background: var(--main-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(14, 239, 255, 0.3);
}

/* Resume Container */
.resume-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8rem 2rem 3rem;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Resume Header */
.resume-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--second-bg-color), var(--card-bg-color));
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.name {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--main-color);
}

.contact-item a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--main-color);
}

/* Resume Sections */
.resume-section {
    margin-bottom: 3rem;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: 1px;
}

.section-title i {
    font-size: 2.2rem;
}

.content-block {
    background: var(--second-bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

/* Education Items */
.education-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.education-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.institution {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
}

.location {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.degree {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.date {
    font-size: 1rem;
    color: var(--main-color);
    font-weight: 500;
}

/* Experience & Project Items */
.experience-item,
.project-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.experience-item:last-child,
.project-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.position {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
}

.company-location {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.company {
    font-size: 1.1rem;
    color: var(--main-color);
    font-weight: 500;
}

.responsibilities {
    list-style: none;
    padding-left: 0;
}

.responsibilities li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.responsibilities li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Technologies */
.technologies {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.tech-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    display: inline-block;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(14, 239, 255, 0.1), rgba(0, 170, 255, 0.1));
    color: var(--main-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--main-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(14, 239, 255, 0.3);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--card-bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(14, 239, 255, 0.2);
    border-color: var(--main-color);
}

.skill-category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    background: rgba(14, 239, 255, 0.1);
    color: var(--text-color);
    padding: 0.4rem 0.9rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--main-color);
    color: var(--bg-color);
    transform: scale(1.05);
}

/* Coursework */
.coursework-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    line-height: 2;
}

.course {
    color: var(--text-secondary);
    font-size: 1rem;
}

.separator {
    color: var(--main-color);
    font-weight: bold;
    margin: 0 0.3rem;
}

/* Footer */
.resume-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .header {
        display: none;
    }

    .resume-container {
        padding: 1rem;
        max-width: 100%;
    }

    .content-block {
        background: white;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .btn-download,
    .btn-print {
        display: none;
    }

    .tech-tag,
    .skill-tag {
        border: 1px solid #ddd;
        background: #f5f5f5;
        color: black;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-container {
        padding: 7rem 1rem 2rem;
    }

    .name {
        font-size: 2.5rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .item-header {
        flex-direction: column;
    }

    .company-location {
        flex-direction: column;
    }

    .actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-download,
    .btn-print {
        width: 100%;
        justify-content: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .name {
        font-size: 2rem;
    }

    .content-block {
        padding: 1.5rem;
    }
}
