* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;  
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.navbar {
    display: flex !important;
    justify-content: center;
}

.logo {
    display: block;
    position: absolute;
    left: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: rgba(241, 245, 249, 1);
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: rgba(34, 211, 238, 1);
    background-color: rgba(34, 211, 238, 0.05);
    border-radius: 0.5rem;
}

.nav-links a.active {
    color: rgba(34, 211, 238, 1);
    border-bottom-color: rgba(34, 211, 238, 1);
    font-weight: 600;
}


.hamburger {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
        transform-origin: left;
    }
    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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


.skill-card {
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform: scale(1);
}

.skill-card:hover {
    border-color: rgba(34, 211, 238, 0.5);
    transform: scale(1.05);
}

.progress {
    background: rgb(30, 41, 59);
    border-radius: 9999px;
    overflow: hidden;
    height: 0.75rem;
}

.progress-bar {
    background: linear-gradient(to right, rgba(34, 211, 238, 1), rgba(14, 165, 233, 1));
    height: 100%;
    border-radius: 9999px;
}

.project-card {
    transition: all 0.3s ease;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom right, rgba(30, 41, 59, 0.7), rgba(51, 65, 85, 0.5));
    text-align: center;
    transition: all 0.3s ease;
}

.icon:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.2);
}

.icon i {
    border-radius: 0;
    color: rgba(34, 211, 238, 1);
    background: transparent;
    font-size: 1.875rem;
}

.icon img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    filter: brightness(1.5);
}

.social-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 1);
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 0.5rem;
    color: rgba(241, 245, 249, 1);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(100, 116, 139, 1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 1);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}


.nav-item.active {
    color: rgba(34, 211, 238, 1);
    border-bottom: 2px solid rgba(34, 211, 238, 1);
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        justify-content: flex-start;
    }

    .logo {
        position: static;
        margin-bottom: 0.5rem;
    }

    .nav-links {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 5rem;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(34, 211, 238, 0.2);
        z-index: 40;
        justify-content: center;
        align-items: stretch;
    }

    .nav-links.flex {
        display: flex !important;
    }

    .nav-links li {
        text-align: center;
        margin: 0;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        display: block;
        border-bottom: 2px solid transparent;
        text-align: center;
    }

    .nav-links a.active {
        border-bottom-color: rgba(34, 211, 238, 1);
        color: rgba(34, 211, 238, 1);
    }

    .hamburger {
        display: block !important;
        font-size: 1.5rem;
        color: rgba(34, 211, 238, 1);
        cursor: pointer;
        z-index: 40;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #06b6d4, #0ea5e9);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #0ea5e9, #6366f1);
}

.floating {
    animation: floatAnimation 3s ease-in-out infinite;
}

*:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 1);
    outline-offset: 2px;
}

[data-aos][data-aos-delay="100"] {
    animation-delay: 100ms;
}

[data-aos][data-aos-delay="200"] {
    animation-delay: 200ms;
}

[data-aos][data-aos-delay="300"] {
    animation-delay: 300ms;
}

[data-aos][data-aos-delay="400"] {
    animation-delay: 400ms;
}

[data-aos][data-aos-delay="500"] {
    animation-delay: 500ms;
}