@import url('https://fonts.cdnfonts.com/css/valorant');


@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    --bg-dark: #0b0b0b;
    --accent-purple: #a855f7;

    --text-white: #ffffff;
    --grid-color: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: relative;
}


.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-purple);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}


.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}


.hero {
    text-align: center;
    padding-top: 5vh;
    position: relative;
    width: 100%;
    max-width: 1200px;
    z-index: 1;
}

.sub-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;

    letter-spacing: 0.5px;
}

.main-title {
    font-size: 6rem;
    font-weight: 900;
    margin: 20px 0;

    line-height: 1.25;
    display: flex;
    justify-content: center;

    align-items: center;
    gap: 5px;
    min-height: 1.25em;

    text-align: center;

}

.purple-text {
    color: var(--accent-purple);
    font-family: 'VALORANT', sans-serif;
    font-weight: 400;

}

.year {
    font-size: 2.4rem;
    font-weight: 300;
    margin-top: 20px;

    margin-bottom: 40px;
}

.btn-resume {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #fff;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;

    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2), inset 0 0 10px rgba(168, 85, 247, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.btn-resume::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-15deg);
    animation: glowLine 3s infinite linear;
}

.btn-resume:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), inset 0 0 15px rgba(168, 85, 247, 0.2);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    background: rgba(168, 85, 247, 0.1);
}

@keyframes glowLine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}


.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: floatIcon 4s infinite ease-in-out;
}

.icon-top-left {
    top: 20%;
    left: 10%;
    color: #4ade80;
    animation: slideInTL 1.5s ease-out forwards, floatIcon 4s infinite ease-in-out 1.5s;
    opacity: 0;

    opacity: 0;
}

.icon-top-right {
    top: 20%;
    right: 10%;
    color: #fc8eac;

    color: #fc8eac;
    animation: slideInTR 1.5s ease-out forwards, floatIcon 4s infinite ease-in-out 1.5s;
    opacity: 0;
}

.icon-bottom-left {
    bottom: 20%;
    left: 10%;
    color: #38bdf8;
    animation: slideInBL 1.5s ease-out forwards, floatIcon 4s infinite ease-in-out 1.5s;
    opacity: 0;
}

.icon-bottom-right {
    bottom: 20%;
    right: 10%;
    color: #fbbf24;
    animation: slideInBR 1.5s ease-out forwards, floatIcon 4s infinite ease-in-out 1.5s;
    opacity: 0;
}

@keyframes slideInTL {
    0% {
        top: -20%;
        left: -20%;
        opacity: 0;
    }

    100% {
        top: 20%;
        left: 10%;
        opacity: 1;
    }
}

@keyframes slideInTR {
    0% {
        top: -20%;
        right: -20%;
        opacity: 0;
    }

    100% {
        top: 20%;
        right: 10%;
        opacity: 1;
    }
}

@keyframes slideInBL {
    0% {
        bottom: -20%;
        left: -20%;
        opacity: 0;
    }

    100% {
        bottom: 20%;
        left: 10%;
        opacity: 1;
    }
}

@keyframes slideInBR {
    0% {
        bottom: -20%;
        right: -20%;
        opacity: 0;
    }

    100% {
        bottom: 20%;
        right: 10%;
        opacity: 1;
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}


@media (max-width: 768px) {


    section {
        padding: 60px 20px !important;
    }

    .main-title {
        font-size: 3rem;
        flex-direction: column;

        line-height: 1.1;
    }

    .sub-title {
        font-size: 1.1rem;
        padding: 0 10px;
        margin-bottom: 20px;


    }

    .year {
        font-size: 1.2rem;

        margin-top: 20px;

        margin-bottom: 30px;
    }


    .hero-buttons {
        gap: 15px;
    }

    .btn-resume {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .floating-icon {
        display: none;

    }
}


.about-section {
    width: 100%;
    min-height: 80vh;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: transparent;

    z-index: 2;
    position: relative;

}


body {
    overflow-y: auto;

    overflow-x: hidden;
    height: auto;
    display: block;

}



.hero {
    margin: 0 auto;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 60px;
    border-radius: 20px;
    max-width: 1200px;
    text-align: center;
    position: relative;

    transform: perspective(1000px) rotateX(20deg) translateY(50px) scale(0.9);
    opacity: 0;
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: conic-gradient(from var(--angle), transparent 30%, var(--accent-purple), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
    animation: rotateBorder 3s linear infinite;
}

.scroll-reveal.expanded {
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

.glass-card h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.expanded h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.glass-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d5db;

    max-width: 90ch;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    transform-style: preserve-3d;
}

.scroll-reveal.expanded p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}


.skills-section {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #fff;
    text-align: center;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-card {
    width: auto;
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


.skill-card::before {
    content: '';
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background: linear-gradient(180deg, var(--accent-purple), #4c1d95);
    border-radius: 45% 55% 40% 60% / 55% 60% 35% 45%;
    z-index: 1;
    transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
}

.skill-card:hover::before {
    top: -50%;
    animation: wave 5s infinite linear;

}

@keyframes wave {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }

    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}


.skill-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--accent-purple);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
}

@keyframes rotateBorder {
    to {
        --angle: 360deg;
    }
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
}


.skill-card:hover::after {
    opacity: 1;
    box-shadow: 0 0 20px var(--accent-purple);
    filter: drop-shadow(0 0 5px var(--accent-purple));
}

.skill-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.skill-card:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6));
}

