/* ================================
   EDUCATION TIMELINE SECTION
   ================================ */

.education-section {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    margin-top: -100px;
    padding-top: 100px;
}

.education-section::before {
    content: '';
    position: absolute;
    top: 150px;
    left: calc(50% - 15px);
    width: 4px;
    height: calc(100% - 150px);
    background: linear-gradient(
        180deg,
        transparent 0%,
        #8B4513 10%,
        #8B4513 90%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(139, 69, 19, 0.5);
}

/* Railway Track Rails - Right Rail */
.education-section::after {
    content: '';
    position: absolute;
    top: 150px;
    left: calc(50% + 15px);
    width: 4px;
    height: calc(100% - 150px);
    background: linear-gradient(
        180deg,
        transparent 0%,
        #8B4513 10%,
        #8B4513 90%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(139, 69, 19, 0.5);
}

.education-section .section-container {
    padding: 40px 40px 60px;
}

.timeline {
    position: relative;
    padding: 20px 0;
    max-width: 1100px;
    margin: 0 auto;
}

/* Railway Sleepers (Ties) */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 60px;
    height: 100%;
    transform: translateX(-50%);
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 40px,
        rgba(101, 67, 33, 0.8) 40px,
        rgba(101, 67, 33, 0.8) 46px,
        rgba(139, 69, 19, 0.6) 46px,
        rgba(139, 69, 19, 0.6) 48px
    );
    box-shadow: 0 0 20px rgba(101, 67, 33, 0.3);
    z-index: 1;
}

/* Animated Train */
.timeline::after {
    content: '▲';
    position: absolute;
    left: 50%;
    font-size: 28px;
    font-weight: bold;
    color: #FFD700;
    transform: translateX(-50%);
    z-index: 10;
    animation: train-move 15s linear infinite;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.6));
}

@keyframes train-move {
    0% {
        top: 100%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        top: -50px;
        opacity: 0;
    }
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 3;
}

.timeline-item:nth-child(odd) .timeline-dot {
    grid-column: 2;
}

.timeline-dot {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 4px;
    position: relative;
    margin: 15px auto 0;
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.2),
                0 0 20px rgba(255, 215, 0, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.3),
                inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
    border: 2px solid rgba(255, 215, 0, 0.6);
    animation: station-pulse 3s infinite;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: station-light 2s infinite;
}

@keyframes station-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.2),
                    0 0 20px rgba(255, 215, 0, 0.4),
                    inset 0 2px 4px rgba(255, 255, 255, 0.3),
                    inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 6px rgba(139, 69, 19, 0.3),
                    0 0 30px rgba(255, 215, 0, 0.6),
                    inset 0 2px 4px rgba(255, 255, 255, 0.4),
                    inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    }
}

@keyframes station-light {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px 30px;
    position: relative;
    transition: all var(--transition-smooth);
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

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

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -12px;
    border-width: 8px 12px 8px 0;
    border-color: transparent rgba(255, 255, 255, 0.08) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -12px;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.08);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--neon-blue), #0088cc);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 3px 12px rgba(0, 212, 255, 0.3);
    letter-spacing: 0.5px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #ffffff;
    line-height: 1.3;
}

.timeline-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.timeline-institution {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-style: italic;
    line-height: 1.4;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.timeline-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-badge {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    color: var(--neon-blue);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.highlight-badge:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--neon-blue);
    transform: translateY(-2px);
}

/* ================================
   PROJECTS SECTION
   ================================ */

.projects-section {
    background: var(--dark-bg);
    position: relative;
    margin: 0;
    padding: 0;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 300px;
    height: 300px;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-smooth);
    cursor: pointer;
    display: block;
}

.featured-project {
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.status-live {
    color: #00ff00;
    font-weight: 600;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.project-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
    background: #0a0a0a;
}

/* Image Stack Effect */
.image-stack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stack-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-smooth);
}

.stack-img-2 {
    opacity: 0;
    transform: translate(8px, 8px) scale(0.95);
    z-index: -1;
}

.stack-img-3 {
    opacity: 0;
    transform: translate(16px, 16px) scale(0.9);
    z-index: -2;
}

.project-card:hover .stack-img-2 {
    opacity: 0.3;
}

