/* ===== FUTURISTIC CYBERPUNK THEME ===== */
:root {
    --midnight-blue: #0a0a1a;
    --neon-teal: #0af9fa;
    --neon-pink: #ff2ced;
    --neon-purple: #bc13fe;
    --neon-green: #39ff14;
    --neon-blue: #00f7ff;
    --neon-yellow: #f5d300;
    --dark-bg: #050510;
    --card-bg: rgba(10, 10, 26, 0.8);
    --card-border: rgba(10, 249, 250, 0.3);
    --text-primary: #e0e0ff;
    --text-secondary: rgba(224, 224, 255, 0.7);
    --transition-speed: 0.4s;
    --glow-intensity: 0.7;
}
section {
    position: relative; /* Needed for z-index */
    z-index: 1; /* Ensure content appears above backgrounds */
    min-height: 100vh; /* Ensure sections take full height */
    padding: 100px 5%; /* Consistent padding */
}
/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Code New Roman', 'Inter', sans-serif;
    background-color: var(--midnight-blue);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(10, 249, 250, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(188, 19, 254, 0.05) 0%, transparent 20%);
}

/* ===== PARTICLE BACKGROUND ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    opacity: 0.4;
}
/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Projects Section */
  .projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    background: rgba(10, 25, 47, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .card-holographic {
    position: relative;
    overflow: hidden;
  }
  
  .card-holographic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      to bottom right,
      rgba(100, 255, 218, 0) 0%,
      rgba(100, 255, 218, 0.1) 50%,
      rgba(100, 255, 218, 0) 100%
    );
    transform: rotate(30deg);
    animation: holographic 6s linear infinite;
  }
  
  /* Timeline Styles */
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--neon-teal);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 3rem;
  }
  
  .timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-teal);
    box-shadow: 0 0 10px var(--neon-teal);
  }
  
  .timeline-content {
    width: calc(50% - 40px);
    padding: 1.5rem;
    background: rgba(10, 25, 47, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
  }
  
  /* Skills Section */
  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .skill-progress {
    height: 8px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 4px;
    margin-top: 0.5rem;
  }
  
  .progress-bar {
    height: 100%;
    background: var(--neon-teal);
    border-radius: 4px;
    transition: width 1.5s ease;
  }
/* ===== DNA ANIMATION BACKGROUND ===== */
.dna-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
    z-index: -.5;
}

/* ===== GLITCH EFFECT ===== */
.glitch {
    position: relative;
    color: var(--neon-teal);
    text-shadow: 0 0 5px var(--neon-teal);
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--neon-pink);
    animation: glitch-effect 3s infinite;
    z-index: -1;
    text-shadow: 0 0 5px var(--neon-pink);
}

.glitch::after {
    color: var(--neon-blue);
    animation: glitch-effect 2s infinite reverse;
    z-index: -2;
    text-shadow: 0 0 5px var(--neon-blue);
}

@keyframes glitch-effect {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Code New Roman', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.part-time {
    
    font-size: .8rem;
    color: var(--neon-teal);
    margin-bottom: .05rem;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: var(--neon-teal);
    text-shadow: 0 0 15px var(--neon-teal);
}

.section-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-teal), var(--neon-purple), transparent);
    bottom: -10px;
    left: 0;
    animation: title-underline 3s infinite alternate;
}

@keyframes title-underline {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(10, 249, 250, 0.2);
    box-shadow: 0 0 20px rgba(10, 249, 250, 0.1);
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    box-shadow: 0 5px 30px rgba(10, 249, 250, 0.2);
}

.logo {
    font-family: 'Code New Roman', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--neon-teal);
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-teal);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a i {
    font-size: 1rem;
    color: var(--neon-teal);
}

.nav-links a:hover {
    color: var(--neon-teal);
    text-shadow: 0 0 10px var(--neon-teal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-teal), var(--neon-purple));
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== MOBILE MENU ===== */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 16, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        clip-path: circle(0px at 90% -10%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 0.7s ease-out;
        pointer-events: none;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(10, 249, 250, 0.3);
    }

    .nav-links.active {
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.5s ease 0.2s;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
        background: none;
        border: none;
        color: var(--neon-teal);
        font-size: 1.5rem;
        cursor: pointer;
    }
}

