/* Main CSS Styles */
body {
margin: 0;
background: black;
color: white;
font-family: Inter, sans-serif;
}

/* Global link styles - make links look like normal text */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}
.screen {
min-height: 100vh;
padding: 60px;
}
.name {
font-size: 4rem;
font-weight: 800;
}
.tag {
opacity: 0.7;
}
.project-grid {
display: grid;
gap: 20px;
grid-template-columns: repeat(auto fit, minmax(250px, 1fr));
}
.project-card {
background: rgb(20, 20, 20);
padding: 20px;
border-radius: 10px;
transition: transform 0.2s;
}
.project-card:hover {
transform: scale(1.05);
}
.project-page {
padding: 40px;
}


/* ========== Netflix-Inspired Centered Layout ========== */

/* Center all main containers */
.container, .hero-content, .section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Hero Section - Bold & Centered */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 5rem !important;
    font-weight: 900 !important;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-align: center;
}

.hero .tagline {
    font-size: 1.8rem !important;
    font-weight: 500;
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
}

.hero .subtitle {
    font-size: 1.2rem !important;
    opacity: 0.8;
    margin: 15px auto;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px auto;
}

/* Section Titles - Centered */
.section-title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    text-align: center;
    margin: 60px auto 50px;
}

/* Projects Grid - Centered */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* Skills Grid - Centered */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category {
    text-align: center;
    min-width: 200px;
}

.skill-category h3 {
    text-align: center;
    margin-bottom: 20px;
}

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

/* About Section - Centered */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    text-align: center;
}

.about-text p {
    text-align: center;
    margin: 20px auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.achievements {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin: 50px auto;
}

.achievement-item {
    text-align: center;
}

/* Contact Section - Centered */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-form {
    margin: 0 auto;
    text-align: center;
}

.contact-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 40px auto;
}

/* Navbar - Centered Items */
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem !important;
    }
    
    .hero .tagline {
        font-size: 1.3rem !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements {
        flex-direction: column;
        gap: 30px;
    }
}


/* ========== CRITICAL FIXES ========== */

/* 1. Fix particle canvas to cover entire page */
#particles {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* 2. Hide project images to prevent flickering */
.project-image {
    display: none !important;
}



/* 4. Improve tech stack styling */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.project-tech span,
.skill-item {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(100, 255, 218, 0.05)) !important;
    color: #64ffda !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border: 1px solid rgba(100, 255, 218, 0.3) !important;
    transition: all 0.3s ease !important;
}

.project-tech span:hover,
.skill-item:hover {
    background: rgba(100, 255, 218, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3) !important;
}

/* 5. Hide contact form */
.contact-form {
    display: none !important;
}

/* 6. Improve social links spacing */
.contact-links,
.social-links {
    display: flex !important;
    gap: 40px !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 40px auto !important;
}

.contact-links a,
.social-links a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 24px !important;
    background: rgba(100, 255, 218, 0.1) !important;
    border: 2px solid #64ffda !important;
    border-radius: 8px !important;
    color: #64ffda !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
}

.contact-links a:hover,
.social-links a:hover {
    background: rgba(100, 255, 218, 0.2) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.4) !important;
}

/* 7. Make project info centered */
.project-info {
    text-align: center !important;
    padding: 20px !important;
}

.project-info h3 {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
    color: #fff !important;
}

.project-info p {
    line-height: 1.6 !important;
    opacity: 0.9 !important;
}

/* 8. Improve project card styling */
.project-card {
    background: rgba(20, 20, 20, 0.8) !important;
    border: 1px solid rgba(100, 255, 218, 0.2) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.project-card:hover {
    border-color: rgba(100, 255, 218, 0.5) !important;
    box-shadow: 0 8px 30px rgba(100, 255, 218, 0.2) !important;
}

/* 9. Ensure all content is above particles */
body > *:not(#particles) {
    position: relative;
    z-index: 1;
}

.navbar,
.hero,
.section,
.footer {
    position: relative;
    z-index: 10;
}

/* 10. Project link styling */
.project-link {
    color: #64ffda !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 15px !important;
    padding: 10px 20px !important;
    border: 2px solid #64ffda !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.project-link:hover {
    background: rgba(100, 255, 218, 0.1) !important;
    transform: translateX(5px) !important;
}
