#contact12{
    display: none;
}
.cyber-circle span {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--main-color), 0 0 30px var(--main-color);
}

.cyber-circle span:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cyber-circle span:nth-child(2) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cyber-circle span:nth-child(3) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.cyber-circle span:nth-child(4) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.cyber-circle:nth-child(1) {
    animation-duration: 20s;
}

.cyber-circle:nth-child(2) {
    inset: 10px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.cyber-circle:nth-child(3) {
    inset: 20px;
    animation-duration: 10s;
}

.home-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--main-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: morph 8s ease-in-out infinite;
    filter: saturate(1.1) contrast(1.1);
}

@keyframes morph {
    0%, 100% {
        border-radius: 50%;
    }
    50% {
        border-radius: 47% 53% 52% 48% / 52% 49% 51% 48%;
    }
}

/* ABOUT SECTION */
.heading {
    position: relative;
    font-size: 5rem;
    margin-bottom: 8rem;
    text-align: center;
    text-transform: uppercase;
}

.heading span {
    color: var(--main-color);
    position: relative;
}

.heading span::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--main-color);
    box-shadow: 0 0 15px var(--main-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: center;
}

.about-img {
    position: relative;
    width: 100%;
    border-radius: 300px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-img img {
    width: 100%;
    transition: 0.5s;
}

.about-img:hover img {
    transform: scale(1.1) rotateY(5deg);
}

.about-img::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent, 
        rgba(255, 0, 0, 0.2), 
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }
    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

.about-content h3 {
    font-size: 3.6rem;
    margin-bottom: 3rem;
    color: var(--main-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.about-content h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--main-color);
}

.about-content p {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    position: relative;
    text-align: justify;
}

.about-content .btn {
    background: linear-gradient(45deg, transparent 5%, var(--main-color) 5%);
    font-weight: bold;
    letter-spacing: 3px;
    transition: 0.5s;
    box-shadow: 0 0 0 var(--main-color);
    border: none;
    color: var(--bg-color);
}

.about-content .btn:hover {
    background: linear-gradient(45deg, transparent 5%, var(--secondary-color) 5%);
    box-shadow: 0 0 20px var(--main-color);
    transform: translateY(-10px);
}

/* EDUCATION SECTION */
.education-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 4rem;
}

.education-box {
    position: relative;
    padding: 5rem 3rem;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.education-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent, 
        rgba(255, 0, 0, 0.2), 
        transparent
    );
    transform: rotate(45deg);
    z-index: -1;
    transition: 1s;
    opacity: 0;
}

.education-box:hover::before {
    animation: shine 1.5s;
    opacity: 1;
}

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

.education-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 0, 0, 0.1),
        transparent
    );
    clip-path: polygon(
        0 0,
        30% 0,
        30% 30%,
        0 30%
    );
    animation: scanner 3s linear infinite alternate;
}

@keyframes scanner {
    0% {
        clip-path: polygon(
            0 0,
            30% 0,
            30% 30%,
            0 30%
        );
    }
    100% {
        clip-path: polygon(
            70% 70%,
            100% 70%,
            100% 100%,
            70% 100%
        );
    }
}

.education-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 0, 0, 0.3);
}

.education-box i {
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 3rem;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: float-icon 3s ease-in-out infinite;
}

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

.education-box h3 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.education-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--main-color);
}

.education-box p {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.education-box p:nth-child(3) {
    color: var(--main-color);
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

/* SKILLS SECTION */
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
}

.skills-column h3 {
    font-size: 3rem;
    margin-bottom: 5rem;
    text-align: center;
    color: var(--main-color);
    position: relative;
}

.skills-column h3::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
}

.skill-box {
    position: relative;
    margin-bottom: 4rem;
}

.skill-box span {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.skill-bar {
    position: relative;
    height: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.skill-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: scanlight 2s linear infinite;
}

@keyframes scanlight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.skill-per {
    position: absolute;
    left: 0;
    height: 100%;
    background: var(--main-color);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--main-color);
    animation: fillBars 2.5s ease forwards;
    animation-play-state: paused;
}

