@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&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;
}

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

body {
    background: #121212; 
    color: #e0e0e0; 
    overflow-x: hidden;
}

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

.typed-text {
    display: inline;
}

.header {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-branding {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-item {
    margin-left: 20px;
}

.nav-link {
    color: #b0bec5;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #00acc1; 
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

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

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

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    color: #00acc1; 
}

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

.home-img img {
    width: 25vw;
}

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

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 0.2rem solid #37474f;
    border-radius: 50%;
    font-size: 2rem;
    color: #e0e0e0;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.5s ease;
}

.social-media .x:hover {
    background: #e6e8e9;
    color: #121212;
    box-shadow: 0 0 1rem #eaeded;
}
.social-media .insta:hover {
    background: #e6e8e9;
    color: #f7447d;
    box-shadow: 0 0 1rem #eaeded;
}
.social-media .whats:hover {
    background: #e6e8e9;
    color: #50ff0b;
    box-shadow: 0 0 1rem #eaeded;
}
.social-media .lkd:hover {
    background: #e6e8e9;
    color: #065ce8;
    box-shadow: 0 0 1rem #eaeded;
}
.social-media .gmail:hover {
    background: #e6e8e9;
    color: #121212;
    box-shadow: 0 0 1rem #eaeded;
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: #00acc1;
    border-radius: 4rem;
    color: #ffffff;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.5s ease;
    box-shadow: 0 0 1rem #26c6da;
}

.btn:hover {
    background: #26c6da;
    box-shadow: none;
}

.myimage {
    border-radius: 50%;
    margin: 10px;
}

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

.about-img img {
    width: 35vw;
}

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

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

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

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}
.services {
    background-color: #121212; 
    padding: 5rem 9%; 
    color: #ffffff; 
}

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

.services-box {
    flex: 1 1 40rem;
    background-color: #1f1f1f; 
    padding: 4rem 3rem; 
    border-radius: 1rem; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #e0e0e0;
}

.services-box:hover {
    transform: translateY(-10px); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8); 
}

.services-box i {
    font-size: 5rem; 
    color: #1abc9c; 
    margin-bottom: 1.5rem;
}

.services-box h3 {
    font-size: 2.8rem; 
    color: #ffffff; 
    margin: 1.5rem 0;
}

.services-box p {
    font-size: 1.8rem; 
    color: #bfbfbf; 
    margin-bottom: 2.5rem;
}

.services-box .btn {
    padding: 1.2rem 3rem; 
    background-color: #1abc9c; 
    color: #121212; 
    border-radius: 5rem; 
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.services-box .btn:hover {
    background-color: #16a085; 
    transform: scale(1.1); 
}

.portfolio {
    padding: 6rem 2rem;
    background: #1e1e1e;
    color: #e0e0e0; 
    text-align: center;
}

.portfolio h2 {
    font-size: 4.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
}

.portfolio-box {
    position: relative;
    width: 300px;
    height: 200px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #121212;
}

.portfolio-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); 
}

.portfolio-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

.portfolio-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
    padding: 20px;
    border-radius: 1.5rem; 
}

.portfolio-box:hover .portfolio-layer {
    opacity: 1;
}

.portfolio-layer h4 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.portfolio-layer p {
    font-size: 1.4rem;
    color: #b0bec5;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-layer a {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #00acc1; 
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 3rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.portfolio-layer a:hover {
    background: #26c6da;
    transform: scale(1.1);
}
.contact {
    padding: 4rem 2rem;
    background-color: #121212; 
    color: #ffffff; 
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.contact .heading {
    font-size: 3rem; 
    margin-bottom: 2rem;
    color: #ffffff;
}

.contact .heading span {
    color: #1abc9c; 
}

.contact form {
    background-color: #1f1f1f; 
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
    max-width: 600px;
    margin: 0 auto; 
}

.contact form input[type="text"],
.contact form input[type="number"],
.contact form input[type="email"],
.contact form textarea {
    width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #333; 
    border-radius: 5px;
    background-color: #2a2a2a; 
    color: #e0e0e0;
    font-size: 1.6rem;
}

.contact form input:focus,
.contact form textarea:focus {
    outline: none;
    border-color: #1abc9c; 
    box-shadow: 0 0 5px #1abc9c; 
}

.contact form textarea {
    height: 150px;
    resize: none;
}

.contact form button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #1abc9c;
    color: #121212;
    border: none;
    border-radius: 5rem;
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact form button:hover {
    background-color: #16a085;
    transform: translateY(-3px); 
}

.contact form .hidden {
    display: none !important;
}

.footer {
    background-color: #1a1a2e; 
    color: #f7f7f7;
    padding: 2rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 2px solid #282828;
}

.footer p {
    margin: 0;
    font-size: 1.6rem;
    color: #f7f7f7; 
}

.footer a {
    color: #f7f7f7;
    text-decoration: none;
    font-size: 2.4rem; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%; 
    background-color: #1a1a2e; 
    border: 2px solid #f7f7f7; 
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer a:hover {
    background-color: #00acc1;
    color: #1a1a2e; 
    transform: scale(1.1); 
    box-shadow: 0 0 10px #00acc1;
}

.footer a i {
    line-height: 1; 
}
@media (max-width: 1200px){
    html{
        font-size:50%;
    }
}
@media (max-width: 991px){
    .header{
        padding: 2rem 3%;
    }
    section{
        padding:10rem 3%;
    }
    .services{
        padding:7rem;
    }
    .portfolio{
        padding-bottom: 7rem;
    }
    .contact{
        min-height: auto;
    }
    .footer{
        padding: 2rem 3%;
    }
}
@media (max-width: 768px){
    .nav-menu {
        position: fixed;
        top: 50px;
        right: -100%;
        width: 100%;
        background-color: #000000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
    }
  
    .nav-menu.active {
        right: 0;
    }
  
    .nav-item {
        margin: 10px 0;
    }
  
    .hamburger {
        display: flex;
    }
    .home{
        flex-direction: column;
    }
    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content h1{
        font-size: 5rem;
    }
    .home-content{
        order: 2;
    }
    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
    .about{
        flex-direction: column;
    }
    .about-img img{
        width: 90vw;
        margin-top: 4rem;
    }
    .services h2{
        margin-bottom: 3rem;
    }
    .portfolio h2{
        margin-bottom: 3rem;
    }
    .portfolio-container{
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 617px){
    .portfolio-container{
        grid-template-columns: 1fr;
    }
    .home-img img{
        width: 80vw;
        margin-top: 8rem;
    }
    .about-img img{
        width: 100vw;
        margin-top: 4rem;
    }
}
@media (max-width: 450px){
    html{
        font-size:50%;
    }
    .contact form .input-box input{
        width: 100%;
    }
}