@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Roboto:wght@400;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-text-color: #183b56;
    --secondary-text-color: #577592;
    --accent-color: #2294ed;
    --accent-color-dark: #1d69a3;
    --padding-inliine-section: 20px;
}
body{
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8ff;
color: var(--primary-text-color);
}

h1{
    font-size: 3rem;;
}

h2{
    font-size: 2rem;
}

h3{
   font-size: 1.5rem;
}
p{
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    color: var(--secondary-text-color);
    line-height: 1.8rem;
}
a{
    text-decoration: none;
    display: inline-block;
}
ul{
    list-style: none;
}
span{
  color: rgb(46, 165, 235);
}
.logo{
    font-size: 26px;
    font-weight: 700;
}
.hover-link{
    color: var(--primary-text-color);
    font-size: 18px;
    font-weight: 600;
}
.active{
    color: var(--accent-color);
}
.hover-link:hover{
    color: var(--accent-color);

}
/*Utility Classes */
.container{
    max-width: 1180px;
    padding-inline: var(--padding-inliine-section);
    margin-inline: auto;
    overflow: hidden;
}
.flex{
    display: flex;
    align-items: center;
}
.primary-btn{
    background-color: var(--accent-color);
    border-radius: 6px;
    font-weight: 700;
    color: white !important;
    padding: 12px 24px;
    box-shadow: 0 0 2px var(--secondary-text-color);
    transition: 0.2s ease-out;
}
.primary-btn:hover{
    background-color: var(--accent-color-dark);
}
.secondary-btn{
    border: 0.5px solid var(--secondary-text-color);
    border-radius: 6px;
    font-weight: 700;
    color: var(--primary-text-color) !important;
    padding: 12px 24px;
    transition: 0.2s ease-out;
}
.secondary-btn:hover{
    color: var(--accent-color) !important;
}
/* header */
.main-nav{
    justify-content: space-between;
    margin-top: 20px;
}
.nav-links{
    flex-basis: 730px;
}
nav ul{
    justify-content: end;
    gap: 40px;
}
.nav-toggle{
    display: none;
}

/*Header section */
header{
    padding: 30px var(--padding-inliine-section) 0;
}
.header-section{
    justify-content: space-between;
    
}
.header-left{
    max-width: 60vw;
}
.header-left h2{
    margin-top: 20px;
}
.get-strated{
    margin-top: 20px;
}
.header-right img{
    width: 68%;
}

/* About Section */
.headings{
    text-align: center;
}
.about-section{
    justify-content: center;
    padding: 30px 20px 30px 20px;
    gap: 50px;
}
.about-left img{
   width: 300px;
}
.about-right{
    padding: 1px 34px;
  max-width: 36vw;
}
.btn{
    justify-content: flex-start;
    margin-left: 500px;
}
.cv{
    outline: none;
    border: none;
    font-weight: 700;
    width: 160px;
    height: 50px;
    cursor: pointer;
    padding: 12px 24px;
}
/*Projects */
.gallery{
    width: 900px;
    display: flex;
    overflow-x: scroll;
  }
  .gallery::-webkit-scrollbar{
    display: none;
  }
  .gallery div{
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 40px;
    padding: 10px;
    flex: none;
  }
  .gallery div img{
    width: 100%;
    
    transition: 0.5s;
  }
  .gallery-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5% auto;
  }
  #backbtn, #nextbtn{
    width: 50px;
    cursor: pointer;
  }
  #backbtn{
    margin-right: 70px;
  }
  .gallery div img:hover{
   
    cursor: pointer;
    transform: scale(1.1);
  }
  

/* Skills Section */

.skills-section{
   padding: 50px 20px 30px 20px;
   justify-content: center;
    display: grid;
    grid-template-columns: auto auto auto ;
    column-gap: 50px;
    row-gap: 50px;
}
.skills-section img{
    width: 200px;
}
.skills-card{
    flex-direction: column;
    gap: 20px;
    max-width: 30%;
    text-align: center;
 }
 .skills-area {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
 }
/*education */

.time-line{
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
  }
  .content-p{
    padding: 10px 50px;
    position: relative;
    border-radius: 20px;
    width: 50%;
   
  }
  .tex-box{
   padding: 20px 30px;
   background-color: #fff;
   position: relative;
   border-radius: 20px;
   font-size: 15px;
   border: 1px solid black;
  }
  .content-l{
    left: 0;
  }
  .content-r{
    left: 50%;
  }
  .content-p img{
    position: absolute;
    width: 40px;
    right: -20px;
    top: 32px;
    z-index: 10;
  }
  .content-r img{
    left: -20px;
  }
  .time-line::after{
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: #1e90ff;
    border-radius: 10px;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
  }
  .tex-box h2{
    font-weight: 600;
  }
  .tex-box p{
    display: inline-block;
    margin-bottom: 15px;
  }
  .left-content-arrow{
    height: 0;
    width: 0;
    top: 28px;
    position: absolute;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #000;
    right: -15px;
  }
  .right-content-arrow{
    height: 0;
    width: 0;
    top: 28px;
    position: absolute;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #000;
    left: -15px;
  }


  /*  Contact Section */
  .contact-section{
    width: 80%;
    margin: 50px auto;
    background-color: #fff;
  }
.contact-box{
  background: #fff;
 
}
.contact-left{
  flex-basis: 60%;
  padding: 40px 60px;
}
.contact-right{
    height: 80vh;
  flex-basis: 40%;
  padding: 40px;
  background: #2294ed;
  color: #fff;
}
.input-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .input-row .input-group
  {
    flex-basis: 45%;
  }
  input{
    width: 100%;
  }
  input{
    border: none;
    width: 100%;
    border-bottom: 1px solid #ccc;
    outline: none;
    padding: 6px;
  }
  textarea{
    width: 100%;
    border: 1px solid #ccc;
    outline: none;
    padding: 10px;
    box-sizing: border-box;
  }
  label{
    margin-bottom: 6px;
    display: block;
    color: var(--secondary-text-color);
  }
  button{
    background-color: #2294ed;
    width: 100px;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    height: 35px;
    border-radius: 30px;
    margin-top: 20px;
    box-shadow: 0px 5px 15px 0px rgb(28, 0, 181, 0.3);
  }
  .contact-left h3{
    color: #2294ed;
    font-weight: 600;
    margin-bottom: 30px;
  }
  .contact-right h3{
   
    font-weight: 600;
    margin-bottom: 30px;
  }
  tr td:first-child{
    padding-right: 20px;
  }
  tr td{
    padding-top: 20px;
  }

  /*Footer */
.footer-container{
    width: 100%;
    height: 420px;
    padding: 80px 20px;
    display: flex;
   
    justify-content: space-around;
    background-color: #183b54;
  }
  
  .name h2{
    color: #fff;
  }
  .cnt a{
    text-decoration: none;
    color: #fff;
    padding: 10px 14px;
    font-weight: 400;
    font-size: 20px;
  }
  .icons a{
    text-decoration: none;
    color: #fff;
    padding: 10px 14px;
    font-weight: 400;
    font-size: 22px;
  }
   /* Subfooter*/
   .sub-footer{
      background-color: #b9acde;
      
   }
   .subfooter-container{
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }
  .subfooter-container a{
      text-decoration: none;
      color: #183b56;
      font-size: 20px;
      font-weight: 700;
  }