.skill-box.animate .skill-per {
    animation-play-state: running;
}

.skill-per.html {
    width: 90%;
}

.skill-per.css {
    width: 85%;
}

.skill-per.javascript {
    width: 75%;
}

.skill-per.react {
    width: 60%;
}

.skill-per.nodejs {
    width: 65%;
}

.skill-per.php {
    width: 50%;
}

.skill-per.git {
    width: 80%;
}

.skill-per.responsive {
    width: 85%;
}

.skill-per::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 2px;
    background: var(--text-color);
    box-shadow: 0 0 5px var(--text-color);
    animation: pulse-light 1s infinite;
}

@keyframes pulse-light {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.tooltip {
    position: absolute;
    top: -5rem;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--main-color);
    pointer-events: none;
    z-index: 10;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: var(--main-color) transparent transparent transparent;
}

.skill-per:hover .tooltip {
    opacity: 1;
    transform: translateY(0px);
}

@keyframes fillBars {
    from {
        width: 0;
    }
}

/* PROJECTS SECTION */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
}

.project-box {
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    height: 25rem;
    transition: 0.5s;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
}

.project-box:hover::before {
    opacity: 1;
}

.project-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-box:hover {
    transform: scale(1.05) rotateY(10deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.project-box:hover img {
    transform: scale(1.2);
    filter: blur(3px) brightness(0.7);
}

.project-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s;
}

.project-box:hover .project-layer {
    opacity: 1;
    transform: translateY(0);
}

.project-layer h4 {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    padding-bottom: 1rem;
}

.project-layer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
}

.project-layer p {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.project-tech span {
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--main-color);
    border-radius: 3rem;
    font-size: 1.4rem;
    color: var(--text-color);
    transition: 0.3s;
}

.project-tech span:hover {
    background: var(--main-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5);
}

.project-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--main-color);
    transition: 0.5s;
}

.project-layer a:hover {
    background: var(--text-color);
    transform: scale(1.2) rotate(20deg);
}

.project-layer a i {
    font-size: 2.5rem;
    color: var(--bg-color);
    transition: 0.5s;
}

.project-layer a:hover i {
    color: var(--main-color);
}

/* CONTACT SECTION */
.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-card {
    position: relative;
    padding: 3rem;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: 1rem;
    text-align: center;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent, 
        rgba(255, 0, 0, 0.2), 
        transparent
    );
    transform: rotate(45deg);
    z-index: -1;
    transition: 0.5s;
    opacity: 0;
}

.contact-card:hover::before {
    animation: shine 1.5s;
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 0, 0, 0.3);
}

.contact-card i {
    font-size: 4.5rem;
    color: var(--main-color);
    margin-bottom: 2.5rem;
    animation: pulse 3s ease-in-out infinite;
}

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

.contact-card h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--main-color);
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.5s;
}

.contact-card:hover h3::after {
    transform-origin: left;
    transform: scaleX(1);
}

.contact-card p {
    font-size: 1.8rem;
    color: var(--text-color);
}

.contact-form {
    background: rgba(10, 10, 10, 0.8);
    padding: 4rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 0, 0, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 0, 0, 0.1),
        transparent
    );
    z-index: -1;
}

.input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.input-box input,
.contact-form textarea {
    width: 100%;
    padding: 1.8rem 2rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    margin: 0.8rem 0;
    border: 1px solid transparent;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}

.input-box input {
    width: 49%;
}

.input-box input:focus,
.contact-form textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.contact-form textarea {
    resize: none;
    height: 15rem;
}

.contact-form .btn {
    margin-top: 2.5rem;
    background: linear-gradient(45deg, transparent 5%, var(--main-color) 5%);
    border: none;
    color: var(--bg-color);
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
}

.contact-form .btn:hover {
    background: linear-gradient(45deg, transparent 5%, var(--secondary-color) 5%);
    box-shadow: 0 0 30px var(--main-color);
    transform: translateY(-10px);
}

