/* common styles  */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

:root {
    --primary-color: #64c37c;
    --secondary-color: rgb(30, 55, 36);
    --background-color: black;
    --text-color: white;
    --heading-size:80px;
}

.container {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.primary__button{
    border: 2px solid var(--primary-color);
    text-decoration: none;
    display: block;
    height: 60px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    padding: 20px;
    border-radius: 99px;
    margin-top: 30px;
    transition: all 0.5s ease-in-out;
}

.primary__button:hover{
    scale: 1.2;
    background-color: var(--primary-color)
}
.secondary__button{
   
    text-decoration: none;
    background-color:#64c37cd2;
    width: 150px;
    height: 60px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    padding: 20px;
    border-radius: 99px;
    margin-top: 30px;
    transition: all 0.5s ease-in-out;
}
.secondary__button:hover{
    scale: 1.1;
    background-color:var(--primary-color);
}

/* added animation */
.hero-title {
    animation: slideUp 2s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}





.fade-up {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

                            /* added margin in the section so that every section apper correctlyt when link click */


.services__section{
    padding-top: 100px;

}
.project__section{
    padding-top: 100px;

}

.about__page {

    margin-top: 50px;
}
/* specific styles */

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

/* header styles */

.menu-icon{
    display: none ;
}
.ver__nav__links{
    
    flex-direction: column;
    gap: 50px;
    position: fixed;
    top: 0;
    right: 0;
    z-index:10000;
    width: 350px;
    background-color: var(--primary-color);
    height: 100%;
    padding: 50px 20px;
    border-radius: 10px;
    transition: all 0.5s ease;
    transform: translateX(350px);
    display: none;
}
.cross{
    float: right;
    display: block;
    text-align: end;
}

.ver__nav__links a{
text-decoration: none;
color: var(--text-color);
font-size: 25px;
font-weight: 600;
transition: all 0.5s ease;
}

.ver__nav__links a:hover{
color: var(--secondary-color);
transform: translateX(20px);
}

.header {
    color: var(--text-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(15px);
}

.logo__header {
    width: 5rem;
}

.logo__header img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.nav__links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border: 2px solid var(--primary-color);
    height: 5rem;
    padding: 2rem;
    border-radius: 50px;
}

.nav__links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.nav__links a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.nav__links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: all 0.3s ease-in-out;
}

.nav__links a:hover::after {
    width: 100%;
}

/* home page */

.home__page {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 15%;
    text-align: center;
    gap: 2rem;
    position: relative;
}

.home__page div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.home__page h1 {
    font-size: var(--heading-size);
    font-weight: 700;
}

.home__page span {
    color: var(--primary-color);
}

.home__page .hero__text {
    display: flex;
    margin-top: 15%;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 2rem;
    text-align: start;
   flex: 1.4;
   
}

.home__page .hero__image {
    display: flex;
    flex: 1;
    min-width: 350px;
    justify-content: center;
    align-items: center;
    width:50%;
    border-radius: 50px;
 
}

.home__page .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50px;
}

.about__page {
    height: 100vh;
    position: relative;

    display: flex;
    overflow: hidden;
}

.about__content {
    overflow-y: scroll;
      /* Firefox */
    scrollbar-width: none;

    /* Internet Explorer & Edge */
    -ms-overflow-style: none;
    padding: 13% 0 0 0;
}

.about__page .heading {
    flex: 1;

    flex-wrap: wrap;
    position: relative;
    font-size: var(--heading-size);
    white-space: nowrap;
    height: 100%;
}

.about__page h1 {
    transform: rotate(90deg);
    position: relative;
    top: 50%;
     font-size: var(--heading-size);
   
}

.about__page .about__content {
    flex: 7;
    height: 100%;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding-left: 10px;
}

.about__content p {
    font-size: 20px;
    font-weight: 400;
}

.about__option {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.about__option a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 800;
    border: 2px solid var(--primary-color);
    padding: 20px;
    border-radius: 999px;
}

.about__option a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.about__option a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    left: 20%;
    bottom: 8px;
    transition: all 0.3s ease-in-out;
}

.about__option a:hover::after {
    width: 60%;
}

.about__options__content .skills,
.about__options__content .education,
.about__options__content .experience {
    display: none;
}

.about__option a.active {
    background: var(--primary-color);
    color: black;
}

.about__section.active {
    display: block;
}

.about__options__content h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

.about__options__content h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.about__options__content li {
    margin-left: 18px;
    line-height: 2;
}



/* service section */

.services__section{
    margin: 13% auto;
   
}
.services__section h1{
     font-size: var(--heading-size);
}
.services__section .content__container{
display: flex;
flex-direction: column;
justify-content: center;
align-items:center ;
}
.services__section .box__container{
display: flex;
justify-content: center;
flex-direction: row;
gap: 40px;
margin-top: 50px;
flex-wrap: wrap;

}
.services__section .box{
    display: flex;
    flex: 1;
    flex-grow: 0;
   
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 40px;
    min-width: 400px;
      transition: all 0.5s ease;
    
}
.services__section .box:hover{
    scale: 1.1;
    background-color: var(--primary-color);
    
}
.services__section .box h2{
    white-space: nowrap;
}



