/* === VARIABLES === */
:root {
    /* Main Colors */
    --bg-dark: #080808;
    --bg-darker: #050505;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    
    /* Neon Colors */
    --neon-green: #0CCA4A;
    --neon-blue: #0E76F9;
    --neon-purple: #AF46FF;
    --neon-pink: #FF00FF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    --gradient-secondary: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    
    /* Shadows */
    --shadow-neon: 0 0 10px rgba(174, 70, 255, 0.7), 0 0 20px rgba(174, 70, 255, 0.5), 0 0 30px rgba(174, 70, 255, 0.3);
    --shadow-subtle: 0 5px 15px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === SPLASH SCREEN === */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container {
    margin-bottom: 3rem;
    animation: pulse 1.5s infinite alternate;
}

.splash-logo {
    font-size: 8rem;
    font-weight: 700;
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple), 0 0 30px var(--neon-purple);
    animation: neonFlicker 2s infinite;
}

.loading-bar {
    width: 25rem;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.loading-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    animation: loading 2.5s ease-in-out forwards;
}

.splash-text {
    font-size: 1.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 0.5s ease-in 0.5s forwards;
}

@keyframes loading {
    0% {
        width: 0;
    }
    20% {
        width: 20%;
    }
    50% {
        width: 40%;
    }
    70% {
        width: 60%;
    }
    90% {
        width: 80%;
    }
    100% {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* === UTILITY CLASSES === */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.neon-text {
    color: var(--neon-purple);
    text-shadow: 0 0 5px var(--neon-purple), 0 0 10px var(--neon-purple);
}

.glitch-text {
    position: relative;
    color: var(--text-primary);
    animation: glitch 2s linear infinite;
}

@keyframes glitch {
    2%, 64% {
        transform: translate(2px, 0) skew(0deg);
    }
    4%, 60% {
        transform: translate(-2px, 0) skew(0deg);
    }
    62% {
        transform: translate(0, 0) skew(5deg);
    }
}

.section-title {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1rem;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .section-subtitle {
        font-size: 1.6rem;
        margin-bottom: 3rem;
        max-width: 90%;
    }
}

@media screen and (max-width: 576px) {
    .section-subtitle {
        font-size: 1.4rem;
        margin-bottom: 2.5rem;
    }
}

/* === BUTTON STYLES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.8rem;
    border: none;
    border-radius: 50px; /* Make buttons oval */
    font-family: 'Roboto Mono', monospace;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(174, 70, 255, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: opacity var(--transition-medium);
    border-radius: 50px; /* Match the button's border radius */
}

/* Social buttons should be circular */
.footer-social a,
.social-links a,
.floating-social-links a {
    border-radius: 50% !important;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    box-shadow: 0 4px 15px rgba(174, 70, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(174, 70, 255, 0.6);
}

.btn-secondary {
    color: var(--text-primary);
    background: rgba(15, 15, 25, 0.7);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 4px 15px rgba(14, 118, 249, 0.2);
}

.btn-secondary:hover {
    background: rgba(14, 118, 249, 0.1);
    box-shadow: 0 6px 20px rgba(14, 118, 249, 0.4);
    transform: translateY(-3px);
}

.btn-small {
    padding: 0.8rem 1.8rem;
    font-size: 1.4rem;
}

.btn-outline {
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--neon-purple);
    box-shadow: 0 4px 15px rgba(174, 70, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(174, 70, 255, 0.1);
    box-shadow: 0 6px 20px rgba(174, 70, 255, 0.3);
    transform: translateY(-3px);
}

/* === BACKGROUND ANIMATION === */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #0d1d31 0%, #0c0d13 100%);
    overflow: hidden;
}

.background-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233f1f71' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

/* === HEADER & NAVIGATION === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 0;
    transition: all var(--transition-medium);
}

header.scrolled {
    background-color: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 120rem;
    margin: 0 auto;
}

.logo a {
    font-size: 2.4rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.6rem;
    transition: color var(--transition-fast);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
}

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

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a.active {
    color: var(--neon-purple);
}

.social-nav-links {
    display: none;  /* Hidden by default on desktop since we removed from normal navbar */
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.4rem;
    height: 2rem;
    cursor: pointer;
    z-index: 20;
}

.hamburger .line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: rgba(8, 8, 8, 0.95);
        backdrop-filter: blur(10px);
        transition: all var(--transition-medium);
        z-index: 10;
        padding-top: 8rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .social-nav-links {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 4rem;
        padding: 0 2rem;
    }
    
    .social-nav-links a {
        color: var(--text-primary);
        font-size: 2.2rem;
        transition: all var(--transition-medium);
    }
    
    .social-nav-links a:hover {
        color: var(--neon-purple);
        transform: translateY(-3px);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    padding-top: 2rem; /* Add top padding to shift content down */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(28, 28, 28, 0.4) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.animated-text-container {
    margin-bottom: 4rem;
    margin-top: 1.5rem; /* Add top margin to push heading down */
}

.hero h1 {
    font-size: 6rem; /* Reduced from 7.2rem */
    font-weight: 700;
    margin-bottom: 1.5rem; /* Increased from 1rem for more space */
    letter-spacing: 2px;
    line-height: 1.2; /* Added line height for better spacing */
}

.hero .typewriter {
    height: 4rem;
    margin-bottom: 2rem;
}

.hero .typewriter h2 {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--neon-blue);
}

.hero .subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.hero-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 5rem 0;
}

