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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #111827;
    color: white;
    overflow-x: hidden;
}

/* Utility Classes */
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.text-center { text-align: center; }
.font-bold { font-weight: bold; }
.transition-all { transition: all 0.3s ease; }
.cursor-pointer { cursor: pointer; }

/* Gradients */
.gradient-text {
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(45deg, #00bcd4, #e91e63);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.loading-brain {
    width: 4rem;
    height: 4rem;
    color: #00bcd4;
    animation: spin 2s linear infinite;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(0,188,212,0.5));
}

.loading-text {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 1.25rem;
    color: #00bcd4;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-30px); }
    70% { transform: translateY(-15px); }
    90% { transform: translateY(-4px); }
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 40;
    background: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo {
    font-weight: bold;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #00bcd4;
}

.theme-toggle {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.resume-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resume-btn:hover {
    box-shadow: 0 10px 25px rgba(0,188,212,0.25);
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://source.unsplash.com/random/1920x1080');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: -1;
}
.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(233, 30, 99, 0.2));
    opacity: 0.5;
}
/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loading-brain {
    width: 4rem;
    height: 4rem;
    color: #00bcd4;
    animation: spin 2s linear infinite;
    margin-bottom: 1rem;
}
.loading-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.25rem;
    color: #00bcd4;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.nav-logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #00bcd4;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #00bcd4;
}
.nav-link.contact-btn {
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}
.nav-link.contact-btn:hover {
    box-shadow: 0 10px 25px rgba(0,188,212,0.25);
}
/*Performance chart styles*/
.performance-chart {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.performance-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

/*Skills Section*/
.skills-section {
    background: #1f2937;
    padding: 3rem 0;
}
.skills-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}
.skills-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}
.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,188,212,0.25);
}
.skill-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}
.skill-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}
.skill-description {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #111827 0%, #1e3a8a 50%, #7c3aed 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-particles {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background: rgba(0, 188, 212, 0.3);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #5eead4;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0,188,212,0.25);
}

.hero-btn-gradient {
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    color: white;
}

.hero-btn-gradient:hover {
    box-shadow: 0 10px 25px rgba(0,188,212,0.25);
}

.hero-avatar {
    display: flex;
    justify-content: center;
}

.avatar-container {
    position: relative;
}

.avatar-circle {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bcd4, #e91e63);
    padding: 0.25rem;
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(135deg, #00bcd4, #e91e63);
    border-radius: 50%;
    filter: blur(1rem);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

.chevron-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
}

.section-divider {
    width: 8rem;
    height: 0.25rem;
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    margin: 0 auto 4rem;
}
.section-description {
    font-size: 1.125rem;
    color: #d1d5db;
    text-align: center;
    margin-bottom: 2rem;
}

/* Projects Section */
.projects {
    background: #1f2937;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.project-card {
    background: linear-gradient(135deg, #374151, #1f2937);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #00bcd4;
    box-shadow: 0 10px 25px rgba(0,188,212,0.25);
}

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

.tech-tag {
    padding: 0.25rem 0.5rem;
    background: rgba(0, 188, 212, 0.2);
    color: #00bcd4;
    border-radius: 0.5rem;
    font-size: 0.75rem;
}

.project-buttons {
    display: flex;
    gap: 0.75rem;
}

.project-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.project-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.project-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.project-btn-cyan {
    background: rgba(0, 188, 212, 0.2);
    color: #00bcd4;
}

.project-btn-cyan:hover {
    background: rgba(0, 188, 212, 0.3);
}

/* Charts Section */
.charts {
    background: linear-gradient(to bottom, #1f2937, #111827);
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.chart-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.chart-container {
    width: 100%;
    height: 250px;
    position: relative;
}

/* Detail Pages */
.detail-page {
    min-height: 100vh;
    background: linear-gradient(to bottom, #111827, #000);
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.detail-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.detail-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}

.project-detail-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.project-detail-card:hover {
    border-color: rgba(0, 188, 212, 0.5);
}

.project-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: white;
}

.category-badge {
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-description {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tech-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #374151;
    border-radius: 0.5rem;
}

.detail-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-btn-gray {
    background: linear-gradient(45deg, #374151, #1f2937);
    color: white;
}

.detail-btn-gray:hover {
    background: linear-gradient(45deg, #4b5563, #374151);
}

.detail-btn-gradient {
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    color: white;
}

.detail-btn-gradient:hover {
    box-shadow: 0 10px 25px rgba(0,188,212,0.25);
}

.detail-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.detail-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hackathons */
.hackathon-item {
    position: relative;
    margin-bottom: 3rem;
}

.hackathon-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hackathon-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.hackathon-meta {
    color: #00bcd4;
}

.hackathon-content {
    margin-left: 4.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00bcd4;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    box-shadow: 0 10px 25px rgba(0,188,212,0.25);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .detail-title {
        font-size: 2rem;
    }
    
    .avatar-circle {
        width: 16rem;
        height: 16rem;
    }
}

    /* Resume Page Styles */
.resume-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00bcd4, #e91e63);
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,188,212,0.2);
}

.resume-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,188,212,0.3);
}

/* Social Media Buttons */
.socialmedia-btn {
    margin: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,188,212,0.2);
}

.socialmedia-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,188,212,0.3);
}

