@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;
    text-decoration: none;
    outline: none;
    border: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #ffffff;
    --main-color: #0ef;
    --accent-color: #00c2c2;
}

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

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

section {
    min-height: 85vh;
    padding: 10rem 10% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease;
}

.header.sticky {
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    cursor: default;
}

.logo span {
    color: var(--main-color);
}

.navbar a {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-left: 3rem;
    transition: color 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}
/* Responsive Menu */
@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        margin: 1.5rem 0;
        font-size: 2rem;
    }
}

/* Home */
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 600;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
    max-width: 60rem;
}

span {
    color: var(--main-color);
}

.home-img img {
    width: 26vw;
    height: 26vw;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transition: 0.4s ease-in-out;
}

.home-img img:hover {
    transform: scale(1.01);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

/* Social Icons */
.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin-right: 1.5rem;
    transition: 0.4s;
}

.social-media a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--main-color), 0 0 20px var(--main-color);
}

/* Button */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;
}
.imp-features{
    margin-top: 8.4rem;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 2rem;
    color: white;
    margin-right: 15rem;
}

.theme-btn {
    display: inline-block;
    padding: 1rem 0.8rem;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 4rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;

}
.download-btn{
    display: inline-block;
    padding: 1rem 0.8rem;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 4rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;
}

.theme-btn:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px var(--main-color), 0 0 30px var(--main-color);
}
.download-btn:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px var(--main-color), 0 0 30px var(--main-color);
}

.btn:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px var(--main-color), 0 0 30px var(--main-color);
}

/* About */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    color: white;
}
.education {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    color: white;
}

.heading {
    text-align: center;
    font-size: 4.5rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}
.education-content h2 {
    text-align: left;
    line-height: 1.2;
}
.education-content h3 {
    font-size: 2.7rem;
}

.about-content h3 {
    font-size: 2.7rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.education-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

/* Coding Platforms */
.coding-platform {
    background: var(--bg-color);
    text-align: center;
}

.coding-platform .heading {
    font-size: 4rem;
    margin-bottom: 4rem;
}

.platform-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.platform-box {
    background: var(--second-bg-color);
    padding: 3rem;
    border-radius: 10px;
    width: 300px;
    transition: transform 0.3s;
    text-align: left;
}

.platform-box:hover {
    transform: translateY(-10px);
}

.platform-box i {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.platform-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.platform-box p {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 2rem;
}

/* Projects */
.project {
    background: var(--bg-color);
    text-align: center;
}

.project .heading {
    font-size: 4rem;
    margin-bottom: 4rem;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.project-box {
    background: var(--second-bg-color);
    padding: 3rem;
    border-radius: 10px;
    width: 300px;
    transition: transform 0.3s;
    text-align: left;
}

.project-box:hover {
    transform: translateY(-10px);
}

.project-box i {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.project-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-box p {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 2rem;
}





/* Contact */
.contact {
    background: var(--bg-color);
}

.contact .heading {
    font-size: 4rem;
    margin-bottom: 3rem;
    text-align: center;
}

.contact form {
    max-width: 700px;
    margin: auto;
}

.input-box {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.input-box input,
textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 6px;
    background: var(--second-bg-color);
    color: var(--text-color);
    font-size: 1.5rem;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--main-color);
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--second-bg-color);
    color: var(--text-color);
}

.footer-text {
    font-size: 1.6rem;
}

.footer-iconTop a {
    background: var(--main-color);
    padding: 1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop i {
    font-size: 2rem;
    color: var(--second-bg-color);
}

/* Media Queries */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 992px) {
    .home-img img {
        width: 45vw;
        height: 55vw;
    }

    .about-img img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        font-size: 2rem;
        margin: 1rem 0;
    }

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

    .home-img img {
        margin-top: 3rem;
    }

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

    .platform-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Thank You Message */
.thank-you-message {
    max-width: 700px;
    margin: 5rem auto;
    padding: 3rem;
    background: var(--second-bg-color);
    border: 2px solid var(--main-color);
    border-radius: 1rem;
    text-align: center;
    animation: fadeIn 0.8s ease forwards;
}

.thank-you-message h3 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--main-color);
}

.thank-you-message p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #ccc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* theme toggle */
.light-theme {
    background-color: lightcoral;
    color: black;
}