/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

a {
    color: #00d4ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo:hover {
    text-decoration: none;
    color: #9333ea;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #00d4ff;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #00d4ff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
        border-bottom: 2px solid #00d4ff;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }
}

/* Header */
.header {
    padding: 150px 2rem 100px;
    background: #0a0a0a;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 80px rgba(0, 212, 255, 0.4);
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.summary-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    text-align: justify;
    margin-top: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    padding: 10px 24px;
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: fit-content;
}

.download-btn:hover {
    background: #00d4ff;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
}

.download-btn svg {
    transition: transform 0.3s ease;
}

.download-btn:hover svg {
    transform: translateY(3px);
}

.contact-info,
.contact-links {
    font-size: 1rem;
    line-height: 2;
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.contact-links {
    gap: 16px;
    margin-top: 8px;
}

.separator {
    margin: 0 8px;
    color: #00d4ff;
    font-size: 1.2rem;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.info-icon {
    color: #00d4ff;
}

.contact-info a,
.contact-links a {
    color: #00d4ff;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.icon-link svg {
    transition: all 0.3s ease;
}

.contact-info a:hover,
.contact-links a:hover {
    color: #9333ea;
    text-decoration: none;
}

.icon-link:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.8));
}

/* Section */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: #0a0a0a;
}

.section:nth-child(even) {
    background-color: #0f0f0f;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00d4ff;
    border-bottom: 3px solid #00d4ff;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.section p {
    font-size: 1rem;
    text-align: justify;
    line-height: 1.8;
    color: #ddd;
}

/* Experience */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
}

.experience-item {
    background: #1a1a1a;
    border-left: 4px solid #00d4ff;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    border: 3px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 16px;
}

.job-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.job-subtitle {
    font-size: 12px;
    font-style: italic;
    color: #aaa;
}

.job-right {
    text-align: right;
    flex-shrink: 0;
}

.job-date {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #00d4ff;
}

.job-location {
    font-size: 11px;
    font-style: italic;
    color: #aaa;
}

.job-responsibilities {
    margin-left: 20px;
    margin-top: 8px;
}

.job-responsibilities li {
    font-size: 12px;
    margin-bottom: 8px;
    text-align: justify;
    line-height: 1.5;
}

/* Skills Table */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

.skill-card {
    background: #1a1a1a;
    border-left: 4px solid #00d4ff;
    border-radius: 12px;
    padding: 16px 24px;
    transition: all 0.3s ease;
    display: flex;
    gap: 16px;
    align-items: center;
}

.skill-card:hover {
    transform: translateY(-5px);
    border: 3px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.skill-category {
    font-size: 13px;
    font-weight: 700;
    min-width: 140px;
    flex-shrink: 0;
    color: #fff;
}

.skill-list {
    font-size: 12px;
    color: #ccc;
    line-height: 1.5;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.project-item {
    background: #1a1a1a;
    border-left: 4px solid #00d4ff;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    border: 3px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    gap: 16px;
}

.project-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.project-link {
    font-size: 12px;
    color: #00d4ff;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.project-link svg {
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: #9333ea;
}

.project-link:hover svg {
    transform: scale(1.15) rotate(5deg);
}

.project-description {
    font-size: 12px;
    text-align: justify;
    line-height: 1.6;
    color: #ccc;
}

/* Education */
.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

.education-card {
    background: #1a1a1a;
    border-left: 4px solid #00d4ff;
    border-radius: 12px;
    padding: 16px 24px;
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    border: 3px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.education-degree {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.education-details {
    font-size: 12px;
    color: #ccc;
    line-height: 1.5;
}

/* Certifications */
.certification-list {
    margin-left: 20px;
}

.certification-list li {
    font-size: 11px;
    margin-bottom: 4px;
}

/* Certification Cards */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.cert-card {
    background: #1a1a1a;
    border-left: 4px solid #00d4ff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    border: 3px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.cert-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.cert-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-info {
    flex: 1;
}

.cert-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .header-content {
        align-items: center;
    }

    .profile-pic {
        width: 180px;
        height: 180px;
    }

    .name {
        font-size: 2rem;
    }

    .contact-info,
    .contact-links {
        font-size: 0.9rem;
        justify-content: center;
    }

    .resume {
        padding: 32px 24px;
    }

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

    .job-right {
        text-align: left;
        margin-top: 4px;
    }

    .skills-table {
        display: block;
    }

    .skills-table tr {
        display: block;
        margin-bottom: 12px;
    }

    .skill-category,
    .skill-list {
        display: block;
        width: 100%;
        padding: 4px 0;
    }

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