* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Inter";
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

:root {
    --bg-color: #080808;
    --second-bg-color: #101010;
    --text-color: white;
    --main-color: #ea580c;
}

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

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

h1,
h2,
h3,
h4,
span,
.logo {
    font-family: 'Montserrat', 'Inter', sans-serif;
}

body,
p,
button,
h6,
a {
    font-family: 'Montserrat', 'Inter', sans-serif;
}

/* Header Section   */

.header a {
    font-family: 'Montserrat';

}

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

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

.logo {
    font-size: 3rem;
    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,
            #DF8908 10%,
            #ff1d15 100%);
    background-clip: text;
    color: transparent;
}

.navbar {
    display: flex;
    gap: 1.2rem;
    padding-left: 26%;

}

.navbar a {

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

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

.gradient-btn {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: linear-gradient(270deg,
            #DF8908 10%,
            #ff1d15 100%);
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    color: white;
    border: none;
    text-wrap: nowrap;
    font-weight: 600;

}

.gradient-btn i {
    font-size: 2.5rem;
    transition: 0.3s ease-in-out;
}

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

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

section {
    min-height: 100vh;
    padding: 10rem 15%;
}

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

.home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    color: var(--text-color);
}

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

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

.home-content p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-color);
}

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

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

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    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 {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--main-color);
    box-shadow: 0 0 10px 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.03);
    box-shadow: 0 0 15px var(--main-color);

}

.btn:active {
    transform: scale(0.9);
}

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

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

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

/* About Section */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15rem;
    background: var(--second-bg-color);
    color: var(--text-color);
}

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

}

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

}

.about-content h2 {
    margin-bottom: 1.5rem;
    font-size: 7rem;
    text-align: left;

}

.about-content p {
    font-size: 1.8rem;
    max-width: 520px;
    margin-bottom: 1.2rem;
}

.card-container {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;

}

.about-card i {
    padding: 1.6rem 0;
    font-size: 1.9rem;
    transition: 0.3s ease;
    /* color: var(--main-color); */

}

.about-card h6 {
    margin-bottom: 1rem;
}

.about-card {

    width: 140px;
    min-height: 50px;
    background: rgba(255, 102, 0, 0.06);
    border: 1px solid rgba(255, 102, 0, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 12%;
    align-items: center;
    font-size: 1.5rem;
    text-align: center;
    padding: 13px 0;
    transition: 0.3s ease-in-out;

}

.about-card:hover {
    transform: scale(1.03);
    border: 1.3px solid var(--main-color);
}

.about-card:hover i {
    color: var(--main-color);
    transform: translateY(-5px);

}

.about-content .btn {
    margin-top: 4rem;
    padding: 1rem 2rem;

}

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

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

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

.heading {
    text-align: center;
    font-size: 7rem;
    margin-bottom: 30px;
    margin: 1rem 0;

}

/* Skills Section  */

.services {
    /* display: flex; */
    background-color: var(--bg-color);
    color: black;

}

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

.services h3 {
    padding-bottom: 4rem;
    font-family: 'Inter';
    font-size: 1.9rem;
    text-align: center;
    max-width: 1200px;
    color: lightgray;
}

.services-container {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    align-items: center;
    gap: 4rem;
    row-gap: 2.9rem;
}


.services-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, .05),
            rgba(255, 255, 255, .02));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .08);
    /* box-shadow: 0 0 5px var(--main-color); */
    height: 155px;
    border-radius: 12%;
    cursor: pointer;
    transition: 0.4s ease-in-out
}

.services-box:hover {
    color: var(--main-color);
    border: 1px solid var(--main-color);
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(234, 88, 12, .18);
}

.services-box:hover h4 {
    color: var(--main-color);
}

.services-box:hover i {
    transform: translateY(-5px);
    color: var(--main-color);
}

.service-info {
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    font-weight: 500;
    color: white;
}

.service-info h4 {
    font-size: 2.3rem;
    margin: 1rem 0;
    font-weight: 800;
}

.service-info i {
    font-size: 5rem;
    transition: 0.3s ease;
}

.skill-foot {
    text-align: center;
    width: 1080px;
}

/* Projects Section  */

.projects {
    background-color: var(--second-bg-color);
    color: var(--text-color);
}

.projects h3 {
    font-size: 1.3rem;
    text-align: center;
    margin: 2rem 0;
    margin-bottom: 3rem;
}