.hero-card {
    background-color: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(174, 70, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    width: 20rem;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-neon);
    border-color: var(--neon-purple);
}

.hero-card:hover::before {
    opacity: 0.1;
}

.hero-card-icon {
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-card-icon i {
    font-size: 3rem;
    color: var(--neon-purple);
    transition: color var(--transition-medium), transform var(--transition-medium);
}

.hero-card:hover .hero-card-icon i {
    color: var(--neon-blue);
    transform: scale(1.2);
}

.hero-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-card p {
    font-size: 1.4rem;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn span {
    position: relative;
    z-index: 2;
    transition: transform var(--transition-medium);
}

.cta-buttons .btn i {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.cta-buttons .btn:hover span {
    transform: translateX(-5px);
}

.cta-buttons .btn:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity var(--transition-medium);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 3rem;
    height: 5rem;
    border: 2px solid var(--neon-purple);
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.wheel {
    width: 0.4rem;
    height: 0.8rem;
    background-color: var(--neon-purple);
    border-radius: 0.2rem;
    animation: scroll 2s infinite;
    margin-top: 0.8rem;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(2.5rem);
        opacity: 0;
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.arrow span {
    display: block;
    width: 1rem;
    height: 1rem;
    border-bottom: 2px solid var(--neon-purple);
    border-right: 2px solid var(--neon-purple);
    transform: rotate(45deg);
    animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-0.5rem, -0.5rem);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(0.5rem, 0.5rem);
    }
}

/* Media queries for responsive hero section */
@media screen and (max-width: 992px) {
    .hero-cards {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-card {
        width: calc(50% - 2rem);
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 5rem; /* Adjusted from original 5.2rem */
    }
}

@media screen and (max-width: 768px) {
    .hero-card {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 4.6rem; /* Adjusted from original 5.2rem */
        margin-bottom: 1.2rem;
    }
    
    .hero .typewriter h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .cta-buttons .btn {
        width: 80%;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 3.6rem; /* Adjusted from original 3.8rem */
    }
    
    .animated-text-container {
        margin-top: 1rem;
        margin-bottom: 3rem;
    }
}

/* === ABOUT SECTION === */
.about {
    padding: 10rem 0;
    background-color: rgba(5, 5, 5, 0.7);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 30rem;
    height: 30rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-neon);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--gradient-primary);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

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

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

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.about-details {
    margin-top: 3rem;
}

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

.detail i {
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--neon-purple);
}

.detail span {
    font-size: 1.6rem;
    color: var(--text-primary);
}

/* Media queries for responsive about section */
@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .about-image, .about-text {
        flex: 1 0 100%;
    }
    
    .image-container {
        width: 25rem;
        height: 25rem;
    }
    
    .hero h1 {
        font-size: 5.2rem;
    }
    
    .hero .typewriter h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .cta-buttons .btn {
        width: 80%;
    }
}

/* === SKILLS SECTION === */
.skills {
    padding: 10rem 0;
    background-color: rgba(8, 8, 8, 0.9);
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.skill-category {
    margin-bottom: 4rem;
}

.skill-category h3 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100%;
    height: 2px;
    background: var(--gradient-secondary);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2.5rem;
}

.skill-item {
    background-color: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(174, 70, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

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

.skill-item:hover::before {
    opacity: 0.1;
}

.skill-icon {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--neon-purple);
    display: flex;
    align-items: center;
}

.skill-info h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Circular Progress */
.circular-progress {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.circular-progress-inner {
    position: relative;
    width: 80px;
    height: 80px;
}

.circular-progress-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform var(--transition-medium);
}

.circular-progress-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.circular-progress-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: var(--neon-purple);
    border-right-color: var(--neon-blue);
    box-sizing: border-box;
    animation: rotate 2s linear infinite;
}

.circular-progress-circle[data-percentage="95"]::after {
    animation: rotate-95 2s linear forwards;
}

.circular-progress-circle[data-percentage="92"]::after {
    animation: rotate-92 2s linear forwards;
}

.circular-progress-circle[data-percentage="90"]::after {
    animation: rotate-90 2s linear forwards;
}

