@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

:root {
    --main-color: #38bdf8;
    --main-gradient: linear-gradient(135deg, #0284c7, #38bdf8);
    --white: #e0f2fe;
    --text-color: #f8fafc;
    --bg-color: #0f172a;
    --bg-gradient: linear-gradient(135deg, #0f172a, #1e293b);
    --second-bg-color: #1e293b;
    --second-bg-gradient: linear-gradient(135deg, #1e293b, #334155);
    --light-color: #94a3b8;
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    transition: all .2s linear;
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

html {
    font-size: 63.5%;
}

body {
    background: var(--bg-gradient);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: transparent;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    margin-bottom: 2rem;
}

.logo {
    font-size: 2rem;
    color: var(--text-color);
    text-transform: capitalize;
    font-weight: 600;
}

.logo span {
    color: var(--main-color);
    text-transform: capitalize;
}

.header .navbar a {
    font-size: 2rem;
    color: var(--text-color);
    text-transform: capitalize;
    font-weight: 500;
    margin: 0 1rem;
}

.header .navbar a#Home {
    color: var(--main-color);
    text-decoration: underline;
}

.header .navbar a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

section {
    padding: 5rem 5%;
}

.home {
    min-height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.home .content {
    display: flex;
    flex-flow: column;
    align-items: start;
    justify-content: center;
    gap: 1rem;
}

.home .content h1 {
    font-size: 4rem;
    color: var(--text-color);
    text-transform: capitalize;
}

.home .content h1 span {
    color: var(--main-color);
}

.home .content h3 {
    font-size: 2rem;
    color: var(--text-color);
    text-transform: capitalize;
}

.home .content p {
    color: var(--text-color);
    font-size: 1.2rem;
    text-transform: none;
    line-height: 1.5;
    width: 50rem;
    margin-bottom: 1rem;
    text-align: left;
}

.home .content .flex-btn {
    display: inline-block;

}

.home .content .flex-btn .btn {
    color: var(--main-color);
    background: var(--bg-gradient);
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: 500;
    border: .2rem solid var(--main-color);
    border-radius: 0rem;
}

.home .content .flex-btn .btn.hire {
    background: var(--main-gradient);
    color: var(--text-color);
    border: none;
}

.home .content .flex-btn .btn:hover {
    background: var(--main-gradient);
    color: var(--text-color);
    border: none;
    box-shadow: .1rem .5rem 1rem var(--main-color);
}

.home .content .icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.home .content .icons i {
    color: var(--main-color);
    font-size: 2rem;
    border: .2rem solid var(--main-color);
    padding: 1rem;
    border-radius: 50%;
}

.home .content .icons i:hover {
    cursor: pointer;
    background: var(--main-gradient);
    color: var(--text-color);
    box-shadow: .1rem .5rem 1rem var(--main-color);
}

.home img {
    border-radius: 50%;
    height: 45rem;
    width: 45rem;
    object-fit: cover;
    box-shadow: 0 0 2.5rem var(--main-color);
}

.home img:hover {
    box-shadow: 0 0 2.5rem var(--main-color),
        0 0 5rem var(--main-color),
        0 0 10rem var(--main-color);
}





.text-animation {
    font-size: 2rem;
    color: var(--text-color);
    text-transform: capitalize;
    min-width: 28rem;
    font-weight: 600;
}

.text-animation span {
    position: relative;
}

.text-animation span::before {
    content: "web developer";
    color: var(--main-color);
    animation: words 20s infinite;
}

.text-animation span::after {
    content: "";
    background: var(--bg-gradient);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--bg-color);
    right: -8px;
    animation: cursor 0.6s infinite,
        typing 20s steps(14) infinite;
}

@keyframes cursor {
    to {
        border-left: 2px solid var(--main-color);
    }
}

@keyframes words {

    0%,
    20% {
        content: "Frontend Developer";
    }

    21%,
    40% {
        content: "Web Designer";
    }

    41%,
    60% {
        content: "UI / UX Designer";
    }

    61%,
    80% {
        content: "Web Developer";
    }

    81%,
    100% {
        content: "Software Developer";
    }
}

@keyframes typing {

    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95% {
        width: 0;
    }

    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85% {
        width: calc(100% + 8px);
    }
}

.menu i {
    color: var(--white);
    font-size: 2rem;
    display: none;
}

.menu i:hover {
    color: var(--main-color);
    text-shadow: .1rem .5rem 1rem var(--main-color);
}

.education {
    padding-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    min-height: 50vh;
    background: var(--second-bg-gradient);
}

.education .heading {
    font-size: 4rem;
    color: var(--text-color);
    margin-bottom: 7rem;
}

.education .timeline-items {
    max-width: 110rem;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.education .timeline-items::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background: var(--main-gradient);
    left: calc(50% - 1px);
}

.education .timeline-items .timeline-item {
    margin-bottom: 4rem;
    width: 100%;
    position: relative;
}

.education .timeline-items .timeline-item:last-child {
    margin-bottom: 0;
}

.education .timeline-items .timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: left;
}

.education .timeline-items .timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
    text-align: left;
}

.education .timeline-items .timeline-item .timeline-dot {
    position: absolute;
    left: calc(50% - 8px);
    top: 10px;
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    background: var(--main-gradient);
}

.education .timeline-items .timeline-item .timeline-date {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.education .timeline-items .timeline-item .timeline-content {
    padding: 1.5rem;
    width: 100%;
    max-width: 50rem;
    border: .2rem solid var(--main-color);
    border-radius: 3rem;
    transition: .5s ease-in-out;
}

.education .timeline-items .timeline-item .timeline-content:hover {
    cursor: pointer;
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 25px var(--main-color),
        0 0 50px var(--main-color);
}

.education .timeline-items .timeline-item .timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.education .timeline-items .timeline-item .timeline-content p {
    font-size: 2rem;
    color: var(--text-color);
    line-height: 1.8;
    text-transform: none;
    display: flex;
    align-items: flex-start;
}

.education .timeline-items .timeline-item .timeline-content p strong {
    color: var(--main-color);
    font-weight: 600;
}

.services {
    min-height: 100vh;
    background: var(--bg-gradient);
    padding: 5rem 5%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.services .heading {
    color: var(--text-color);
    font-size: 4rem;
    text-align: center;
    margin-bottom: 2rem;
}

.services .box-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.services .box-container .box {
    background: var(--main-gradient);
    width: 60rem;
    padding: 2rem;
    border-radius: 3rem;
    border: .2rem solid var(--main-color);
    transition: .5s ease-in-out;
}

.services .box-container .box:hover {
    background-color: var(--white);
    box-shadow: .1rem .5rem 1rem var(--main-color);
    scale: 1.1;
}

.services .box-container .box h3 {
    font-size: 1.7rem;
    color: var(--text-color);
    text-transform: capitalize;
    margin-bottom: 1rem;
}

.services .box-container .box p {
    font-size: 1.2rem;
    color: var(--text-color);
    text-transform: lowercase;
    margin-bottom: 1rem;
    line-height: 2;
}

.services .box-container .box:hover p,
.services .box-container .box:hover h3 {
    color: var(--bg-color);
}

.testimonials {
    min-height: 100vh;
    background: var(--second-bg-gradient);
    padding: 5rem 5%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.testimonials .heading {
    color: var(--text-color);
    font-size: 4rem;
    text-align: center;
    margin-bottom: 2rem;
}

.testimonials .box-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin: 2rem 0;
}

.testimonials .box-container .box img {
    height: 8rem;
    width: 8rem;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: .1rem .5rem 1rem var(--main-color);
    border: .2rem solid var(--main-color);
}

.testimonials .box-container .box {
    background: var(--bg-gradient);
    border-radius: 2rem;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 3rem 1rem;
    width: 60rem;
    border: .1rem solid var(--main-color);

}

.testimonials .box-container .box h3 {
    color: var(--text-color);
    font-size: 3rem;
}

.testimonials .box-container .box p {
    color: var(--text-color);
    font-size: 2rem;
    line-height: 2;
    text-transform: lowercase;
}

.testimonials .box-container .box .stars i {
    color: gold;
    font-size: 1rem;
    margin: 1rem 0;
}

.testimonials .box-container .box:hover {
    box-shadow: 0 0 25px var(--main-color),
        0 0 50px var(--main-color);
    transform: translateY(-2rem);
    cursor: pointer;
}

.contact {
    min-height: 100vh;
    background: var(--bg-gradient);
    padding: 5rem 5%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.contact .heading {
    color: var(--text-color);
    font-size: 4rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact .heading span {
    color: var(--main-color);
}

.contact .form-container {
    width: 100%;
}

.contact .form-container form {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    width: 100%;
}

.contact .form-container form .inputs,
.contact .form-container form .text {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 49%;
}

.contact .form-container form .inputs .input,
.contact .form-container form .text textarea {
    background: var(--bg-gradient);
    border: none;
    padding: 1rem;
    border-radius: 1rem;
    width: 90%;
    border: .1rem solid var(--main-color);
    outline: none;
    color: var(--text-color);
    font-size: 1.5rem;
    text-transform: capitalize;
}

.contact .form-container form .text textarea {
    height: 15rem;
    resize: none;
}

.contact .form-container form .text .btn {
    color: var(--text-color);
    font-size: 1.6rem;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: var(--main-gradient);
    box-shadow: 0 0 25px var(--main-color);
}

.contact .form-container form .text .btn:hover {
    box-shadow: 0 0 25px var(--main-color),
        0 0 25px var(--main-color),
        0 0 50px var(--main-color);

}

.footer {
    background: var(--second-bg-gradient);
    padding: 5rem 5%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer .icons i {
    font-size: 3rem;
    color: var(--main-color);
    margin: 0 1.5rem;
    text-shadow: 0 0 10px var(--main-color);
    transition: 0.3s ease-in-out;
}

.footer .icons i:hover {
    color: #fff;
    text-shadow: 0 0 20px var(--main-color), 0 0 40px var(--main-color);
    transform: scale(1.1);
}

.footer .navbar {
    margin: 2rem 0;
}

.footer .navbar a {
    font-size: 2rem;
    color: var(--text-color);
    text-transform: capitalize;
    font-weight: 500;
    margin: 2rem 1rem;

}

.footer .navbar a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

.footer .credit p {
    font-size: 1.3rem;
    color: var(--light-color);
    text-transform: capitalize;
}

.footer .credit p i,
.footer .credit p span {
    color: var(--main-color);
}

/* Skills Numbers Interactive Styles */
.skill-num {
    background: var(--main-gradient);
    color: var(--bg-color);
    border-radius: 50%;
    min-width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-right: 1.5rem;
    box-shadow: 0 0 10px var(--main-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.education .timeline-items .timeline-item .timeline-content p {
    margin-bottom: 1.5rem;
}

.education .timeline-items .timeline-item .timeline-content p:last-child {
    margin-bottom: 0;
}

.education .timeline-items .timeline-item .timeline-content p:hover .skill-num {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 0 15px var(--white);
    color: var(--white);
}

/* Projects Section Overhaul */
.projects-container {
    max-width: 110rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    background: var(--bg-gradient);
    padding: 3rem;
    border-radius: 2rem;
    border: .1rem solid var(--main-color);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-row:hover {
    transform: translateY(-1rem);
    box-shadow: 0 0 2.5rem var(--main-color), 0 0 5rem var(--main-color);
}

.project-row.reverse {
    flex-direction: row-reverse;
}

.project-img {
    flex: 1;
    overflow: hidden;
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
}

.project-img img {
    width: 100%;
    max-width: 45rem;
    height: 30rem;
    object-fit: cover;
    border-radius: 1.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: .2rem solid var(--main-color);
}

.project-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 2.5rem var(--main-color), 0 0 5rem var(--main-color);
    cursor: pointer;
}

.project-info {
    flex: 1;
}

.project-info h3 {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.project-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main-gradient);
    color: var(--bg-color);
    border-radius: 50%;
    min-width: 3.5rem;
    height: 3.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    margin-right: 1.5rem;
    box-shadow: 0 0 10px var(--main-color);
    flex-shrink: 0;
}

.project-info p {
    font-size: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
    text-transform: none;
}

.project-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 80%;
    margin: 0 auto;
}

.project-separator hr {
    flex: 1;
    border: none;
    border-top: .2rem solid var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
}

.project-separator i {
    font-size: 2.5rem;
    color: var(--main-color);
    text-shadow: 0 0 15px var(--main-color);
}