.projects-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-card {
    gap: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background-color: var(--bg-color);
    border-radius: 3rem;
    border: 0.5px rgba(255, 255, 255, .08);
    padding: 3.5rem 3rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 2px var(--main-color);
    transition: 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 0 6px var(--main-color),
        0 0 10px var(--main-color);
    transform: translateY(-6px);
    border: 1px solid var(--main-color);
}

.project-img {
    width: 60%;
    height: 100%;
}

.project-img img {
    max-width: 600px;
    height: 370px;
    display: block;
    border-radius: 2rem;
    object-fit: fill;
    border: 1px solid rgba(255, 255, 255, .08);
    transition: 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .45);

}

.project-img:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
    overflow: hidden;
}

.project-info {
    display: flex;
    flex-direction: column;
    width: 40%;
    text-align: left;
}

.project-info h3 {
    text-align: left;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

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

.project-description {
    font-size: 1.3rem;
    width: 95%;
    line-height: 1.8;
    margin: 0 0 2rem;
    margin-bottom: 1.5rem;
    color: #d0d0d0;
}

.project-stack {
    margin-bottom: 2rem;
}

.project-stack h4 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.tech-stack-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    transition: 0.3s ease;
}


.tech-stack-badges div {
    font-size: 1.15rem;
    /* background: linear-gradient(180deg,
            rgba(255, 255, 255, .05),
            rgba(255, 255, 255, .02));
    backdrop-filter: blur(12px); */
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.2rem;
    box-shadow: 0 0 1.5px white;
    border-radius: 1.3rem;
    transition: 0.3s ease-in-out;
}

.tech-stack-badges div:hover {

    border-color: var(--main-color);

    color: var(--main-color);

    transform: translateY(-3px);

}

.project-features {
    margin-bottom: 2rem;

}

.project-features h4 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.project-features ul {
    padding-left: 0rem;

}

.project-features li {
    align-items: center;
    list-style: none;
    margin-bottom: .8rem;
    font-size: 1.2rem;
}

.project-btn {
    display: flex;
    gap: 1.5rem;
    margin-top: 0;
}

.project-btn a {
    font-size: 1.3rem;

}

.project-btn1 i {
    transition: 0.3s ease;
}

.project-btn1:hover i {
    transform: translateY(-3px);
}

.project-btn2 {
    background-color: black;
    color: var(--main-color);
    border: var(--main-color);
    box-shadow: 0 0 10px var(--main-color);

}

.project-btn2:hover {
    box-shadow: 0 0 15px var(--main-color);
    background-color: var(--main-color);
    color: black;

}

.project-btn2 i {
    transition: 0.3s ease;
}

.project-btn2:hover i {
    transform: translateY(-3px);
}

.project-foot {
    text-align: center;
    font-size: 2.2rem;
    margin-top: 2.3rem;
}

/* Contact Section */

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

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

.contact-container {
    gap: 6rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 5rem;

}

.contact-card {
    width: 390px;
    height: 470px;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 2.2rem;
    transition: .35s ease;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, .25);
    border-radius: 2rem;
    margin-top: 1.5rem;
    padding: 3rem;
}

.contact-card:hover {

    transform: translateY(-6px);

    border-color: rgba(234, 88, 12, .35);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .45),
        0 0 25px rgba(234, 88, 12, .15);
}

.contact-card h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-top: -0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(234, 88, 12, .35);
}

.contact-card h5 {

    display: flex;
    align-items: center;
    color: var(--text-color);
    gap: .8rem;
    font-size: 2rem;
    margin-bottom: .8rem;
    margin-top: 2rem;
}

.contact-card p {
    color: #bdbdbd;
    text-align: left;
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
    font-size: 3.3rem;
}

.contact-icons i {
    color: white;
    margin-top: 0rem;
    transition: 0.3s ease;
}

.contact-icons a:hover i {
    color: var(--main-color);
    transform: translateY(-5px);
}

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

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 2.5rem;
    font-size: 1.6rem;
    background: #0d0d0d;
    border: 2px solid rgba(234, 88, 12, .4);
    transition: .3s ease;
    border-radius: 1.5rem;
    margin: 1.5rem 0;
    resize: none;
    color: white;
    /* opacity: 0.8; */
}

.contact input:focus,
.contact textarea:focus {

    border-color: var(--main-color);

    transform: translateY(-2px);

    box-shadow:
        0 0 18px rgba(234, 88, 12, .25);

    outline: none;
}

