/*
 * William Nitsch Portfolio - Cursor Dark Midnight Theme
 * Version: 2.2.0
 * Last Updated: 2025-01-13
 * 
 * This file contains the Cursor Dark Midnight theme with:
 * - Deep midnight blues (#0d1117, #161b22, #21262d)
 * - Charcoal grays (#30363d, #484f58)
 * - Subtle blue accents (#58a6ff, #79c0ff)
 * - Clean, modern typography with excellent contrast
 * - Professional developer aesthetic
 * 
 * Cache-busting: This file is automatically versioned on each page load
 */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #f0f6fc;
    background: #0d1117;
    overflow-x: hidden;
}

/* Asymmetric Grid Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Diagonal Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 2px solid rgba(88, 166, 255, 0.3);
}

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

.nav-logo a {
    font-size: 2rem;
    font-weight: 800;
    color: #f0f6fc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-logo a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #79c0ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.nav-logo a:hover::before {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: rgba(240, 246, 252, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-link:hover {
    color: #f0f6fc;
    background: rgba(88, 166, 255, 0.1);
    transform: translateY(-2px);
}

/* Asymmetric Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(88, 166, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(121, 192, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    padding: 4rem 6rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #f0f6fc;
    line-height: 1;
    letter-spacing: -0.03em;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, #58a6ff, #79c0ff);
    border-radius: 3px;
}

.hero-subtitle {
    font-size: 2.2rem;
    color: #79c0ff;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.4rem;
    line-height: 1.7;
    color: rgba(240, 246, 252, 0.9);
    margin-bottom: 3rem;
    max-width: 500px;
    font-weight: 400;
    position: relative;
    padding: 2rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 20px;
    border-left: 4px solid #58a6ff;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Unique Button Design */