/* project secrtion */

.project__section{
    margin: 13% auto;
   
}
.project__section h1{
     font-size: var(--heading-size);
}
.project__section .content__container{
display: flex;
flex-direction: column;
justify-content: center;
align-items:center ;
}
.project__section .box__container{
display: flex;
justify-content: center;
flex-direction: row;
gap: 40px;
margin-top: 50px;
flex-wrap: wrap;

}
.project__section .box{
    display: flex;
    flex: 1;
    flex-grow: 0;
 position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
   
   
    border-radius: 40px;
    min-width: 450px;
   
      transition: all 0.5s ease;
    overflow: hidden;
}
.project__section .box:hover{
    scale: 1.1;
  
}
.project__section .box h2{
    white-space: nowrap;
}
.project__section img{
    object-fit: contain;
    width: 100%;
}

.box__shadow{
    position: absolute;
    bottom: 0;
    text-align: center;
    background-color:#64c37c6f;
    height: 0;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
     transition: all 0.5s ease;
}

.box:hover .box__shadow{
    height: 100%;
}

.box__shadow a{
    font-weight: 600;
    text-decoration: none;
    color: var(--text-color);
    padding :20px;

}





                                                                    /* contact form */


.contact {

display: flex;
justify-content: center;
align-items:center;


}
.contact__main__container{
    display: flex;
    flex-direction: row;
   
   
}

.contact__details{
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 300px;
    align-items: center;
     margin-bottom: 160px;
     float: left;
     
    
}
svg{
     overflow: visible;
}

.contact__details .heading{
    text-align: center;
    font-size: 60px;
    margin-bottom: 50px;
}

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

   
}
.mail svg{
     fill: var(--primary-color) !important;
}
.mail a{
    text-decoration: none;
    color: var(--text-color);
     transition: all 0.5s ease;
 transform: translateX(-35px);
}
.mail a:hover{
    
    color: var(--primary-color);
   
}
.contact__details svg{
    padding :5px;
    
}


 .contact__details .imp__links a:hover svg g{
  transition: all 0.2s ease;

 }
.contact__details .imp__links a:hover svg g{
    fill: var(--primary-color) !important; 
}

 .contact__details .imp__links a:hover svg path{
  transition: all 0.2s ease;

 }
.contact__details .imp__links a:hover svg path{
    fill: var(--primary-color) !important; 
    transform: translatey(-2px);
}

.contact__details a{
    text-decoration: none;

}


.form {
   
     width: 100%;
     min-width: 500px;
     padding: 10px;
    color: white;
    text-align: center;

}
.form input , .form textarea {
    background-color: rgb(96, 94, 94);
    width: 100%;
    
    border: transparent;
    outline: 0;
    border-radius: 20px;
    margin-bottom: 20px;
    padding: 10px ;

}
.form input{
    height: 50px;
     color: white;
     font-weight: 600;
     letter-spacing: 2px;
    
}
.form textarea{
    height: 250px;
     color: white;
     font-weight: 600;
     letter-spacing: 2px;
}
form input::placeholder,
textarea::placeholder {
    color: rgb(177, 177, 177);
    font-weight: 600;

} 
form button{
    background-color: black;
    border: none;
    outline: 0;
    color: white;
    font-size: 20px;
    border: 2px solid var(--primary-color);
    height: 50px;
    padding: 0 10px;
    border-radius: 20px;
    transition: all 0.5s ease;
  
}
form button:hover{
   background-color: var(--primary-color);
   scale: 1.1;

}
.footer{
    background-color:var(--secondary-color);
}

.footer .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.footer__logo img{
    width: 100px;

    margin: 10px 0;
}

.footer p{
    color: rgb(155, 155, 155);
    font-weight: 600;
    margin-bottom: 10px;
}






/* media queries  */

@media (max-width: 1200px) {



:root {
  
    --heading-size:60px;
}

}

@media (max-width: 900px) {

   .home__page {
    display: flex;
    flex-direction: column;
    
    flex-wrap: wrap;
   }
   .hero__image{
    scale: 0.75;
   }

   .hero__image img{

    width: 100%;
    
   }



   /* about page */

   .about__page h1 {
    transform: rotate(0deg);
    
   display: block;
    text-align: center;
  
   
     font-size: var(--heading-size);
   
}
.about__page .heading{

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 20px;
}
.about__content{
    
    margin-top: 40px;
}
.about__page{
    flex-direction: column;
}


.contact {

flex-direction: column;


}

.nav__links{
    display: none;
}
 .menu-icon{
    display: flex;
}




.home__page .hero__image {
   
    width: 100%;

}
}

@media (max-width: 600px) {
 .about__content p,.about__content li,.about__section p,.services__section div  p{

font-size: 14px;
 }
 .about__page .about__option a{
font-size: 15px;
 }
.project__section .box{
    
    flex: 1 1 450px;
    min-width: 300px;
}

.form {
   
     width: 100%;
     min-width: 300px;
    }

    
:root {
  
    --heading-size:40px;
}

.services__section .box{
    min-width: 300px;
}
.services__section h2{
font-size: 20px;
}

}