@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* CSS Variables */
:root {
    --primary-black: #0a0a0a;
    --secondary-black: #111111;
    --tertiary-black: #1a1a1a;
    --primary-red: #ff0a0a;
    --secondary-red: #cc0000;
    --accent-red: #ff3333;
    --pure-white: #ffffff;
    --off-white: #f5f5f5;
    --gray-light: #cccccc;
    --gray-medium: #888888;
    --gray-dark: #333333;
    
    --glass-bg: rgba(26, 26, 26, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-black);
    color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: var(--transition-slow);
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    animation: loadingPulse 2s ease-in-out infinite;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo .logo-text {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(255, 10, 10, 0.5);
    margin-bottom: 1rem;
    display: block;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
    animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

.loading-text {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.loading-progress {
    width: 200px;
    height: 2px;
    background: var(--gray-dark);
    border-radius: 1px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-red));
    width: 0;
    animation: loadingProgress 3s ease-out forwards;
}

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

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* Particle Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Glass Morphism Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 10, 10, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

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

.nav-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 10, 10, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--pure-white);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--pure-white);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-image-container {
    position: relative;
    flex-shrink: 0;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-red);
    transition: var(--transition-smooth);
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 10, 10, 0.3) 0%, transparent 70%);
    animation: profileGlow 3s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes profileGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--pure-white), var(--gray-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-container {
    height: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.typing-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: var(--primary-red);
    font-weight: 500;
}

.cursor {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: var(--primary-red);
    animation: blink 1s infinite;
    margin-left: 2px;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    line-height: 1.6;
}

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

.quick-stats {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    background: rgba(255, 10, 10, 0.1);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-light);
    font-weight: 500;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-links {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.social-link:hover {
    color: var(--pure-white);
    background: var(--primary-red);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 10, 10, 0.4);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--pure-white);
}

.btn-primary:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 10, 10, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Overview Section */
.overview-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.overview-card,
.tech-highlights {
    padding: 2rem;
}

.overview-card h2,
.tech-highlights h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--pure-white);
}

.focus-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.focus-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.focus-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.focus-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.focus-item p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-category h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-light);
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

.tech-tag:hover {
    background: rgba(255, 10, 10, 0.2);
    color: var(--pure-white);
    border-color: var(--primary-red);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 10, 10, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.2rem;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Ultra-wide screens optimization */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-header i {
    color: var(--primary-red);
}

.section-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    margin: 0 auto;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-red), var(--accent-red));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 2rem;
    margin-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 2rem;
    width: 12px;
    height: 12px;
    background: var(--primary-red);
    border-radius: 50%;
    border: 3px solid var(--primary-black);
    box-shadow: 0 0 10px rgba(255, 10, 10, 0.5);
}

.exp-header {
    margin-bottom: 1.5rem;
}

.exp-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.company {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1.1rem;
}

.exp-period,
.exp-location {
    color: var(--gray-light);
    font-size: 0.95rem;
    display: block;
    margin-top: 0.2rem;
}

.exp-achievements {
    list-style: none;
    padding: 0;
}

.exp-achievements li {
    color: var(--gray-light);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.exp-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.exp-achievements strong {
    color: var(--pure-white);
}

/* Collaborations */
.collaborations {
    margin-top: 4rem;
    padding: 2rem;
}

.collaborations h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.collaborations i {
    color: var(--primary-red);
}

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

.collab-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    transition: var(--transition-smooth);
}

.collab-item:hover {
    background: rgba(255, 10, 10, 0.1);
    transform: translateY(-2px);
}

.collab-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.collab-company {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.collab-item p {
    color: var(--gray-light);
    line-height: 1.6;
}

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

/* Responsive breakpoints for projects */
@media (max-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

.project-card {
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.project-card.featured {
    border: 2px solid var(--primary-red);
    background: rgba(255, 10, 10, 0.05);
}

.project-card.featured::before {
    content: 'LATEST';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-red);
    color: var(--pure-white);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.project-header {
    margin-bottom: 1.5rem;
}

.project-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.project-date {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 500;
}

.project-description {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-description strong {
    color: var(--pure-white);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech .tech-tag {
    background: rgba(255, 10, 10, 0.2);
    color: var(--gray-light);
    border-color: rgba(255, 10, 10, 0.3);
}

/* Publications */
.publication-card {
    padding: 2rem;
}

.pub-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pure-white);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.pub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.journal {
    color: var(--gray-light);
    font-size: 1rem;
}

.impact-factor {
    background: var(--primary-red);
    color: var(--pure-white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pub-authors {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pub-abstract {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.pub-actions {
    display: flex;
    gap: 1rem;
}

/* Skills Grid - Fully Responsive */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
    gap: 1.5rem;
}

/* Responsive breakpoints for skills */
@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 1.4rem;
    }
}

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.skill-category {
    padding: 1.8rem;
    max-height: 500px;
    overflow-y: auto;
}

.skill-category::-webkit-scrollbar {
    width: 4px;
}

.skill-category::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.skill-category::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 2px;
}

.skill-category::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

.skill-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skill-category i {
    color: var(--primary-red);
}

.skill-details {
    margin-bottom: 1.2rem;
}

.category-description {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-style: italic;
    line-height: 1.4;
}

.skill-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-bullets li {
    color: var(--gray-light);
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
    font-size: 0.85rem;
}

.skill-bullets li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1rem;
}

.skill-bullets strong {
    color: var(--pure-white);
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.skill-tag.expert {
    background: var(--primary-red);
    color: var(--pure-white);
}

.skill-tag.advanced {
    background: rgba(255, 10, 10, 0.3);
    color: var(--pure-white);
    border-color: var(--primary-red);
}

.skill-tag.intermediate {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    border-color: var(--glass-border);
}

.skill-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Education */
.education-card {
    padding: 2rem;
    margin-bottom: 2rem;
}

.edu-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.edu-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.edu-institution {
    color: var(--gray-light);
    font-size: 1.1rem;
}

.edu-period {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

.edu-cgpa {
    background: var(--primary-red);
    color: var(--pure-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.edu-courses h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.course-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-light);
    border: 1px solid var(--glass-border);
}

/* Achievements */
.achievements {
    padding: 2rem;
    margin-top: 2rem;
}

.achievements h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.achievements i {
    color: var(--primary-red);
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.achievement-item:hover {
    background: rgba(255, 10, 10, 0.1);
    transform: translateY(-2px);
}

.achievement-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.achievement-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 0.3rem;
}

.achievement-item p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: var(--secondary-black);
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}

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

.footer-content p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

/* Responsive Design */
/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        margin-left: 1rem;
        padding: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .skill-category {
        max-height: none;
        padding: 1.5rem;
    }
    
    .collab-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Small tablets and large phones */
@media (max-width: 600px) {
    .quick-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-category {
        padding: 1.2rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .loading-logo .logo-text {
        font-size: 3rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .profile-info h1 {
        font-size: 1.8rem;
    }
    
    .typing-text,
    .cursor {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
      .project-card,
  .skill-category,
  .education-card,
  .achievements,
  .collaborations {
    padding: 1.5rem;
  }
  
  .skill-bullets li {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }
  
  .category-description {
    font-size: 0.9rem;
  }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}
