/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Home Page Theme - Cyberpunk Neon */
    --home-primary: #ff2e63;
    --home-secondary: #08f7fe;
    --home-accent: #00ff9f;
    --home-bg: #0a192f;
    --home-text: #e6f1ff;

    /* About Page Theme - Retro Futuristic */
    --about-primary: #ff6b6b;
    --about-secondary: #4ecdc4;
    --about-accent: #ffe66d;
    --about-bg: #2d3436;
    --about-text: #f5f6fa;

    /* Projects Page Theme - Hacker Terminal */
    --projects-primary: #00ff00;
    --projects-secondary: #00ffff;
    --projects-accent: #ff00ff;
    --projects-bg: #000000;
    --projects-text: #00ff00;

    /* Skills Page Theme - Matrix Digital Rain */
    --skills-primary: #00ff9f;
    --skills-secondary: #00d1ff;
    --skills-accent: #6C63FF;
    --skills-bg: #0a192f;
    --skills-text: #e6f1ff;

    /* Contact Page Theme - Space Nebula */
    --contact-primary: #9d4edd;
    --contact-secondary: #7b2cbf;
    --contact-accent: #c77dff;
    --contact-bg: #10002b;
    --contact-text: #e0aaff;

    --primary-color: #6C63FF;
    --secondary-color: #FF6584;
    --accent-color: #00D1FF;
    --dark-bg: #1A1A2E;
    --light-bg: #16213E;
    --text-color: #FFFFFF;
    --text-secondary: #B8B8B8;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
}

/* Header and Navigation */
header {
    background-color: rgba(26, 26, 46, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--home-text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--home-text);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--home-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--home-primary), var(--home-secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--home-bg) 0%, #112240 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(8, 247, 254, 0.1) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255, 46, 99, 0.1) 50%, transparent 55%);
    background-blend-mode: overlay;
    background-size: 3em 3em, 3em 3em;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
    z-index: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--home-primary);
    text-shadow: 0 0 20px rgba(255, 46, 99, 0.5);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 20px rgba(255, 46, 99, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 46, 99, 0.8),
                     0 0 40px rgba(8, 247, 254, 0.5);
    }
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary-color);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

/* Sections */
section {
    padding: 6rem 1rem;
    position: relative;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Project Cards */
.project-card {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
}

.project-card:active {
    animation: pulseClick 0.5s ease;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--accent-color);
}

/* Skills Page Styles */
.skills-background {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--skills-bg) 0%, #112240 100%);
    padding: 2rem 0;
    overflow: hidden;
}

.skills-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(0, 255, 159, 0.1) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(0, 209, 255, 0.1) 50%, transparent 55%);
    background-blend-mode: overlay;
    background-size: 3em 3em, 3em 3em;
    animation: gridMove 20s linear infinite;
    opacity: 0.2;
    z-index: 0;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 3em 3em; }
}

.skills-page {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 2rem;
}

.skills-page h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3.5rem;
    background: linear-gradient(45deg, #64ffda, #00d1ff, #6C63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(100, 255, 218, 0.6);
    }
}

.skill-category {
    background: rgba(17, 34, 64, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--skills-primary);
    box-shadow: 0 0 20px rgba(0, 255, 159, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 255, 159, 0.03) 50%, 
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.skill-category:hover::before {
    transform: translateX(100%);
}

.skill-category:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
    border-color: rgba(100, 255, 218, 0.3);
}

.skill-category:active {
    animation: pulseClick 0.5s ease;
}

.skill-category h3 {
    color: #64ffda;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skill-category h3 i {
    font-size: 1.4rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-items span {
    background: rgba(100, 255, 218, 0.05);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #e6f1ff;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.skill-items span::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: linear-gradient(90deg, #64ffda, #00d1ff, #6C63FF, #64ffda);
    background-size: 300% 100%;
    border-radius: 50px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.skill-items span:hover {
    transform: translateY(-2px) scale(1.05);
    color: #64ffda;
    border-color: transparent;
}

.skill-items span:active {
    animation: pulseClick 0.3s ease;
}

.skill-items span:hover::before {
    opacity: 1;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(16, 0, 43, 0.8);
    border: 1px solid var(--contact-primary);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--contact-text);
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
}

.submit-button:active {
    animation: pulseClick 0.5s ease;
}

/* Social Media Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem;
}

.social-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.social-icon i {
    position: relative;
    z-index: 2;
}

.social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.social-icon:hover::before {
    opacity: 1;
}

/* Individual social media colors */
.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.linkedin:hover {
    background: #0077b5;
}

.social-icon.github:hover {
    background: #333;
}

.social-icon.email:hover {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

/* Add pulse animation on hover */
@keyframes socialPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

.social-icon:hover {
    animation: socialPulse 1s infinite;
}

/* Add tooltip effect */
.social-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 3;
}

.social-icon:hover::after {
    opacity: 1;
    bottom: -25px;
}

/* Ensure links are clickable */
.social-icon a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Add active state */
.social-icon:active {
    transform: scale(0.95);
    animation: none;
}

/* Ensure icons are visible on all backgrounds */
.social-icon i {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(90deg, var(--home-bg), var(--home-bg));
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 46, 99, 0.2);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-text {
    background: rgba(45, 52, 54, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--about-primary);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
}

.achievements-list {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
}

.achievements-list li {
    margin-bottom: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.achievements-list li:hover {
    transform: translateX(10px);
    background: rgba(108, 99, 255, 0.2);
}

.about-image-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-photo-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.8);
    padding: 1rem;
    border: 1px solid rgba(108, 99, 255, 0.1);
    margin-bottom: 1rem;
}

.team-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
    transition: all 0.3s ease;
    display: block;
}

