:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --dark: #0f0f23;
    --dark-light: #1a1a2e;
    --dark-lighter: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
                var(--dark);
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-delay: 0s; }
.shape:nth-child(2) { width: 60px; height: 60px; left: 20%; animation-delay: -5s; }
.shape:nth-child(3) { width: 100px; height: 100px; left: 70%; animation-delay: -10s; }
.shape:nth-child(4) { width: 40px; height: 40px; left: 90%; animation-delay: -15s; }

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px 30px;
    transition: all 0.3s ease;
    max-width: 90%;
    width: auto;
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 8px 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 400;
}

.typing-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 40px;
    min-height: 30px;
}

.cursor {
    animation: blink 1s infinite;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    position: relative;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
}

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

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

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--glass);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-5px);
    color: white;
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

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

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 20px;
}

.highlight {
    color: var(--text-primary);
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 5px;
}

/* Skills Section */
.skills {
    padding: 100px 20px;
    background: var(--dark-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.skill-category:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.skill-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-item {
    background: var(--dark-lighter);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    padding: 100px 20px;
}

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

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

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.project-header {
    height: 200px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.3"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.4"/><circle cx="40" cy="70" r="2.5" fill="white" opacity="0.2"/></svg>');
    animation: float 10s linear infinite;
}

.project-icon {
    font-size: 3rem;
    color: white;
    z-index: 1;
    position: relative;
}

.project-body {
    padding: 30px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.tech-tag {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Education Section */
.education {
    padding: 100px 20px;
    background: var(--dark-light);
}

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

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
}

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

.timeline-dot {
    position: absolute;
    left: 21px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    border: 4px solid var(--dark-light);
    z-index: 1;
}

.timeline-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

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

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-badge.engineering {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.timeline-badge.pre-university {
    background: linear-gradient(45deg, var(--accent), var(--success));
    color: white;
}

.timeline-badge.secondary {
    background: linear-gradient(45deg, var(--warning), var(--error));
    color: white;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.timeline-grade {
    background: var(--glass);
    color: var(--success);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.timeline-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Experience Section */
.experience {
    padding: 100px 20px;
}

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

.experience-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.experience-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

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

.experience-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.experience-meta {
    flex: 1;
}

.experience-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.3;
}

.experience-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.experience-description {
    margin-bottom: 20px;
}

.experience-description p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exp-skill {
    background: var(--dark-lighter);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.exp-skill:hover {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

/* Achievements Section */
.achievements {
    padding: 100px 20px;
    background: var(--dark-light);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.achievement-card.winner::before {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.achievement-card.top-performer::before {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.achievement-card.certification::before {
    background: linear-gradient(90deg, var(--success), var(--accent));
}

.achievement-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 20px;
    position: relative;
    animation: achievementPulse 2s ease-in-out infinite;
}

.achievement-card.winner .achievement-icon {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
}

.achievement-card.top-performer .achievement-icon {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.achievement-card.certification .achievement-icon {
    background: linear-gradient(45deg, var(--success), var(--accent));
}

@keyframes achievementPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.achievement-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.achievement-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.achievement-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-card.winner .achievement-badge {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: white;
}

.achievement-card.top-performer .achievement-badge {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.achievement-card.certification .achievement-badge {
    background: linear-gradient(45deg, var(--success), var(--accent));
    color: white;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: var(--dark-light);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.contact-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    text-align: center;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 20px;
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info {
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--dark-light);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        width: calc(100% - 20px);
        max-width: none;
        padding: 10px 20px;
        border-radius: 20px;
    }

    .nav-container {
        gap: 15px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1rem;
        padding: 10px;
        text-align: center;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .nav-link:hover, .nav-link.active {
        background: var(--glass);
        color: var(--text-primary);
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        padding: 80px 15px 0;
        min-height: calc(100vh - 80px);
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        margin-bottom: 10px;
    }

    .typing-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .social-links {
        gap: 15px;
        margin-bottom: 30px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .section-header {
        margin-bottom: 50px;
        padding: 0 10px;
    }

    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        font-size: 1rem;
        order: 1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        order: 2;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .timeline-container {
        padding: 0 10px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
        margin-bottom: 30px;
    }

    .timeline-dot {
        left: 11px;
        width: 18px;
        height: 18px;
        border: 3px solid var(--dark-light);
    }

    .timeline-card {
        padding: 20px;
    }

    .timeline-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .timeline-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .timeline-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experience-card {
        padding: 20px;
    }

    .experience-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .experience-meta {
        text-align: center;
    }

    .experience-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .experience-date {
        font-size: 0.85rem;
    }

    .experience-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-category {
        padding: 30px 20px;
    }

    .skill-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .skill-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .skill-items {
        gap: 8px;
    }

    .skill-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-card {
        min-width: unset;
    }

    .project-body {
        padding: 25px;
    }

    .project-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .project-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .project-tech {
        gap: 6px;
        margin-bottom: 20px;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    .project-links {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .project-link {
        font-size: 0.9rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .achievement-card {
        padding: 25px;
    }

    .achievement-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .achievement-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .achievement-desc {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .achievement-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px 25px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .contact-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .contact-info {
        font-size: 0.9rem;
    }

    .footer {
        padding: 30px 15px;
        font-size: 0.9rem;
    }

    .loader-logo {
        font-size: 1.8rem;
    }

    .loader-bar {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .navbar {
        top: 5px;
        left: 5px;
        right: 5px;
        width: calc(100% - 10px);
        padding: 8px 15px;
        border-radius: 15px;
    }

    .nav-links {
        top: 60px;
        left: 5px;
        right: 5px;
        padding: 15px;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 8px;
    }

    .hero {
        padding: 70px 10px 0;
    }

    .hero-title {
        font-size: clamp(2rem, 15vw, 3.5rem);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 5vw, 1.2rem);
        margin-bottom: 8px;
    }

    .typing-text {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
        margin-bottom: 15px;
    }

    .hero-buttons {
        margin-bottom: 35px;
        gap: 12px;
    }

    .btn {
        max-width: 260px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .social-links {
        gap: 12px;
        margin-bottom: 25px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 40px;
        padding: 0 5px;
    }

    .section-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 5px;
    }

    .about, .skills, .projects, .experience, .achievements, .education, .contact {
        padding: 60px 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .timeline-item {
        padding-left: 40px;
        margin-bottom: 25px;
    }

    .timeline-line {
        left: 15px;
    }

    .timeline-dot {
        left: 6px;
        width: 16px;
        height: 16px;
        border: 2px solid var(--dark-light);
    }

    .timeline-card {
        padding: 15px;
    }

    .timeline-title {
        font-size: 1rem;
    }

    .timeline-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .experience-card, .achievement-card, .contact-card {
        padding: 18px;
    }

    .experience-title, .achievement-title, .contact-title {
        font-size: 1rem;
    }

    .experience-icon, .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .achievement-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .skill-category {
        padding: 25px 15px;
    }

    .skill-title {
        font-size: 1.1rem;
    }

    .skill-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .project-body {
        padding: 20px;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.9rem;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 2px 8px;
    }

    .footer {
        padding: 25px 10px;
        font-size: 0.85rem;
    }

    .loader-logo {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .loader-bar {
        width: 120px;
        height: 3px;
    }
}

/* Utility Classes for Mobile */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
    
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
}