@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #070030;
    color: #eee;
    min-height: 100vh;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(17, 17, 17, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 2rem;
    color: #eee;
    text-decoration: none;
    font-weight: 700;
}

.navbar a {
    font-size: 1.1rem;
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    margin-left: 3rem;
    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: #0ef;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 9% 0;
    min-height: 100vh;
}

.home-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
}

.home-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content .text-change {
    color: #0ef;
}

.home-content p {
    font-size: 1rem;
    margin: 1rem 0 2rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: transparent;
    border: 0.1rem solid #0ef;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #0ef;
    margin: 1.5rem 1.5rem 1.5rem 0;
    transition: 0.5s ease;
}

.social-media a:hover {
    background: #0ef;
    color: #111;
    box-shadow: 0 0 1rem #0ef;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2.8rem;
    background: #0ef;
    border-radius: 4rem;
    box-shadow: 0 0 1rem #0ef;
    font-size: 1rem;
    color: #111;
    letter-spacing: 0.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.5s ease;
}

.btn:hover {
    box-shadow: none;
}

.home-img {
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 0.2rem solid #0ef;
}

.home-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
section {
    padding: 5rem 9% 2rem;
    min-height: 100vh;
}

.heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.heading span {
    color: #0ef;
}

/* About Section */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.about-img {
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 0.2rem solid #0ef;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h3 {
    font-size: 2rem;
}

.about-content p {
    font-size: 1rem;
    margin: 1rem 0;
}

/* Skills Section */
.skills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.skill-box {
    flex-basis: 300px;
    background: #1f2833;
    padding: 3rem 2rem;
    border-radius: 2rem;
    text-align: center;
    transition: 0.5s ease;
    border: 0.2rem solid #1f2833;
}

.skill-box:hover {
    border-color: #0ef;
    transform: scale(1.02);
}

.skill-box i {
    font-size: 4rem;
    color: #0ef;
}

.skill-box h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
}

.skill-box p {
    font-size: 1rem;
}

/* Projects Section */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.project-box {
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
}

.project-box img {
    width: 100%;
    transition: 0.5s ease;
}

.project-box:hover img {
    transform: scale(1.1);
}

.project-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), #0ef);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: 0.5s ease;
}

.project-box:hover .project-layer {
    transform: translateY(0);
}

.project-layer h4 {
    font-size: 2rem;
}

.project-layer p {
    font-size: 1rem;
    margin: 0.3rem 0 1rem;
}

.project-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: #eee;
    border-radius: 50%;
}

.project-layer a i {
    font-size: 1.5rem;
    color: #111;
}

/* Contact Section */
.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.info-item {
    text-align: center;
    background: #1f2833;
    padding: 2rem;
    border-radius: 1rem;
    border: 0.2rem solid #1f2833;
    transition: 0.5s ease;
}

.info-item:hover {
    border-color: #0ef;
    transform: scale(1.02);
}

.info-item i {
    font-size: 3rem;
    color: #0ef;
    margin-bottom: 1rem;
}

.info-item h4 {
    font-size: 1.2rem;
}

.info-item p {
    font-size: 1rem;
}

.info-item a {
    color: #eee;
    text-decoration: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem 0;
    background: #1f2833;
    border-top: 0.1rem solid #0ef;
}