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

:root {
    --primary-color: #FF4D4D; /* Iron Man's arc reactor red */
    --secondary-color: #00BFFF; /* Iron Man's tech blue */
    --accent-color: #FFD700; /* Gold accents */
    --text-color: #E0E0E0;
    --light-text: #A0A0A0;
    --background: #0A0A0A; /* Dark background */
    --section-bg: #1A1A1A;
    --card-bg: #1A1A1A;
    --border-color: #333333;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(255, 77, 77, 0.2), 0 2px 4px -1px rgba(0, 191, 255, 0.2);
    --hover-shadow: 0 10px 15px -3px rgba(255, 77, 77, 0.3), 0 4px 6px -2px rgba(0, 191, 255, 0.3);
    --glow-red: rgba(255, 77, 77, 0.3);
    --glow-blue: rgba(0, 191, 255, 0.3);
    --tech-gradient: linear-gradient(135deg, #FF4D4D 0%, #00BFFF 100%);
    --batman-yellow: #FFD700;
    --batman-orange: #FF4500;
    --batman-gray: #2C2C2C;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Base Layout */
section {
    padding: 0 5%;
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Section Background Colors */
#home {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/tech-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
}

#about {
    background: linear-gradient(135deg, var(--background) 0%, #1a1f2e 100%);
    min-height: 100vh;
    width: 100vw;
    margin: 0;
}

#education {
    background: linear-gradient(135deg, #1a1f2e 0%, var(--section-bg) 100%);
    min-height: 100vh;
    width: 100vw;
    margin: 0;
}

#experience {
    background: linear-gradient(135deg, var(--section-bg) 0%, #1a1f2e 100%);
    min-height: 100vh;
    width: 100vw;
    margin: 0;
}

#projects {
    background: linear-gradient(135deg, #1a1f2e 0%, var(--background) 100%);
    min-height: 100vh;
    width: 100vw;
    margin: 0;
}

#skills {
    background: linear-gradient(135deg, var(--background) 0%, #1a1f2e 100%);
    min-height: 100vh;
    width: 100vw;
    margin: 0;
}

#certifications {
    background: linear-gradient(135deg, #1a1f2e 0%, var(--section-bg) 100%);
    min-height: 100vh;
    width: 100vw;
    margin: 0;
}

#contact {
    background: linear-gradient(135deg, var(--section-bg) 0%, #1a1f2e 100%);
    min-height: 100vh;
    width: 100vw;
    margin: 0;
}

/* Section Headers */
section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
    margin-top: 0;
    text-shadow: 0 0 10px var(--glow-blue);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--tech-gradient);
    border-radius: 2px;
}

/* Section Content Containers */
.about-content,
.education-content,
.experience-content,
.projects-grid,
.skills-container,
.certifications-grid,
.contact-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(31, 41, 55, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: auto;
    max-height: 85vh;
    overflow: hidden;
}