.skill-card span {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: all 0.3s;
    z-index: 2;
    position: relative;
    text-align: center;
}

.skill-card:hover span {
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    color: #fff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .skill-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .skill-card {
        height: 120px;
        padding: 15px;
    }

    .skill-card i {
        font-size: 2.2rem;
    }

    .skill-card span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .skill-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .skill-card {
        height: 110px;
        padding: 12px;
    }

    .skill-card i {
        font-size: 2rem;
    }

    .skill-card span {
        font-size: 0.75rem;
    }
}


.projects-section {
    padding: 100px 20px;
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}


.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-50%);
    border-radius: 4px;

    border-radius: 4px;
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-purple));
    box-shadow: 0 0 15px var(--accent-purple);
    transition: height 0.1s linear;
}

.timeline-progress::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-purple);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-purple), 0 0 30px var(--accent-purple);
}


.timeline-item {
    padding: 120px 0;

    padding: 120px 0;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}


.timeline-item.left {
    left: 0;
    padding-right: 80px;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 80px;
    text-align: left;
}



.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.timeline-content:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.timeline-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.timeline-content p {
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.project-tag {
    background: rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    margin-bottom: 25px;
}


.card-icon {
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    margin-bottom: 20px;
}

.timeline-content:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: rgba(168, 85, 247, 0.4);
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.5s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: #fff;
    padding: 1px;
}

.timeline-content:hover .company-logo {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}


.project-link {
    display: inline-block;
    color: #fbbf24;

    color: #fbbf24;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #f59e0b;
    text-decoration: underline;
}

.project-link.inactive {
    color: #6b7280;

    color: #6b7280;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}


.timeline-number {
    position: absolute;
    top: 0;
    font-size: 6rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(168, 85, 247, 0.6);
    line-height: 1;
    opacity: 0.8;
    z-index: 0;
    font-family: 'VALORANT', sans-serif;
}

.timeline-item.left .timeline-number {
    right: 20px;
    top: -20px;
}

.timeline-item.right .timeline-number {
    left: 20px;
    top: -20px;
}


.timeline-dot {
    position: absolute;
    top: 60px;
    width: 20px;
    height: 20px;
    background: transparent;

    border: 3px solid var(--accent-purple);

    border-radius: 50%;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}


.timeline-dot.active {
    box-shadow: 0 0 20px var(--accent-purple);
    border-color: #fff;
    background: rgba(168, 85, 247, 0.2);
}


.timeline-progress::after {
    content: '';
    position: absolute;
    bottom: -10px;

    left: 50%;
    transform: translateX(-50%);
    width: 17px;
    height: 17px;
    background: var(--accent-purple);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-purple), 0 0 40px var(--accent-purple);
    z-index: 3;
}

.timeline-item.left .timeline-dot {
    right: -10px;

    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}



@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;

        padding-right: 0;
        text-align: left;
        margin-bottom: 30px;

    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
        transform: none;

    }

    .timeline-item {
        transform: translateY(30px);
    }


    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 12px;

        right: auto;
    }


    .timeline-number {
        font-size: 4rem;
        opacity: 0.5;
    }

    .timeline-item.left .timeline-number {
        right: 10px;
        top: 0;
    }

    .timeline-item.right .timeline-number {
        right: 10px;
        left: auto;
        top: 0;
    }


    .timeline-date {
        position: relative;
        inset: auto !important;

        text-align: left !important;
        margin-bottom: 10px;
        display: block;
        margin-left: 0;
        font-size: 1.2rem;
    }

    .timeline-content {
        padding: 30px 20px;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }
}


.timeline-date {
    position: absolute;
    top: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-purple);
    font-family: 'VALORANT', sans-serif;
    letter-spacing: 1px;
    width: 200px;
}

.timeline-item.left .timeline-date {
    left: calc(100% + 50px);
    text-align: left;
}

.timeline-item.right .timeline-date {
    right: calc(100% + 50px);
    text-align: right;
}

