/* Component Styles */
/* Particles Background */
#particles-js {
    position: fixed; 
    width: 100%; 
    height: 100%;
    top: 0; left: 0; 
    z-index: -1;
}

/* Navigation */
nav {
    position: fixed; 
    top: 0; 
    width: 100%;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0; 
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition-fast);
}

nav.scrolled {
    background: rgba(10, 10, 20, 0.95);
    box-shadow: var(--shadow-lg);
}

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

.logo {
    font-size: 1.5rem; 
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text); 
    text-decoration: none;
    font-weight: 500; 
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0;
    width: 0; 
    height: 2px; 
    background: var(--accent);
    transition: var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent);
}

.mobile-menu-btn[aria-expanded="true"] {
    color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
}

.audio-control-btn {
    background-color: var(--accent);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.audio-control-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: var(--accent-secondary);
}

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

.audio-control-btn i {
    margin-right: 0.5rem;
}

/* Hero Section - Enhanced */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid transparent;
    background: linear-gradient(var(--bg), var(--bg)) padding-box,
                var(--gradient) border-box;
    box-shadow: 0 0 60px rgba(0, 217, 255, 0.6),
                0 0 100px rgba(0, 217, 255, 0.3),
                inset 0 0 20px rgba(0, 217, 255, 0.1);
    margin-bottom: 2rem;
    transition: all 0.5s ease;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.profile-img:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 80px rgba(0, 217, 255, 0.8),
                0 0 120px rgba(0, 217, 255, 0.4),
                inset 0 0 30px rgba(0, 217, 255, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient);
    animation: expandWidth 1.5s ease forwards 0.5s;
}

@keyframes expandWidth {
    to {
        width: 200px;
    }
}

.typed-text {
    font-size: 1.6rem;
    color: var(--text-muted);
    min-height: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

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

.btn-primary {
    background: var(--gradient);
    color: #fff;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.2);
}

.scroll-indicator i {
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.8));
}

/* Section Styles */
section {
    padding: 6rem 0; 
    position: relative;
}

.section-title {
    font-size: 2.5rem; 
    margin-bottom: 3rem;
    text-align: center; 
    position: relative;
    color: var(--accent);
}

.section-title::after {
    content: ''; 
    position: absolute;
    bottom: -10px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100px; 
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* About Section - Enhanced */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    animation: slideInLeft 0.8s ease;
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.about-text::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    transition: all 0.8s ease;
}

.about-text:hover::after {
    bottom: -30%;
    right: -30%;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.about-text p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
}

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

.stat-card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s ease;
    animation: slideInRight 0.8s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* Add icon to stat cards */
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.stat-card:hover::after {
    width: 60px;
    height: 60px;
    background: rgba(0, 217, 255, 0.2);
}

/* Skills Section - Redesigned */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.skill-category:hover {
    transform: translateX(8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 217, 255, 0.15);
}

.skill-category h3 {
    color: var(--accent);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.skill-category h3 i {
    font-size: 1.5rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Skills items in flexible grid */
.skill-category > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: rgba(0, 217, 255, 0.05);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.2);
}

.skill-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.skill-name span:first-child {
    color: var(--text);
    font-size: 0.95rem;
}

.skill-name span:last-child {
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.skill-bar {
    height: 6px;
    background: rgba(0, 217, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

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

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.project-img {
    width: 100%; 
    height: 200px;
    object-fit: cover; 
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
}

.project-title {
    font-size: 1.4rem; 
    margin-bottom: 1rem;
    color: #fff;
}

.project-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem; 
    line-height: 1.6;
}

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

.project-tag {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent); 
    padding: 0.3rem 0.8rem;
    border-radius: 20px; 
    font-size: 0.8rem;
}

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

.project-link {
    display: inline-flex; 
    align-items: center;
    gap: 0.5rem; 
    color: var(--accent);
    text-decoration: none; 
    font-weight: 600;
    transition: var(--transition-fast);
}

.project-link:hover {
    color: var(--accent-secondary);
    transform: translateX(5px);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--card-bg);
    padding: 2.5rem; 
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-item {
    display: flex; 
    align-items: center;
    gap: 1rem; 
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px; 
    height: 50px;
    background: var(--gradient);
    border-radius: 50%; 
    display: flex;
    align-items: center; 
    justify-content: center;
    font-size: 1.5rem;
}

.social-links {
    display: flex; 
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px; 
    height: 50px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 50%; 
    display: flex;
    align-items: center; 
    justify-content: center;
    color: var(--accent); 
    font-size: 1.3rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent);
    color: #000; 
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    text-align: center; 
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

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

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Scroll Reveal */
.reveal {
    opacity: 0; 
    transform: translateY(50px);
    transition: var(--transition-normal);
}

.reveal.active {
    opacity: 1; 
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: none; 
    text-align: center;
    padding: 2rem; 
    color: var(--accent);
}

.spinner {
    width: 50px; 
    height: 50px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Timeline Styles - Education & Experience */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Timeline center line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--accent) 10%, 
        var(--accent) 90%, 
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Alternate left-right layout */
.timeline-item:nth-child(odd) {
    grid-template-areas: "content dot";
}

.timeline-item:nth-child(even) {
    grid-template-areas: "dot content";
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: 0;
}

/* Timeline dot/node */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--bg);
    border: 4px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bg),
                0 0 20px rgba(0, 217, 255, 0.6);
    transition: all 0.4s ease;
}