/* FOOTER */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 3rem 9%;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
    border-top: 1px solid rgba(255, 0, 0, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 0, 0, 0.5), 
        transparent);
}

.footer-text p {
    font-size: 1.8rem;
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.footer-up a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--main-color);
    border-radius: 0.5rem;
    transition: 0.5s;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.footer-up a:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--main-color);
}

.footer-up a i {
    font-size: 2.5rem;
    color: var(--bg-color);
    transition: 0.5s;
}

.footer-up a:hover i {
    transform: rotate(360deg);
}

/* ANIMATIONS AND EFFECTS */
.animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* GLITCH LINES */
.glitch-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
}

.glitch-line:nth-child(1) {
    animation: glitch-line-anim 5s infinite 0.5s;
    top: 15%;
}

.glitch-line:nth-child(2) {
    animation: glitch-line-anim 5s infinite 1s;
    top: 35%;
}

.glitch-line:nth-child(3) {
    animation: glitch-line-anim 5s infinite 1.5s;
    top: 65%;
}

@keyframes glitch-line-anim {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    10%, 90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Add cyberpunk/neon background elements */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 0, 0.05) 1px, transparent 1px);
    z-index: -1;
    pointer-events: none;
}

/* CYBERPUNK PARTICLES */
.cyber-particle {
    position: fixed;
    background: var(--main-color);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
    animation: float-particle 20s linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-1000px) translateX(300px);
        opacity: 0;
    }
}

/* SCREEN GLITCH ANIMATION */
.screen-glitch {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.05);
    z-index: 10000;
    pointer-events: none;
    animation: screen-glitch 0.5s ease-out;
}

@keyframes screen-glitch {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 0.5;
        transform: translateX(-20px);
    }
    20% {
        transform: translateX(20px);
    }
    30% {
        transform: translateY(-10px);
    }
    40% {
        transform: translateY(10px) scaleY(1.2);
    }
    50% {
        transform: translateX(-5px) scaleX(0.95);
    }
    60% {
        transform: translateX(5px);
    }
    70% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* BUTTON SUCCESS STATE */
.btn.sent {
    background: #00cc66 !important;
    color: var(--bg-color) !important;
    box-shadow: 0 0 20px rgba(0, 204, 102, 0.7) !important;
}

/* MEDIA QUERIES */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
    
    .home-img {
        width: 40rem;
        height: 40rem;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }
    
    section {
        padding: 10rem 3% 2rem;
    }
    
    .home {
        flex-direction: column;
        padding-top: 0;
        text-align: center;
    }
    
    .home-content {
        width: 100%;
        margin-bottom: 5rem;
        padding-right: 0;
    }
    
    .home-content p {
        margin: 0 auto 3rem;
        padding-left: 0;
    }
    
    .home-content p::before {
        display: none;
    }
    
    .social-icons {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        width: 70%;
        margin: 0 auto 5rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 3rem 3%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 0, 0, 0.2);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
        display: none;
        z-index: 99;
    }
    
    .navbar.active {
        display: block;
    }
    
    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        text-align: center;
    }
    
    .navbar a::before, 
    .navbar a::after {
        display: none;
    }
    
    .home-img {
        width: 35rem;
        height: 35rem;
    }
    
    .home-content h1 {
        font-size: 5rem;
    }
    
    .home-content h1 span::before {
        animation: none;
    }
    
    .education-box i,
    .contact-card i {
        font-size: 4rem;
    }
    
    .heading {
        font-size: 4rem;
    }
    
    .project-box {
        height: 22rem;
    }
}

