* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Inter";
}
:root {
    --bg-color: #080808;
    --second-bg-color: #101010;
    --text-color: white;
    --main-color: #46248d;
}
:root.light {
    --bg-color: #ffffff;
    --second-bg-color: #f2f2f2;
    --text-color: #080808;
    --main-color: #46248d; 
}
html {
    font-size: 60%;
    overflow-x: hidden;
}
body {
    background: var(--bg-color);
    color: var(--text-color);
}
.header {
    position: fixed;
    width: 100%;
    height: 10%;
    top: 0;
    left: 0;
    padding: 2rem 5%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content:space-between;
    align-items: center;
    z-index: 1000;
}
#menu-icon {
    font-size: 3.5rem;
    color: var(--main-color);
    display: none;
    margin-left: auto;
}
.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,
        #2554af 10%,
        #b71083 100%
    );
    background-clip: text;
    color: transparent;
}
.navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}
.navbar a:hover:not(.switch) {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
.gradient-btn {
    font-size: 1.8rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: linear-gradient(
        270deg,
        #2554af 10%,
        #b71083 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);
}
.switch img {
    width: 24px;
    height: 24px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}



section {
    min-height: 100vh;
    padding: 15rem 13%;
}
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}
.home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
.home-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}
.home-content h3 {
    margin: 1rem 0;
    font-size: 2.5rem;
}
.home-content p {
    font-size: 1.5rem;
    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);
}
.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(--bg-color);
    /* box-shadow: 0 0 25px var(--main-color); */
    border-radius: 3rem;
    font-size: 1.8rem;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    font-weight: 600;
    transition: 0.3s ease-in-out;
}
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--main-color),
                0 0 20px var(--main-color);
    background-color: var(--main-color);
    color: black;
}
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background-color: var(--second-bg-color);
}
.about-img img {
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
}
.about-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}
.about-content h2 {
    font-size: 7rem;
    text-align: left;
}
.about-content p {
    font-size: 1.8rem;
}
.about-content .btn {
    margin: 3rem 0;
}
::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}
::-webkit-scrollbar-track {
    background-color: var(--second-bg-color);
}
.heading {
    text-align: center;
    font-size: 4rem;

}
.services {
    background-color: var(--bg-color);
    color: black;
}
.services h4 {
    color: var(--text-color);
    font-size: 50px;
    margin-top: -7rem;
}
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 1.2rem;
}
.service-box {
    display: grid;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    height: 480px;
    border-radius: 3rem;
    cursor: pointer;
    border: 2px solid var(--main-color);
    transition: 0.4s ease-in-out;
    margin-top: 5rem;
    color: var(--text-color);
}
.service-box:hover {
    background: var(--second-bg-color);
    color: var(--main-color);
    border: 2px solid var(--main-color);
    transform: scale(1.03);
}
.service-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: -100px;
    /* padding: 5rem; */
}
.service-info h5 {
    font-size: 2rem;
    margin: 2rem 0;
    font-weight: 800;
}
.service-info p {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.7;
}
.service-info i {
    font-size: 5rem;
}
.projects {
    background-color: var(--second-bg-color);
}
.projects h4 {
    margin-top: -7rem;
}
.projects-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    place-items: center;
    gap: 3rem;
    row-gap: 5rem;
    margin-top: 20px;
}
.project-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-color);
    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: 0.3s ease;
}
.project-card:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
    transform: scale(1.02);
}
.project-card img {
    max-width: 100%;
    max-height: 210px;
    border-radius: 2em;
    object-fit: cover;
}
.project-card h3 {
    font-size: 2.5rem;
}
.project-card p {
    font-size: 1.4rem;
}
.contact {
    background-color: var(--bg-color);
}
.contact h4 {
    color: var(--text-color);
    margin-top: -8rem;
}
.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-color: var(--bg-color);
    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;
}
.footer .social-icons {
    text-align: center;
}
.footer ul {
    text-align: center;
    font-size: 1.8rem;
}
.footer ul li {
    display: inline-block;
    margin-left: 20px;
}
.footer ul li a {
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s 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: 16px;
}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

@media(max-width:1025px) {
    #menu-icon {
        display: block;
        margin-left: auto;
    }
    .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        width: 30%;
        padding: 2rem 2rem;
        background: var(--bg-color);
        border-bottom-left-radius: 5rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 3px solid var(--main-color);
        display: none;
    }
    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 1.5rem 0;
        color: var(--text-color);
    }
    .navbar.active {
        display: block;
    }
    .switch{
        margin-left: auto;
    }
    .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: 56vw;
        margin-top: -5rem;
    }
    .about {
        flex-direction: column-reverse;
        text-align: center;
    }
    .about h2 {
        text-align: center;
    }
    .about-content {
        margin-top: -5rem;
    }
    .about img {
        width: 52vw;
        margin-top: -8rem;
    }
    .contact .heading{
        margin-top: -5rem;
    }
    .contact form {
        flex-direction: column;
    }
    .services {
        padding: 20rem 5% 8rem 5%;
    }

    .service-box {
        background: var(--bg-color);
        color: var(--text-color);
        border: 5px solid var(--main-color);
        transform: scale(1.03);
        min-height: unset;
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }

    .service-box:hover {
        background: var(--second-bg-color);
        color: var(--main-color);
        border: 5px solid var(--main-color);
        transform: scale(1.03);
    }
}