.project-card:hover .stack-img-3 {
    opacity: 0.2;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 60px;
    height: 60px;
    background: var(--neon-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all var(--transition-smooth);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.project-link:hover {
    transform: scale(1.2) rotate(90deg);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.8);
}

.project-info {
    padding: 30px;
}

.project-category {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

/* Image Carousel */
.image-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0a0a0a;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-img.active {
    opacity: 1;
    z-index: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Developer Info */
.developer-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.developer-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
}

.developer-info strong {
    color: var(--neon-blue);
}

.demo-link {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.demo-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

.demo-link::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-link:hover::after {
    opacity: 1;
}

/* ================================
   ACHIEVEMENTS SECTION
   ================================ */

/* ================================
   SKILLS SECTION
   ================================ */

.skills-section {
    background: var(--dark-bg);
    position: relative;
    margin: 0;
    padding: 80px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.skill-category {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-category::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

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

.skill-category:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.15),
        0 0 0 1px rgba(0, 212, 255, 0.1) inset;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.category-title svg {
    color: var(--neon-blue);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6));
    flex-shrink: 0;
}

.skills-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--neon-blue), rgba(0, 212, 255, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.skill-item:hover::after {
    opacity: 1;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(6px);
    box-shadow: 
        0 8px 24px rgba(0, 212, 255, 0.12),
        0 0 0 1px rgba(0, 212, 255, 0.1) inset;
}

.skill-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.skill-item:hover .skill-icon::before {
    width: 100%;
    height: 100%;
}

.skill-icon svg {
    color: var(--neon-blue);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.4));
    position: relative;
    z-index: 1;
}

.skill-item:hover .skill-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 212, 255, 0.15));
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.skill-item:hover .skill-icon svg {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.8));
}

.skill-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.skill-item:hover .skill-name {
    color: #ffffff;
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .skills-grid {
        gap: 30px;
    }
    
    .skill-category {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .skills-section {
        padding: 60px 0;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .skill-category {
        padding: 28px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .skill-item {
        padding: 14px 16px;
        grid-template-columns: 40px 1fr;
        gap: 14px;
    }
    
    .skill-icon {
        width: 40px;
        height: 40px;
    }
    
    .skill-name {
        font-size: 0.98rem;
    }
}
    
    .skill-name {
        font-size: 0.95rem;
    }
}

/* ================================
   PARTICIPATIONS & EXPERIENCES SECTION
   ================================ */

.participations-section {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.experiences-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    grid-auto-flow: dense;
}

.experience-card {
    position: relative;
    overflow: visible;
    border-radius: 20px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.experience-card.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: unset;
    height: auto;
}

.experience-card.wide {
    grid-column: span 2;
}

.experience-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-card:hover .experience-image img {
    transform: scale(1.15);
}

.experience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.7) 60%,
        rgba(0, 0, 0, 0.95) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 1;
    transition: all var(--transition-smooth);
}

.experience-card:hover .experience-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 212, 255, 0.1) 0%,
        rgba(0, 0, 0, 0.85) 50%,
        rgba(0, 0, 0, 0.98) 100%
    );
}

.experience-content {
    transform: translateY(20px);
    transition: transform var(--transition-smooth);
}

.experience-card:hover .experience-content {
    transform: translateY(0);
}

.experience-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.experience-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-smooth);
}

.experience-card:hover .experience-content p {
    opacity: 1;
    transform: translateY(0);
}

.experience-date {
    display: inline-block;
    background: var(--neon-blue);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

/* Card hover border effect */
.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
}

.experience-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5),
                inset 0 0 30px rgba(0, 212, 255, 0.1);
}

/* ================================
   RESPONSIVE - TABLET
   ================================ */

@media (max-width: 968px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 1;
    }
    
    .timeline-dot {
        display: none;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .education-section::before {
        left: 0;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .experiences-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .experience-card.large,
    .experience-card.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-icon {
        min-width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
}

/* ================================
   RESPONSIVE - MOBILE
   ================================ */

@media (max-width: 640px) {
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-subtitle {
        font-size: 0.95rem;
    }
    
    .project-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .experiences-gallery {
        grid-template-columns: 1fr;
    }
    
    .experience-content h3 {
        font-size: 1.2rem;
    }
    
    .experience-overlay {
        padding: 20px;
    }
    
    .achievement-item {
        padding: 20px;
    }
    
    .achievement-icon {
        font-size: 2rem;
        min-width: 60px;
        height: 60px;
    }
}

/* ================================
   ADVANCED ANIMATIONS
   ================================ */

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

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Apply floating animation to icons */
.stat-icon,
.achievement-icon {
    animation: float 3s ease-in-out infinite;
}

/* Stagger floating animations */
.stat-card:nth-child(1) .stat-icon { animation-delay: 0s; }
.stat-card:nth-child(2) .stat-icon { animation-delay: 0.2s; }
.stat-card:nth-child(3) .stat-icon { animation-delay: 0.4s; }
.stat-card:nth-child(4) .stat-icon { animation-delay: 0.6s; }

/* Smooth entrance animations */
.aos-animate {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* Magnetic cursor effect for cards */
@media (hover: hover) {
    .project-card,
    .experience-card,
    .achievement-item {
        transform-style: preserve-3d;
        will-change: transform;
    }
}
