/* Base Styles */
body {
    scroll-behavior: smooth;
}

/* Binary Background Animation */
.binary-bg {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    overflow: hidden;
}

.binary-column {
    animation: binaryFlow 15s linear infinite;
    background: repeating-linear-gradient(to bottom,
            transparent,
            transparent 20px,
            rgba(109, 40, 217, 0.2) 20px,
            rgba(109, 40, 217, 0.2) 40px);
}

.binary-column:nth-child(2) {
    animation-delay: -3s;
    background: repeating-linear-gradient(to bottom,
            transparent,
            transparent 25px,
            rgba(59, 130, 246, 0.2) 25px,
            rgba(59, 130, 246, 0.2) 50px);
}

.binary-column:nth-child(3) {
    animation-delay: -6s;
    background: repeating-linear-gradient(to bottom,
            transparent,
            transparent 15px,
            rgba(168, 85, 247, 0.2) 15px,
            rgba(168, 85, 247, 0.2) 30px);
}

.binary-column:nth-child(4) {
    animation-delay: -9s;
    background: repeating-linear-gradient(to bottom,
            transparent,
            transparent 30px,
            rgba(99, 102, 241, 0.2) 30px,
            rgba(99, 102, 241, 0.2) 60px);
}

.binary-column:nth-child(5) {
    animation-delay: -12s;
    background: repeating-linear-gradient(to bottom,
            transparent,
            transparent 18px,
            rgba(139, 92, 246, 0.2) 18px,
            rgba(139, 92, 246, 0.2) 36px);
}

@keyframes binaryFlow {
    0% {
        transform: translateY(-100%);
    }

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

/* Glowing Border Effect */
.glowing-border {
    position: relative;
    border-radius: 9999px;
    background: linear-gradient(45deg, #8b5cf6, #6366f1, #3b82f6, #8b5cf6);
    background-size: 300% 300%;
    animation: gradientGlow 4s ease infinite;
}

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

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

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

/* Holographic Card Effect */
.holographic-card {
    position: relative;
    overflow: hidden;
}

.holographic-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: linear-gradient(to bottom right,
            rgba(139, 92, 246, 0.1) 0%,
            rgba(59, 130, 246, 0.1) 50%,
            rgba(139, 92, 246, 0.1) 100%);
    transform: rotate(30deg);
    animation: holographicEffect 8s linear infinite;
}

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

    100% {
        transform: rotate(30deg) translateX(100%);
    }
}

/* Hexagon Shape */
.hexagon-container {
    width: 350px;
    height: 400px;
    position: relative;
}

.hexagon {
    width: 100%;
    height: 100%;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon-inner {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: #111827;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-card {
    text-align: center;
    padding: 2rem;
}

.stat {
    margin-bottom: 2rem;
}

.stat .number {
    display: block;
    font-size: 3rem;
    background: linear-gradient(to right, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat .label {
    font-size: 1rem;
    color: #9ca3af;
}

/* Skill Cards */
.skill-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(109, 40, 217, 0.3);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.3);
    border-color: rgba(109, 40, 217, 0.5);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(109, 40, 217, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(109, 40, 217, 0.3);
}

.skill-icon svg {
    width: 30px;
    height: 30px;
    stroke: #8b5cf6;
}

.skill-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.skill-bar {
    height: 4px;
    background: rgba(156, 163, 175, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, #8b5cf6, #3b82f6);
    border-radius: 2px;
}

/* Project Cards */
.project-card {
    background: rgba(17, 24, 39, 0.7);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(109, 40, 217, 0.3);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
    border-color: rgba(109, 40, 217, 0.5);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.project-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(59, 130, 246, 0.8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: #8b5cf6;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link svg {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: #3b82f6;
}

.project-link:hover svg {
    transform: translateX(3px);
}

/* Contact Icons */
.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(109, 40, 217, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(109, 40, 217, 0.3);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: #8b5cf6;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(109, 40, 217, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(109, 40, 217, 0.3);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(109, 40, 217, 0.3);
    transform: translateY(-3px);
}


.about-divider {
    width: 100%;
    height: 1px;
    margin: 20px 0;
    background: linear-gradient(to right,
            transparent,
            rgba(139, 92, 246, 0.6),
            transparent);
}



.social-icon svg {
    width: 20px;
    height: 20px;
    stroke: #8b5cf6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hexagon-container {
        width: 280px;
        height: 320px;
    }

    .stat .number {
        font-size: 2rem;
    }
}