/* ===== HERO SECTION ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.greeting {
    font-family: 'Code New Roman', sans-serif;
    font-size: 1.5rem;
    color: var(--neon-teal);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-teal);
    animation: flicker 3s infinite alternate;
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 5px var(--neon-teal),
            0 0 10px var(--neon-teal),
            0 0 20px var(--neon-teal),
            0 0 40px var(--neon-purple);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 
        0 0 5px var(--neon-teal),
        0 0 10px var(--neon-teal);
}

.title-word-1 {
    color: var(--neon-teal);
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.title-word-2 {
    color: var(--neon-purple);
    display: inline-block;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-subtitle {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    text-shadow: 0 0 5px var(--neon-blue);
    position: relative;
    display: inline-block;
}

.typing-animation {
    border-right: 3px solid var(--neon-teal);
    white-space: nowrap;
    overflow: hidden;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--neon-teal); }
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: var(--text-secondary);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    font-family: 'Code New Roman', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: rgba(10, 249, 250, 0.1);
    color: var(--neon-teal);
    border: 1px solid var(--neon-teal);
    box-shadow: 0 0 10px rgba(10, 249, 250, 0.3);
}

.btn-primary:hover {
    background: rgba(10, 249, 250, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(10, 249, 250, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.3);
}

.btn-secondary:hover {
    background: rgba(188, 19, 254, 0.1);
    color: var(--neon-purple);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(188, 19, 254, 0.5);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent,
        rgba(10, 249, 250, 0.4),
        transparent
    );
    transition: 0.7s;
}

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

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

.profile-container {
    position: relative;
    width: clamp(300px, 30vw, 400px);
    height: clamp(300px, 30vw, 400px);
    perspective: 1000px;
}

.profile-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-teal));
    filter: blur(30px);
    opacity: 0.3;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.3; transform: scale(0.95); }
}

.profile-border {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-teal)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: borderRotate 10s linear infinite, borderOpacity 3s infinite alternate;
    z-index: 1;
}

@keyframes borderRotate {
    100% { transform: rotate(1turn); }
}

@keyframes borderOpacity {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.profile-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.profile-container:hover .profile-img {
    transform: rotateY(10deg) rotateX(5deg) scale(1.03);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(
        135deg, 
        rgba(10, 249, 250, 0.1) 0%,
        rgba(188, 19, 254, 0.1) 100%
    );
    z-index: 3;
    mix-blend-mode: overlay;
}

/* ===== ABOUT SECTION ===== */
#about {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.about-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: var(--neon-teal);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--neon-teal);
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.highlight-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(10, 249, 250, 0) 0%,
        rgba(10, 249, 250, 0.1) 50%,
        rgba(10, 249, 250, 0) 100%
    );
    transform: rotate(30deg);
    animation: holographic 6s linear infinite;
}

@keyframes holographic {
    0% { transform: rotate(30deg) translate(-30%, -30%); }
    100% { transform: rotate(30deg) translate(30%, 30%); }
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(10, 249, 250, 0.2);
    border-color: var(--neon-teal);
}

.highlight-icon {
    font-size: 2rem;
    color: var(--neon-teal);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-teal);
}

.highlight-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--neon-teal);
}

/* ===== EDUCATION SECTION ===== */
#education {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
/* ===== PROJECTS SECTION ===== */
#projects {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(10, 249, 250, 0) 0%,
        rgba(10, 249, 250, 0.1) 50%,
        rgba(10, 249, 250, 0) 100%
    );
    transform: rotate(30deg);
    animation: holographic 6s linear infinite;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(10, 249, 250, 0.3);
    border-color: var(--neon-teal);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--card-border);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-teal);
}

.project-description {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tag {
    background: rgba(10, 249, 250, 0.1);
    color: var(--neon-teal);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--neon-teal);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
}

.project-link:hover {
    color: var(--neon-teal);
    transform: translateY(-3px);
}

/* ===== EXPERIENCE SECTION ===== */
#experience {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--neon-teal),
        var(--neon-purple),
        transparent
    );
    box-shadow: 0 0 20px var(--neon-teal);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-teal);
    box-shadow: 0 0 10px var(--neon-teal);
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: 100%;
    border-width: 10px 15px 10px 0;
    border-color: transparent var(--card-border) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: 100%;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent var(--card-border);
}

