* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: white;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #1A152A;
    overflow-x: hidden;
}


nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(27, 27, 43, 0.8);
    backdrop-filter: blur(15px);
    color: white;
    position: fixed;
    top: 0;
    z-index: 1000;
}

nav .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    gap: 20px;
}

nav .logo i {
    font-size: 35px;
    color: #AD46FF;
}

nav .logo h1 {
    font-family: "Agbalumo", system-ui;
    font-weight: 400;
    font-style: normal;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #99a1af;
    padding: 30px 20px;
    text-transform: capitalize;
    position: relative;
    display: block;
    overflow: hidden;
    transition: 0.3s;
}

nav ul li a i {
    color: #99a1af;
    margin-right: 5px;
}

nav ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 4px;
    background-color: #AD46FF;
    border-radius: 20px;
    transition: 0.5s;
}

nav ul li:hover a,
nav ul li a:focus-visible {
    background-color: #111;
    color: white;
}

nav ul li:hover a::before,
nav ul li a:focus-visible::before {
    width: 100%;
}


#home {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1A152A;
    padding-top: 80px;
}

.photo-container {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: #AD46FF;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 15px #AD46FF);
}

.photo img {
    width: 97%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
}

#home .text {
    width: 55%;
    color: #99a1af;
}

#home .text h3 {
    font-family: "Geist Mono", monospace;
    font-size: 40px;
    color: #fff;
    margin-bottom: 10px;
}

#home .text h2 {
    font-size: 38px;
    max-width: 800px;
    margin-top: 20px;
    line-height: 1.3;
}

#home .text p {
    color: #99a1af;
    max-width: 650px;
    line-height: 1.8;
    margin-top: 15px;
    font-size: 18px;
}

.about-text {
    display: flex;
    gap: 20px;
    font-size: 22px;
    color: #fff;
    align-items: center;
}

.constant {
    text-transform: capitalize;
    color: white;
}

.csc {
    color: #9810FA;
    text-decoration: underline;
}


.about-text ul {
    height: 30px;
    line-height: 30px;
    list-style: none;
    color: #99a1af;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
}

.about-text ul li {
    height: 30px;
    line-height: 30px;
    position: relative;
    animation: moving 21s steps(3) infinite;
}

.about-text ul li span {
    position: relative;
    color: #99a1af;
    display: inline-block;
}

.about-text ul li span::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #1A152A;
    position: absolute;
    right: 0;
    top: 0;
    box-sizing: border-box;
    border-left: 2px solid #99a1af;
    animation: typing 7s steps(24) infinite;
}

@keyframes typing {
    0% {
        width: 100%;
    }

    50% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes moving {
    0% {
        top: 0;
    }

    100% {
        top: -90px;
    }
}


#about {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1A152A;
    padding: 100px 20px;
}

.content {
    filter: drop-shadow(0 0 100px rgba(152, 16, 250, 0.35));
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.content h2 {
    text-transform: capitalize;
    font-size: 42px;
}

.cards-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    width: 40%;
    min-height: 220px;
    background-color: #1E1E2F;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 15px;
    border: 1px solid rgba(153, 161, 175, 0.15);
    padding: 25px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(173, 70, 255, 0.25);
    border-color: rgba(173, 70, 255, 0.5);
}

.card i {
    font-size: 42px;
    color: #AD46FF;
}

.card h3 {
    text-align: center;
    font-size: 22px;
}

.card p {
    text-align: center;
    width: 90%;
    color: #99a1af;
    line-height: 1.7;
}


#tools {
    min-height: 100vh;
    background-color: #1A152A;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.tools {
    position: relative;
    width: 700px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}


.tools .sun-eff {
    background-color: #9810FA;
    width: 120px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    z-index: 10;
    box-shadow:
        0 0 20px #9810FA,
        0 0 50px #9810FA,
        0 0 90px #9810FA;
}

.tool {
    position: absolute;
    border: 1px solid rgba(153, 161, 175, 0.35);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    animation-name: orbit;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.tool.js {
    width: 600px;
    animation-duration: 18s;
    animation-delay: -2s;
}

.tool.css {
    width: 480px;
    animation-duration: 14s;
    animation-delay: -5s;
}

.tool.react {
    width: 360px;
    animation-duration: 10s;
    animation-delay: -3s;
}

.tool.burp {
    width: 240px;
    animation-duration: 7s;
    animation-delay: -1s;
}


.tool-icon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 55px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #1A152A;
    border: 1px solid #99a1af;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    box-shadow: 0 0 15px rgba(173, 70, 255, 0.6);
}

.tool-icon i {
    font-size: 28px;
}


.tool.js .tool-icon {
    animation: reverse-orbit 18s linear infinite;
    animation-delay: -2s;

}

.tool.css .tool-icon {
    animation: reverse-orbit 14s linear infinite;
    animation-delay: -5s;

}

.tool.react .tool-icon {
    animation: reverse-orbit 10s linear infinite;
    animation-delay: -3s;

}

.tool.burp .tool-icon {
    
    animation: reverse-orbit 7s linear infinite;
    animation-delay: -1s;
}


.js .tool-icon i {
    color: #f7df1e;
}

.css .tool-icon i {
    color: #1572b6;
}

.react .tool-icon i {
    color: #61dafb;
}