.footer {
    background-color: var(--second-bg-color);
    padding-bottom: 1rem;
    bottom: 0;
}

.footer .social-icons {
    text-align: center;
}

.list {
    font-size: 1.8rem;
    text-align: center;
    list-style: none;
}

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

.footer ul li a {
    color: var(--text-color);
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}

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

.footer .copyright {
    text-align: center;
    color: var(--text-color);
    margin-top: 40px;
    font-size: 1.4rem;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

.form-btn:hover {

    transform: translateY(-4px);

    box-shadow:
        0 0 25px rgba(234, 88, 12, .35);

    background: var(--main-color);

    color: black;
}

.footer-tagline {

    text-align: center;

    font-size: 1.4rem;

    color: rgba(255, 255, 255, .85);

    margin-bottom: 1.5rem;
}


@media (max-width: 1200px) {

    .header {
        padding: 2.8rem 4%;
    }

    section {
        padding: 10rem 5%;
    }

    .navbar {
        padding-left: 10%;
    }

    .navbar a {
        margin-left: 2.5rem;
    }

    .home {
        gap: 6rem;
    }

    .home-img img,
    .about-img img {
        width: 38vw;
    }

    .about {
        gap: 6rem;
    }

    .contact-container {
        gap: 3rem;
    }

    .project-img img {
        max-width: 100%;
        height: 320px;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {

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

    body {
        overflow-x: hidden;
    }

    /* ================= HEADER ================= */

    .header {
        padding: 2rem 6%;
    }

    .logo {
        font-size: 2.8rem;
    }

    /* Use hamburger on iPad */
    #menu-icon {
        display: block;
        font-size: 3.2rem;
        cursor: pointer;
        z-index: 1001;
    }

    .gradient-btn {
        display: none;
    }

    /* ================= SIDE NAVBAR ================= */

    .navbar {
        position: fixed;

        top: 0;
        right: 0;

        width: 300px;
        height: 100vh;

        background: rgba(10, 10, 10, .96);
        backdrop-filter: blur(18px);

        border-left: 1px solid rgba(255, 255, 255, .08);

        display: flex;
        flex-direction: column;

        justify-content: flex-start;
        align-items: flex-start;

        padding: 10rem 2.5rem;

        gap: 1.5rem;

        transform: translateX(100%);
        transition: transform .4s ease;

        z-index: 999;
    }

    .navbar.active {
        transform: translateX(0);
    }

    .navbar a {
        width: 100%;

        font-size: 2rem;

        color: white;

        padding: 1.5rem 1.2rem;

        border-radius: 1rem;

        transition: .3s ease;
    }

    .navbar a:hover {
        color: var(--main-color);
        background: rgba(255, 255, 255, .05);
        padding-left: 2rem;
    }

    /* ================= GENERAL SECTION ================= */

    section {
        min-height: auto;
        padding: 10rem 8%;
    }

    /* ================= HOME ================= */

    .home {
        min-height: 100vh;

        display: flex;
        flex-direction: column-reverse;

        justify-content: center;
        align-items: center;

        text-align: center;

        gap: 5rem;
        margin: 0;
    }

    .home-content {
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

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

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

    .home-content p {
        width: 100%;
        max-width: 650px;

        font-size: 1.8rem;
        line-height: 1.8;

        text-align: center;
    }

    .home-img {
        display: flex;
        justify-content: center;
        align-items: center;

        width: 100%;
    }

    .home-img img {
        width: 42vw;
        max-width: 360px;
        min-width: 260px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;

        gap: 1.5rem;

        margin: 2.5rem 0;
    }

    .social-icons a {
        width: 55px;
        height: 55px;

        font-size: 2.8rem;

        margin: 0;
    }

    .btn-group {
        display: flex;
        justify-content: center;

        flex-wrap: wrap;

        gap: 1.5rem;
    }

    .btn {
        font-size: 1.7rem;
        padding: 1.2rem 2.8rem;
    }


    /* ================= ABOUT ================= */

    .about {
        display: flex;

        flex-direction: column;

        justify-content: center;
        align-items: center;

        gap: 5rem;
    }

    .about-img {
        display: flex;
        justify-content: center;

        width: 100%;
    }

    .about-img img {
        width: 42vw;
        max-width: 360px;
    }

    .about-content {
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

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

        margin-bottom: 2rem;
    }

    .about-content p {
        width: 100%;
        max-width: 650px;

        font-size: 1.8rem;
        line-height: 1.7;

        text-align: center;
    }

    .card-container {
        width: 100%;

        display: flex;

        justify-content: center;

        flex-wrap: wrap;

        gap: 2rem;

        margin-top: 3rem;
    }

    .about-card {
        width: 180px;
        min-height: 160px;

        padding: 2rem;

        border-radius: 2rem;

        text-align: center;
    }

    .about-card i {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .about-card h6 {
        font-size: 1.5rem;
    }

    .about-card p {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .about-content .btn {
        width: 250px;

        margin: 3rem auto 0;

        justify-content: center;
    }


    /* ================= SKILLS ================= */

    .services {
        padding: 10rem 8%;
    }

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

    .services h3 {
        max-width: 650px;

        margin: 0 auto 4rem;

        font-size: 1.7rem;
        line-height: 1.6;

        text-align: center;
    }

    .services-container {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 2rem;

        width: 100%;
    }

    .services-box {
        width: 100%;
        min-height: 170px;

        padding: 2rem;

        border-radius: 2rem;
    }

    .service-info i {
        font-size: 4rem;

        margin-bottom: 1rem;
    }

    .service-info h4 {
        font-size: 1.7rem;
    }

    .skill-foot {
        grid-column: 1 / -1;

        width: 100%;
        max-width: 600px;

        margin: 3rem auto 0;

        text-align: center;

        font-size: 1.6rem;
    }


    /* ================= PROJECTS ================= */

    .projects {
        padding: 10rem 7%;
    }

    .projects .heading {
        font-size: 5.5rem;

        text-align: center;
    }

    .projects h3 {
        font-size: 1.7rem;

        text-align: center;

        margin-bottom: 4rem;
    }

    .projects-box {
        display: flex;
        flex-direction: column;

        gap: 4rem;
    }

    .project-card {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 3rem;

        padding: 2.5rem;

        border-radius: 2rem;
    }

    .project-img {
        width: 100%;
    }

    .project-img img {
        width: 100%;
        height: 350px;

        object-fit: fill;

        border-radius: 1.5rem;
    }

    .project-info {
        width: 100%;

        display: flex;
        flex-direction: column;

        align-items: flex-start;
    }

    .project-info h3 {
        font-size: 3rem;

        text-align: left;

        margin-bottom: 1.5rem;
    }

    .project-description {
        width: 100%;

        font-size: 1.6rem;
        line-height: 1.7;

        margin-bottom: 2rem;
    }

    .tech-stack-badges {
        display: flex;

        flex-wrap: wrap;

        gap: 1rem;
    }

    .tech-stack-badges div {
        font-size: 1.3rem;

        padding: .8rem 1.2rem;

        border-radius: 1rem;
    }

    .project-btn {
        width: 100%;

        display: flex;

        gap: 1.5rem;

        margin-top: 2rem;
    }

    .project-btn .btn {
        flex: 1;

        text-align: center;

        font-size: 1.5rem;
    }


    .contact {
        padding: 10rem 8%;
    }

    .contact h2 {
        font-size: 5.5rem;

        text-align: center;

        margin-bottom: 4rem;
    }

    .contact-container {
        width: 100%;

        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 4rem;
    }

    .contact-card {
        width: 100%;
        max-width: 500px;

        height: auto;

        padding: 3rem;
    }

    .contact-card h2 {
        font-size: 3.2rem;
    }

    .contact-card h5 {
        font-size: 2rem;
    }

    .contact-card p {
        font-size: 1.6rem;
        line-height: 1.7;
    }

    .contact form {
        width: 100%;
        max-width: 700px;

        display: flex;
        flex-direction: column;

        gap: 1.5rem;
    }

    .contact form .input-box {
        width: 100%;
    }

    .contact form .input-box input,
    .contact textarea {
        width: 100%;

        padding: 1.8rem;

        font-size: 1.6rem;
    }

    .contact textarea {
        min-height: 200px;
    }

    .form-btn {
        width: 100%;

        padding: 1.5rem;

        font-size: 1.8rem;
    }


    .footer {
        padding: 4rem 7% 2rem;
    }

    .footer .social-icons {
        display: flex;

        justify-content: center;
        align-items: center;

        gap: 1.8rem;

        margin-bottom: 2.5rem;
    }

    .footer .social-icons a {
        width: 52px;
        height: 52px;

        font-size: 2.3rem;
    }

    .list {
        display: flex;

        justify-content: center;
        align-items: center;

        flex-wrap: wrap;

        gap: 2rem;
    }

    .list a {
        font-size: 1.5rem;
    }

    .footer .copyright {
        max-width: 600px;

        margin: 1.5rem auto 0;

        font-size: 1.3rem;

        text-align: center;

        line-height: 1.7;
    }
}

@media(max-width:768px) {
    #menu-icon {

        display: block;

        font-size: 3.2rem;

        cursor: pointer;

        z-index: 1001;
    }

    .menu-overlay {

        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .55);
        backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: .35s;
        z-index: 998;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .header {
        padding: 2rem 5%;
    }

    .logo {
        font-size: 2.3rem;

    }

    .navbar {
        position: fixed;

        top: 0;
        right: 0;

        width: 280px;
        height: 100vh;

        background: rgba(10, 10, 10, .95);
        backdrop-filter: blur(15px);

        border-left: 1px solid rgba(255, 255, 255, .08);

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;

        padding: 9rem 2rem;

        gap: 2rem;

        transform: translateX(100%);
        transition: transform .4s ease;

        z-index: 999;
    }

    .navbar.active {
        transform: translateX(0);
    }

    .navbar a {

        width: 100%;

        font-size: 2rem;

        color: white;

        padding: 1.2rem 1rem;

        border-radius: 1rem;

        transition: .3s ease;
    }

    .navbar a:hover {

        color: var(--main-color);

        background: rgba(255, 255, 255, .05);

        padding-left: 1.8rem;
    }

    .gradient-btn {
        display: none;
    }

    .social-icons a {
        font-size: 3rem;
        width: 50px;
        height: 50px;
        margin: 3rem 0.5rem;
    }

    .home {

        flex-direction: column-reverse;
        margin: 5rem 0;
        margin-top: 1rem;
        gap: 4rem;
    }

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

    .home-content h1 {
        font-size: 4.6rem;
        margin-top: 1rem;
    }

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

    .home-content p {
        text-align: center;
        font-size: 1.6rem;
        line-height: 1.8;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .home-img {
        display: flex;
        justify-content: center;
    }

    .home-img img {
        width: 65%;
        max-width: 280px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .social-icons a {
        margin: 0;
    }

    .btn-group {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .btn {
        font-size: 1.6rem;
        padding: 1rem 2.5rem;
    }

    /* About Section  */
    .about {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

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

    .about-img img {
        width: 65%;
        max-width: 280px;
    }

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

    .about-content h2 {
        margin-bottom: 1.5rem;
        font-size: 5rem;
        text-align: center;
    }

    .about-content p {
        font-size: 1.8rem;
        width: 100%;
        max-width: 320px;
        line-height: 1.4;
        text-align: center;
    }

    .card-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        margin-top: 2rem;
        width: 100%;

    }

    .about-card {
        width: 100%;
        max-width: 320px;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        border-radius: 2rem;
        text-align: center;
    }

    .about-card {
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.04),
                rgba(255, 255, 255, 0.02));

        backdrop-filter: blur(12px);

        border: 1px solid rgba(234, 88, 12, 0.18);

        border-radius: 2rem;

        box-shadow:
            0 10px 30px rgba(0, 0, 0, .35);

        transition: .35s ease;
    }

    .about-card:hover {

        transform: translateY(-8px);

        border-color: rgba(234, 88, 12, .55);

        box-shadow:
            0 18px 40px rgba(0, 0, 0, .45),
            0 0 25px rgba(234, 88, 12, .18);
    }

    .about-card i {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }

    .about-card h6 {
        font-size: 1.4rem;
        margin-bottom: .8rem;
    }

    .about-card p {
        font-size: 1.4rem;
        line-height: 1.6;
        margin: 0;
    }


    .about-content .btn {
        display: flex;
        padding: 1rem 1rem;
        justify-items: center;
        justify-content: center;
        margin: 0 2.5rem;
        margin-top: 2.5rem;
        width: 60%;
    }


    /* Skills Section  */
    .services {
        padding-top: 8rem;
    }

    .services .heading {
        font-size: 5rem;
        margin-bottom: 2rem;
    }

    .services h3 {
        font-size: 1.5rem;
        line-height: 1.5;
        max-width: 320px;
        margin: 0 auto 3rem;
        padding: 0;
    }

    /* Grid */

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

    /* Card */

    .services-box {
        width: 100%;
        min-height: 140px;
        height: auto;
        padding: 1.5rem;
        border-radius: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Card Content */

    .service-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0;
    }

    .service-info i {
        font-size: 3.5rem;
        margin-bottom: .8rem;
    }

    .service-info h4 {
        font-size: 1.6rem;
        margin: 0;
    }

    /* Footer Text */

    .skill-foot {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 320px;
        margin: 3rem auto 0;
        text-align: center;
        font-size: 1.4rem;
        line-height: 1.6;

    }

    /* Projects Section  */
    .projects {
        padding: 8rem 5%;
    }

    .projects .heading {
        font-size: 5rem;
    }

    .projects h3 {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }

    .projects h2 {
        font-size: 5.7rem;
    }

    .projects-box {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .project-card {
        display: flex;
        flex-direction: column;

        width: 100%;

        padding: 2rem;

        border-radius: 2rem;

        gap: 2rem;

        align-items: center;
    }

    .project-img {
        width: 100%;
    }

    .project-img img {
        width: 100%;
        height: 200px;
        object-fit: fill;
        border-radius: 1.5rem;
    }

    .project-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .project-info h3 {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }

    .project-description {
        font-size: 1.4rem;
        line-height: 1.7;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .project-stack h4 {
        display: none;
    }

    .tech-stack-badges {
        display: flex;
        flex-wrap: wrap;
        gap: .8rem;
    }

    .tech-stack-badges div {
        font-size: 1.2rem;
        padding: .7rem 1rem;
        border-radius: 1rem;
    }

    .project-features {
        display: none;
    }

    .project-btn {

        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .project-btn .btn {

        flex: 1;
        text-align: center;
        font-size: 1.4rem;
        padding: 1rem;
    }


    /* Contact Section */
    .contact {
        padding: 8rem 5%;
    }

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

    .contact-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin-top: 2rem;
    }


    .contact-card {
        width: 100%;
        max-width: 350px;
        height: auto;
        padding: 2.5rem;
        margin: 0;
    }

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

    .contact-card h5 {
        font-size: 1.9rem;
    }

    .contact-card p {
        font-size: 1.5rem;
        line-height: 1.6;
    }

    .contact-icons {
        justify-content: center;
        gap: 2rem;
        margin-top: 2rem;
    }

    .contact-icons i {
        font-size: 3rem;
    }

    .contact form {
        width: 100%;
        max-width: 350px;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin: 0;
    }

    .contact form .input-box {
        width: 100%;
    }

    .contact form .input-box input,
    .contact textarea {
        width: 100%;
        padding: 1.6rem;
        font-size: 1.5rem;
        margin-bottom: .3rem;
    }

    .contact textarea {
        min-height: 170px;
    }


    .form-btn {
        width: 100%;
        padding: 1.4rem;
        font-size: 1.8rem;
    }


    /* Footer Section  */


    .footer {
        background: var(--second-bg-color);
        padding: 3rem 5% 2rem;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .footer .social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.6rem;
        margin-bottom: 2.2rem;
    }

    .footer .social-icons a {

        width: 50px;
        height: 50px;
        font-size: 2.2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid var(--main-color);
        border-radius: 50%;
        color: var(--main-color);
        transition: .3s ease;
    }

    .footer .social-icons a:hover {

        background: var(--main-color);
        color: black;
        transform: translateY(-5px);
        box-shadow: 0 0 18px rgba(234, 88, 12, .3);
    }

    .list {

        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 0;
        margin: 0 0 2rem;
    }

    .list li {
        margin: 0;
    }

    .list a {

        font-size: 1.45rem;
        color: white;
        padding: .5rem .3rem;
        transition: .3s;
    }

    .list a:hover {
        color: var(--main-color);
    }



    .footer .copyright {

        font-size: 1.25rem;
        color: rgba(255, 255, 255, .75);
        text-align: center;
        margin-top: 1rem;
        line-height: 1.8;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }



}

@media (max-width: 400px) {

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

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

    .home-img img,
    .about-img img {
        max-width: 220px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .contact form {
        max-width: 100%;
    }

    .project-btn {
        flex-direction: column;
    }

    .project-btn .btn {
        width: 100%;
    }

    .navbar {
        width: 85%;
    }
}

.disabled {
    background-color: gray;
    border: none;
}