@import url('https://cdn.jsdelivr.net/npm/aos@2.3.4/dist/aos.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

:root {
    --bg-color: #080808;
    --second-bg-color: #1b1b1b;
    --text-color: white;
    --main-color: #a6f2ff;
}

html {
    font-size: 60%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 2rem 15%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 20px;
    position: relative;
    background: transparent;
    border: none;
    z-index: 1001;
}

.bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--main-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.bar:nth-child(3) {
    bottom: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.logo {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}

span {
    background: linear-gradient(270deg,
            #bdebff 10%,
            #5ea8e4 100%);
    background-clip: text;
    color: transparent;
}

.navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3 ease-in-out;
    border-bottom: 3px solid transparent;
}

.navbar a:hover {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

.gradient-btn {
    font-size: 1.8 rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: linear-gradient(270deg,
            #a6d4ff 10%,
            #6fb5fc 100%);
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    color: white;
    border: none;
    text-wrap: nowrap;
}

.gradient-btn:hover {
    transform: scale(1.05);
}

section {
    min-height: 100vh;
    padding: 15rem 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-content h1 {
    font-size: 6rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-content h3 {
    margin: 1rem 0;
    font-size: 3.5rem;
}

.home-content p {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.8;
}

.home-img img {
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
}

.home-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
        0 0 50px var(--main-color),
        0 0 100px var(--main-color);
}

.arrow {
    font-size: 1.2em;
    display: inline-block;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 0.5rem;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover {
    color: var(--text-color);
    background-color: var(--main-color);
    transform: scale(1.2)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 3rem;
    font-size: 1.8rem;
    color: black;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color),
        0 0 50px var(--main-color);
}

.btn-group a:nth-of-type(2) {
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover {
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: 5rem;
    background: var(--bg-color);
}

.about-img {
    display: flex;
    justify-content: center;
    width: 100%;
}

.about-img img {
    width: 300px;
    border-radius: 10%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
    margin-top: 2.6rem;
    align-items: center;
}

.about-img img:hover {
    box-shadow: 0 0 20px var(--main-color),
        0 0 50px var(--main-color),
        0 0 20px var(--main-color);
}

.about-content h2 {
    font-size: 4rem;
    text-align: center;
}

.about-content p {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 4rem;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.about-content .btn {
    margin: 3rem 0;
}

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

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}

::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}

.heading {
    text-align: center;
    font-size: 5rem;
    margin: 6rem 0;
}

.skills {
    background-color: var(--bg-color);
    color: black;
}

.skills h2 {
    color: var(--text-color);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 2.5rem;
}

.skills-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    height: 450px;
    border-radius: 3rem;
    cursor: pointer;
    border: 5px solid transparent;
    transition: 0.4s ease-in-out;
}

.skills-box:hover {
    background: var(--bg-color);
    color: var(--main-color);
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}

.skills-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 5rem;
}

.skills-info h4 {
    font-size: 3rem;
    margin: 2rem 0;
    font-weight: 800;
}

.skills-info p {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.7;
}

.skills-info i {
    font-size: 8rem;
}

/* Glass Morphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    width: 100%;
    max-width: 400px;
}

.glass-card:hover {
    box-shadow: 0 0 20px var(--main-color),
    0 0 5px var(--main-color);
    transform: scale(1.02);
}

.glass-card h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--main-color);
    font-weight: 600;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.1);
}

.skill-item i {
    font-size: 5rem;
    color: var(--main-color);
}

.skill-item span {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-color);
    background: none;
    -webkit-text-fill-color: initial;
}

/* Update skills container */
.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 0 2rem;
}

/* Custom colored icons */
.skill-item img.icon-img {
    width: 48px; 
    height: 48px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.skill-item img.icon-img:hover {
    transform: scale(1.1);
}

.projects {
    background-color: var(--bg-color);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    place-items: center;
    gap: 3rem;
    row-gap: 5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.3); /* Same as header */
    backdrop-filter: blur(10px);
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    gap: 2rem;
    padding: 5rem 2rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 5px var(--main-color);
    transition: o.3s ease;
}

.project-card:hover {
    box-shadow: 0 0 25px var(--main-color),
        0 0 15px var(--main-color);
    transform: scale(1.02);
}

.project-card img {
    max-width: 300px;
    border-radius: 2em;
    object-fit: cover;
}

.project-card h3 {
    font-size: 3rem;
}

.project-card p {
    font-size: 1.6rem;
}

.contact {
    background-color: var(--bg-color);

}

.contact h2 {
    margin-bottom: 3rem;
    color: var(--text-color)
}

.contact form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 5rem 0;
    text-align: center;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.3); /* Same as header */
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;
}

.footer {
    background-color: var(--second-bg-color);
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.3); /* Same as header */
    backdrop-filter: blur(10px); /* Same as header */
}

.footer .social-icons {
    text-align: center;
    font-size: 1.8 rem;
}

.footer ul {
    text-align: center;
    font-size: 1.8 rem;
}

.footer ul li {
    display: inline-block;
    margin-left: 20px
}

.footer ul li a {
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3 ease-in-out;
}

.footer ul li a:hover {
    border-bottom: 3px solid var(--main-color);
}

.footer .copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 9px;
}

/* Remove background colors from all sections */
.home, .about, .skills, .projects, .contact {
    background: transparent;
}

/* Update finisher-header to cover entire page */
.finisher-header {
    position: fixed;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    width: calc(100vw + 20px);
    height: 120%;
    z-index: -1;
    overflow: hidden;
    background: #000; /* Solid black fallback */
}

@media(max-width: 1285px) {
    .hamburger {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3rem;
        background: rgba(0, 0, 0, 0.8);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color)
    }

    .navbar.active {
        display: block;
    }

    .gradient-btn {
        display: none;
    }

    .home {
        flex-direction: column-reverse;
        margin: 5rem 0;
        gap: 5rem;
    }

    .home-content {
        align-items: center;
        text-align: center;
    }

    .home-img img {
        width: 56wv;
    }

    .about {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about h2 {
        text-align: center;
        margin: 2rem 0;
    }

    .about img {
        width: 25vw;
    }

    .contact form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        min-height: auto;
        padding: 10rem 5%;
    }
    
    .skill-item i {
        font-size: 4rem;
    }
    
    .skill-item span {
        font-size: 1.6rem;
    }
    
    .skill-item img.icon-img {
        width: 32px;
        height: 32px;
    }
    
    .glass-card {
        max-width: 350px;
        padding: 2.5rem;
    }
    
    .glass-card h3 {
        font-size: 2.5rem;
    }
    
    .home-content h1 {
        font-size: 5rem;
    }
    
    .home-content h3 {
        font-size: 3rem;
    }
    
    .home-content p {
        font-size: 1.5rem;
    }
    
    .about-img img {
        width: 200px;
    }
    .projects-box {
        justify-content: center;
        padding: 0 1rem;
    }

    .project-card {
        width: 100%;
        max-width: 350px;
    }
}

[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}