@media (max-width: 768px) {
    .glass-card {
        padding: 30px 20px;

        margin: 0 10px;
    }

    .glass-card h2 {
        font-size: 1.8rem;
    }

    .glass-card p {
        font-size: 1rem;
    }
}


.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.15),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.experience-card:hover::before {
    opacity: 1;
}

.experience-card>* {
    position: relative;
    z-index: 1;
}

.experience-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.experience-date {
    font-family: 'VALORANT', sans-serif;
    color: var(--accent-purple);
    font-size: 1.1rem;
    position: absolute;
    top: 40px;
    right: 40px;
    letter-spacing: 1px;
}

.project-links-wrapper {
    margin-top: auto;
    display: flex;
    gap: 15px;
    padding-top: 25px;
    flex-wrap: wrap;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.project-btn:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), inset 0 0 15px rgba(168, 85, 247, 0.2);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    background: rgba(168, 85, 247, 0.1);
    color: #fff;
}

.project-btn i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-btn:hover i {
    transform: rotate(-15deg) scale(1.2);
}

.project-btn.inactive-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #6b7280;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.project-btn.inactive-btn::before {
    display: none;
}

.experience-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.experience-card p {
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.7;
}

.profiles-section {
    padding: 100px 20px 140px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    gap: 25px;
}

.profile-img-main {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    position: relative;
    padding: 4px;

    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatProfile 6s infinite ease-in-out;
}

@keyframes floatProfile {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
        box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4);
    }
}


.profile-img-main::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from var(--angle), transparent 20%, var(--accent-purple), transparent 80%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    animation: rotateBorder 4s linear infinite;
}

.profile-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.profile-img-main:hover img {
    transform: scale(1.08) rotate(3deg);
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.profile-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.profile-text p {
    font-family: 'VALORANT', sans-serif;
    font-size: 1.2rem;
    color: var(--accent-purple);
    letter-spacing: 2px;
}


.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    padding: 30px 20px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    gap: 15px;
    text-align: center;
}


.profile-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: conic-gradient(from var(--angle), transparent 40%, var(--accent-purple), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: rotateBorder 3s linear infinite;
    transition: opacity 0.4s ease;
}

.profile-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(168, 85, 247, 0.3);
}

.profile-card:hover::before {
    opacity: 1;
}

.profile-icon {
    font-size: 2.5rem;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.9s ease;
}


.profile-card .fa-linkedin {
    color: #0077b5;
    filter: drop-shadow(0 0 10px rgba(0, 119, 181, 0.3));
}

.profile-card .fa-github {
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.profile-card .fa-hackerrank {
    color: #2ec866;
    filter: drop-shadow(0 0 10px rgba(46, 200, 102, 0.3));
}

.profile-card i.colored {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}


.profile-card:hover .profile-icon {
    transform: scale(1.2) rotateY(360deg);
    transition: transform 1.1s ease;
}

.profile-info h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}

.profile-info p {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: all 0.3s;
}

.profile-card:hover .profile-info p {
    color: var(--accent-purple);
    opacity: 1;
}

.profile-note {
    text-align: center;
    margin-top: 30px;
    font-size: 1.05rem;
    font-weight: 500;

    background: linear-gradient(to right,
            #9ca3af 40%,
            #ffffff 50%,
            #9ca3af 60%);
    background-size: 200% auto;
    color: #9ca3af;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

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

    100% {
        background-position: -100% 0;
    }
}


@media (max-width: 768px) {
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .profile-card {
        padding: 20px 15px;
    }

    .profile-header {
        margin-bottom: 40px;
    }

    .profile-img-main {
        width: 120px;
        height: 120px;
    }

    .profile-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .profiles-grid {
        grid-template-columns: 1fr;
    }
}


.certifications-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1150px;
    margin: 0 auto;
}

.cert-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cert-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-purple);
}

.cert-img-wrapper {
    position: relative;
    width: 100%;

    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.cert-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cert-item:hover .cert-img-wrapper img {
    transform: scale(1.05);
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.cert-item:hover .cert-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}

.cert-info {
    padding: 25px;
    background: rgba(0, 0, 0, 0.2);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.cert-info p {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.8;
}

.cert-overlay-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #fff;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2), inset 0 0 10px rgba(168, 85, 247, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;

    transform: translateY(20px);
    opacity: 0;
}

.cert-overlay-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-15deg);
    animation: glowLine 3s infinite linear;
}

.cert-item:hover .cert-overlay-link {
    transform: translateY(0);
    opacity: 1;
}

.cert-overlay-link span {
    position: relative;
    top: 1px;
}

.cert-overlay-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cert-overlay-link:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), inset 0 0 15px rgba(168, 85, 247, 0.2);
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.1);
    transform: scale(1.05) translateY(0);
}

.cert-overlay-link:hover i {
    transform: translateX(5px);
}