.circular-progress-circle[data-percentage="85"]::after {
    animation: rotate-85 2s linear forwards;
}

.circular-progress-circle[data-percentage="80"]::after {
    animation: rotate-80 2s linear forwards;
}

.circular-progress-circle[data-percentage="75"]::after {
    animation: rotate-75 2s linear forwards;
}

.circular-progress-circle[data-percentage="70"]::after {
    animation: rotate-70 2s linear forwards;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate-95 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(342deg); /* 95% of 360 degrees */
    }
}

@keyframes rotate-92 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(331.2deg); /* 92% of 360 degrees */
    }
}

@keyframes rotate-90 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(324deg); /* 90% of 360 degrees */
    }
}

@keyframes rotate-85 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(306deg); /* 85% of 360 degrees */
    }
}

@keyframes rotate-80 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(288deg); /* 80% of 360 degrees */
    }
}

@keyframes rotate-75 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(270deg); /* 75% of 360 degrees */
    }
}

@keyframes rotate-70 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(252deg); /* 70% of 360 degrees */
    }
}

.circular-progress-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neon-purple);
    position: relative;
    z-index: 2;
}

.skill-item:hover .circular-progress-circle {
    transform: scale(1.1);
}

.skill-item:hover .circular-progress-circle::after {
    border-top-color: var(--neon-blue);
    border-right-color: var(--neon-purple);
    animation-play-state: running;
}

/* Additional Skills Section */
.additional-skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 2rem;
}

.additional-skill-item {
    background-color: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(174, 70, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.additional-skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

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

.additional-skill-item:hover::before {
    opacity: 0.1;
}

.additional-skill-item img {
    width: 4rem;
    height: 4rem;
    margin-right: 1.5rem;
    object-fit: contain;
}

.additional-skill-item span {
    font-size: 1.6rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skill-items {
        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    }
    
    .additional-skills-list {
        grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    }
}

@media (max-width: 480px) {
    .skill-items {
        grid-template-columns: 1fr;
    }
    
    .additional-skills-list {
        grid-template-columns: 1fr;
    }
    
    .skill-category h3 {
        font-size: 2rem;
    }
}

/* === ENHANCED BLOG SECTION === */
.blog {
    padding: 10rem 0;
    background-color: rgba(5, 5, 5, 0.7);
    position: relative;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(14, 118, 249, 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    z-index: -1;
    opacity: 0.3;
}

.blog-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 5rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.blog-card {
    background-color: rgba(15, 15, 15, 0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow var(--transition-medium), border-color var(--transition-medium);
    position: relative;
    border: 1px solid rgba(174, 70, 255, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.blog-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: 0;
    transition: opacity var(--transition-medium);
    border-radius: 15px;
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-neon);
    border-color: var(--neon-purple);
}

.blog-card:hover::before {
    opacity: 0.05;
}

.blog-card-header {
    position: relative;
    overflow: hidden;
}

.blog-thumbnail {
    width: 100%;
    height: 24rem;
    overflow: hidden;
    position: relative;
}

.blog-thumbnail::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(5, 5, 5, 0.3) 70%, rgba(5, 5, 5, 0.8) 100%);
    z-index: 1;
    transition: opacity var(--transition-medium);
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: brightness(0.8) contrast(1.1);
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1) contrast(1.2);
}

.blog-card-content {
    padding: 3rem 2.5rem;
    position: relative;
    z-index: 2;
}

.blog-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    transition: color var(--transition-medium);
    line-height: 1.3;
    font-weight: 600;
    text-balance: balance;
}

.blog-card:hover .blog-title {
    color: var(--neon-purple);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-medium);
}

.blog-meta i {
    font-size: 1.2rem;
    color: var(--neon-purple);
}

.blog-author:hover,
.blog-date:hover,
.blog-read-time:hover {
    color: var(--neon-blue);
}

.blog-teaser {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    line-height: 1.6;
    text-pretty: pretty;
}

.blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 1.2rem 2.5rem;
    background: var(--gradient-primary);
    border-radius: 8px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.blog-cta::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.6s ease;
}

.blog-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(174, 70, 255, 0.3);
    border-color: var(--neon-purple);
}

.blog-cta:hover::before {
    left: 100%;
}

.blog-cta i {
    transition: transform var(--transition-medium);
}

.blog-cta:hover i {
    transform: translateX(5px);
}

/* Blog card hover states */
.blog-card.hover-active {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: var(--shadow-neon) !important;
    border-color: var(--neon-purple) !important;
}

.blog-card.hover-active::before {
    opacity: 0.05 !important;
}

/* Ensure smooth transitions for all blog cards */
.blog-card:not(.hover-active) {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-subtle);
    border-color: rgba(174, 70, 255, 0.1);
}

