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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff006e;
    --accent-color: #ffbe0b;
    --tertiary-color: #fb5607;
    --quaternary-color: #8338ec;
    --text-dark: #ffffff;
    --text-light: #b8c5d6;
    --bg-dark: #0a0e27;
    --bg-darker: #060818;
    --bg-card: #151932;
    --bg-light: #1a1f3a;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.5);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* Light Theme Variables */
[data-theme="light"] {
    --primary-color: #0066cc;
    --secondary-color: #e91e63;
    --accent-color: #ff9800;
    --tertiary-color: #ff5722;
    --quaternary-color: #673ab7;
    --text-dark: #101010;
    --text-light: #718096;
    --bg-dark: #ffffff;
    --bg-darker: #f7fafc;
    --bg-card: #ffffff;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-neon: 0 0 20px rgba(0, 102, 204, 0.3);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.theme-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.theme-btn:active {
    transform: scale(0.95);
}

/* Light theme toggle button */
[data-theme="light"] .theme-btn {
    background: rgba(0, 102, 204, 0.1);
    border-color: rgba(0, 102, 204, 0.3);
    color: var(--primary-color);
}

[data-theme="light"] .theme-btn:hover {
    background: rgba(0, 102, 204, 0.2);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #0f172a 100%);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Light theme body background */
[data-theme="light"] body {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #ffffff 100%);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: var(--shadow-neon);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #2d1b69 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2300d4ff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

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

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--tertiary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 190, 11, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--quaternary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
}

.hero-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    border-color: var(--primary-color);
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

.profile-img {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3), var(--shadow-xl);
    position: relative;
    border: 3px solid rgba(0, 212, 255, 0.2);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-darker) 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 50%, var(--bg-light) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(0, 212, 255, 0.05);
    padding-left: 10px;
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
}

.info-value {
    color: var(--text-light);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), var(--shadow-lg);
    border: 2px solid rgba(0, 212, 255, 0.1);
}

.education-panel {
    padding: 1.5rem 0 0 1.5rem;
    position: relative;
}

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

.eyebrow {
    color: var(--primary-color);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.education-header h3 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.25);
}

.education-timeline {
    display: grid;
    gap: 1.25rem;
    position: relative;
}

.education-timeline::before {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color), transparent);
    content: '';
    height: calc(100% - 36px);
    left: 20px;
    opacity: 0.45;
    position: absolute;
    top: 18px;
    width: 2px;
}

.education-item {
    display: grid;
    gap: 1rem;
    grid-template-columns: 42px 1fr;
    position: relative;
}

.education-marker {
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(255, 0, 110, 0.16));
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.18);
    color: var(--primary-color);
    display: flex;
    height: 42px;
    justify-content: center;
    position: relative;
    transition: var(--transition);
    width: 42px;
    z-index: 1;
}

.education-content {
    border-bottom: 1px solid rgba(0, 212, 255, 0.18);
    padding-bottom: 1.15rem;
}

.education-year {
    color: var(--accent-color);
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.education-content h4 {
    color: var(--text-dark);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.education-content p {
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.education-status {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 8px;
    color: var(--primary-color);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
}

.education-item:hover .education-marker {
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
    transform: scale(1.06);
}

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

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.skill-category:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), var(--shadow-xl);
    border-color: var(--primary-color);
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.skill-item:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), var(--shadow-md);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
}

.skill-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-light) 50%, var(--bg-card) 100%);
}

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

.project-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), var(--shadow-xl);
    border-color: var(--primary-color);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

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

.tech-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--quaternary-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.project-link:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    padding: 0.75rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.contact-item:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.contact-socials {
    display: flex;
    gap: 1rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), var(--shadow-md);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: rgba(0, 212, 255, 0.05);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2), 0 0 15px rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

/* Light theme footer adjustment */
[data-theme="light"] .footer {
    color: var(--text-dark);
    border-top: 1px solid rgba(0, 102, 204, 0.1);
}

.footer-content p {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 40px rgba(255, 0, 110, 0.4);
    }
}

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

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

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Animated background particles */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 190, 11, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

/* Enhanced button animations */
.btn-primary {
    animation: pulse 3s ease-in-out infinite;
}

.btn-primary:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Profile image enhancement */
.profile-img:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Skill item floating animation */
.skill-category:hover {
    animation: float 3s ease-in-out infinite;
}

/* Project card shimmer effect */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s;
    pointer-events: none;
}

.project-card:hover::before {
    left: 100%;
}

/* Navigation enhancement */
.navbar.scrolled {
    background: rgba(10, 14, 39, 0.98);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

/* Text glow effects */
.hero-title:hover .highlight {
    animation: glow 2s ease-in-out infinite;
}

.section-title:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Form input enhancement */
.form-group input:focus,
.form-group textarea:focus {
    animation: glow 2s ease-in-out infinite;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal.show {
    display: block;
}

.modal-content {
    background: var(--bg-card);
    margin: 2% auto;
    padding: 0;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3), var(--shadow-xl);
    animation: slideInUp 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.modal-header {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-card));
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.modal-close:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.resume-preview {
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.2);
    overflow: hidden;
}

.resume-preview iframe {
    border: none;
    border-radius: var(--border-radius);
}

.modal-footer {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-darker));
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Light Theme Component Updates */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.12);
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #e3f2fd 50%, #ffffff 100%);
}

[data-theme="light"] .hero::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230066cc" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

[data-theme="light"] .section-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

[data-theme="light"] .skill-category {
    background: var(--bg-card);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

[data-theme="light"] .skill-category::before {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

[data-theme="light"] .project-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

[data-theme="light"] .contact-form {
    background: var(--bg-card);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 102, 204, 0.02);
    border: 1px solid rgba(0, 102, 204, 0.2);
    color: var(--text-dark);
}

[data-theme="light"] .footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 102, 204, 0.1);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: 50vh;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        text-align: center;
    }
    
    .resume-preview iframe {
        height: 400px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        border: 1px solid rgba(0, 212, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-socials {
        justify-content: center;
    }

    .profile-img {
        width: 300px;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .education-panel {
        order: 3;
        padding: 0;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .skills-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-links {
        flex-direction: column;
    }

    .info-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .education-item {
        grid-template-columns: 38px 1fr;
    }

    .education-marker {
        height: 38px;
        width: 38px;
    }

    .education-timeline::before {
        left: 18px;
    }
}