.timeline-item:hover::before {
    width: 24px;
    height: 24px;
    border-width: 5px;
    box-shadow: 0 0 0 6px var(--bg),
                0 0 30px rgba(0, 217, 255, 0.9),
                0 0 40px rgba(0, 217, 255, 0.6);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Timeline content card */
.timeline-content {
    background: var(--card-bg);
    padding: 2rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-area: content;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 2rem;
    grid-area: content;
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg),
                0 0 30px rgba(0, 217, 255, 0.2);
}

/* Connecting line from dot to card */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: all 0.4s ease;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -40px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -40px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.timeline-content:hover::before {
    width: 50px;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

/* Timeline date badge */
.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
}

.timeline-content:hover .timeline-date {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5);
}

/* Timeline title */
.timeline-title {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.timeline-content:hover .timeline-title {
    color: var(--accent);
}

/* Timeline subtitle */
.timeline-subtitle {
    color: var(--accent-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-item:nth-child(odd) .timeline-subtitle {
    justify-content: flex-end;
}

.timeline-subtitle::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-secondary);
}

/* Timeline description */
.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Achievement list */
.timeline-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: grid;
    gap: 0.8rem;
}

.timeline-content li {
    position: relative;
    padding-left: 2rem;
    color: var(--text);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content li {
    padding-left: 0;
    padding-right: 2rem;
}

/* Achievement bullet icon */
.timeline-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content li::before {
    left: auto;
    right: 0;
}

.timeline-content:hover li::before {
    transform: scale(1.2);
    color: var(--accent);
}

.timeline-content li:hover {
    color: #fff;
    transform: translateX(5px);
}

.timeline-item:nth-child(odd) .timeline-content li:hover {
    transform: translateX(-5px);
}

/* Add decorative corner accents */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: 0;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: 0;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.timeline-content:hover::after {
    opacity: 1;
    width: 80px;
    height: 80px;
}

/* Entrance animations */
.timeline-item {
    opacity: 0;
    animation: fadeInTimeline 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }
.timeline-item:nth-child(5) { animation-delay: 0.9s; }

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

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        grid-template-areas: "content";
        padding-left: 80px;
        gap: 0;
    }
    
    .timeline-item::before {
        left: 30px;
        transform: translateY(-50%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }
    
    .timeline-content::before {
        left: -50px !important;
        background: linear-gradient(90deg, var(--accent), transparent) !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content li,
    .timeline-item:nth-child(even) .timeline-content li {
        padding-left: 2rem;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content li::before,
    .timeline-item:nth-child(even) .timeline-content li::before {
        left: 0;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-subtitle,
    .timeline-item:nth-child(even) .timeline-subtitle {
        justify-content: flex-start;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after {
        left: 0;
        right: auto;
        border-right: none;
        border-left: 2px solid var(--accent);
    }
    
    .timeline-content li:hover {
        transform: translateX(5px);
    }
}

/* Documents Section */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.documents-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.documents-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.documents-category h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.documents-category h3 i {
    font-size: 1.3rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.document-item:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.2);
}

.document-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.document-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    background: rgba(0, 217, 255, 0.08);
}

.document-meta .company {
    background: rgba(0, 217, 255, 0.12);
    border-color: rgba(0, 217, 255, 0.3);
    color: var(--accent);
}

.document-meta .institution {
    background: rgba(0, 217, 255, 0.12);
    border-color: rgba(0, 217, 255, 0.3);
    color: var(--accent-secondary);
}

.document-meta .date,
.document-meta .year {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.document-meta .percentage {
    background: rgba(0, 255, 157, 0.15);
    border-color: rgba(0, 255, 157, 0.3);
    color: #00ff9d;
    font-weight: 600;
}

.document-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.document-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.document-link:hover {
    background: var(--accent);
    color: #000;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.4);
}

.document-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero h1 { 
        font-size: 2.2rem;
        letter-spacing: 0;
    }
    
    .typed-text { font-size: 1.1rem; }
    
    .profile-img {
        width: 180px;
        height: 180px;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .about-content { 
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    .contact-content { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    
    .skill-category > div {
        grid-template-columns: 1fr;
    }
    
    .skill-category:hover {
        transform: translateX(4px);
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .document-item {
        gap: 1rem;
    }
    
    .document-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.documents-entry{
display:flex;
justify-content:center;
margin-top:40px;
}

.documents-card{
background:rgba(255,255,255,0.03);
border:1px solid rgba(255,255,255,0.08);
padding:45px;
border-radius:16px;
text-align:center;
max-width:520px;
backdrop-filter:blur(10px);
transition:all .35s ease;
}

.documents-card:hover{
transform:translateY(-8px);
border-color:var(--accent);
box-shadow:0 15px 40px rgba(0,255,136,0.15);
}

.documents-card i{
font-size:42px;
color:var(--accent);
margin-bottom:18px;
}

.documents-card h3{
margin-bottom:10px;
}

.documents-card p{
opacity:.75;
margin-bottom:25px;
line-height:1.6;
}