@media (max-width: 520px) {
    html {
        font-size: 50%;
    }
    
    .home-content h1 {
        font-size: 4.5rem;
    }
    
    .typing-text {
        font-size: 2.5rem;
    }
    
    .typing-text span::before {
        font-size: 2.5rem;
    }
    
    .home-img {
        width: 30rem;
        height: 30rem;
    }
    
    .cyber-circle span {
        width: 10px;
        height: 10px;
    }
    
    .about-img {
        width: 100%;
    }
    
    .contact-form {
        padding: 3rem;
    }
    
    .input-box input {
        width: 100%;
    }
    
    .project-box {
        height: 20rem;
    }
    
    .project-layer h4 {
        font-size: 2.5rem;
    }
    
    .footer-text p {
        margin-bottom: 2rem;
    }
}

@media (max-width: 380px) {
    .home-img {
        width: 25rem;
        height: 25rem;
    }
    
    .footer {
        flex-direction: column-reverse;
    }
    
    .social-icons a {
        margin-right: 1.5rem;
    }
    
    .social-icons a,
    .footer-up a {
        width: 4rem;
        height: 4rem;
    }
}@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --bg-color: #000000;
    --second-bg-color: #0c0c0c;
    --third-bg-color: #141414;
    --text-color: #fff;
    --main-color: #ff0000;
    --secondary-color: #ff3333;
    --glow-effect: 0 0 20px rgba(255, 0, 0, 0.7);
    --neon-glow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

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

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 0, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

::-webkit-scrollbar {
    width: 10px;
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    background: linear-gradient(to bottom, #ff0000, #990000);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ff3333, #cc0000);
}

::selection {
    background: var(--main-color);
    color: var(--bg-color);
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    position: relative;
}

/* CYBERPUNK GRID LINES */
.grid-lines {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.grid-line {
    position: absolute;
    background: rgba(255, 0, 0, 0.03);
}

.grid-line-vertical {
    width: 1px;
    height: 100%;
    top: 0;
}

.grid-line-horizontal {
    height: 1px;
    width: 100%;
    left: 0;
}

/* GLITCH ANIMATION */
@keyframes glitch {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-20px, -10px);
    }
    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(20px, 10px);
    }
    40% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-20px, -10px);
    }
    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(20px, 10px);
    }
    80% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-20px, -10px);
    }
    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(20px, 10px);
    }
}

/* NEON FLICKER */
@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 0 0 4px #fff, 0 0 10px #fff, 0 0 18px #fff, 0 0 38px #ff0000, 0 0 73px #ff0000;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: 0.5s;
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 0, 0.3) 20%, 
        rgba(255, 0, 0, 0.8) 50%,
        rgba(255, 0, 0, 0.3) 80%,
        transparent 100%);
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.header.sticky {
    padding: 1rem 9%;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8);
}

.logo {
    font-size: 3.5rem;
    color: var(--text-color);
    font-weight: 800;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    position: relative;
    color: var(--main-color);
    display: inline-block;
    animation: flicker 3s infinite alternate;
}

.logo::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    color: var(--main-color);
    filter: blur(10px);
    opacity: 0.5;
}

.navbar {
    display: flex;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    position: relative;
    padding: 0.5rem 0;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--main-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--main-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
}

.navbar a:hover::before,
.navbar a.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar a:hover::after,
.navbar a.active::after {
    transform: scaleX(1);
    transform-origin: right;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--main-color);
    cursor: pointer;
    display: none;
    transition: 0.3s;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

#menu-icon:hover {
    transform: rotate(90deg);
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* HOME SECTION */
.home {
    padding-top: 12rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.2), transparent 70%);
    top: 10%;
    left: -150px;
    border-radius: 50%;
    filter: blur(50px);
    animation: float 15s ease-in-out infinite;
    z-index: -1;
}

.home::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.15), transparent 70%);
    bottom: 10%;
    right: -100px;
    border-radius: 50%;
    filter: blur(50px);
    animation: float 10s ease-in-out infinite reverse;
    z-index: -1;
}

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

