:root{
    --dark-green: #111727;
    --main-color: #a753ff;
    --white: #fff;
    --bg-btn: #202938;
    --text-gray: #8b9bb4;
}

body{
    background-color: var(--dark-green);
    font-family: "Google Sans", sans-serif;
    color: var(--white);
    overflow-x: hidden;
}

*{
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

.navbar-nav .nav-link {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.navbar-nav .nav-link:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav .nav-link:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav .nav-link:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav .nav-link:nth-child(4) { animation-delay: 0.4s; }
.navbar-nav .nav-link:nth-child(5) { animation-delay: 0.5s; }
.navbar-nav .nav-link:nth-child(6) { animation-delay: 0.6s; }
.navbar-nav .nav-link:nth-child(7) { animation-delay: 0.7s; }

.navbar {
    background-color: #0f172a !important;
    min-height: 70px;
}

.navbar-brand span {
    color: #fff;
    font-size: 18px;
}

.nav-link {
    color: #fff !important;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--main-color); !important;
}

.navbar-toggler.menu-orbit {
    border: none;
    box-shadow: none;
}

.navbar-toggler.menu-orbit:focus {
    box-shadow: none;
}

.menu-orbit {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    transition: .3s ease;
}

.menu-orbit > span {
    width: 4px;
    height: 18px;
    background: var(--main-color);
    border-radius: 10px;
    transition: .35s ease;
}

.menu-orbit:hover span:nth-child(1) {
    transform: translateY(-5px);
}

.menu-orbit:hover span:nth-child(2) {
    height: 10px;
}

.menu-orbit:hover span:nth-child(3) {
    transform: translateY(5px);
}

@keyframes rotateMenu {
    to {
        transform: rotate(360deg);
    }
}

.name-hero{
    margin-top: 100px;

}

.main-text{
    margin-top: 50px;
    margin-left: 105px;
}

.main-text h1{
    font-weight: 800;
}

.main-text p{
    width: 420px;
    margin-bottom: 0;
    font-weight: 400;
}

.btns{
    margin-top: 35px;
}

.btn-1 a{
    background: var(--bg-btn);
    padding: 13px 30px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn-1 a:hover{
    background: var(--main-color);
}

.btn-2 a{
    background: var(--main-color);
    padding: 13px 30px;
    border-radius: 5px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.circle {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;

}

.orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border: 6px solid #1e293b;
    z-index: 2;
}

.icon {
    width: 40px;
    position: absolute;
    animation: rotateReverse 20s linear infinite;
}

.circle {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
}

.circle::before,
.circle::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px dashed #a753ff;
    z-index: 0;
    pointer-events: none;
}

.circle::before {
    width: 300px;
    height: 300px;
    top: 40px;
    left: 40px;
}

.circle::after {
    width: 380px;
    height: 380px;
    top: 0;
    left: 0;
}

.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 6px solid #1e293b;
    z-index: 2;
}

.orbit {
    position: absolute;
    inset: 0;
    z-index: 5;
    animation: orbitRotate 20s linear infinite;
}

.icon-wrap {
    position: absolute;
    top: 45%;
    left: 46%;
    z-index: 10;
}

.icon-wrap img {
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 20;
    animation: fixRotate 20s linear infinite;
}

.icon1 { transform: rotate(0deg) translateX(190px) rotate(0deg); }
.icon2 { transform: rotate(60deg) translateX(190px) rotate(-60deg); }
.icon3 { transform: rotate(120deg) translateX(190px) rotate(-120deg); }
.icon4 { transform: rotate(180deg) translateX(190px) rotate(-180deg); }
.icon5 { transform: rotate(240deg) translateX(190px) rotate(-240deg); }
.icon6 { transform: rotate(300deg) translateX(190px) rotate(-300deg); }

@media (max-width: 768px) {
    .icon1 { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    .icon2 { transform: rotate(60deg) translateX(120px) rotate(-60deg); }
    .icon3 { transform: rotate(120deg) translateX(120px) rotate(-120deg); }
    .icon4 { transform: rotate(180deg) translateX(120px) rotate(-180deg); }
    .icon5 { transform: rotate(240deg) translateX(120px) rotate(-240deg); }
    .icon6 { transform: rotate(300deg) translateX(120px) rotate(-300deg); }
}

.github-icon {
    filter: invert(1);
}

@keyframes orbitRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fixRotate {
    to {
        transform: rotate(-360deg);
    }
}

.navbar {
    position: relative;
    z-index: 9999;
}

section:has(.navbar) {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #111727;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0f172a;
        padding: 20px;
        border-radius: 0 0 12px 12px;
        z-index: 9999;
    }

    .navbar-nav {
        gap: 18px;
    }
}

@media (max-width: 1068px) {
    .name-hero {
        margin-top: 60px;
    }

    .row {
        flex-direction: column;
    }

    .main-text {
        text-align: center;
        margin-bottom: 50px;
        margin-right: 400px;
    }

    .main-text h1 {
        font-size: 32px;
    }

    .main-text p {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
    }

    .btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-1 a,
    .btn-2 a {
        display: inline-block;
        padding: 12px 25px;
    }

    .hero-image {
        margin-top: 30px;
        overflow: hidden;
    }

    .circle {
        width: 260px;
        height: 260px;
        margin: auto;
    }

    .circle::before {
        width: 200px;
        height: 200px;
        top: 30px;
        left: 30px;
    }

    .circle::after {
        width: 260px;
        height: 260px;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .icon-wrap img {
        width: 30px;
        height: 30px;
    }

    .icon1 { transform: rotate(0deg) translateX(130px) rotate(0deg); }
    .icon2 { transform: rotate(60deg) translateX(130px) rotate(-60deg); }
    .icon3 { transform: rotate(120deg) translateX(130px) rotate(-120deg); }
    .icon4 { transform: rotate(180deg) translateX(130px) rotate(-180deg); }
    .icon5 { transform: rotate(240deg) translateX(130px) rotate(-240deg); }
    .icon6 { transform: rotate(300deg) translateX(130px) rotate(-300deg); }
}