.resume-preview {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
}

.resume-section {
    margin-bottom: 3rem;
}

.resume-section:last-child {
    margin-bottom: 0;
}

.resume-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-icon {
    color: #00bcd4;
}

.resume-item {
    margin-bottom: 2rem;
}

.resume-item:last-child {
    margin-bottom: 0;
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.resume-item-header h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.resume-date {
    color: #00bcd4;
    font-size: 0.875rem;
}

.resume-item-subheader {
    color: #d1d5db;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.resume-list {
    list-style-type: none;
    padding-left: 1.5rem;
}

.resume-list li {
    position: relative;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.resume-list li:before {
    content: "•";
    color: #00bcd4;
    position: absolute;
    left: -1.5rem;
}

.resume-certifications {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .resume-certifications {
        grid-template-columns: 1fr 1fr;
    }
}

.resume-certification {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9ca3af;
}

.resume-certification i {
    color: #10b981;
}
.resume-certification a {
    color: #00bcd4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.parallax-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
    perspective: 1000px;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Stars background */
.stars-bg {
    background-image: 
        radial-gradient(1px 1px at 25% 25%, white 100%, transparent 100%),
        radial-gradient(1px 1px at 50% 50%, white 100%, transparent 100%),
        radial-gradient(2px 2px at 75% 75%, white 100%, transparent 100%),
        radial-gradient(1px 1px at 10% 90%, white 100%, transparent 100%),
        radial-gradient(1px 1px at 85% 15%, white 100%, transparent 100%);
    background-size: 250px 250px;
    opacity: 0.5;
}

/* Medium stars */
.star {
    position: absolute;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
}

.medium-star {
    width: 3px;
    height: 3px;
    animation: twinkle 4s infinite ease-in-out;
}

.large-star {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.7);
    animation: twinkle 6s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Nebula effects */
.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.2;
}

.nebula-1 {
    width: 300px;
    height: 300px;
    top: 15%;
    left: 10%;
    background: linear-gradient(45deg, #00bcd4, #1a237e);
    animation: pulse 10s infinite alternate;
}

.nebula-2 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    right: 15%;
    background: linear-gradient(45deg, #e91e63, #7c3aed);
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    100% { transform: scale(1.2); opacity: 0.3; }
}

/* Mountains */
.mountain {
    position: absolute;
    bottom: 0;
    background: #111;
    clip-path: polygon(0% 100%, 100% 100%, 50% 0%);
}

.mountain-1 {
    width: 40%;
    height: 20%;
    left: 0;
    background: linear-gradient(180deg, #111 0%, #000 100%);
}

.mountain-2 {
    width: 60%;
    height: 25%;
    left: 30%;
    background: linear-gradient(180deg, #111 0%, #000 100%);
}

.mountain-3 {
    width: 30%;
    height: 15%;
    right: 0;
    background: linear-gradient(180deg, #111 0%, #000 100%);
}

/* Content */
.parallax-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: transform 0.2s ease-out;
    width: 80%;
    max-width: 80rem;
}

/* Override hero-content for parallax */
.hero-content {
    position: absolute;
    margin: 0;
    padding: 0;
}

/* Keep the chevron-down in view */
.chevron-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
    z-index: 10;
}
.mt-5 {
    margin-top: 3rem;
}

.comp-programming-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .comp-programming-grid {
    gap: 1.75rem;
    }
}

@media (min-width: 768px) {
    .comp-programming-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    }
}

@media (min-width: 1200px) {
    .comp-programming-grid {
    grid-template-columns: repeat(3, 1fr);
    }
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .charts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    }
}

.chart-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 640px) {
    .chart-card {
    padding: 1.5rem;
    }
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,188,212,0.25);
}