.home-content {
    flex: 1;
    padding-right: 5rem;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.home-content h1 span {
    position: relative;
    color: var(--main-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.home-content h1 span::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--main-color);
    overflow: hidden;
    animation: glitch 5s infinite;
    z-index: -1;
    text-shadow: -2px 0 #00fff2, 2px 0 #ff00de;
    opacity: 0.3;
}

.typing-text {
    position: relative;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.typing-text span {
    position: relative;
}

.typing-text span::before {
    content: "Computer Science Student";
    color: var(--main-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    animation: words 20s infinite;
}

.typing-text span::after {
    content: "";
    background-color: var(--bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--main-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
    to {
        border-left: 3px solid var(--main-color);
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    }
}

@keyframes words {
    0%, 50% {
        content: "Computer Science Student";
    }
    55%, 95% {
        content: "Frontend Developer";
    }
}

@keyframes typing {
    10%, 15%, 
    35%, 40%, 
    60%, 65%, 
    85%, 90% {
        width: 0;
    }
    5%, 30%, 
    55%, 80% {
        width: calc(100% + 8px);
    }
}

.home-content p {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 2rem;
    max-width: 60rem;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.home-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--main-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.social-icons {
    display: flex;
    margin-bottom: 4rem;
}

.social-icons a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    margin-right: 2.5rem;
    transition: 0.5s;
    z-index: 1;
    overflow: hidden;
    border: 2px solid var(--main-color);
    border-radius: 50%;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    transform: scale(0);
    transition: 0.5s;
    z-index: -1;
    border-radius: 50%;
}

.social-icons a:hover::before {
    transform: scale(1);
}

.social-icons a i {
    font-size: 2.5rem;
    color: var(--main-color);
    transition: 0.5s;
}

.social-icons a:hover i {
    color: var(--bg-color);
    transform: rotate(360deg);
}

.social-icons a:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
}

.btn {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 4rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--main-color);
    text-transform: uppercase;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover {
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
    transform: scale(1.05);
}

.btn:hover::before {
    width: 100%;
}

.home-img {
    position: relative;
    width: 45rem;
    height: 45rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cyber-circle {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}
/* SKILLS SECTION - ENHANCED VERSION - ROUGE ET NOIR THEME */
.skills {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    perspective: 1000px;
}

.skills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

/* Grid background - Rouge et Noir */
.skills-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(255, 0, 0, 0.03) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.03) 2px, transparent 2px);
    background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
    z-index: 0;
    opacity: 0.8;
    animation: gridMove 60s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 40px 40px, 40px 40px, 200px 200px, 200px 200px; }
}

/* Skills 3D container */
.skills-orbit-container {
    position: relative;
    width: 650px;
    height: 650px;
    margin: 5rem auto;
    transform-style: preserve-3d;
    animation: containerRotate 120s linear infinite;
}

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

/* Enhanced SKILLS text in center - Rouge */
.skills-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    font-size: 8rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ff0000, #cc0000, #aa0000, #880000);
    background-size: 300% 300%;
    animation: gradientFlow 8s ease infinite;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
    letter-spacing: 5px;
    filter: blur(1px);
    pointer-events: none;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

/* Enhanced central glow effect - Rouge */
.center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(255, 0, 0, 0.5) 0%,
        rgba(255, 0, 0, 0.3) 40%,
        rgba(255, 0, 0, 0.1) 60%,
        transparent 80%
    );
    border-radius: 50%;
    filter: blur(30px);
    z-index: 1;
    opacity: 0.8;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
}

/* Enhanced orbit circle with multiple layers */
.skills-orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.1);
    overflow: visible;
}

.skills-orbit::before, .skills-orbit::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 0, 0.3);
    animation: orbitRotate 20s linear infinite;
}

.skills-orbit::after {
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px dashed rgba(255, 0, 0, 0.2);
    animation: orbitRotate 30s linear infinite reverse;
}

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

/* Enhanced skill icon styling */
.skill-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    z-index: 4;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, #0a0a0a, #202020);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5), inset 0 0 10px rgba(255, 0, 0, 0.2);
    position: relative;
}

.skill-icon-inner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #cc0000, #990000, #660000);
    background-size: 400% 400%;
    animation: gradientBorder 4s ease infinite;
    border-radius: 50%;
    z-index: -1;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.skill-icon-inner img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
    transition: all 0.3s ease;
}