@media (max-width: 1024px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experience-date {
        position: static;
        margin-bottom: 15px;
    }
}


.footer {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
    margin-top: 80px;
    padding: 60px 20px 30px;
}


.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-purple),
            transparent);
    opacity: 0.6;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    text-align: center;
}

.footer-brand {
    margin-bottom: 10px;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-tagline {
    color: #9ca3af;
    font-size: 1.1rem;
    opacity: 0.8;
    background: linear-gradient(to right,
            #9ca3af 40%,
            #ffffff 50%,
            #9ca3af 60%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    opacity: 0.9;
}


.footer-nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav-links li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px;
    position: relative;
}

.footer-nav-links li a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.footer-nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 1px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

.footer-nav-links li a:hover::after {
    width: 80%;
}


.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: transparent;
}


.social-link.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 5px 20px rgba(0, 119, 181, 0.4);
}

.social-link.github:hover {
    background: #333;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.social-link.email:hover {
    background: #ea4335;
    box-shadow: 0 5px 20px rgba(234, 67, 53, 0.4);
}


.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6b7280;
    font-size: 0.95rem;
    position: relative;
}


.back-to-top {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-purple);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: absolute;
    right: 0;
}

.back-to-top:hover {
    background: var(--accent-purple);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    border-color: transparent;
}

.back-to-top.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}



@media (max-width: 768px) {


    .footer-container {
        gap: 30px;
    }

    .footer-nav-links {
        gap: 15px 25px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .back-to-top {
        position: static;
        margin-top: 20px;
    }
}


.contact-section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.contact-container .section-title {
    margin-bottom: 0;
}

.contact-card {
    background: #0f0f0f;

    background: #0f0f0f;
    padding: 60px;
    border-radius: 24px;
    width: 100%;
    max-width: 700px;
    position: relative;

    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(168, 85, 247, 0.15);
    border: 1px solid #1f1f1f;
    overflow: hidden;
}


.contact-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(45deg,
            var(--accent-purple),
            #4c1d95,
            #0f0f0f,
            #0f0f0f,
            var(--accent-purple));
    background-size: 400%;
    z-index: -1;
    animation: neonGlow 10s linear infinite;
    opacity: 0.8;
}

.contact-note {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 700px;
    margin: -30px auto 0;

    margin: -30px auto 0;

    background: linear-gradient(to right,
            #9ca3af 40%,
            #ffffff 50%,
            #9ca3af 60%);
    background-size: 200% auto;
    color: #9ca3af;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    opacity: 1;

    opacity: 1;
    letter-spacing: 0.5px;
    line-height: 1.6;
}


.contact-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: #0b0b0b;

    background: #0b0b0b;
    border-radius: 23px;
    z-index: -1;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;

    gap: 40px;
    width: 100%;
}

.form-group {
    position: relative;
    width: 100%;
}


.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-size: 1.1rem;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    transition: border-color 0.4s ease;
    font-family: 'Inter', sans-serif;
    resize: none;

    resize: none;
}


.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-bottom-color: var(--accent-purple);
}


.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 1.1rem;
    color: #6b7280;
    pointer-events: none;
    transition: all 0.4s ease;
}


.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: -20px;
    font-size: 0.9rem;
    color: var(--accent-purple);

    font-family: 'VALORANT', sans-serif;
    letter-spacing: 1px;
}


.input-icon {
    position: absolute;
    right: 0;
    top: 15px;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.4s ease;
}

.form-group input:focus~.input-icon,
.form-group textarea:focus~.input-icon {
    color: var(--accent-purple);
    transform: translateY(-5px);
}


.btn-submit {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #fff;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;

    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2), inset 0 0 10px rgba(168, 85, 247, 0.1);
    backdrop-filter: blur(5px);
    width: 100%;

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-15deg);
    animation: glowLine 3s infinite linear;
}

.btn-submit:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), 0 0 15px rgba(168, 85, 247, 0.2);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    background: rgba(168, 85, 247, 0.1);
}


@media (max-width: 768px) {
    .contact-card {
        padding: 40px 25px;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -15;
    pointer-events: none;
}


.about-section .glass-card {
    position: relative;
    overflow: hidden;
}


.about-section .glass-card:hover::before {
    opacity: 1;
}

.about-section .glass-card h2,
.about-section .glass-card p {
    position: relative;
    z-index: 2;
}


@media (max-width: 768px) {
    .contact-card {
        padding: 40px 25px;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

.resume-modal {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resume-modal.show {
    display: flex;
    opacity: 1;
}

.resume-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.resume-modal.show .resume-modal-content {
    transform: scale(1) !important;
    opacity: 1 !important;
    filter: blur(0) !important;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2;
}

.close-modal:hover {
    color: var(--accent-purple);
}

.resume-iframe-container {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}