.blog-card:not(.hover-active)::before {
    opacity: 0;
}

/* Enhanced ripple effect */
.blog-ripple {
    position: absolute;
    background: rgba(174, 70, 255, 0.4);
    transform: scale(0);
    border-radius: 50%;
    animation: blog-ripple-animation 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 10;
}

@keyframes blog-ripple-animation {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Loading animation for dynamic content */
.blog-card-skeleton {
    background: linear-gradient(90deg, rgba(15, 15, 15, 0.9) 25%, rgba(25, 25, 25, 0.9) 50%, rgba(15, 15, 15, 0.9) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive blog section */
@media screen and (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
        gap: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .blog {
        padding: 8rem 0;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .blog-card-content {
        padding: 2.5rem 2rem;
    }
    .blog-title {
        font-size: 2rem;
    }
    .blog-subtitle {
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }
    .blog-meta {
        gap: 1rem;
        font-size: 1.2rem;
    }
    .blog-thumbnail {
        height: 20rem;
    }
}

@media screen and (max-width: 576px) {
    .blog-card-content {
        padding: 2rem 1.5rem;
    }
    .blog-title {
        font-size: 1.8rem;
    }
    .blog-thumbnail {
        height: 18rem;
    }
    .blog-cta {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 320px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .blog-card-content {
        padding: 1.5rem 1rem;
    }
}

/* === PROJECTS SECTION === */
.projects {
    padding: 10rem 0;
    background-color: rgba(5, 5, 5, 0.7);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 3rem;
}

.project-card {
    background-color: rgba(15, 15, 15, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-neon);
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-img {
    width: 100%;
    height: 22rem;
    overflow: hidden;
    position: relative;
}

.project-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.7), transparent);
    z-index: 1;
    transition: opacity var(--transition-medium);
}

.project-card:hover .project-img::after {
    opacity: 0.7;
}

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

.project-card:hover .project-img img {
    transform: scale(1.1) rotate(2deg);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(174, 70, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 2;
    transition: opacity var(--transition-medium);
    cursor: pointer;
}

.project-overlay-icon {
    font-size: 4rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    transition: transform var(--transition-medium);
}

.project-overlay-text {
    font-size: 2rem;
    color: var(--text-primary);
    transform: translateY(20px);
    transition: transform var(--transition-medium);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-overlay-icon,
.project-card:hover .project-overlay-text {
    transform: translateY(0);
}

.project-info {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.project-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    transition: color var(--transition-medium);
}

.project-card:hover .project-info h3 {
    color: var(--neon-purple);
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-tech span {
    background-color: rgba(174, 70, 255, 0.1);
    color: var(--neon-purple);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1.3rem;
    font-weight: 500;
    transition: background-color var(--transition-medium), transform var(--transition-medium);
}

.project-card:hover .project-tech span {
    background-color: rgba(174, 70, 255, 0.2);
    transform: translateY(-2px);
}

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

.project-links .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium), background-color var(--transition-medium);
}

.project-links .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-medium);
    z-index: -1;
}

.project-links .btn:hover::before {
    left: 0;
}

.project-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

/* Media queries for responsive projects section */
@media screen and (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-items {
        grid-template-columns: 1fr;
    }
}

/* === EXPERIENCE SECTION === */
.experience {
    padding: 10rem 0;
    background-color: rgba(8, 8, 8, 0.9);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(174, 70, 255, 0.1),
        var(--neon-purple),
        rgba(174, 70, 255, 0.1));
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-dot {
    position: absolute;
    top: 2.5rem;
    left: 50%;
    width: 16px;
    height: 16px;
    background-color: var(--neon-purple);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px var(--neon-purple);
    transition: all var(--transition-medium);
}

.timeline-date {
    position: absolute;
    top: 2.5rem;
    left: calc(50% - 12rem);
    width: 10rem;
    text-align: right;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--neon-purple);
    transform: translateY(-50%);
}

.timeline-content {
    width: 45%;
    padding: 2.5rem;
    background-color: rgba(15, 15, 15, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(174, 70, 255, 0.1);
    box-shadow: var(--shadow-subtle);
    position: relative;
    margin-left: 55%;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: rgba(15, 15, 15, 0.9);
    border-left: 1px solid rgba(174, 70, 255, 0.1);
    border-bottom: 1px solid rgba(174, 70, 255, 0.1);
    transform: translateY(-50%) rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -10px;
    border-left: none;
    border-right: 1px solid rgba(174, 70, 255, 0.1);
    border-top: 1px solid rgba(174, 70, 255, 0.1);
    border-bottom: none;
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: calc(50% - 12rem);
    text-align: left;
}

.timeline-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content h4 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--neon-purple);
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-tech span {
    background-color: rgba(174, 70, 255, 0.1);
    color: var(--neon-purple);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1.3rem;
    font-weight: 500;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 15px var(--neon-purple), 0 0 30px var(--neon-purple);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: rgba(174, 70, 255, 0.3);
}

/* Education subsection styles */
.subsection-title {
    font-size: 2.8rem;
    text-align: center;
    margin: 6rem 0 4rem;
    position: relative;
    color: var(--text-primary);
}

.subsection-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1rem;
    width: 40px;
    height: 2px;
    background: var(--gradient-secondary);
    transform: translateX(-50%);
}