.leetcode-card, .hackerrank-card, .github-card {
    display: flex;
    flex-direction: column;
}

.platform-logo {
    height: 1.75rem;
    margin-right: 0.75rem;
    object-fit: contain;
}

@media (min-width: 640px) {
    .platform-logo {
    height: 2rem;
    margin-right: 1rem;
    }
}

.leetcode-header, .platform-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .leetcode-header, .platform-header {
    margin-bottom: 1.5rem;
    }
}

.leetcode-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
    .leetcode-stats {
    gap: 1rem;
    }
}

@media (min-width: 640px) {
    .leetcode-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 1.5rem;
    }
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .stat-item {
    padding: 0.75rem;
    }
}

.stat-value-PS, .stat-value-ES, .stat-value-MD, .stat-value-HS, .stat-value-CS {
    font-size: 1.1rem;
    font-weight: bold;
    color: #00bcd4;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .stat-value-PS, .stat-value-ES, .stat-value-MD, .stat-value-HS, .stat-value-CS {
    font-size: 1.25rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    color: #d1d5db;
}

@media (min-width: 640px) {
    .stat-label {
    font-size: 0.875rem;
    }
}

.leetcode-streak {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.2), rgba(255, 87, 34, 0.2));
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #ffc107;
}

@media (min-width: 640px) {
    .leetcode-streak {
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    }
}

.streak-icon {
    color: #ffc107;
}

.platform-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .platform-badges {
    gap: 1rem;
    margin-bottom: 1.5rem;
    }
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .badge {
    padding: 0.75rem;
    gap: 1rem;
    }
}

.badge-icon {
    width: 2rem;
    height: 2rem;
}

@media (min-width: 640px) {
    .badge-icon {
    width: 2.5rem;
    height: 2.5rem;
    }
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-name {
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .badge-name {
    font-size: 1rem;
    }
}

.badge-level {
    color: #00bcd4;
    font-size: 0.875rem;
}

.platform-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .platform-link {
    padding: 0.75rem;
    font-size: 1rem;
    }
}

.platform-link:hover {
    background: rgba(0, 188, 212, 0.2);
    color: #00bcd4;
}

.platform-link i {
    color: #00bcd4;
}

.platform-link:hover i {
    color: #fff;
}

.platform-link i {
    width: 1.1rem;
    height: 1.1rem;
}

@media (min-width: 640px) {
    .platform-link i {
    width: 1.25rem;
    height: 1.25rem;
    }
}

.chart-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 0.75rem 0;
}

@media (min-width: 640px) {
    .chart-container {
    height: 250px;
    margin: 1rem 0;
    }
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    text-align: center;
}

@media (min-width: 640px) {
    .chart-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    }
}

/* Fix for small mobile screens */
@media (max-width: 375px) {
    .section-container {
    padding: 0 1rem;
    }
    
    .chart-card {
    padding: 0.75rem;
    }
    
    .leetcode-stats {
    gap: 0.5rem;
    }
    
    .stat-item {
    padding: 0.4rem;
    }
    
    .stat-value-PS, .stat-value-ES, .stat-value-MD, .stat-value-HS, .stat-value-CS {
    font-size: 0.9rem;
    }
    
    .stat-label {
    font-size: 0.7rem;
    }
    
    .badge-name, .badge-level {
    font-size: 0.8rem;
    }
    
    .chart-container {
    height: 180px;
    }
}
/* About Section Styles */
.about-content {
background: rgba(255, 255, 255, 0.03);
border-radius: 1rem;
padding: 2rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
margin-bottom: 3rem;
}

.about-content:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 188, 212, 0.15);
}

.about-text {
font-size: 1.125rem;
color: #d1d5db;
line-height: 1.8;
margin-bottom: 1.5rem;
text-align: justify;
}