.timeline-date {
    color: var(--neon-teal);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--neon-teal);
}

.timeline-location {
    color: var(--neon-purple);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 249, 250, 0.2);
    border-color: var(--neon-teal);
}

/* ===== SKILLS SECTION ===== */
#skills {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

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

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    transition: all var(--transition-speed) ease;
    backdrop-filter: blur(10px);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 249, 250, 0.2);
    border-color: var(--neon-teal);
}

.skill-category-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--neon-teal);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skill-category-title::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--neon-teal);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-teal);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    color: var(--text-primary);
}

.skill-level {
    color: var(--neon-teal);
}

.skill-progress {
    height: 8px;
    background: rgba(10, 249, 250, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-teal), var(--neon-purple));
    border-radius: 4px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== PUBLICATIONS SECTION ===== */
#publications {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.pub-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.pub-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pub-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(10, 249, 250, 0) 0%,
        rgba(10, 249, 250, 0.1) 50%,
        rgba(10, 249, 250, 0) 100%
    );
    transform: rotate(30deg);
    animation: holographic 6s linear infinite;
}

.pub-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(10, 249, 250, 0.3);
    border-color: var(--neon-teal);
}

.pub-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--neon-teal);
    line-height: 1.4;
}

.pub-authors {
    color: var(--neon-purple);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.pub-journal {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-style: italic;
}

.pub-abstract {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pub-link {
    color: var(--neon-teal);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-speed) ease;
}

.pub-link:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}
/* achievement section */
#achievements {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
.achievements-container {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.achievement-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.achievement-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--neon-teal);
    line-height: 1.4;
}
.achievement-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
/* ===== CONTACT SECTION ===== */
#contact {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--neon-teal);
    margin-top: 0.3rem;
    text-shadow: 0 0 10px var(--neon-teal);
}

.contact-detail h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--neon-teal);
}

.contact-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

a {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
}
.social-link {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    color: var(--neon-teal);
    transform: translateY(-5px);
    text-shadow: 0 0 10px var(--neon-teal);
}

.download-cv {
    margin-top: 2rem;
    align-self: flex-start;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
}

.contact-form:hover {
    box-shadow: 0 10px 30px rgba(10, 249, 250, 0.2);
    border-color: var(--neon-teal);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 10, 26, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-teal);
    box-shadow: 0 0 10px rgba(10, 249, 250, 0.3);
}

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

/* ===== FOOTER ===== */
footer {
    padding: 3rem 5%;
    text-align: center;
    background: rgba(5, 5, 16, 0.8);
    border-top: 1px solid rgba(10, 249, 250, 0.1);
    backdrop-filter: blur(10px);
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent var(--card-border) transparent transparent;
    }
    
    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .about-highlights,
    .projects-container,
    .pub-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .profile-container {
        margin-top: 2rem;
    }
}

.institution-logo {
    width: 45px;
    height: 45px;
    margin-right: 0.5rem;
    object-fit: cover;
}
.institution-logo-rounded {
    width: 45px;
    height: 45px;
    margin-right: 0.5rem;
    object-fit: cover;
    border-radius: 30%;
}
/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.3rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    z-index: 100;
}

.dark-mode-toggle:hover {
    color: var(--neon-teal);
    transform: rotate(30deg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--neon-teal);
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1001;
}
body.light-mode {
    background-color: #444040;
    color: #111;
}

body.light-mode .navbar {
    background: rgba(78, 74, 74, 0.9);
    color: #111;
    border-bottom: 1px solid #ccc;
}

body.light-mode .nav-links a {
    color: #111;
}

body.light-mode .nav-links a:hover {
    color: #333;
}

body.light-mode .section-title {
    color: #222;
    text-shadow: none;
}

body.light-mode .btn-primary {
    background: #111;
    color: #444040;
    border-color: #111;
}

body.light-mode .btn-primary:hover {
    background: #333;
}


body.light-mode footer {
    background: #444040;
    color: #222;
}

/* ===== ANIMATION CLASSES ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--midnight-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-teal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}