.education-timeline .timeline-dot {
    background-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

.education-timeline .timeline-date {
    color: var(--neon-blue);
}

.education-timeline .timeline-content h4 {
    color: var(--neon-blue);
}

.education-timeline .timeline-item:hover .timeline-dot {
    box-shadow: 0 0 15px var(--neon-blue), 0 0 30px var(--neon-blue);
}

/* Media queries for responsive timeline */
@media screen and (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        left: 70px;
        top: 0;
        text-align: left;
        width: auto;
    }
    
    .timeline-content {
        width: calc(100% - 90px);
        margin-left: 90px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 90px;
        margin-right: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: 70px;
        right: auto;
        text-align: left;
    }
    
    .timeline-content::before {
        left: -10px;
        border-left: 1px solid rgba(174, 70, 255, 0.1);
        border-bottom: 1px solid rgba(174, 70, 255, 0.1);
        border-right: none;
        border-top: none;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
        border-left: 1px solid rgba(174, 70, 255, 0.1);
        border-bottom: 1px solid rgba(174, 70, 255, 0.1);
        border-right: none;
        border-top: none;
    }
}

@media screen and (max-width: 576px) {
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.8rem;
    }
    
    .timeline-content h4 {
        font-size: 1.4rem;
    }
    
    .subsection-title {
        font-size: 2.4rem;
        margin: 4rem 0 3rem;
    }
    
    .timeline-tech {
        gap: 0.5rem;
    }
    
    .timeline-tech span {
        font-size: 1.2rem;
        padding: 0.4rem 0.8rem;
    }
}

/* === CONTACT SECTION === */
.contact {
    padding: 10rem 0;
    background-color: rgba(8, 8, 8, 0.9);
}

.contact-content {
    display: flex;
    gap: 5rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    transition: transform var(--transition-medium);
}

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

.contact-item i {
    font-size: 2.2rem;
    color: var(--neon-purple);
    margin-right: 2rem;
}

.contact-item p {
    font-size: 1.6rem;
    color: var(--text-primary);
}