.burp .tool-icon i {
    color: #ff6633;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes reverse-orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}


.tool-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tool-icon::before {
    content: "";
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #111 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tool-icon:hover::after,
.tool-icon:hover::before {
    opacity: 1;
}

.tool-icon:hover::after {
    transform: translateX(-50%) translateY(-5px);
}


#projects {
    width: 100%;
    min-height: 100vh;
    background-color: #1A152A;
    padding: 100px 20px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#projects .container {
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.left {
    width: 45%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.left h3 {
    color: #AD46FF;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Geist Mono", monospace;
    font-size: 16px;
}

.left h2 {
    font-size: 45px;
    color: #fff;
    text-transform: capitalize;
}

.about-proj {
    background-color: #1E1E2F;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(153, 161, 175, 0.2);
    box-shadow: 0 0 25px rgba(173, 70, 255, 0.15);
}

.about-proj p {
    color: #99a1af;
    line-height: 1.8;
    font-size: 17px;
}

.link {
    width: 55px;
    aspect-ratio: 1 / 1;
    background-color: #1E1E2F;
    border: 1px solid #99a1af;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.link i {
    font-size: 28px;
    color: #fff;
}

.link:hover {
    background-color: #AD46FF;
    border-color: #AD46FF;
    box-shadow: 0 0 20px #AD46FF;
    transform: translateY(-5px);
}

.right {
    width: 45%;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right .project-img {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 10;
    background-color: #1E1E2F;
    border-radius: 20px;
    border: 1px solid rgba(153, 161, 175, 0.2);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(173, 70, 255, 0.2);
    cursor: pointer;
}

.right .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


footer {
    width: 100%;
    min-height: 60vh;
    background-color: #1A152A;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

footer > .shadow {
    width: 80%;
    background-color: #1E1E2F;
    border: 1px solid rgba(153, 161, 175, 0.2);
    border-radius: 25px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    box-shadow: 0 0 50px rgba(173, 70, 255, 0.18);
}

footer .text {
    max-width: 600px;
}

footer .text h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #fff;
    text-transform: capitalize;
}

footer .text p {
    color: #99a1af;
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 20px;
}

.email {
    display: inline-block;
    color: #AD46FF;
    background-color: rgba(173, 70, 255, 0.1);
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(173, 70, 255, 0.4);
    font-family: "Geist Mono", monospace;
}

.links {
    display: flex;
    gap: 20px;
}

.links div {
    width: 60px;
    aspect-ratio: 1 / 1;
    background-color: #1A152A;
    border: 1px solid #99a1af;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.links div i {
    font-size: 30px;
}

.facebook i {
    color: #1877f2;
}

.whatsapp i {
    color: #25d366;
}

.links div:hover {
    transform: translateY(-7px) scale(1.05);
    border-color: #AD46FF;
    box-shadow: 0 0 20px #AD46FF;
}


@media (max-width: 900px) {
    nav {
        flex-direction: column;
        padding-top: 15px;
    }

    nav .logo {
        width: 100%;
        margin-bottom: 10px;
    }

    nav ul {
        width: 100%;
        flex-wrap: wrap;
    }

    nav ul li a {
        padding: 15px 12px;
        font-size: 14px;
    }

    #home {
        flex-direction: column;
        padding-top: 150px;
        height: auto;
        min-height: 100vh;
        gap: 40px;
        text-align: center;
    }

    .photo-container {
        width: 100%;
    }

    #home .text {
        width: 90%;
    }

    #home .text h3 {
        font-size: 32px;
    }

    #home .text h2 {
        font-size: 26px;
    }

    #home .text p {
        font-size: 16px;
        margin-inline: auto;
    }

    .about-text {
        justify-content: center;
        flex-wrap: wrap;
    }

    #about {
        height: auto;
        min-height: 100vh;
        padding: 90px 20px;
    }

    .content h2 {
        font-size: 34px;
        text-align: center;
    }

    .card {
        width: 90%;
    }

    .tools {
        width: 360px;
    }

    .tools .sun-eff {
        width: 80px;
        font-size: 13px;
    }

    .tool.js {
        width: 330px;
    }

    .tool.css {
        width: 260px;
    }

    .tool.react {
        width: 190px;
    }

    .tool.burp {
        width: 120px;
    }

    .tool-icon {
        width: 42px;
    }

    .tool-icon i {
        font-size: 22px;
    }

    #projects .container {
        width: 95%;
        flex-direction: column;
    }

    .left,
    .right {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .left h2 {
        font-size: 34px;
    }

    footer > .shadow {
        width: 95%;
        padding: 35px 20px;
        text-align: center;
        justify-content: center;
    }

    footer .text h2 {
        font-size: 32px;
    }

    .email {
        font-size: 13px;
        word-break: break-word;
    }
}

@media (max-width: 500px) {
    nav ul li a {
        padding: 12px 8px;
        font-size: 12px;
    }

    nav ul li a i {
        display: none;
    }

    .photo {
        width: 230px;
        height: 230px;
    }

    .about-text {
        font-size: 16px;
        gap: 10px;
    }

    #home .text h2 {
        font-size: 22px;
    }

    .tools {
        width: 300px;
    }

    .tools .sun-eff {
        width: 70px;
        font-size: 11px;
    }

    .tool.js {
        width: 280px;
    }

    .tool.css {
        width: 220px;
    }

    .tool.react {
        width: 160px;
    }

    .tool.burp {
        width: 105px;
    }

    .tool-icon {
        width: 38px;
    }

    .tool-icon i {
        font-size: 20px;
    }

    .left h2 {
        font-size: 28px;
    }

    .about-proj p {
        font-size: 15px;
    }

    footer .text h2 {
        font-size: 28px;
    }

    .links div {
        width: 50px;
    }

    .links div i {
        font-size: 25px;
    }
}

.usp-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0; 
    max-width: 600px;
    margin-top: 15px;
    font-style: italic;
    opacity: 0.9;
}