html {
    scroll-behavior: smooth;
}

body {
    font-family: Poppins, sans-serif;
    margin: auto;
    color: auto;
    line-height: 1.4;
    text-align: center;
    background-color: #000000;
}

header {
    color: #fff;
    background-color: black;
    padding: 15px 0;
    line-height: 1;
}

h1 {
    font-size: 27px;
}

p {
    font-weight: 500;
}

a {
    text-decoration: none;
}

.navbar {
    background: linear-gradient(to bottom, #00236F, #000000);
    height: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
}

.navbar .nav-menu {
    padding-left: 15px;
}

.navbar-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.nav-logo .name {
    margin-left: 10px;
    padding-bottom: 10px;
    height: 30px;
    width: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.nav-logo .logoford {
    margin-top: 10px;
    margin-left: 20px;
    height: 50px;
    width: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5px;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-menu .navlink:hover {
    color: #0088FF;
    text-shadow: 0 0 10px rgba(0, 136, 255, 0.8), 0 0 20px rgba(0, 136, 255, 0.6), 0 0 30px rgba(0, 136, 255, 0.4);
    /* Glowing effect */
}

.nav-menu .navlink:hover::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 30%;
    transform: translateX(-50%);
    height: 4px;
    background-color: #0088FF;
    text-shadow: 0 0 10px rgba(0, 136, 255, 0.8), 0 0 20px rgba(0, 136, 255, 0.6), 0 0 30px rgba(0, 136, 255, 0.4);
}

.nav-menu a:hover {
    transform: scale(1.05);
}

.nav-menu a,
.nav-menu .resume-button {
    text-decoration: none;
    color: #ffffff;
    padding: 0.5rem 1rem;
}

.nav-menu .resume-button {
    background: linear-gradient(to top, #00236F, #000000);
    color: #fff;
    border: 2px solid #fff;
    margin-right: 15px;
}

.resume-button:hover {
    background: linear-gradient(to right, #00236F, #000000);
}

.nav-toggle {
    display: none;
}

.about-me img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.arrow-container {
    text-align: center;
    font-size: 20px;
    color: #ffffff;
}

.arrow-container i {
    display: block;
    margin: 0 0 1px 0;
}

.arrow-container i {
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.about-me h1 {
    margin-bottom: 30px;
    margin-top: 30px;
}

.gradient-line {
    height: 1.5px;
    width: 100%;
    background: linear-gradient(to right, #0080FF50, #0088FF, #0080FF50);
    opacity: 0.5;
    margin: 20px 0;
}

@media screen and (max-width: 768px) {
    .navbar {
        height: auto;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        display: none;
        transition: max-height 0.3s ease-out, padding 0.3s ease-out;
        max-height: 0;
        overflow: hidden;
    }

    .nav-menu.active {
        display: flex;
        max-height: 500px;
        padding: 20px 0;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-toggle i {

        margin-top: 20px;
        font-size: 24px;
        cursor: pointer;
        color: #fff;
    }

    .nav-menu.active+.about-me {
        margin-top: 1000px;
    }

    .logoford {
        display: none;
    }

    .name {
        margin-left: 0;
        margin-top: 40px;
    }

    .nav-menu .resume-button {
        margin: 0;
    }
}

.social-icons {
    position: fixed;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.icon-box:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px 10px rgba(0, 136, 255, 0.9);
}

@media screen and (max-width: 768px) {
    .icon-box {
        width: 30px;
        height: 30px;
    }

    .social-icons {
        left: -6px;
    }

    .fab {
        font-size: 20px;
    }
}

.about-section {
    width: 80%;
    max-width: 1040px;
    margin: auto;
    text-align: center;
    color: #fff;
}

.heading {
    font-size: 25px;
    letter-spacing: 8px;
    margin-bottom: 10px;
    color: #fff;
}

.about-section .divider {
    width: 40px;
    height: 5px;
    border-radius: 10px;
    background-color: #fff;
    margin: 10px auto 30px auto;
}

.p1about {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    letter-spacing: 4px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-left,
.about-right {
    width: 48%;
    text-align: left;
}

.about-left h2,
.about-right h2 {
    font-size: 25px;
    margin-bottom: 15px;
    font-weight: 900;
}

.about-left p {
    font-size: 16px;
    line-height: 1.6;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    color: #000;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.skill {
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.3s ease;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill:hover {
    transform: scale(1.1);
}

.contact-button {
    width: 200px;
    margin-top: 50px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(to left, #00236F, #000000);
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: linear-gradient(to top, #00236F, #000000);
    color: #fff;
}

.about-right h2 {
    text-align: end;
    margin-right: 10px;
    padding-bottom: 0px;
}

.skills-line1,
.skills-line2,
.skills-line3,
.skills-line4 {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 3px;
}

.skills-line1 {
    margin-left: 180px;
}

.skills-line2 {
    margin-left: 156px;
}

.skills-line3 {
    margin-left: 233px;
}

.skills-line4 {
    margin-left: 187px;
}

@media (max-width: 768px) {
    .about-right h2 {
        text-align: center;
        margin-right: 55px;
        font-size: 19px;
    }

    .about-left,
    .about-right {
        width: 100%;
        margin-bottom: 20px;
    }

    .about-left {
        display: none;
    }

    .about-section p {
        font-size: 14px;
    }

    .skills {
        justify-content: center;
    }

    .skills-line1,
    .skills-line2,
    .skills-line3,
    .skills-line4 {
        margin-left: 0;
        margin-right: 55px;
    }

    .skill {
        background-color: #ffffff;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 12px;
        font-weight: 800;
    }
}

.education .divider {
    width: 40px;
    height: 5px;
    border-radius: 10px;
    background-color: #fff;
    margin: 10px auto 30px auto;
}

.timeline {
    position: relative;
    width: 80%;
    margin: 0 auto 50px auto;
    background-color: #00000000;
    color: #fff;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: transparent;
    border-left: 2px dotted #fff;
    z-index: 0;
    opacity: 0.7;
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 200px 0;
}

.timeline-content {
    position: absolute;
    width: 45%;
    text-align: right;
    line-height: 4;
}

.timeline-content.left {
    left: 0;
    text-align: right;
}

.timeline-content.right {
    right: 0;
    text-align: left;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0;
    letter-spacing: 6px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
    opacity: 0.8;
    letter-spacing: 6px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #0088FF, #00236F);
    border: 6px solid #fff;
    border-radius: 50%;
    z-index: 1;
    position: absolute;
    left: calc(50% - 14px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-dot:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px 5px #0088FF;
}

@media (max-width: 768px) {
    .timeline {
        width: 80%;
    }

    .timeline-content {
        width: 100%;
        text-align: center;
        line-height: normal;
    }

    .timeline-content h3 {
        font-size: 15px;
        letter-spacing: normal;
    }

    .timeline-content p {
        font-size: 10px;
        letter-spacing: normal;
    }

    .timeline-content.left,
    .timeline-content.right {
        position: relative;
        left: 0;
        right: 0;
    }

    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .timeline-item {
        margin: 100px 0;
    }

    .timeline-dot:hover {
        transform: scale(1);
        box-shadow: 0 0 15px 5px #0088FF;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease, transform 2s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.projects .divider {
    width: 40px;
    height: 5px;
    border-radius: 10px;
    background-color: #fff;
    margin: 10px auto 30px auto;
}

.carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0px 0 30px 0;
    font-family: Arial, sans-serif;
}

.carousel {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    position: relative;
}

.carousel-slide {
    display: flex;
    align-items: center;
    width: 100%;
    opacity: 0;
    position: absolute;
    z-index: 1;
    flex-wrap: wrap;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.arrow {
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    position: relative;
    box-sizing: border-box;
}

.arrow {
    flex-shrink: 0;
    display: inline-flex;
}

.arrow:hover {
    background: white;
    color: black;
}

.project-description {
    flex: 1;
    padding: 20px;
    margin-left: 50px;
    color: #ffffff;
    text-align: left;
}

.project-description h1 {
    font-size: 44px;
    margin-bottom: 10px;
    line-height: 1;
}

.project-description p {
    font-size: 16px;
    margin-bottom: 15px;
}

.github-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.github-link:hover {
    text-decoration: underline;
}

.project-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

.project-image img {
    width: 500px;
    height: auto;
    border-radius: 5px;
    margin-left: 60px;
    margin-top: 40px;
}

.allproject-button {
    width: 200px;
    margin-top: 50px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(to left, #00236F, #000000);
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.allproject-button:hover {
    background: linear-gradient(to top, #00236F, #000000);
    color: #fff;
}

.highlight-bar {
    display: inline-block;
    width: 3px;
    height: 15px;
    background: linear-gradient(to top, #0062ff, #ffffff);
    margin-right: 10px;
}

.contact .divider {
    width: 40px;
    height: 5px;
    border-radius: 10px;
    background-color: #fff;
    margin: 10px auto 30px auto;
}

form {
    max-width: 420px;
    margin: 50px auto;
}

.feedback-input {
    color: white;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border: 2px solid #005ca7;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    outline: 0;
}

.feedback-input:focus {
    border: 2px solid #008cff;
}

textarea {
    height: 150px;
    line-height: 150%;
    resize: vertical;
}

[type="submit"] {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    width: 100%;
    background: linear-gradient(to right, #00236F, #000000);
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: white;
    font-size: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.3s;
    margin-top: -4px;
    font-weight: 700;
    border: 2px solid #fff;
}

[type="submit"]:hover {
    background: linear-gradient(to top, #00236F, #000000);
}

@media (max-width: 1200px) {
    .carousel-container {
        width: 95%;
        max-width: 100%;
    }

    .arrow.left {
        margin-left: 18px;
    }

    .arrow.right {
        margin-left: 18px;
    }

    .project-description h1 {
        font-size: 36px;
    }

    .project-description p {
        font-size: 18px;
    }

    .project-image {
        max-width: 90%;
    }

    .project-image img {
        max-width: 250px;
        margin-right: 21px;
    }

    .allproject-button {
        width: 180px;
    }
}

@media (max-width: 768px) {
    form {
        margin-left: 60px;
        margin-right: 60px;
    }

    .highlight-bar {
        display: none;
    }

    .carousel {
        flex-direction: column;
        align-items: center;
    }

    .carousel-slide {
        flex-direction: column;
        align-items: center;
        opacity: 0;
        position: absolute;
        z-index: 1;
    }

    .carousel-slide.active {
        opacity: 1;
        position: relative;
        z-index: 2;
    }

    .project-description {
        text-align: center;
        order: 2;
        margin: 5px;
        margin-left: 20px;
    }

    .project-description h1 {
        font-size: 28px;
    }

    .project-description p {
        font-size: 14px;
    }

    .project-image {
        width: 100%;
        margin-top: 20px;
        order: 1;
    }

    .project-image img {
        width: 90%;
    }

    .arrow.left {
        position: static;
    }

    .arrow.right {
        position: static;
    }

    .arrows-container {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }

    .arrow {
        position: relative;
    }

    .allproject-button {
        width: 150px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carousel {
        padding: 10px;
    }

    .carousel-slide {
        width: 100%;
    }

    .project-description h1 {
        font-size: 26px;
    }

    .project-description p {
        font-size: 16px;
    }

    .project-image img {
        width: 100%;
    }

    .allproject-button {
        width: 200px;
        font-size: 16px;
    }
}

.footer-text {
    font-size: 15px;
    letter-spacing: 7px;
    color: #fff;
}

@media (max-width: 768px) {
    .footer-text {
        font-size: 12px;
    }
}

@import url('https://fonts.googleapis.com/css?family=Quattrocento+Sans');

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-text {
    text-align: center;
    font-size: 2rem;
    height: 100px;
    line-height: 100px;
}

.loading-text span {
    display: inline-block;
    margin: 0 5px;
    color: #0080ff;
    font-family: 'Quattrocento Sans', sans-serif;
}

.loading-text span:nth-child(1) {
    animation: blur-text 1.5s 0s infinite linear alternate;
}

.loading-text span:nth-child(2) {
    animation: blur-text 1.5s 0.2s infinite linear alternate;
}

.loading-text span:nth-child(3) {
    animation: blur-text 1.5s 0.4s infinite linear alternate;
}

.loading-text span:nth-child(4) {
    animation: blur-text 1.5s 0.6s infinite linear alternate;
}

.loading-text span:nth-child(5) {
    animation: blur-text 1.5s 0.8s infinite linear alternate;
}

.loading-text span:nth-child(6) {
    animation: blur-text 1.5s 1s infinite linear alternate;
}

.loading-text span:nth-child(7) {
    animation: blur-text 1.5s 1.2s infinite linear alternate;
}

.loading-text span:nth-child(8) {
    animation: blur-text 1.5s 1.4s infinite linear alternate;
}

.loading-text span:nth-child(9) {
    animation: blur-text 1.5s 1.6s infinite linear alternate;
}

.loading-text span:nth-child(10) {
    animation: blur-text 1.5s 1.8s infinite linear alternate;
}

.loading-text span:nth-child(11) {
    animation: blur-text 1.5s 2s infinite linear alternate;
}

@keyframes blur-text {
    0% {
        filter: blur(0px);
    }

    100% {
        filter: blur(4px);
    }
}

.content {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

@media (max-width: 600px) {
    .loading-text {
        font-size: 1.5rem;
        height: 80px;
        line-height: 80px;
    }
}

:root {
    --cursor-size: 15px;
    --cursor-color: #0080ff;
    --cursor-speed: 80ms;
}

body {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: var(--cursor-size);
    height: var(--cursor-size);
    background-color: var(--cursor-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform var(--cursor-speed) linear, opacity 0.2s ease-in-out;
    z-index: 9999;
    filter: blur(2px);
}

.hide-cursor {
    opacity: 0;
}

@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
}

body {
    user-select: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
}

.wheel-nav-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 100px;
    background-color: #1a4ab4;
    border-radius: 50px 0 0 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.wheel-nav-toggle:hover {
    background-color: #0088ff;
    box-shadow: 0 0 20px 10px #0088ffb3;
}

.wheel-nav-toggle.active {
    background-color: rgb(255, 64, 31);
}

.wheel-nav-toggle span {
    position: relative;
    width: 20px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.wheel-nav-toggle span::before,
.wheel-nav-toggle span::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.wheel-nav-toggle span::before {
    transform: translateY(-7px);
}

.wheel-nav-toggle span::after {
    transform: translateY(7px);
}

.wheel-nav-toggle.active span {
    background-color: transparent;
}

.wheel-nav-toggle.active span::before {
    transform: rotate(45deg);
}

.wheel-nav-toggle.active span::after {
    transform: rotate(-45deg);
}

.nav-wheel {
    position: fixed;
    right: 0;
    top: 50%;
    width: 150px;
    height: 300px;
    background-color: #005eff;
    border-radius: 200px 0 0 200px;
    z-index: 999;
    opacity: 0;
}

.nav-wheel.active {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

.wheel-nav-center {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.wheel-nav-center img {
    width: 25px;
    height: 25px;
}

.wheel-nav-items {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wheel-nav-item {
    position: absolute;
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.wheel-nav-item:hover {
    transform: scale(1.1);
    background-color: #f8f8f8;
}

.wheel-nav-item i {
    font-size: 18px;
    color: #0088ff;
}

.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.blur-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .wheel-nav-toggle {
        width: 40px;
        height: 80px;
        right: -20px;
    }

    .wheel-nav-toggle.active {
        width: 40px;
        height: 80px;
        right: 0px;
    }

    .wheel-nav-toggle span {
        width: 10px;
        height: 2px;
    }
}