.contact-item.email p {
    color: var(--neon-blue);
    font-weight: 500;
    background: linear-gradient(45deg, var(--neon-blue), #50a2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 2px rgba(14, 118, 249, 0.2);
}

.contact-item.phone p {
    color: var(--neon-green);
    font-weight: 500;
    background: linear-gradient(45deg, var(--neon-green), #4edb7b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 2px rgba(12, 202, 74, 0.2);
}

.contact-item.address p {
    color: var(--neon-purple);
    font-weight: 500;
    background: linear-gradient(45deg, var(--neon-purple), #c78aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 2px rgba(174, 70, 255, 0.2);
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: rgba(174, 70, 255, 0.1);
    color: var(--neon-purple);
    font-size: 2rem;
    transition: all var(--transition-medium);
}

.social-links a:hover {
    background-color: var(--neon-purple);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(174, 70, 255, 0.7);
}

.contact-form {
    flex: 1;
    position: relative;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(174, 70, 255, 0.3);
    border-radius: 4px;
    padding: 1.5rem;
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 1.6rem;
    transition: all var(--transition-medium);
}

.form-group label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.6rem;
    transition: all var(--transition-medium);
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(174, 70, 255, 0.3);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    left: 10px;
    font-size: 1.2rem;
    background-color: var(--bg-dark);
    padding: 0 5px;
    color: var(--neon-purple);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.contact-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.contact-form button i {
    transition: transform var(--transition-medium);
}

.contact-form button:hover i {
    transform: translateX(5px);
}

/* Form Success Message */
.form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all var(--transition-medium);
    z-index: 10;
}

.form-success.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.success-icon {
    font-size: 5rem;
    color: var(--neon-green);
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite alternate;
}

.form-success h3 {
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 1.6rem;
    color: var(--text-secondary);
}

/* Form Error Message */
.form-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all var(--transition-medium);
    z-index: 10;
}

.form-error.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.error-icon {
    font-size: 5rem;
    color: #ff4d4d;
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite alternate;
}

.form-error h3 {
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-error p {
    font-size: 1.6rem;
    color: var(--text-secondary);
}

/* Responsive styles for form messages */
@media screen and (max-width: 768px) {
    .form-success, .form-error {
        padding: 2rem;
    }
    
    .success-icon, .error-icon {
        font-size: 4rem;
    }
    
    .form-success h3, .form-error h3 {
        font-size: 2rem;
    }
    
    .form-success p, .form-error p {
        font-size: 1.4rem;
    }
}

/* === FOOTER === */
footer {
  background-color: rgba(5, 5, 5, 0.95);
  padding: 3rem 0;
  border-top: 1px solid rgba(174, 70, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
}

.site-link {
  display: flex;
  align-items: center;
  color: var(--neon-purple);
  text-decoration: none;
  font-size: 1.4rem;
  margin-left: 2rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: rgba(174, 70, 255, 0.1);
  transition: all var(--transition-medium);
}

.site-link i {
  margin-right: 0.8rem;
  transition: transform var(--transition-medium);
}

.site-link:hover {
  background: rgba(174, 70, 255, 0.2);
  box-shadow: 0 0 10px rgba(174, 70, 255, 0.3);
  transform: translateY(-2px);
}

.site-link:hover i {
  transform: rotate(15deg);
}

footer p {
  color: var(--text-secondary);
  font-size: 1.4rem;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(174, 70, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

.footer-social a:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(174, 70, 255, 0.4);
  border-color: var(--neon-purple);
}

.footer-social a:hover::before {
  opacity: 1;
}

/* Remove underlining from social icon links */
.footer-social a {
  text-decoration: none; /* No underline on hover */
}

/* Hover effects for specific social platforms */
.footer-social a[aria-label*="LinkedIn"]:hover {
  background: #0077b5;
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.footer-social a[aria-label*="GitHub"]:hover {
  background: #333;
  box-shadow: 0 5px 15px rgba(51, 51, 51, 0.4);
}

.footer-social a[aria-label*="Twitter"]:hover {
  background: #1da1f2;
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

.footer-social a[aria-label*="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.footer-social a[aria-label*="Behance"]:hover {
  background: #1769ff;
  box-shadow: 0 5px 15px rgba(23, 105, 255, 0.4);
}

.footer-social a[aria-label*="ResearchGate"]:hover {
  background: #00d0b7;
  box-shadow: 0 5px 15px rgba(0, 208, 183, 0.4);
}

.footer-social a[aria-label*="YouTube"]:hover {
  background: #ff0000;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.footer-social a[aria-label*="IMDb"]:hover {
  background: #f5c518;
  color: #000;
  box-shadow: 0 5px 15px rgba(245, 197, 24, 0.4);
}

.footer-social a[aria-label*="Medium"]:hover {
  background: #00ab6c;
  box-shadow: 0 5px 15px rgba(0, 171, 108, 0.4);
}

.footer-social a[aria-label*="Bluesky"]:hover {
  background: #00bcd4;
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.footer-social a[aria-label*="E-Presence"]:hover {
  background: var(--gradient-primary);
  box-shadow: 0 5px 15px rgba(174, 70, 255, 0.4);
}

/* Icon animations */
.footer-social a i {
  transition: transform 0.3s ease;
}

.footer-social a:hover i {
  transform: scale(1.1) rotate(5deg);
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-left {
    flex-direction: column;
    gap: 1rem;
  }

  .site-link {
    margin-left: 0;
  }

  .footer-social {
    gap: 1rem;
    justify-content: center;
  }

  .footer-social a {
    width: 3rem;
    height: 3rem;
    font-size: 1.4rem;
  }

  .social-links {
    margin-top: 2rem;
  }
}

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

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

@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 5px var(--neon-purple),
                     0 0 10px var(--neon-purple),
                     0 0 15px var(--neon-purple);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* === RESPONSIVE MEDIA QUERIES === */
@media screen and (max-width: 992px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 12rem 0 6rem;
    }
    
    .hero h1 {
        font-size: 4.2rem;
    }
    
    .hero .typewriter h2 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.6rem;
        margin-bottom: 4rem;
    }
    
    .hero-cards {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        gap: 1.5rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    .form-group input, 
    .form-group textarea {
        font-size: 1.5rem;
    }
    
    .form-group label {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 3.2rem;
        margin-bottom: 4rem;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .hero h1 {
        font-size: 3.8rem;
    }
    
    .hero .subtitle {
        font-size: 1.5rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .skill-category h3 {
        font-size: 2.2rem;
    }
    
    .image-container {
        width: 200px;
        height: 200px;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .about-text p {
        font-size: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 2rem;
    }
    
    .contact-item i {
        font-size: 2rem;
        margin-right: 1.5rem;
    }
    
    .contact-item p {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 380px) {
    .hero h1 {
        font-size: 3.4rem;
    }
    
    .hero .typewriter h2 {
        font-size: 1.8rem;
    }
    
    .hero-card {
        max-width: 260px;
    }
    
    .project-card {
        margin-bottom: 3rem;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 1.2rem;
    }
    
    .form-group label {
        top: 1.2rem;
        left: 1.2rem;
    }
    
    .skill-info h4 {
        font-size: 1.6rem;
    }
}

/* === FLOATING SOCIAL MEDIA === */
.floating-social {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 99;
}

.floating-social-toggle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-neon);
    transition: transform var(--transition-medium);
    position: relative;
    z-index: 2;
}

.floating-social-toggle:hover {
    transform: scale(1.1);
}

.floating-social-links {
    position: absolute;
    bottom: 6rem;
    right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    transform: translateY(10px);
}

.floating-social.active .floating-social-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-social-links a {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(174, 70, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-primary);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-subtle);
}

.floating-social-links a:hover {
    transform: scale(1.1);
    background-color: var(--neon-purple);
    color: #fff;
    box-shadow: var(--shadow-neon);
}

@media screen and (max-width: 768px) {
    .floating-social {
        bottom: 2rem;
        right: 2rem;
    }
    
    .floating-social-toggle {
        width: 4.5rem;
        height: 4.5rem;
        font-size: 1.8rem;
    }
    
    .floating-social-links a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.6rem;
    }
}

/* Additional Skills List */
.additional-skills {
    margin-top: 4rem;
}

.additional-skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.additional-skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(15, 15, 15, 0.7);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(174, 70, 255, 0.1);
    transition: all var(--transition-medium);
    text-align: center;
}

.additional-skill-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: rgba(174, 70, 255, 0.3);
}

.additional-skill-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-medium);
    object-fit: contain;
}

.additional-skill-item:hover img {
    transform: scale(1.2);
}

.additional-skill-item span {
    font-size: 1.6rem;
    color: var(--text-primary);
}

@media screen and (max-width: 992px) {
    .additional-skills-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 576px) {
    .additional-skills-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .additional-skill-item {
        padding: 1.5rem;
    }
    
    .additional-skill-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .additional-skill-item span {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 400px) {
    .additional-skills-list {
        grid-template-columns: 1fr;
    }
}

/* Social Media Hamburger Menu */
.social-hamburger-container {
    /* Remove this block entirely */
}

.social-hamburger-line {
    /* Remove this block entirely */
}

.social-hamburger.active .social-hamburger-line:nth-child(1) {
    /* Remove this block entirely */
}

.social-hamburger.active .social-hamburger-line:nth-child(2) {
    /* Remove this block entirely */
}

.social-hamburger.active .social-hamburger-line:nth-child(3) {
    /* Remove this block entirely */
}

.social-menu-links {
    /* Remove this block entirely */
}

.social-menu-links a {
    /* Remove this block entirely */
}

.social-menu-links a i {
    /* Remove this block entirely */
}

.social-menu-links a:hover {
    /* Remove this block entirely */
}

.social-menu-links a:hover i {
    /* Remove this block entirely */
}

@media screen and (max-width: 768px) {
    .social-hamburger-container {
        /* Remove this line entirely */
    }
}

/* Project categories */
.project-categories {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.project-category-btn {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(174, 70, 255, 0.2);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px; /* Make category buttons oval */
    font-size: 1.6rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    font-family: 'Roboto Mono', monospace;
}

.project-category-btn:hover {
    background: rgba(174, 70, 255, 0.1);
    transform: translateY(-3px);
}

.project-category-btn.active {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-neon);
    border-color: transparent;
    transform: translateY(-3px);
}

.project-category-container {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.project-category-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease forwards;
}

/* Disabled buttons */
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .project-categories {
        gap: 1rem;
    }
    
    .project-category-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 576px) {
    .project-categories {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .project-category-btn {
        width: 80%;
    }
}

.cv-download {
    margin-right: 2rem;
}

.mobile-cv {
    display: none;
    margin: 3rem auto 0;
    width: 80%;
}

.desktop-cv {
    display: block;
}

.cv-download a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    font-size: 1.4rem;
    background: var(--gradient-primary);
    border-radius: 50px; /* Make CV download button oval */
    color: var(--text-primary);
    transition: all var(--transition-medium);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(174, 70, 255, 0.3);
}

.mobile-cv a {
    width: 100%;
    justify-content: center;
}

.cv-download a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-secondary);
    transition: width var(--transition-medium);
    z-index: -1;
}