/* About Section */
.about {
    padding: 0 5%;
    background: var(--background);
    width: 100%;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(31, 41, 55, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Profile Picture Wrapper */
.profile-pic-wrapper {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.profile-pic {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 16px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: var(--card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic-wrapper:hover .profile-pic {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.about-text {
    flex: 0 0 50%;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    padding: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Responsive adjustments for about section */
@media screen and (max-width: 1200px) {
    .about-content {
        gap: 2rem;
        padding: 1.5rem;
    }

    .profile-pic-wrapper {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .profile-pic {
        max-height: 350px;
    }

    .about-text {
        flex: 0 0 55%;
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

@media screen and (max-width: 992px) {
    .about-content {
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .profile-pic-wrapper {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .profile-pic {
        max-height: 300px;
    }

    .about-text {
        flex: 0 0 50%;
        font-size: 1.05rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .profile-pic-wrapper {
        flex: 0 0 60%;
        max-width: 60%;
        margin: 0 auto;
    }

    .profile-pic {
        max-height: 280px;
    }

    .about-text {
        flex: 0 0 100%;
        width: 100%;
        padding: 0;
        font-size: 1rem;
        line-height: 1.6;
    }

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

@media screen and (max-width: 480px) {
    .about-content {
        padding: 1rem;
        gap: 1rem;
    }

    .profile-pic-wrapper {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .profile-pic {
        max-height: 250px;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Education Section */
.education-section {
    padding: 6rem 5%;
    background: var(--section-bg);
}

.education-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Experience Section */
.experience-section {
    padding: 6rem 5%;
    background: var(--background);
}

.experience-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline Styles (Adjusted) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tech-gradient);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    flex: 0 1 280px;
    min-width: 260px;
    margin-bottom: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 2px;
    height: 15px;
    background: var(--primary-color);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-dot {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    border: 3px solid var(--background);
    box-shadow: 0 0 0 3px var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-content {
    width: 100%;
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-date::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
}

.timeline-content h4 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.3;
}

.timeline-content .institution,
.timeline-content .location {
    color: var(--light-text);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-content .institution i,
.timeline-content .location i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.timeline-content .achievement,
.timeline-content .responsibilities {
    color: var(--text-color);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.timeline-content .responsibilities {
    list-style-type: none;
    padding-left: 0;
}

.timeline-content .responsibilities li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.timeline-content .responsibilities li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Hover effects */
.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-item:hover::after {
    height: 18px;
    background: var(--accent-color);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

/* Education and Experience Section Specific Styles */
.education-section,
.experience-section {
    padding: 6rem 5%;
    min-height: auto;
}

.education-content,
.experience-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Projects Section */
.projects {
    padding: 6rem 5%;
    position: relative;
    background: var(--background);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
    max-width: 350px;
    margin: 0 auto;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 50%; /* Changed to 2:1 aspect ratio for more compact view */
    background: var(--background);
    overflow: hidden;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
    background: var(--background);
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.03);
}

.project-card .content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 0 5px var(--glow-red);
}

.project-date {
    color: var(--light-text);
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.project-tech {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-shadow: 0 0 3px var(--glow-red);
}

.project-description {
    flex-grow: 1;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 0.85rem;
    line-height: 1.4;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.project-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    background: rgba(26, 26, 26, 0.9);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    text-shadow: 0 0 3px var(--glow-red);
    font-size: 0.85rem;
}

.project-links a:hover {
    background: var(--tech-gradient);
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--glow-red),
                0 0 20px var(--glow-blue);
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--glow-red),
                0 0 30px var(--glow-blue);
}

/* Individual project card backgrounds with specific adjustments */
.project-card:nth-child(1)::before {
    background-image: url('../images/projects/CourseReg.png');
    background-position: center top;
}

.project-card:nth-child(2)::before {
    background-image: url('../images/projects/BusReservatio.png');
    background-position: center center;
}

.project-card:nth-child(3)::before {
    background-image: url('../images/projects/tiktactoe.png');
    background-position: center center;
}

.project-card:nth-child(4)::before {
    background-image: url('../images/projects/wifiGrassCutter.png');
    background-position: center center;
}

/* Projects Grid Container */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

/* Project content styles */
.project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 0 5px var(--glow-red);
}

.project-date {
    color: var(--light-text);
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    position: relative;
}

.project-tech {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    position: relative;
    text-shadow: 0 0 3px var(--glow-red);
}

.project-description {
    flex-grow: 1;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.85rem;
    line-height: 1.4;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    position: relative;
    margin-top: auto;
}

.project-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    background: rgba(26, 26, 26, 0.9);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    text-shadow: 0 0 3px var(--glow-red);
    font-size: 0.85rem;
}

.project-links a:hover {
    background: var(--tech-gradient);
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--glow-red),
                0 0 20px var(--glow-blue);
}

/* Skills Section */
.skills {
    padding: 6rem 5%;
}

.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem;
}

.skills-column {
    background: var(--card-bg);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.skills-column h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.skills-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Technical Skills Styles */
.technical-skills .skills-category {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin-bottom: 1rem;
}

.technical-skills .skills-category:last-child {
    margin-bottom: 0;
}

.technical-skills h4 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

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

.skill-item {
    background: var(--background);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.skill-item:hover {
    background: var(--primary-color);
    color: var(--text-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Soft Skills Styles */
.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.soft-skill-item {
    background: var(--background);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.soft-skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.1) 0%,
        rgba(96, 165, 250, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.soft-skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--hover-shadow);
}

.soft-skill-item:hover::before {
    opacity: 1;
}

.skill-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 0.75rem;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    animation: arc-reactor 3s infinite;
}

.skill-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--tech-gradient);
    border-radius: 50%;
    animation: arc-reactor 3s infinite;
    opacity: 0.3;
}

.skill-icon i {
    font-size: 1.25rem;
    color: var(--text-color);
    z-index: 1;
    text-shadow: 0 0 10px var(--glow-blue);
}

.soft-skill-item h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.soft-skill-item p {
    color: var(--light-text);
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
}

@keyframes arc-reactor {
    0% {
        box-shadow: 0 0 20px var(--glow-red),
                    inset 0 0 20px var(--glow-red);
    }
    50% {
        box-shadow: 0 0 30px var(--glow-blue),
                    inset 0 0 30px var(--glow-blue);
    }
    100% {
        box-shadow: 0 0 20px var(--glow-red),
                    inset 0 0 20px var(--glow-red);
    }
}

/* Responsive Design for Skills */
@media screen and (max-width: 1024px) {
    .skills-container {
        gap: 2rem;
    }
    
    .soft-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-column {
        padding: 1.5rem;
    }
    
    .soft-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.25rem;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
    }
    
    .skill-icon i {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .skills-column {
        padding: 1.25rem;
    }
    
    .soft-skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .soft-skill-item {
        padding: 1.25rem;
    }
    
    .skill-icon {
        width: 45px;
        height: 45px;
    }
    
    .skill-icon i {
        font-size: 1.1rem;
    }
    
    .soft-skill-item h4 {
        font-size: 1rem;
    }
    
    .soft-skill-item p {
        font-size: 0.85rem;
    }
}

/* Certifications Section */
.certifications {
    padding: 6rem 5%;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem;
}

.certification-card, .achievement-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid var(--border-color);
}

.certification-card h3, .achievement-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.certification-card ul, .achievement-card ul {
    list-style: none;
}

.certification-card li, .achievement-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.certification-card li:last-child, .achievement-card li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    padding: 4rem 5%;
    min-height: auto;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    padding: 1.25rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: transparent;
    border-radius: 12px;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--primary-color);
    color: var(--background);
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

#contact-form {
    background: var(--card-bg);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    width: 100%;
}

.form-group {
    margin-bottom: 0.75rem;
    position: relative;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--background);
    color: var(--text-color);
}

#contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--glow-red),
                0 0 0 6px var(--glow-blue);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: var(--light-text);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.form-status {
    margin-bottom: 1rem;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #22c55e;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.error-message.form-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #ef4444;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

#submit-btn {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    border-radius: 8px;
    background: var(--tech-gradient);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 0 5px var(--glow-blue);
}

#submit-btn:hover:not(:disabled) {
    box-shadow: 0 0 20px var(--glow-red),
                0 0 40px var(--glow-blue);
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

#submit-btn.loading .button-loader {
    display: block;
}

#submit-btn.loading .button-text {
    margin-right: 0.5rem;
}

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

/* Responsive Contact Form */
@media screen and (max-width: 768px) {
    .contact {
        padding: 3rem 5%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #contact-form {
        padding: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .contact {
        padding: 2rem 5%;
    }

    .contact-container {
        gap: 1rem;
    }

    #contact-form {
        padding: 1rem;
    }

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

    .contact-item i {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .contact-item a {
        font-size: 0.9rem;
    }

    .error-message {
        font-size: 0.8rem;
    }
}

/* Footer */
footer {
    background: var(--section-bg);
    color: white;
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    font-size: 1.75rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-color);
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .about-content, .projects-grid, .skills-container {
    animation: fadeIn 1s ease-out;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 5%;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    padding-left: 2.5rem;
    text-shadow: 0 0 10px var(--glow-red);
}

.logo::before {
    content: '🦇';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    animation: arc-reactor 3s infinite;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../images/batman-background.jpg');
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, var(--glow-red) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, var(--glow-blue) 0%, transparent 50%);
    opacity: 0.1;
    animation: tech-grid 20s linear infinite;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/tech-background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: blur(3px);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    gap: 2rem;
}

.hero-illustration {
    width: 50%;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-illustration {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.3));
    animation: float 6s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: arc-reactor 3s infinite;
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.floating-icon:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.floating-icon i {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: transform 0.3s ease;
    text-shadow: 0 0 10px var(--glow-blue);
}

.floating-icon:hover i {
    transform: scale(1.1);
}

/* Position floating icons */
.floating-icon.coding {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon.cricket {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon.formal {
    top: 60%;
    left: 15%;
    animation-delay: 2s;
}

.floating-icon.music {
    top: 70%;
    right: 20%;
    animation-delay: 3s;
}

.floating-icon.food {
    bottom: 20%;
    left: 25%;
    animation-delay: 4s;
}

.floating-icon.leadership {
    bottom: 25%;
    right: 15%;
    animation-delay: 5s;
}

.floating-icon.java {
    top: 45%;
    left: 5%;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, #f89820, #5382a1);
}

.floating-icon.mysql {
    top: 50%;
    right: 5%;
    animation-delay: 2.5s;
    background: linear-gradient(135deg, #00758f, #f29111);
}

.floating-icon.spring {
    top: 15%;
    right: 5%;
    animation-delay: 3.5s;
    background: linear-gradient(135deg, #6db33f, #5aad35);
}

.floating-icon.spring i {
    color: white;
    font-size: 1.6rem;
}

.floating-icon.postman {
    bottom: 35%;
    left: 5%;
    animation-delay: 4.5s;
    background: linear-gradient(135deg, #ff6c37, #ff4c1e);
}

.floating-icon.postman i {
    color: white;
    font-size: 1.4rem;
}

.floating-icon.api {
    bottom: 40%;
    right: 5%;
    animation-delay: 5.5s;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
}

.floating-icon.api i {
    color: white;
    font-size: 1.4rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-around {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(8px, -8px) rotate(3deg);
    }
    50% {
        transform: translate(0, -15px) rotate(0deg);
    }
    75% {
        transform: translate(-8px, -8px) rotate(-3deg);
    }
}

.hero-text {
    width: 45%;
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text .tagline {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #4a90e2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.cta-button {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:first-child {
    background: #4a90e2;
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #4a90e2;
    color: #4a90e2;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-illustration {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    .hero-text {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .floating-icon {
        width: 35px;
        height: 35px;
    }

    .floating-icon.java i,
    .floating-icon.spring i {
        font-size: 1.3rem;
    }

    .floating-icon.mysql i,
    .floating-icon.postman i,
    .floating-icon.api i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-illustration {
        max-width: 300px;
    }

    .floating-icon {
        width: 30px;
        height: 30px;
    }

    .floating-icon.java i,
    .floating-icon.spring i {
        font-size: 1.1rem;
    }

    .floating-icon.mysql i,
    .floating-icon.postman i,
    .floating-icon.api i {
        font-size: 0.9rem;
    }
}

/* Responsive Timeline */
@media screen and (max-width: 1024px) {
    .timeline {
        padding: 1.5rem 1rem 2.5rem;
        gap: 1.75rem;
    }
    
    .timeline-item {
        flex: 0 1 280px;
        min-width: 260px;
    }
}

@media screen and (max-width: 768px) {
    .timeline {
        padding: 1.5rem 0.75rem 2.5rem;
        gap: 1.5rem;
    }
    
    .timeline-item {
        flex: 0 1 260px;
        min-width: 240px;
    }
    
    .timeline-content {
        padding: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .timeline {
        padding: 1.5rem 0.5rem 2.5rem;
        gap: 1.25rem;
    }
    
    .timeline-item {
        flex: 0 1 240px;
        min-width: 220px;
    }
    
    .timeline-content {
        padding: 1.25rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-date,
    .timeline-content .institution,
    .timeline-content .location,
    .timeline-content .achievement,
    .timeline-content .responsibilities {
        font-size: 0.85rem;
    }
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
    section {
        padding: 0 4%;
    }

    section h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .about-content,
    .education-content,
    .experience-content,
    .projects-grid,
    .skills-container,
    .certifications-grid,
    .contact-container {
        width: 95%;
        padding: 1.25rem;
    }

    .profile-pic-wrapper {
        flex: 0 0 40%;
        max-width: 40%;
    }

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

@media screen and (max-width: 768px) {
    section {
        padding: 0 3%;
    }

    section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .profile-pic-wrapper {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .about-text {
        padding-left: 0;
    }

    .timeline-item {
        flex: 0 1 240px;
        min-width: 220px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 0 2%;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-content,
    .education-content,
    .experience-content,
    .projects-grid,
    .skills-container,
    .certifications-grid,
    .contact-container {
        width: 100%;
        padding: 1rem;
    }

    .profile-pic-wrapper {
        flex: 0 0 60%;
        max-width: 60%;
    }

    .timeline-item {
        flex: 0 1 200px;
        min-width: 180px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .soft-skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styles for Section Content */
.about-content::-webkit-scrollbar,
.education-content::-webkit-scrollbar,
.experience-content::-webkit-scrollbar,
.projects-grid::-webkit-scrollbar,
.skills-container::-webkit-scrollbar,
.certifications-grid::-webkit-scrollbar,
.contact-container::-webkit-scrollbar {
    display: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--tech-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 10px var(--glow-red),
                0 0 20px var(--glow-blue);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--text-color);
    text-shadow: 0 0 5px var(--glow-blue);
}

.leetcode-stats {
    margin: 2rem 0;
    width: 100%;
    max-width: 600px;
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

.stats-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stats-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

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

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

.leetcode-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.leetcode-link:hover {
    color: var(--accent-color);
}

.leetcode-link i {
    font-size: 0.8rem;
}

/* Loading and Error States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.retry-button {
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.retry-button:hover {
    background: var(--accent-color);
}

/* Responsive Design for Stats */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.social-profile-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 0 10px var(--glow-red);
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--tech-gradient);
    color: var(--text-color);
    box-shadow: 0 0 20px var(--glow-blue);
}

.social-link::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: 120%;
}

/* Social Link Colors */
.social-link:nth-child(1) { /* LeetCode */
    border-color: #ffa116;
    color: #ffa116;
}

.social-link:nth-child(1):hover {
    background: #ffa116;
    color: white;
}

.social-link:nth-child(2) { /* GitHub */
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:nth-child(2):hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.social-link:nth-child(3) { /* LinkedIn */
    border-color: #0077b5;
    color: #0077b5;
}

.social-link:nth-child(3):hover {
    background: #0077b5;
    color: white;
}

.social-link:nth-child(4) { /* WhatsApp */
    border-color: #25D366;
    color: #25D366;
}

.social-link:nth-child(4):hover {
    background: #25D366;
    color: white;
}

.social-link:nth-child(5) { /* Email */
    border-color: #EA4335;
    color: #EA4335;
}

.social-link:nth-child(5):hover {
    background: #EA4335;
    color: white;
}

@media (max-width: 768px) {
    .hero-text {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-profile-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Tech Grid Animation */
@keyframes tech-grid {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Arc Reactor Animation */
@keyframes arc-reactor {
    0% {
        box-shadow: 0 0 20px var(--glow-red),
                    inset 0 0 20px var(--glow-red);
    }
    50% {
        box-shadow: 0 0 30px var(--glow-blue),
                    inset 0 0 30px var(--glow-blue);
    }
    100% {
        box-shadow: 0 0 20px var(--glow-red),
                    inset 0 0 20px var(--glow-red);
    }
}

/* Button Styles */
.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        var(--glow-red),
        var(--glow-blue),
        transparent
    );
    transform: rotate(45deg);
    animation: button-shine 3s infinite;
}

@keyframes button-shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Timeline Styles */
.timeline::before {
    background: var(--tech-gradient);
}

.timeline-dot {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-red),
                0 0 20px var(--glow-blue);
    animation: arc-reactor 3s infinite;
}

/* Skill Icons */
.skill-icon {
    background: var(--tech-gradient);
    position: relative;
    animation: arc-reactor 3s infinite;
}

.skill-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--tech-gradient);
    border-radius: 50%;
    animation: arc-reactor 3s infinite;
    opacity: 0.3;
}

.skill-icon i {
    color: var(--text-color);
    text-shadow: 0 0 10px var(--glow-blue);
}

/* Social Links */
.social-link {
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    background: var(--card-bg);
    box-shadow: 0 0 10px var(--glow-red);
}

.social-link:hover {
    background: var(--tech-gradient);
    color: var(--text-color);
    box-shadow: 0 0 20px var(--glow-blue);
}

/* Form Elements */
#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--glow-red),
                0 0 0 6px var(--glow-blue);
}

#submit-btn {
    background: var(--tech-gradient);
    color: var(--text-color);
    text-shadow: 0 0 5px var(--glow-blue);
}

#submit-btn:hover {
    box-shadow: 0 0 20px var(--glow-red),
                0 0 40px var(--glow-blue);
}

/* Scrollbar */
::-webkit-scrollbar-thumb {
    background: var(--tech-gradient);
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 10px var(--glow-red),
                0 0 20px var(--glow-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../images/batman-background.jpg');
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, var(--glow-red) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, var(--glow-blue) 0%, transparent 50%);
    opacity: 0.1;
    animation: tech-grid 20s linear infinite;
}

/* Floating Elements Animation */
.floating-icon {
    border: 2px solid var(--primary-color);
    background: var(--card-bg);
    box-shadow: 0 0 10px var(--glow-red);
}

.floating-icon i {
    color: var(--text-color);
    text-shadow: 0 0 10px var(--glow-blue);
}

.floating-icon:hover {
    background: var(--tech-gradient);
    box-shadow: 0 0 20px var(--glow-blue);
}

/* Profile Picture */
.profile-pic {
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px var(--glow-red),
                0 0 40px var(--glow-blue);
}

.profile-pic-wrapper:hover .profile-pic {
    box-shadow: 0 0 30px var(--glow-red),
                0 0 60px var(--glow-blue);
}

/* Update all other color references */
.timeline-date,
.timeline-content .institution i,
.timeline-content .location i,
.timeline-content .responsibilities li::before,
.project-tech,
.project-links a,
.skills-column h3,
.certification-card h3,
.achievement-card h3,
.contact-item i,
.stats-header i,
.stat-value,
.leetcode-link {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--glow-red);
}

/* Update hover states */
.timeline-item:hover .timeline-dot,
.timeline-item:hover::after,
.timeline-item:hover .timeline-content,
.skill-item:hover,
.soft-skill-item:hover,
.project-links a:hover,
.contact-item:hover i,
.contact-item a:hover,
.social-links a:hover {
    color: var(--text-color);
    background: var(--tech-gradient);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--glow-red),
                0 0 40px var(--glow-blue);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--text-color);
    text-shadow: 0 0 5px var(--glow-blue);
}

/* Add tech grid to sections */
section {
    position: relative;
    overflow: hidden;
}

section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, var(--glow-red) 1px, transparent 1px),
        linear-gradient(-45deg, var(--glow-blue) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    animation: tech-grid 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Add arc reactor effect to important elements */
.timeline-content,
.project-card,
.skill-item,
.certification-card,
.achievement-card {
    position: relative;
    overflow: hidden;
}

.timeline-content::before,
.project-card::before,
.skill-item::before,
.certification-card::before,
.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--glow-red) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-content:hover::before,
.project-card:hover::before,
.skill-item:hover::before,
.certification-card:hover::before,
.achievement-card:hover::before {
    opacity: 0.1;
}

/* ... rest of the existing code ... */ 