.about-text:last-child {
margin-bottom: 0;
}

/* Image Carousel Styles */
.image-carousel-container {
margin-bottom: 3rem;
}

.carousel-title {
color: white;
text-align: center;
font-size: 1.75rem;
margin-bottom: 2rem;
position: relative;
padding-bottom: 0.75rem;
}

.carousel-title:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 50px;
height: 3px;
background: linear-gradient(45deg, #00bcd4, #e91e63);
border-radius: 3px;
}

.image-carousel {
position: relative;
overflow: hidden;
border-radius: 1rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
height: 450px;
background: #0c1322;
}

.carousel-track {
display: flex;
transition: transform 0.5s ease-in-out;
height: 100%;
}

.carousel-slide {
min-width: 100%;
position: relative;
opacity: 0;
transition: opacity 0.5s ease-in-out;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

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

.carousel-image {
width: 100%;
height: 100%;
object-fit: cover;
}

.image-caption {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
color: white;
padding: 2.5rem;
font-size: 1.125rem;
text-align: center;
opacity: 0;
transform: translateY(20px);
transition: all 0.3s ease;
}

.carousel-slide.active .image-caption {
opacity: 1;
transform: translateY(0);
}

.carousel-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 10;
background: rgba(0, 0, 0, 0.5);
color: white;
border: none;
width: 3rem;
height: 3rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
opacity: 0.7;
transition: all 0.3s ease;
}

.carousel-btn:hover {
background: linear-gradient(45deg, #00bcd4, #e91e63);
opacity: 1;
box-shadow: 0 0 15px rgba(0, 188, 212, 0.5);
}

.prev-btn {
left: 1rem;
}

.next-btn {
right: 1rem;
}

.carousel-indicators {
position: absolute;
bottom: 1rem;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 0.5rem;
z-index: 10;
}

.indicator {
width: 0.75rem;
height: 0.75rem;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
border: none;
cursor: pointer;
transition: all 0.3s ease;
}

.indicator:hover {
background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
background: linear-gradient(45deg, #00bcd4, #e91e63);
width: 2rem;
border-radius: 1rem;
box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

/* Skills Styles */
.skills-container {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.skills-title {
color: white;
text-align: center;
font-size: 1.75rem;
margin-bottom: 1.5rem;
position: relative;
padding-bottom: 0.75rem;
}

.skills-title:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 50px;
height: 3px;
background: linear-gradient(45deg, #00bcd4, #e91e63);
border-radius: 3px;
}

.skill-category {
background: linear-gradient(145deg, #1e293b, #111827);
padding: 1.5rem;
border-radius: 1rem;
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 188, 212, 0.2);
}

.skill-category-title {
display: flex;
align-items: center;
color: white;
font-size: 1.25rem;
margin-bottom: 1.25rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category-title i {
margin-right: 0.75rem;
color: #00bcd4;
}

.skill-badges {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}

.skill-badge {
background: linear-gradient(45deg, #00bcd4, #e91e63);
color: white;
padding: 0.5rem 1rem;
border-radius: 9999px;
font-size: 0.875rem;
font-weight: 500;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
cursor: default;
}

.skill-badge:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 8px 15px rgba(0, 188, 212, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.about-content, .skill-category {
padding: 1.5rem;
}

.about-text {
font-size: 1rem;
line-height: 1.7;
}

.skills-title, .carousel-title {
font-size: 1.5rem;
}

.skill-category-title {
font-size: 1.125rem;
}

.skill-badge {
font-size: 0.8125rem;
padding: 0.4rem 0.8rem;
}

.image-carousel {
    height: 350px;
}

.carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
}

.image-caption {
    padding: 1rem;
    font-size: 1rem;
}
}

@media (max-width: 480px) {
.about-content, .skill-category {
padding: 1.25rem;
}

.skill-badges {
gap: 0.5rem;
}

.skill-badge {
padding: 0.35rem 0.7rem;
font-size: 0.75rem;
}

.image-carousel {
    height: 250px;
}

.carousel-btn {
    width: 2rem;
    height: 2rem;
}

.image-caption {
    padding: 0.75rem;
    font-size: 0.875rem;
}
}