.cv-download a:hover::before {
    width: 100%;
}

.cv-download a:hover {
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

.cv-download i {
    font-size: 1.6rem;
}

@media screen and (max-width: 768px) {
    .desktop-cv {
        display: none;
    }
    
    .nav-links.active .mobile-cv {
        display: block;
    }
}

/* Hidden projects section */
.hidden-projects {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-top: 0; /* Remove any top margin */
    gap: 3rem; /* Maintain consistent gap */
}

.hidden-projects.show {
    display: grid;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease forwards;
    margin-top: 3rem; /* Add small top spacing */
}

/* Project cards should have no bottom margin */
.project-card {
    margin-bottom: 0; /* Remove any bottom margin */
    background-color: rgba(15, 15, 15, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* View More Container */
.view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

#view-more-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.8rem;
    border-radius: 50px; /* Make view more button oval */
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(14, 118, 249, 0.2);
}

#view-more-btn i {
    transition: transform var(--transition-medium);
}

#view-more-btn.active i {
    transform: rotate(180deg);
}

/* About CV Download Button */
.about-cv-download {
    margin-top: 2rem;
}

.about-cv-download a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    animation: pulse 2s infinite;
}

.about-cv-download i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.about-cv-download a:hover i {
    transform: translateY(-3px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(174, 70, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(174, 70, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(174, 70, 255, 0);
    }
}

/* Social Hamburger Toggle Styles */
.social-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-hamburger {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--neon-purple) 0%, var(--neon-blue) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(174, 70, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    z-index: 1001;
    gap: 5px;
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(174, 70, 255, 0.5), 0 0 10px rgba(174, 70, 255, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 15px rgba(174, 70, 255, 0.7), 0 0 20px rgba(174, 70, 255, 0.5);
        transform: scale(1.05);
    }
}

.social-hamburger:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(174, 70, 255, 0.6);
    animation: none;
}

.social-hamburger-line {
    width: 24px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.social-hamburger.active {
    transform: rotate(180deg);
    background: linear-gradient(45deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
}

.social-hamburger.active .social-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 20px;
}

.social-hamburger.active .social-hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.social-hamburger.active .social-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 20px;
}

.social-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100vh;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-left: 1px solid rgba(174, 70, 255, 0.2);
}

