@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Nunito',sans-serif;
}

:root{
    --bg-color: #191f36;
    --snd-bg-color:#262840;
    --text-color:#fff;
    --main-color:#59B2F4;
}

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

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

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

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

.navbar a{
    font-size: 1.5rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 700;

}

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

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

}

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

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

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

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

}

.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}
img{
    width: 27rem;
    height: 25rem;
    border-radius: 80%;
}
.home-img img{
    width: 25vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
     0%{
        transform: translateY(0);
     }
     50%{
        transform: translateY(-2.4rem);
     }
     100%{
        transform: translateY(0);
     }
}

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

}

.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color:var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;


}

.social-media a:hover{
    background: var(--main-color);
    color: var(--snd-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn{

    display: inline-block;
    padding: 1rem  2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.btn:hover{
    box-shadow: none;
}

/* About Page */

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

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

.heading{
    text-align: 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 */

.services {
    background: var(--snd-bg-color);
    padding: 50px 20px;
}

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

.services-box {
    flex: 1 1 30rem;
    padding: 2rem;
    background: var(--snd-bg-color);
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--bg-color);
    transition: 0.5s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-box:hover {
    transform: scale(1.05);
    border-color: var(--main-color);
}

.services-box h3 {
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--text-color);
}

.services-box p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 1rem 0 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: var(--main-color);
    color: #fff;
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn {
    text-decoration: none;
    background: var(--main-color);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: 0.3s ease;
}

.btn:hover {
    background: #2575a7;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.skills .skill-main,
.services .services-container {
    animation: fadeInUp 1s ease forwards;
}

.services-box:hover .service-icon {
    transform: scale(1.2);
    transition: 0.3s ease;
}



/* .services h2{
    margin-bottom: 5rem;

}

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

.services-container .services-box{
    flex:1 1 30rem;
    padding: 2rem 1rem 2rem;
    background: var(--snd-bg-color);
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.services-box h3{
    font-size: 2.6rem;

}

.services-box p{
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}
.service-icon{
    width: 110px;
    height: 110px;
    justify-content: center;   
    border: 2px solid var(--main-color);
    border-radius: 110px;
    padding: 2rem;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    font-size: 4rem;
} */


/* skills section */

/* :root {
    --main-color: #3498db;
    --bg-color: #f0f0f0;
    --snd-bg-color: #ffffff;
    --text-color: #333;
} */

.skills {
    background: var(--snd-bg-color);
    padding: 50px 20px;
}

.heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

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

.skill-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.skill-left, .skill-right {
    padding: 20px;
    background: var(--bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-left h3, .skill-right h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
    color: var(--text-color);
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-bar .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--text-color);
}

.skill-bar .bar {
    width: 100%;
    height: 10px;
    background-color: var(--bg-color);
    border-radius: 10px;
    margin-top: 10px;
    position: relative;
}

.skill-bar .bar span {
    display: block;
    height: 100%;
    background-color: var(--main-color);
    border-radius: 10px;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .skill-main {
        grid-template-columns: 1fr;
    }

    .heading {
        font-size: 2rem;
    }
}
/* .skills{
    background: var(--snd-bg-color);


}

.skill-main{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-row-gap: 30px;
    grid-column-gap: 50px;
}



.skill-bar{
    margin-bottom: 2.3rem;
}


.skill-main h3{
    margin-bottom: 2rem;
    font-size: 3rem;
    text-align: center;
}


.skill-left .skill-bar .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.skill-left .skill-bar .bar{
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    border-radius: 25px;
    margin-top: 10px;
    position: relative;
}

.skill-bar .bar span{
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    background-color : var(--main-color);
    border-radius: 25%;

}
.skill-bar .bar .figma{
    width: 72%;
} */


/*-------- teams section styling---*/
/* .teams .title::after{
    content: "  working patners";
} */

.teams .carousel .card{
    background: var(--snd-bg-color);
    border-radius: 6px;
    padding: 20px 30px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}
.teams .carousel .card:hover{
    background:var(--bg-color);
}
.teams .carousel .card .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.teams .carousel .card:hover .box{
    transform: scale(1.07);
} 
.teams .carousel .card .text{
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 7px 0;

}
.teams .carousel .card .box p a{
    color: white;

}
.teams .carousel .card img{
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    border:5px solid var(--main-color);
    transition: all 0.3s ease;
}
.teams .carousel .card:hover img{
    border-color: white;
}
.owl-dots{
    text-align: center;
    margin-top: 20px;
}
.owl-dot{
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none!important;
    border-radius: 50%;
    border: 2px solid green!important;
    transition: all 0.3s ease;
}
.owl-dot.active{
    width: 35px;
    border-radius: 14px;
}
.owl-dot.active, .owl-dot:hover{
   background: green!important;
}


/* contact section */
.contact {
    padding: 50px 20px;
  }
  
  .heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
  }
  
  .heading span {
    color: var(--main-color);
  }
  
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  
   .right {
    /* width: 200px; */
    flex: 1;
    min-width: 30px;
    padding: 20px;
    /* background-color: var(--snd-bg-color); */
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .contactInfo .box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
  }
  
  .contactInfo .icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--main-color);
  }
  
  .contactInfo .text h3 {
    margin: 0;
    font-size: 1.2rem;
  }
  
  .contactInfo .text p {
    margin: 5px 0 0;
  }
  
  .right h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--text-color);
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
  }
  
  .form-group input, .form-group textarea {
    width: 95%;
    padding: 10px;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-color);
    /* border: 1px solid var(--main-color); */
    border-radius: 4px;
    outline: none;
  }
  
  .form-group input:focus, .form-group textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 5px var(--main-color);
  }
  
  button {
    display: block;
    /* width: 100%; */
    background-color: var(--main-color);
    color: var(--text-color);
    border: none;
    padding: 12px 15px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  button:hover {
    background-color: #4a9ad4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      gap: 20px;
    }
  }
  

   /* footer section */

   .footer {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 50px 20px;
  }
  
  .footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-about, .footer-links, .footer-social {
    flex: 1;
    min-width: 250px;
  }
  
  .footer h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--main-color);
  }
  
  .footer p {
    line-height: 1.6;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 10px;
  }
  
  .footer-links ul li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
  }
  
  .footer-links ul li a:hover {
    color: var(--main-color);
  }
  
  .footer-social .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .footer-social .social-icons a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
  }
  
  .footer-social .social-icons a:hover {
    color: var(--main-color);
    transform: scale(1.2);
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
  }
  
  .footer-bottom p {
    margin: 0;
  }
  
  @media (max-width: 768px) {
    .footer .container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  }
  


   /* Breakpoint */

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

   @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) {
    #menu-icon {
        display: block;
    }

    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 25%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem solid rgba(0, 0, 0, .2);
        display: none;
    }

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

    .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){
    .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%;
    }
   }