/* Enhanced hover effects */
.skill-icon:hover .skill-icon-inner {
    transform: scale(1.3) rotate(10deg);
    box-shadow: 0 0 30px rgba(255, 0, 0, 1), inset 0 0 20px rgba(255, 0, 0, 0.7);
}

.skill-icon:hover .skill-icon-inner img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1));
}

/* Enhanced tooltip for skill icons */
.skill-tooltip {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: rgba(10, 10, 10, 0.95);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    pointer-events: none;
    border: 1px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    letter-spacing: 1px;
}

.skill-tooltip::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(10, 10, 10, 0.95);
}

.skill-icon:hover .skill-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    bottom: -60px;
}

/* Enhanced orbit pulse animation */
.orbit-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.2), inset 0 0 15px rgba(255, 0, 0, 0.1);
    animation: enhancedPulsate 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.orbit-pulse::before, .orbit-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(5px);
    animation: orbitParticles 10s linear infinite;
}

.orbit-pulse::after {
    width: 15px;
    height: 15px;
    background: rgba(255, 0, 0, 0.6);
    animation: orbitParticles 15s linear infinite reverse;
}

@keyframes enhancedPulsate {
    0% { opacity: 0.5; transform: scale(0.97); }
    50% { opacity: 0.9; transform: scale(1.03); box-shadow: 0 0 35px rgba(255, 0, 0, 0.4), inset 0 0 25px rgba(255, 0, 0, 0.2); }
    100% { opacity: 0.5; transform: scale(0.97); }
}

@keyframes orbitParticles {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(280px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(280px) rotate(-360deg); }
}

/* Ajout des styles pour les contrôles - Rouge et Noir */
.skills-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    background: rgba(10, 10, 10, 0.7);
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    border: 1px solid rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.skills-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0a0a0a, #202020);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: rgba(255, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skills-control:hover {
    background: linear-gradient(145deg, #151515, #252525);
    color: rgba(255, 0, 0, 1);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.skills-control svg {
    width: 20px;
    height: 20px;
}

/* Animation d'entrée pour les contrôles */
.skills-controls {
    animation: controlsEntrance 0.5s ease-out;
}

@keyframes controlsEntrance {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Styles pour les particules flottantes */
.floating-particle {
    pointer-events: none;
    background: rgba(255, 0, 0, 0.6) !important; /* Rouge */
}

/* Animation pour les icônes en cours de brillance */
.skill-icon-inner.glowing {
    animation: iconGlowing 0.8s ease-in-out;
}

@keyframes iconGlowing {
    0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
    50% { box-shadow: 0 0 30px rgba(255, 0, 0, 1), inset 0 0 20px rgba(255, 0, 0, 0.7); }
    100% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
}

/* Effet d'animation à l'entrée de la section */
.skills.in-view .skills-orbit-container {
    animation: containerEntranceScale 1.2s ease-out forwards;
}

@keyframes containerEntranceScale {
    0% { transform: scale(0.8) rotateY(0deg); opacity: 0; }
    100% { transform: scale(1) rotateY(0deg); opacity: 1; }
}

/* Media queries pour responsive design */
@media (max-width: 768px) {
    .skills-orbit-container {
        width: 450px;
        height: 450px;
    }
    
    .skills-center-text {
        font-size: 5rem;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
    }
    
    .skills-controls {
        bottom: 20px;
        padding: 8px 15px;
    }
    
    .skills-control {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .skills-orbit-container {
        width: 320px;
        height: 320px;
    }
    
    .skills-center-text {
        font-size: 3.5rem;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
    }
    
    .skill-tooltip {
        font-size: 1.2rem;
        padding: 4px 10px;
    }
    
    .skills-controls {
        gap: 10px;
        bottom: 15px;
    }
    
    .skills-control {
        width: 30px;
        height: 30px;
    }
    
    .skills-control svg {
        width: 16px;
        height: 16px;
    }
}