.social-menu.active {
    right: 0;
}

.social-menu-header {
    padding: 25px;
    border-bottom: 1px solid rgba(174, 70, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-menu-header h3 {
    color: var(--neon-purple);
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(174, 70, 255, 0.5);
    animation: textPulse 2s infinite alternate;
}

@keyframes textPulse {
    0% {
        text-shadow: 0 0 5px rgba(174, 70, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 10px rgba(174, 70, 255, 0.8);
    }
}

.social-menu-close {
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-menu-close:hover {
    color: var(--neon-purple);
    background: rgba(174, 70, 255, 0.1);
    transform: rotate(90deg);
}

.social-menu-links {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-menu-links a {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-menu-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-purple), var(--neon-blue));
    transition: all 0.4s ease;
}

.social-menu-links a i {
    font-size: 1.8rem;
    width: 40px;
    color: var(--neon-purple);
    transition: all 0.4s ease;
}

.social-menu-links a span {
    font-size: 1.4rem;
    margin-left: 15px;
    font-weight: 500;
    transition: all 0.4s ease;
}

.social-menu-links a:hover {
    background-color: rgba(174, 70, 255, 0.1);
    transform: translateX(8px);
    border-left: 3px solid var(--neon-purple);
}

.social-menu-links a:hover::before {
    width: 100%;
    opacity: 0.2;
}

.social-menu-links a:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--neon-blue);
}

.social-menu-links a:hover span {
    color: var(--neon-purple);
}

/* Social menu backdrop */
.social-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.social-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* SEO-optimized CSS overrides for better performance */
/* Critical CSS and Core Web Vitals optimizations */

/* Image optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent layout shifts */
.hero h1, 
.hero h2,
.section-title {
    min-height: 1.2em;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
.btn:focus,
[role="button"]:focus {
    outline: 2px solid #6c63ff;
    outline-offset: 2px;
}

/* Print styles for SEO */
@media print {
    .hero-particles,
    .background-animation,
    .scroll-indicator,
    .social-links-button,
    .floating-social,
    .hamburger {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .splash-screen {
        display: none;
    }
}

/* Performance optimizations */
.glitch-text,
.circular-progress-circle,
.project-card::before {
    will-change: transform;
}

.projects, 
.experience, 
.contact {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
}

/* Social links button */
.social-links-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    z-index: 10;
    padding: 12px 24px;
    font-size: 1.4rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(174, 70, 255, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-links-button span {
    margin-left: 8px;
}

.social-links-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(174, 70, 255, 0.6);
}

.social-links-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(174, 70, 255, 0.3);
}

/* TypeScript Icon */
.fab.fa-ts {
    color: #3178c6;
    font-size: 3.2rem;
}

/* TypeScript Logo */
.typescript-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-item:hover .typescript-logo {
    transform: scale(1.15);
}