@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

.screen-max-width {
    max-width: 1400px !important;
    margin: 0 auto;
}

:root {
    --bg-color: #08090a;
    /* Deep Charcoal */
    --second-bg-color: #16161a;
    /* Navy Slate */
    --main-color: #8746EB;
    /* Soft Violet (Accent) */
    --text-color: #F1F5F9;
    /* Light Gray */
    --text-dark: #334155;
    /* Charcoal Gray (optional) */
}

.main-text {
    color: #ffffff;
}

.secondary-text {
    color: #8D8D99 !important;
}

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

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

section {
    padding: 7rem 6%;
}

html::-webkit-scrollbar {
    display: none;
}

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

@media (max-width: 991px) {
    section {
        padding: 10rem 3%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
}



/* **************** Subheading (Universal) **************** */
.subheading {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-top: -2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
    letter-spacing: 0.1px;
}


/* **************** Responsive Adjustments **************** */
@media (max-width: 768px) {
    .subheading {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 450px) {
    .subheading {
        font-size: 1.5rem;
        margin-bottom: 1.8rem;
    }
}

@media (max-width: 365px) {
    .subheading {
        font-size: 1.4rem;
        margin-bottom: 1.6rem;
    }
}



/* **************** Header **************** */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background: var(--second-bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

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


.logo-symbol {
    font-family: 'Fira Mono', monospace;
    font-size: 2.7rem;
    font-weight: 900;
    color: var(--main-color);
    margin-right: 0.24rem;
    letter-spacing: -1.5px;
    vertical-align: middle;
    line-height: 1;
    display: inline-block;
}

.logo-text {
    font-size: 2.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -1px;
    vertical-align: middle;
    line-height: 1;
    display: inline-block;
}


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

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

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

/* Responsive */
@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }
}

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

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
}


/* **************** Hero Section **************** */
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.home-content {
    flex: 1;
    text-align: center;
    padding: 100px;
}

.home-content h2 {
    font-size: 3.46rem;
    font-weight: 700;
}

span {
    color: var(--main-color);
    text-shadow: 0px 4px 34px rgba(129, 81, 255, 0.6);
}


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

.home-content h2,
.home-content h1 {
    font-family: 'Poppins', sans-serif;
}

.home-content p {
    font-size: 1.6rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 2rem 1rem 1rem 0;
    background: var(--main-color);
    border-radius: 10px;
    box-shadow: none;
    font-size: 1.4rem;
    color: #ffffff;
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
    }

    .home-content {
        padding: 3rem;
        margin: auto;
        margin-top: 5rem;
    }

    .home-content h1 {
        font-size: 6rem;
    }

    .home-content h3 {
        font-size: 3rem;
    }
}

@media (max-width: 617px) {
    .home-content {
        margin-top: 100px;
    }
}

@media (max-width: 450px) {
    .home-content {
        margin-top: 100px;
    }
}

@media (max-width: 365px) {
    .home-content {
        margin-top: 5rem;
        padding: 50px 0 0 0;
    }

    .home-content h1 {
        font-size: 4.8rem;
    }

    .home-content h3 {
        font-size: 2.16rem;
    }
}




/* **************** About Section **************** */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7rem;
    background: var(--bg-color);
}

.about img {
    border-radius: 50%;
    padding: 10px solid #000000;
    max-width: 300px;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2.4rem);
    }

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