.btn {
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    position: relative;
    min-width: 200px;
    text-align: center;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #58a6ff 0%, #79c0ff 100%);
    color: #0d1117;
    box-shadow: 0 15px 35px rgba(88, 166, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px rgba(88, 166, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #79c0ff;
    border: 3px solid #79c0ff;
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #79c0ff;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: #0d1117;
    transform: translateY(-5px) scale(1.05);
}

.btn-secondary:hover::before {
    left: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-container {
    position: relative;
    z-index: 2;
}

.profile-photo {
    position: relative;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 30px 80px rgba(88, 166, 255, 0.2),
        inset 0 0 0 1px rgba(121, 192, 255, 0.2);
    border: 3px solid rgba(88, 166, 255, 0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.1) 0%, rgba(121, 192, 255, 0.1) 100%);
    border: 3px solid rgba(88, 166, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #58a6ff;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-20px) rotate(1deg); }
}

.profile-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(88, 166, 255, 0.1), transparent, rgba(121, 192, 255, 0.1), transparent);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-placeholder span {
    font-size: 5rem;
    margin-bottom: 1rem;
    z-index: 2;
    position: relative;
}

.profile-placeholder p {
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 2;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Diagonal Section Titles */
.section-title {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 5rem;
    color: #f0f6fc;
    position: relative;
    background: linear-gradient(135deg, #58a6ff, #79c0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 2rem;
}

/* Asymmetric About Section */
.about {
    padding: 6rem 0 10rem 0;
    background: linear-gradient(135deg, #161b22 0%, #21262d 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(88, 166, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(121, 192, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    max-width: 600px;
}

.about-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(240, 246, 252, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    position: relative;
    padding: 2rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 20px;
    border-left: 4px solid #58a6ff;
}

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(88, 166, 255, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(88, 166, 255, 0.3);
    position: relative;
}

.about-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg, transparent, rgba(121, 192, 255, 0.1), transparent, rgba(88, 166, 255, 0.1), transparent);
    animation: rotate 20s linear infinite reverse;
}

.about-placeholder:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(88, 166, 255, 0.5);
    box-shadow: 
        0 40px 100px rgba(88, 166, 255, 0.3),
        inset 0 0 0 1px rgba(121, 192, 255, 0.3);
}

.about-placeholder span {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    z-index: 2;
    position: relative;
}

.about-placeholder p {
    font-size: 1.3rem;
    font-weight: 700;
    color: #58a6ff;
    z-index: 2;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.core-competencies {
    margin-top: 8rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.core-competencies h3 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: #79c0ff;

    background: linear-gradient(135deg, #79c0ff, #58a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 2rem;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.competency-card {
    background: rgba(22, 27, 34, 0.5);
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid rgba(88, 166, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.competency-card:nth-child(even) {
    transform: none;
}

.competency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #58a6ff, #79c0ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.competency-card:hover::before {
    transform: scaleX(1);
}

.competency-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(88, 166, 255, 0.4);
    box-shadow: 
        0 30px 70px rgba(88, 166, 255, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.2);
}

.competency-card h4 {
    color: #58a6ff;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.competency-card p {
    color: rgba(240, 246, 252, 0.85);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Experience Section */
.experience {
    padding: 10rem 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 75%, rgba(88, 166, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(121, 192, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.experience .container {
    position: relative;
    z-index: 2;
}

/* Unique Experience Grid */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-item {
    background: rgba(22, 27, 34, 0.5);
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid rgba(88, 166, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.experience-item:nth-child(even) {
    transform: none;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #58a6ff, #79c0ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.experience-item:hover::before {
    transform: scaleX(1);
}

.experience-item:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(88, 166, 255, 0.4);
    box-shadow: 
        0 30px 70px rgba(88, 166, 255, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.2);
}

.experience-header h3 {
    color: #58a6ff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.experience-header .company {
    color: rgba(240, 246, 252, 0.9);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-header .period {
    color: rgba(240, 246, 252, 0.7);
    font-size: 1rem;
    font-weight: 500;
}

.experience-item ul {
    margin-top: 2rem;
    list-style: none;
}

.experience-item li {
    color: rgba(240, 246, 252, 0.85);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.experience-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #58a6ff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Unique click indicator - removed duplicate button */

/* Removed hover effect for duplicate button */

/* Education Section */
.education {
    padding: 10rem 0;
    background: linear-gradient(135deg, #161b22 0%, #21262d 100%);
    position: relative;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 40% 60%, rgba(88, 166, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(121, 192, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.education .container {
    position: relative;
    z-index: 2;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.education-item {
    background: rgba(22, 27, 34, 0.5);
    padding: 3.5rem;
    border-radius: 25px;
    border: 2px solid rgba(121, 192, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.education-item:nth-child(even) {
    transform: none;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #79c0ff, #58a6ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.education-item:hover::before {
    transform: scaleX(1);
}

.education-item:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(121, 192, 255, 0.4);
    box-shadow: 
        0 30px 70px rgba(121, 192, 255, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.2);
}

.education-item h3 {
    color: #79c0ff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.education-item .degree {
    color: rgba(240, 246, 252, 0.95);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.education-item .period {
    color: rgba(240, 246, 252, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.education-item .gpa {
    color: #58a6ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.education-item .thesis {
    color: rgba(240, 246, 252, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.education-item .thesis-note {
    color: rgba(240, 246, 252, 0.7);
    font-size: 1rem;
    font-style: italic;
}

.education-item .details {
    color: rgba(240, 246, 252, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 10rem 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(88, 166, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(121, 192, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(22, 27, 34, 0.5);
    padding: 3.5rem;
    border-radius: 25px;
    border: 2px solid rgba(88, 166, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.project-card:nth-child(even) {
    transform: none;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #58a6ff, #79c0ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(88, 166, 255, 0.4);
    box-shadow: 
        0 30px 70px rgba(88, 166, 255, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    color: #58a6ff;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.project-card ul {
    list-style: none;
}

.project-card li {
    color: rgba(240, 246, 252, 0.85);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.project-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #58a6ff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 10rem 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(88, 166, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(121, 192, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    color: #f0f6fc;
    font-weight: 800;
}

.contact-info p {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: rgba(240, 246, 252, 0.9);
    max-width: 500px;
    position: relative;
    padding: 2rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 20px;
    border-left: 4px solid #58a6ff;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 20px;
    border: 2px solid rgba(88, 166, 255, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item:nth-child(even) {
    transform: none;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #79c0ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(88, 166, 255, 0.4);
    box-shadow: 
        0 25px 60px rgba(88, 166, 255, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-item .icon {
    font-size: 2rem;
    color: #58a6ff;
}

.contact-item a {
    color: #58a6ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.contact-item a:hover {
    color: #79c0ff;
}

.contact-item span {
    color: rgba(240, 246, 252, 0.9);
    font-weight: 500;
    font-size: 1.2rem;
}

/* Contact Form - Unique Design */
.contact-form {
    background: rgba(22, 27, 34, 0.5);
    padding: 3.5rem;
    border-radius: 25px;
    border: 2px solid rgba(121, 192, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #79c0ff, #58a6ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-form:hover::before {
    transform: scaleX(1);
}

.contact-form:hover {
    transform: translateY(-8px) scale(1.02);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(13, 17, 23, 0.8);
    border: 2px solid rgba(121, 192, 255, 0.2);
    border-radius: 15px;
    color: #f0f6fc;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(240, 246, 252, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(121, 192, 255, 0.5);
    background: rgba(13, 17, 23, 0.9);
    box-shadow: 
        0 0 30px rgba(121, 192, 255, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

/* Unique Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 5rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    min-width: 250px;
    justify-content: center;
    letter-spacing: 0.5px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-btn:nth-child(even) {
    transform: none;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.email-btn {
    background: linear-gradient(135deg, #58a6ff 0%, #79c0ff 100%);
    color: #0d1117;
    border-color: #58a6ff;
}

.email-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 60px rgba(88, 166, 255, 0.4);
}

.linkedin-btn {
    background: linear-gradient(135deg, #79c0ff 0%, #50fa7b 100%);
    color: #0d1117;
    border-color: #79c0ff;
}

.linkedin-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 60px rgba(121, 192, 255, 0.4);
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    padding: 4rem 0;
    text-align: center;
    border-top: 2px solid rgba(88, 166, 255, 0.2);
}

.footer p {
    color: rgba(240, 246, 252, 0.7);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer .version {
    color: #79c0ff;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    background: rgba(121, 192, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 25px;
    display: inline-block;
    border: 2px solid rgba(121, 192, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .about-content,
    .contact-content {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 0 3rem 0;
    }
    
    .hero-content {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .competencies-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-info p {
        max-width: 100%;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 400px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #58a6ff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Terminal Mode Styles */
.terminal-toggle {
    background: rgba(121, 192, 255, 0.1);
    border: 2px solid rgba(121, 192, 255, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #79c0ff;
}

.terminal-toggle:hover {
    background: rgba(121, 192, 255, 0.2);
    border-color: rgba(121, 192, 255, 0.5);
    transform: translateY(-2px);
}

.terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d1117;
    z-index: 10000;
    display: none;
    flex-direction: column;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    color: #f0f6fc;
    overflow: hidden;
}

.terminal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Debug styles to ensure terminal is visible */
.terminal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #0d1117 !important;
}

.terminal-header {
    background: #21262d;
    border-bottom: 1px solid #30363d;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.terminal-btn.close {
    background: #ff5f56;
}

.terminal-btn.close:hover {
    background: #ff4444;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.minimize:hover {
    background: #ffcc00;
}

.terminal-btn.maximize {
    background: #27c93f;
}

.terminal-btn.maximize:hover {
    background: #00ff00;
}

.terminal-title {
    color: #8b949e;
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #0d1117;
    position: relative;
}

.terminal-content {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 0.5rem;
    animation: fadeIn 0.3s ease-in;
}

.terminal-line.command {
    color: #58a6ff;
}

.terminal-line.output {
    color: #f0f6fc;
    white-space: pre-wrap;
}

.terminal-line.error {
    color: #ff7b72;
}

.terminal-line.success {
    color: #7ee787;
}

.terminal-line.info {
    color: #79c0ff;
}

.terminal-line.warning {
    color: #d29922;
}

.terminal-line.heading {
    color: #58a6ff;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
}

.terminal-line.subheading {
    color: #79c0ff;
    font-weight: bold;
    margin: 0.5rem 0;
}

.terminal-line.link {
    color: #58a6ff;
    text-decoration: underline;
    cursor: pointer;
}

.terminal-line.link:hover {
    color: #79c0ff;
}

.terminal-line.tech-tag {
    display: inline-block;
    background: rgba(121, 192, 255, 0.1);
    color: #79c0ff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin: 0.2rem;
    border: 1px solid rgba(121, 192, 255, 0.3);
}

.terminal-line.image-placeholder {
    background: rgba(88, 166, 255, 0.1);
    border: 2px dashed rgba(88, 166, 255, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
    color: #58a6ff;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(22, 27, 34, 0.8);
    border-radius: 6px;
    border: 1px solid #30363d;
}

.terminal-prompt {
    color: #58a6ff;
    font-weight: bold;
    white-space: nowrap;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #f0f6fc;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 1rem;
    outline: none;
    caret-color: #f0f6fc;
}

.terminal-input::placeholder {
    color: #8b949e;
}

.terminal-cursor {
    color: #f0f6fc;
    animation: blink 1s infinite;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.terminal-line.typing {
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 2s steps(40, end);
}

/* Terminal Responsive Design */
@media (max-width: 768px) {
    .terminal-header {
        padding: 0.5rem;
    }
    
    .terminal-title {
        font-size: 0.8rem;
    }
    
    .terminal-body {
        padding: 0.5rem;
    }
    
    .terminal-input-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .terminal-input {
        width: 100%;
    }
}

/* Terminal Command History */
.command-history {
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 6px;
    border-left: 3px solid #58a6ff;
}

.command-history .history-item {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.command-history .history-item:last-child {
    margin-bottom: 0;
}

/* Terminal Help System */
.help-section {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 8px;
    border: 1px solid #30363d;
}

.help-command {
    color: #58a6ff;
    font-weight: bold;
    margin-right: 1rem;
}

.help-description {
    color: #8b949e;
}

/* Terminal Navigation */
.terminal-nav {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.terminal-nav-item {
    background: rgba(58, 166, 255, 0.1);
    color: #58a6ff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid rgba(58, 166, 255, 0.3);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.terminal-nav-item:hover {
    background: rgba(58, 166, 255, 0.2);
    border-color: rgba(58, 166, 255, 0.5);
}

.terminal-nav-item.active {
    background: rgba(58, 166, 255, 0.3);
    border-color: #58a6ff;
}

/* Terminal Content Sections */
.terminal-section {
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(22, 27, 34, 0.3);
    border-radius: 8px;
    border: 1px solid #30363d;
}

.terminal-section-title {
    color: #58a6ff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 1px solid #30363d;
    padding-bottom: 0.5rem;
}

/* Terminal Experience Cards */
.terminal-experience {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 6px;
    border-left: 3px solid #58a6ff;
}

.terminal-experience-title {
    color: #58a6ff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.terminal-experience-company {
    color: #79c0ff;
    margin-bottom: 0.25rem;
}

.terminal-experience-period {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.terminal-experience-description {
    color: #f0f6fc;
    line-height: 1.5;
}

/* Terminal Education */
.terminal-education {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 6px;
    border-left: 3px solid #79c0ff;
}

.terminal-education-degree {
    color: #79c0ff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.terminal-education-school {
    color: #f0f6fc;
    margin-bottom: 0.25rem;
}

.terminal-education-details {
    color: #8b949e;
    font-size: 0.9rem;
}

/* Terminal Projects */
.terminal-project {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 6px;
    border-left: 3px solid #50fa7b;
}

.terminal-project-title {
    color: #50fa7b;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.terminal-project-description {
    color: #f0f6fc;
    line-height: 1.5;
}

/* Terminal Contact */
.terminal-contact-item {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(22, 27, 34, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-contact-icon {
    color: #58a6ff;
    font-size: 1.2rem;
}

.terminal-contact-link {
    color: #58a6ff;
    text-decoration: none;
}

.terminal-contact-link:hover {
    text-decoration: underline;
}

.terminal-contact-text {
    color: #f0f6fc;
}

/* Job Modal Styles */
.job-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(22, 27, 34, 0.98);
    border: 2px solid rgba(88, 166, 255, 0.4);
    border-radius: 24px;
    padding: 3rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(25px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(88, 166, 255, 0.3);
}

.modal-title {
    color: #58a6ff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-company {
    color: rgba(240, 246, 252, 0.9);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.modal-period {
    color: rgba(240, 246, 252, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
}

.modal-description {
    color: rgba(240, 246, 252, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h4 {
    color: #58a6ff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.modal-responsibilities li {
    color: rgba(240, 246, 252, 0.85);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.modal-responsibilities li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #58a6ff;
    font-weight: bold;
}

.modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.modal-tech span {
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(88, 166, 255, 0.3);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.3);
    color: #58a6ff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .modal-company {
        font-size: 1.1rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* PDF Viewer Modal Styles */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pdf-modal.active {
    display: block;
    opacity: 1;
}

.pdf-modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0d1117;
}

.pdf-header {
    background: rgba(22, 27, 34, 0.98);
    border-bottom: 2px solid rgba(88, 166, 255, 0.4);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(25px);
}

.pdf-title h3 {
    color: #58a6ff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.pdf-title span {
    color: rgba(240, 246, 252, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.pdf-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pdf-btn {
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.3);
    color: #58a6ff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.pdf-btn:hover {
    background: rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.5);
    transform: translateY(-2px);
}

.pdf-btn:active {
    transform: translateY(0);
}

.pdf-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pdf-btn.pdf-download {
    background: rgba(121, 192, 255, 0.1);
    border-color: rgba(121, 192, 255, 0.3);
    color: #79c0ff;
}

.pdf-btn.pdf-download:hover {
    background: rgba(121, 192, 255, 0.2);
    border-color: rgba(121, 192, 255, 0.5);
}

.pdf-btn.pdf-close {
    background: rgba(255, 107, 114, 0.1);
    border-color: rgba(255, 107, 114, 0.3);
    color: #ff6b72;
}

.pdf-btn.pdf-close:hover {
    background: rgba(255, 107, 114, 0.2);
    border-color: rgba(255, 107, 114, 0.5);
}

#pdfZoomLevel {
    color: rgba(240, 246, 252, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

.pdf-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: auto;
    background: #0d1117;
    position: relative;
}

.pdf-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(240, 246, 252, 0.8);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(88, 166, 255, 0.3);
    border-top: 3px solid #58a6ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pdf-canvas {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    background: white;
}

/* PDF Viewer Responsive Design */
@media (max-width: 768px) {
    .pdf-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .pdf-title {
        text-align: center;
    }
    
    .pdf-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pdf-btn {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
        min-width: 36px;
    }
    
    .pdf-body {
        padding: 1rem;
    }
    
    #pdfZoomLevel {
        min-width: 40px;
        font-size: 0.8rem;
    }
}

/* PDF Link Styles */
.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

.pdf-link:hover {
    background: rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.5);
    transform: translateY(-2px);
    color: #79c0ff;
}

.pdf-link::before {
    content: '📄';
    font-size: 1.1rem;
}

/* Publications Section */
.publications {
    padding: 10rem 0;
    background: linear-gradient(135deg, #161b22 0%, #21262d 100%);
    position: relative;
}

.publications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(88, 166, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(121, 192, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.publications .container {
    position: relative;
    z-index: 2;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.publication-item {
    background: rgba(22, 27, 34, 0.5);
    border: 2px solid rgba(88, 166, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
}

.publication-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #79c0ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.publication-item:hover {
    transform: translateY(-8px);
    border-color: rgba(88, 166, 255, 0.5);
    box-shadow: 0 25px 80px rgba(88, 166, 255, 0.2);
}

.publication-item:hover::before {
    transform: scaleX(1);
}

.publication-header {
    margin-bottom: 1.5rem;
}

.publication-header h3 {
    color: #58a6ff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.publication-type {
    color: #79c0ff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.publication-year {
    color: rgba(240, 246, 252, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.publication-abstract {
    color: rgba(240, 246, 252, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.publication-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Experience Links */
.experience-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Education Links */
.education-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.education-item .pdf-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
}

/* Project Links */
.project-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-card .pdf-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
}

/* Responsive Publications */
@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .publication-item {
        padding: 2rem;
    }
    
    .publication-header h3 {
        font-size: 1.2rem;
    }
}

/* Internships Section */
.internships {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
}

.internships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.internship-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.internship-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #7c3aed, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.internship-item:hover::before {
    opacity: 1;
}

.internship-item:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 166, 255, 0.4);
    box-shadow: 0 20px 40px rgba(88, 166, 255, 0.1);
}

.internship-header {
    margin-bottom: 2rem;
}

.internship-header h3 {
    font-size: 2.2rem;
    color: #f0f6fc;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.internship-header .company {
    display: block;
    color: #58a6ff;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.internship-header .period {
    display: block;
    color: #8b949e;
    font-size: 1.2rem;
}

.internship-item ul {
    list-style: none;
    padding: 0;
}

.internship-item li {
    color: #c9d1d9;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.internship-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #58a6ff;
    font-weight: bold;
}

/* Skills Section */
.skills {
    padding: 8rem 0;
    background: linear-gradient(135deg, #16213e 0%, #0f1419 100%);
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #7c3aed, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-category:hover::before {
    opacity: 1;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 166, 255, 0.4);
    box-shadow: 0 20px 40px rgba(88, 166, 255, 0.1);
}

.skill-category h3 {
    font-size: 2rem;
    color: #f0f6fc;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.2), rgba(124, 58, 237, 0.2));
    border: 1px solid rgba(88, 166, 255, 0.3);
    color: #f0f6fc;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.3), rgba(124, 58, 237, 0.3));
    border-color: rgba(88, 166, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 166, 255, 0.2);
}

/* View Details Button */
.view-details-btn {
    margin-top: 2rem;
    width: 100%;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.2), rgba(124, 58, 237, 0.2));
    border: 1px solid rgba(88, 166, 255, 0.3);
    color: #f0f6fc;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.view-details-btn:hover {
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.3), rgba(124, 58, 237, 0.3));
    border-color: rgba(88, 166, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 166, 255, 0.2);
}

/* Responsive additions */
@media (max-width: 768px) {
    .internships-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skill-tags {
        justify-content: flex-start;
    }
}

/* About Image Styling */
.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(88, 166, 255, 0.3);
    border-color: rgba(88, 166, 255, 0.5);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.about-image:hover .about-img {
    transform: scale(1.05);
}