.team-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0) 0%, rgba(26, 26, 46, 0.1) 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.team-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.3);
}

.team-photo:hover::before {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0) 0%, rgba(26, 26, 46, 0.2) 100%);
}

.achievement-overlay {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(108, 99, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transform: rotate(5deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.achievement-badge {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.image-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    position: relative;
    z-index: 2;
}

.basketball-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: rgba(26, 26, 46, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(108, 99, 255, 0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */

/* Tablet and Medium Devices (768px and below) */
@media (max-width: 768px) {
    /* Header and Navigation */
    header {
        padding: 0.5rem 0;
    }
    
    nav {
        padding: 1rem 2%;
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 46, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 2rem 1rem;
        margin-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 1rem;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .achievements-list li {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .about-image-container {
        gap: 1rem;
    }
    
    .team-photo {
        padding-top: 75%; /* 4:3 Aspect ratio for mobile */
    }
    
    .achievement-overlay {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .basketball-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Contact Section */
    .contact-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .submit-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .social-links {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* Skills Page */
    .skills-page {
        padding: 1rem;
        margin-top: 60px;
    }
    
    .skills-page h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .skill-category h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .skill-items {
        gap: 0.8rem;
    }
    
    .skill-items span {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Small Devices and Phones (480px and below) */
@media (max-width: 480px) {
    /* Header and Navigation */
    header {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }
    
    nav {
        padding: 0.8rem 1%;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .nav-links a {
        padding: 0.2rem 0;
    }
    
    /* Hero Section */
    .hero {
        height: auto;
        min-height: 70vh;
        padding: 1.5rem 1rem;
        margin-top: 50px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    /* Sections */
    section {
        padding: 2rem 1rem;
    }
    
    section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    /* About Section */
    .about-text {
        padding: 1rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .achievements-list {
        margin-top: 1rem;
    }
    
    .achievements-list li {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .team-photo {
        padding-top: 80%; /* Taller aspect ratio for mobile */
    }
    
    .achievement-overlay {
        top: 0.8rem;
        right: 0.8rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .image-caption {
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }
    
    .basketball-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-icon {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Contact Section */
    .contact-container {
        gap: 1.5rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }
    
    .contact-form textarea {
        min-height: 100px;
    }
    
    .submit-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-icon::after {
        font-size: 0.7rem;
        bottom: -25px;
    }
    
    /* Skills Page */
    .skills-page {
        padding: 1rem;
        margin-top: 50px;
    }
    
    .skills-page h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .skills-container {
        gap: 1rem;
    }
    
    .skill-category {
        padding: 1rem;
    }
    
    .skill-category h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .skill-category h3 i {
        font-size: 1.1rem;
    }
    
    .skill-items {
        gap: 0.6rem;
    }
    
    .skill-items span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Footer */
    footer {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .footer-contact {
        font-size: 0.75rem;
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 320px) {
    .logo {
        font-size: 1.1rem;
    }
    
    .nav-links {
        gap: 0.3rem;
        font-size: 0.7rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* About Page Styles */
#about {
    background: linear-gradient(135deg, var(--about-bg) 0%, #1e272e 100%);
    position: relative;
}



@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Projects Page Styles */
#projects {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    position: relative;
    overflow: hidden;
}

#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 255, 0, 0.03) 50%, 
        transparent 100%),
        repeating-linear-gradient(
            0deg,
            rgba(0, 255, 0, 0.1) 0px,
            rgba(0, 255, 0, 0.1) 1px,
            transparent 1px,
            transparent 2px
        );
    animation: scan 2s linear infinite;
    opacity: 0.3;
}

@keyframes scan {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}

#projects::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center,
            transparent 0%,
            rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(45deg,
            rgba(0, 255, 0, 0.1) 0%,
            rgba(0, 0, 255, 0.1) 50%,
            rgba(255, 0, 255, 0.1) 100%);
    background-blend-mode: overlay;
    animation: pulse 4s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}

/* Contact Page Styles */
#contact {
    background: linear-gradient(135deg, var(--contact-bg) 0%, #240046 100%);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(157, 78, 221, 0.1) 0%, 
        transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    opacity: 0.5;
}

.contact-form input,
.contact-form textarea {
    background: rgba(16, 0, 43, 0.8);
    border: 1px solid var(--contact-primary);
    color: var(--contact-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

/* Add overlay to all backgrounds for better text readability */
.hero::after,
#about::after,
#projects::after,
.skills-background::after,
#contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 25, 47, 0.9) 0%,
        rgba(10, 25, 47, 0.7) 100%);
    z-index: 0;
}

/* Ensure content stays above background */
.hero-content,
.about-content,
.project-content,
.skills-page,
.contact-form {
    position: relative;
    z-index: 1;
}

/* Click Animations */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulseClick {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

/* Add click effect to all interactive elements */
.nav-links a,
.cta-button,
.project-card,
.skill-category,
.skill-items span,
.contact-form input,
.contact-form textarea,
.submit-button {
    position: relative;
    overflow: hidden;
}

.nav-links a::after,
.cta-button::after,
.project-card::after,
.skill-category::after,
.skill-items span::after,
.contact-form input::after,
.contact-form textarea::after,
.submit-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1);
    transition: all 0.3s ease;
}

.nav-links a:active::after,
.cta-button:active::after,
.project-card:active::after,
.skill-category:active::after,
.skill-items span:active::after,
.contact-form input:active::after,
.contact-form textarea:active::after,
.submit-button:active::after {
    animation: ripple 0.6s linear;
}

/* Add floating effect to project cards */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.project-card {
    animation: float 6s ease-in-out infinite;
}

/* Add glow effect to skill categories */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(100, 255, 218, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    }
}

.skill-category {
    animation: glowPulse 4s ease-in-out infinite;
} 