.heading {
    display: block;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

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

/* Responsive */
@media (max-width: 991px) {
    .about img {
        width: 30vw;
    }
}

@media (max-width: 768px) {
    .about {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }

    .about-content {
        margin: 0;
        padding: 0 1.5rem;
        width: 100%;
    }

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

    .about-content p {
        margin: 2rem 0 3rem 0;
        font-size: 1.5rem;
        text-align: center;
    }

    .about img {
        width: 48vw;
        max-width: 240px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .about img {
        width: 70vw;
        max-width: 320px;
    }

    .about-content {
        padding: 0 0.5rem;
    }
}


@media (max-width: 450px) {
    .about img {
        width: 70vw;
    }
}

@media (max-width: 365px) {
    .about img {
        width: 90vw;
    }
}



/* **************** Service Section **************** */
.services h2 {
    margin-bottom: 3rem;
    font-size: 3.5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    padding: 3rem 2rem 1rem 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    transition: .5s ease;
    background: var(--second-bg-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-container .services-box:hover {
    border-color: none;
    transform: scale(1.02);
}

.services-box i {
    font-size: 8rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.16rem;
    font-weight: normal;
    padding: 1rem;
}

.services-box p {
    font-size: 1.33rem;
    margin: 0 0 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .services-container p {
        font-size: 1.5rem;
    }
}

@media (max-width: 450px) {
    .services-box p {
        font-size: 1.6rem;
    }
}

@media (max-width: 365px) {
    .services-box p {
        font-size: 1.5rem;
    }
}



/* **************** Skills Section **************** */
.skills-section {
    background: var(--bg-color);
    padding: 7rem 6%;
    text-align: center;
}

.skills-section h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    font-weight: bold;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    border-radius: 1rem;
    background: var(--second-bg-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    transition: transform 0.3s ease;
}

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

/* Responsive */
@media (max-width: 450px) {
    .skill-item {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 365px) {
    .skill-item {
        width: 60px;
        height: 60px;
    }
}





/* **************** Experience Section **************** */
.experience h2 {
    margin-bottom: 3rem;
    font-size: 3.5rem;
}

.experience-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
}

.experience-container .experience-box {
    flex: 1 1 35rem;
    padding: 3rem 2rem 1rem 2rem;
    border-radius: 2rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    transition: 0.5s ease;
    background: var(--second-bg-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-box i {
    font-size: 6rem;
    color: var(--main-color);
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.experience-box h3 {
    font-size: 2.16rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.experience-box p {
    font-size: 1.33rem;
    line-height: 1.7;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .experience-box p {
        font-size: 1.5rem;
    }
}

@media (max-width: 450px) {
    .experience-box p {
        font-size: 1.6rem;
    }
}

@media (max-width: 365px) {
    .experience-box p {
        font-size: 1.5rem;
    }
}






/* **************** Projects Section **************** */
.projects {
    background: var(--bg-color);
    padding: 7rem 6%;
}

.projects h2 {
    margin-top: 2rem;
    margin-bottom: 3rem;
    font-size: 3.5rem;
    text-align: center;
}

.projects-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.project-box {
    flex: 1 1 30rem;
    padding: 3rem 2rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    transition: 0.5s ease;
    background: var(--second-bg-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.project-box h3 {
    font-size: 2.16rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-box p {
    font-size: 1.33rem;
    margin: 0 1rem 0 0;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 450px) {
    .project-box p {
        font-size: 1.6rem;
    }
}

@media (max-width: 365px) {
    .project-box p {
        font-size: 1.5rem;
    }
}








/* **************** Contact Section **************** */
.contact {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 8rem 2rem 0 2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.contact-header {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-header h2 {
    margin-top: 2rem;
    margin-bottom: 3rem;
    font-size: 3.5rem;
    text-align: center;
}

.contact-form-card {
    padding: 3rem;
    border-radius: 2rem;
    max-width: 500px;
    margin: 0 auto 2rem auto;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    background: var(--second-bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.contact-form-card label {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.contact-form-card input,
.contact-form-card textarea {
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

.contact-form-card textarea {
    resize: none;
}

.social-text {
    font-size: 1.3rem;
    margin: 4rem 0 1rem 0;
    color: rgba(241, 245, 249, 0.6);
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--second-bg-color);
    height: 5rem;
    width: 5rem;
    border-radius: 9999px;
    font-size: 3rem;
    color: #949799;
    margin: 0 0.5rem;
    transition: 0.3s ease all;
}

.social-icons a:hover {
    color: var(--main-color);
    border: 0.2rem solid var(--primary);
    box-shadow: 0 0 15px rgba(123, 70, 248, 0.6);
    transform: scale(1.1);
}

.layered-peaks {
    width: 100%;
    max-height: 250px;
    overflow: hidden;
}

.layered-peaks img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-header .heading {
        font-size: 2.5rem;
    }

    .contact-header .subheading {
        font-size: 1.3rem;
    }
}

@media (max-width: 450px) {
    .contact-form-card {
        padding: 2rem;
    }
}




/* **************** Footer **************** */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 9%;
    background: var(--second-bg-color);
}

.footer-text p {
    font-size: 1.6rem;
    text-align: center;
    padding: 1rem;
}

.footer a {
    color: var(--text-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 365px) {
    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
    }
}



