@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');

*{
    font-family: 'Poppins', sans-serif;
    margin: 0%;
    padding: 0%;
    scroll-behavior: smooth;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    /* background: var(--bg-color); */
}

:root{
    --main-color:#2064ff;
    --text-color:#243448;
    --bg-color:#fff;
}

img{
    width: 100%;
}

body{
    color: var(--text-color);
    
}

section{
    padding: 4.5rem 0 3rem;
}

header{
    display: block;
    width: 100%;
    background: var(--bg-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 4px 4px 20px rgb(15 54 55/10%);

}

.container{
    max-width: 1068px;
    margin-left: auto;
    margin-right: auto;
}

.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 35px;
}

.logo{
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.navbar{
    display: flex;
    column-gap: 0.5rem;
}
.navbar a{
    padding: 8px 17px;
    color: var(--text-color);
    font-size: 1rem;
    text-transform: uppercase;
}
.navbar a:hover, .navbar .active{
    background: var(--main-color);
    color:var(--bg-color);
    transition: 0.1s all linear;
    box-shadow: 4px 4px 20px rgb(15 54 55 / 20%);
    border-radius: 30px;
}

#menu{
    display: none;
}
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    display: none;
}
.home{
    min-height: 640px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.home-img{
    flex: 1 1 17rem;
}
.home-text{
    flex: 1 1 17rem;
}
.home-text h1{
    font-size: 2.4rem;
}
.home-text p{
    font-size: 0.938rem;
    font-weight: 600;
    margin: .5rem 0 1rem;
}
.btn{
    padding: 8px 22px;
    background: var(--main-color);
    color: var(--bg-color);
    font-weight: 400;
    box-shadow: 4px 4px 20px rgb(15 54 55 / 20%);
    border-radius: 100px;
    
}
.btn:hover{
    background: var(--bg-color);
    color: var(--text-color);
    font-weight: 500;
    border: 1px solid var(--text-color);
}
.heading{
    text-align: center;
    margin-bottom: 2rem;
}
.heading h2{
    font-size: 2rem;
}
.heading p{
    font-size: 0.938rem;
    font-weight: 600;
    
}
.services-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.services-container .box{
    flex: 1 1 8rem;
    margin-right: 1.4rem;
    margin-left: 1.4rem;
    
}
.box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: 1px solid var(--text-color);
    border-radius: 0.5rem;
    background: var(--bg-color);
}
.box:hover{
    box-shadow: 4px 4px 20px rgba(0,0,0,0.5);
    transition: 0.3s ease-in-out;
}
.box h2{
    font-size: 1.2rem;
}
.box p{
    font-size: 0.938rem;
    font-weight: 500;
    margin: 0.5rem 0 1rem;
}
.box .s-btn{
    padding: 8px 22px;
    background: var(--main-color);
    color: var(--bg-color);
    font-weight: 400;
    box-shadow: 4px 4px 20px rgb(15 54 55 / 20%);
    border-radius: 2rem;
}
.box .s-btn:hover{
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--text-color);
    font-weight: 500;
    transition: 0.1s all linear;
}
.contact{
    text-align: center;

}
.contact-img{
    margin-bottom: 2rem;
}
.contact-img .cont{
   width: 400px;
}
.contacts{
    display: flex;
    justify-content: center;
}
.social{
    display: flex;
    align-items: center;
    column-gap: 1rem;

}
.social a{
    width: 40px;
    margin-bottom: 1rem;
}
.copyright{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.copyright p{
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}
/* Team */

::-webkit-scrollbar {
    height: 8px;
    /* display: none; */
  }
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 25px;
  }
  ::-webkit-scrollbar-thumb {
    background: #6e93f7;
    border-radius: 25px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #4070f4;
  }
.team-container {
  position : relative;
  max-width : 100%;
  display : flex;
  gap: 12px;
  align-items : center;
  /* justify-content : center; */
  /* flex-wrap : wrap; */
  padding : 30px;  
  border-radius: 12px;
  margin-left: 10px;
  background: #f0f0f0;
  box-shadow: 0 15px 25px rgba(0,0,0,0.1);
  scroll-snap-type: x mandatory;
  overflow-x: scroll;
  scroll-padding: 30px;
  overflow-y: hidden;
}

