* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #151a35;
    --bg-card: #1a1f3a;
    --accent-primary: #00d4ff;
    --accent-secondary: #7b2cbf;
    --text-primary: #e0e7ff;
    --text-secondary: #a0aec0;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Disable image dragging and context menu */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Re-enable pointer events for interactive elements */
a, button, .btn, .card, .skill-tag, .social-icon, .mobile-menu-toggle, nav a, .project-btn, .contact-details a, .email-link {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
}

/* Disable text selection for code protection */
code, pre {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Enhanced Custom Scrollbar with Animation */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
}

::-webkit-scrollbar-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--scroll-progress, 0%);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.1), rgba(123, 44, 191, 0.1));
    transition: height 0.1s ease;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
    position: relative;
    overflow: hidden;
}

::-webkit-scrollbar-thumb::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: scrollbarShine 3s infinite;
}

@keyframes scrollbarShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00e5ff, #9b4dca);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

::-webkit-scrollbar-thumb:active {
    animation: scrollbarPulse 0.5s infinite;
}

@keyframes scrollbarPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    }
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-primary);
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.bg-animation span {
    position: absolute;
    display: block;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: float 15s infinite;
}

.bg-animation span:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.bg-animation span:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.bg-animation span:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 10%;
    animation-delay: 4s;
}

.bg-animation span:nth-child(4) {
    width: 70px;
    height: 70px;
    top: 80%;
    left: 70%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.6;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

nav:hover {
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

/* Mobile Menu Toggle (3-dot hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: var(--accent-secondary);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--accent-primary);
}

nav a.active::after {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(118, 75, 162, 0.8));
    }
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Profile Image Styles */
.profile-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
}

.profile-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: profileGlow 3s ease-in-out infinite;
}

@keyframes profileGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.profile-image:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.8);
    border-color: var(--accent-secondary);
}

/* Section Styles */
section {
    padding: 5rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

section:nth-child(even) {
    animation-delay: 0.2s;
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1rem;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.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 ease;
}

.card:hover::before {
    left: 100%;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 212, 255, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
    border-color: var(--accent-primary);
}

.card h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.card:hover h4 {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.card:hover p {
    color: var(--text-primary);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.08), transparent);
    transition: left 0.6s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.35);
    border-color: var(--accent-primary);
}

.project-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.project-card:hover .project-icon {
    filter: grayscale(0%);
    transform: scale(1.15) rotate(5deg);
}

.project-card h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.project-card:hover h4 {
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

.project-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.project-card:hover > p {
    color: var(--text-primary);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.4rem 0.9rem;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 15px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover .tech-tag {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.project-btn:hover::before {
    width: 300px;
    height: 300px;
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.project-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.project-btn:hover svg {
    transform: translateX(4px);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
    transition: all 0.4s ease;
    cursor: pointer;
}

.skill-category:hover {
    transform: translateX(10px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.skill-category h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.skill-category:hover h4 {
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.skill-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin: 0.3rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.skill-tag:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
    border-color: var(--accent-primary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    width: 16px;
    height: 16px;
    left: -2.7rem;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-item h4 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.timeline-item:hover h4 {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Contact Section */
.contact-info {
    text-align: center;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-info:hover {
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
    border-color: var(--accent-primary);
}

.contact-info a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0.5rem;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

.contact-info a:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    transform: scale(1.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details a {
    color: var(--text-primary);
    font-weight: 500;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--accent-primary);
}

.contact-details p {
    color: var(--text-primary);
}

/* Email Link Styling */
.email-link {
    cursor: pointer !important;
    transition: all 0.3s ease;
    pointer-events: auto !important;
}

.email-link:hover {
    color: var(--accent-primary) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    text-decoration: underline;
}

/* Achievement Icons */
.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.card:hover .achievement-icon {
    filter: grayscale(0%);
    transform: scale(1.2) rotate(5deg);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.2) rotate(5deg);
    }
    50% {
        transform: scale(1.3) rotate(-5deg);
    }
}

/* Language Display Styles */
.languages-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.language-item {
    background: rgba(0, 212, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--accent-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-item:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.language-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.language-item:hover .language-name {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.language-level {
    color: var(--accent-primary);
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.language-item:hover .language-level {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: scale(1.1);
}

/* Footer Styles - Clean and Minimal */
.footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 2rem 0;
    margin-top: 5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    animation: footerLine 3s infinite;
}

@keyframes footerLine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-text {
    text-align: center;
}

.footer-text p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-tagline {
    color: var(--accent-primary);
    font-style: italic;
    font-size: 0.95rem;
    animation: fadeIn 2s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.achievement-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(123, 44, 191, 0.2);
    border-radius: 15px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    margin: 0.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.achievement-badge:hover {
    background: var(--accent-secondary);
    color: var(--text-primary);
    transform: scale(1.1);
    border-color: var(--accent-secondary);
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    h3 {
        font-size: 2.2rem;
    }

    .cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2rem;
        transition: left 0.4s ease;
        box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .profile-image-container {
        width: 150px;
        height: 150px;
    }

    section {
        padding: 3rem 0;
    }

    h3 {
        font-size: 2rem;
    }

    .container {
        padding: 1rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card, .project-card {
        padding: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 1rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .language-grid {
        grid-template-columns: 1fr;
    }

    .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .bg-animation span:nth-child(1) {
        width: 50px;
        height: 50px;
    }

    .bg-animation span:nth-child(2) {
        width: 40px;
        height: 40px;
    }

    .bg-animation span:nth-child(3) {
        width: 60px;
        height: 60px;
    }

    .bg-animation span:nth-child(4) {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .profile-image-container {
        width: 120px;
        height: 120px;
    }

    .card, .project-card {
        padding: 1.2rem;
    }

    .skill-tag, .tech-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }

    .achievement-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    h3 {
        font-size: 3rem;
    }

    .cards {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}