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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background: #0a0a0a; /* Keep as fallback */
    background-image: 
        linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%),
        radial-gradient(circle at 15% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 40%);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-text {
    display: flex;
    margin-bottom: 40px;
}

.letter {
    display: inline-block;
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: letterReveal 0.5s forwards;
}

.letter:nth-child(1) { animation-delay: 0.1s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.3s; }
.space { width: 20px; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }
.letter:nth-child(7) { animation-delay: 0.6s; }
.letter:nth-child(8) { animation-delay: 0.7s; }
.letter:nth-child(9) { animation-delay: 0.8s; }

.loading-bar {
    width: 300px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0066ff, #00ccff);
    animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingProgress {
    to { width: 100%; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    text-decoration: none;
}

.nav-logo span {
    color: #0066ff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066ff;
    transition: width 0.3s ease;
}

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

.nav-resume {
    background: #0066ff;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-resume:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        /* Remove old gradients, add new subtle ones */
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 80% 30%, rgba(0, 102, 255, 0.03) 0%, transparent 60%),
        /* Add subtle grid pattern */
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 80px 80px, 80px 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    color: #0066ff;
    margin-bottom: 20px;
    opacity: 0;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.word-highlight {
    color: #0066ff;
    position: relative;
    display: inline-block;
}

.word-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(0, 102, 255, 0.2);
    z-index: -1;
}

.typing-text {
    border-right: 3px solid #0066ff;
    padding-right: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #0066ff; }
}

.hero-description {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0066ff;
    color: white;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: #0066ff;
    transform: translateY(-3px);
}

.hero-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
    opacity: 0;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0066ff;
}

.info-content h5 {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 5px;
}

.info-content p {
    font-size: 1rem;
    color: #fff;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    opacity: 0.7;
    animation: float 2s ease-in-out infinite;
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: #fff;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.section-number {
    color: #0066ff;
    font-size: 1.5rem;
    opacity: 0.5;
}

.section-subtitle {
    color: #aaa;
    font-size: 1.1rem;
    max-width: 600px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

.about-text p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.highlight {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
}

.highlight i {
    font-size: 2rem;
    color: #0066ff;
    margin-bottom: 15px;
}

.highlight h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.highlight p {
    font-size: 0.9rem;
    color: #aaa;
}

.about-image {
    position: sticky;
    top: 100px;
}

.image-frame {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    background: transparent !important; /* ADD THIS LINE */
}

.image-overlay {
    display: none !important; /* This removes it completely */
}
.image-placeholder {
    width: 100%;
    height: 100%;
    background: transparent !important; /* CHANGE THIS LINE */
    display: none; /* ADD THIS - hides it completely */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #aaa;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #0066ff;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-info i {
    color: #0066ff;
    width: 20px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-header i {
    font-size: 1.5rem;
    color: #0066ff;
}

.category-header h3 {
    font-size: 1.3rem;
    color: #fff;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 8px 0;
    color: #ccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 20px;
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #0066ff;
}

.skill-visualization {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
}

.skill-meter {
    margin-bottom: 25px;
}

.meter-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.meter-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0066ff, #00ccff);
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

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

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 102, 255, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 80px;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    padding: 5px 10px;
    background: #0066ff;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.3);
}

.timeline-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: #0066ff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.timeline-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.timeline-content li {
    padding: 5px 0;
    color: #ccc;
    padding-left: 20px;
    position: relative;
}

.timeline-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0066ff;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-tags span {
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 102, 255, 0.3);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: #0066ff;
}

.achievement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.achievement-card p {
    color: #ccc;
    line-height: 1.6;
}

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

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.contact-info > p {
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0066ff;
}

.contact-item h4 {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 1.1rem;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0066ff;
    transform: translateY(-3px);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cta-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.3);
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.cta-card p {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-brand h3 span {
    color: #0066ff;
}

.footer-brand p {
    color: #aaa;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0066ff;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
}

.footer-copyright p:first-child {
    margin-bottom: 5px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

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

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content,
    .skills-grid,
    .achievements-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        padding: 20px;
        transition: left 0.3s ease;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-date {
        position: relative;
        margin-bottom: 10px;
        left: 0;
        width: auto;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== FIXED PROFILE PHOTO ===== */
.about-image .image-frame {
    background: transparent !important;
    overflow: visible !important;
}

.about-image .image-frame img.profile-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    background: transparent !important;
}

.image-placeholder {
    display: none !important;
}

.image-overlay {
    display: none !important;
}
/* ===== EDUCATION SECTION ===== */

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.education-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0066ff, #00ccff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.education-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.3);
}

.education-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.education-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0066ff;
}

.education-details h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.education-details h4 {
    font-size: 1rem;
    color: #0066ff;
    margin-bottom: 5px;
}

.education-dates {
    color: #aaa;
    font-size: 0.9rem;
}

/* Certification Badges */
.certifications {
    margin-top: 40px;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.badge {
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: translateY(-2px);
}

/* Language Meter */
.language-meter {
    margin-bottom: 25px;
}

.language-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.language-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.language-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0066ff, #00ccff);
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

/* Interactive Tags */
.interactive-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.tag:hover::before {
    left: 100%;
}

.tag:hover {
    background: rgba(0, 102, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.tag.active {
    background: #0066ff;
    color: white;
}

/* ===== ENHANCED ANIMATIONS ===== */

/* Glow Effects */
.skill-category, .achievement-card, .timeline-content {
    position: relative;
    overflow: hidden;
}

.skill-category::before, .achievement-card::before, .timeline-content::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.skill-category:hover::before, .achievement-card:hover::before, .timeline-content:hover::before {
    opacity: 1;
}

/* Shimmer effect for skill bars */
.meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

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

/* Floating animation for hero elements */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
/* ===== NUCLEAR PROFILE FIX ===== */
.about-image .image-frame {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.about-image .image-frame::before,
.about-image .image-frame::after {
    display: none !important;
}

.about-image .image-frame img.profile-photo {
    background: transparent !important;
    mix-blend-mode: normal !important;
    filter: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

/* Remove any potential overlays */
.about-image .image-frame > *:not(img) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