.team-container .card {
  position: relative;
  max-width : 290px;
  height : 220px;  
  background-color : #fff;
  margin : 30px 10px;
  padding : 20px 15px;
  
  display : flex;
  flex: 0 0 100%;
  flex-direction : column;
  box-shadow : 0 5px 20px rgba(0,0,0,0.5);
  transition : 0.3s ease-in-out;
  border-radius : 15px;
  scroll-snap-align: start;
}
.team-container .card:hover {
  height : 590px;  
}


.team-container .card .image {
            position: absolute;
            left: 50%;
            top:-50px;           
            transform:translate(-50%);
            width: 160px;
            height: 190px;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.35);
            overflow: hidden;
            transition: 0.5s;
}

.team-container .card .image img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* object-fit:cover; */
}
.team-container .card:hover .image{
  height: 240px;
  width: 200px;
}

.team-container .card .content {
  position : relative;
  top : 160px;
  padding : 10px 15px;
  color : #111;
  text-align : center;
  visibility : hidden;
  opacity : 0;
  transition : 0.3s ease-in-out;
}
.team-container .card .content p{
    text-align: center;
}
.team-container .card:hover .content {
   margin-top : 90px;
   visibility : visible;
   opacity : 1;
   transition-delay: 0.2s;
  
}
.team-container .card .heading{
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translate(-50%);
  font-size: 0.938rem;
  margin-top: 50px;
  text-align: center;
}
.team-container .card:hover .heading{
  margin-top: 110px;
}

        .actions .linkedin{
            width: 40px;
            border-radius: 30%;
            margin-top: 10px;
        }
        .actions .github{
            width: 35px;
            margin-bottom: 1%;
            margin-top: 10px;
        }
        .card .button{
            margin-top: 15px;
        }
        .card .button .btn{
            /* padding: 10px 30px; */
            background: #2064ff;
            color: #fff;
            font-weight: 500;
            box-shadow: 4px 4px 20px rgb(15 54 55 / 20%);
            border-radius: 10px;
            margin-top: 10%;
            outline: none;
            border: none;
            text-decoration: none;
        }
        .card .button .btn:hover{
            background: #fff;
            color: black;
            font-weight: 500;
            border: 1px solid black;
        }
        .team-container .card .heading h2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: -10px;
}
/* Responsiveness */
@media(max-width:1080px){
    .container{
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
@media(max-width:991px){
    .nav{
        padding: 15px 20px;
    }
    section{
        padding: 3rem 0 1rem;
    }
    .home-text h1{
        font-size: 2.1rem;
    }
}
@media(max-width:768px){
    .nav{
        padding: 10px 0;
    }
    #menu-icon{
        display: initial;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        row-gap: 0.5rem;
        background: var(--bg-color);
        text-align: center;
        box-shadow: 4px 4px 20px rgb(15 54 55 / 30%);
        clip-path: circle(0% at 50% 0%);
        transition: 0.1s;
    }
    .navbar a{
        display: block;
        padding: 15px;
    }
    #menu:checked ~ .navbar{
        clip-path: circle(144% at 50% 0%);
    }
}
@media(max-width:663px){
    .home-text p br{
        display: contents;
    }
}
@media(max-width:607px){
    .home{
        flex-direction: column;
        gap: 1rem;

    }
    .home-text{
        padding-top: 40px;
    }
    .heading h2{
        font-size: 1.8rem;
    }
    .heading p br{
        display: contents;
    }
}
@media(max-width:467px){
    .contact-img .cont{
        width: 100%;
    }
    .copyright{
        flex-direction: column-reverse;
        text-align: center;
        
    }
}

/* Responsive Design */
/* @media (max-width: 768px) {
    .team-container {
        grid-template-columns: 1fr;
    }
} */

#contactFormContainer {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  #contactForm {
    background-color: #fff; /* Change background color for better contrast */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ccc; /* Lighten border color */
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow for depth */
  }
  
  .close {
    color: #333;
    float: right;
    font-size: 24px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
  }
  
  textarea {
    height: 150px;
  }
  
  #submit {
    background-color: #007bff;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  #submit:hover {
    background-color: #0056b3;
  }
  .end{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  

