@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&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-face {
    font-family: Montserrat;
    src: url(Montserrat-Bold.tff);
}
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'poppins';
    scroll-behavior: smooth;
}
:root{
    --prime-color:#F41A4A;
    --black-color:#000;
    --dark-color:#111A24;
    --white-color:#fff;
    --sec-font:"Montserrat", sans-serif;

    --transition:.3s;
    --transition2:.6s;
}
body{
    overflow-x: hidden;
}
img{
    width: 100%;
    height: 100%;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5% 12%;
}
header{
width: 100%;
padding: 2% 12%;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    height: 70px;
    padding: 0 3%;
    border-radius: 50px;
    border: 1px solid var(--dark-color);
    position: fixed;
    top: 3%;
    left: 10%;
    background-color: rgba(255,255,255,0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 999;
}
.menu{
    display: flex;
    align-items: center;
    gap: 20px;
}
.menu li a{
    font-size: 1.2rem;
    font-weight: 500;
    color:var(--dark-color);
    transition:var(--transition) ;
}
.menu li a:hover{
    color: var(--prime-color);
}

.bars{
    display: none; 
}
/*Hero header*/
.hero_header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5% 12%;
    gap: 50px;
    height: 90vh;
    position: relative;
    z-index: 1;
}
.hero_bg_shape{
    position: absolute;
    top:20%;
    left: 50%;
    width:70px;
    height: 70px;
    object-fit: contain;


}
.hero_bg_shape1{
    animation: rotate1 6s infinite linear;
}
.hero_bg_shape2{
    left:85%;
    animation: fade_top 3s infinite linear;
}
.hero_bg_shape3{
    top:60%;
    left:80%;
    animation: fade_top 3s infinite linear;
}
.hero_bg_shape4{
    top:80%;
    left:-5%;
     animation: rotate1 6s infinite linear;
}
@keyframes rotate1{
    0%{
        transform: rotate(360deg);
    }
}
@keyframes fade_top{
    0%{
        transform: translateY(0px);
    }
    50%{
         transform: translateY(-20px);
    }
    100%{
         transform: translateY(0px);
    }
}
.top_bg_text{
    position: absolute;
    top:-5%;
    left:-15%;
    font-size: 15rem;
    font-weight: 600;
    -webkit-text-stroke: 1px #a5a2a2;
    -webkit-background-clip: text;
    color: transparent;
    opacity: 0.5;
    z-index: -1;

}
.bottom_bg_text{
    position: absolute;
    top:60%;
    left:60%;
    font-size: 15rem;
    font-weight: 600;
    -webkit-text-stroke: 1px #a5a2a2;
    -webkit-background-clip: text;
    color: transparent;
    opacity: 0.5;
    z-index: -1;

}

.hero_img{
    width: 35%;
    position: relative;
    z-index: 1;

}
.hero_shape{
    position: absolute;
    top:52%;
    left: 22%;
    transform: translate(-50%,-50%);
    z-index: -1;
    width: 35%;
    height: 55%;

}
.border_shape{
    width: 38%;
    height: 60%;
}
.hero_img img{
    width: 85%;

}
.hero_content{
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    margin-left: 50px;


}
.hero_content h2{
    font-size: 2rem;
    color: var(--prime-color);
    font-weight: 500;
}
.hero_content h1{
    font-size: 5rem;
    line-height: 6rem;
    font-family: var(--sec-font);
    color: var(--dark-color);
    position: relative;
}
.text_shape{
    position: absolute;
    top:-60%;
    right: -15%;
    width: 100px;

}
.hero_content h3{
    margin: 10px 0;
    font-size: 1.7rem;
    font-weight: 600;
}
.hero_content h3 span{
  color: var(--prime-color);
}
.hero_btns{
    display: flex;
    align-items: center;
    gap: 20px;
}
button{
    width: 200px;
    height: 50px;
   border: 1px solid var(--dark-color);
   border-radius: 50px;
    background-color: transparent;
    font-size: 1.3rem;
    transition: var(--transition);
}
button:hover{
    background-color: var(--prime-color);
    color:var(--white-color);
    border-color: var(--prime-color);
    cursor: pointer;
}
.hero_btns button:last-child{
    width: 150px;
}

/*ABOUT Section*/
.about{
    /* flex-direction:column;
    gap: 50px; */
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:40px;
    padding:80px 0;
}
.headings{
    /* width: 100px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.headings h1{
    font-size: 4rem;
    font-weight: 600;
    color: var(--dark-color);
}
.headings h1 span{
    color: var(--prime-color);

}
.anim_line_box{
    width: 2px;
    height: 120px;
    border-radius:10px;
    background-color: var(--black-color);
    position: relative;
    border-radius: 10px;
}
.anim_line_box:after{
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50% , -50%);
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background-color: var(--black-color);
    animation: shape_up_down 4s infinite linear;

}
@keyframes shape_up_down{
    0%{
        top:0;
    }
    50%{
        top:100%;
    }
    100%{
        top: 0%;
    }
}
.about_container{
    width: 100%;
    display: grid;
   /* grid-template-columns: repeat(3,1,fr); */
   grid-template-columns: 1fr 1fr 1fr; 
   place-content: center;
   place-items: center;
    gap:20px;
    
}
.about_left{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap:10px;
}
.about_left h1{
    font-size: 2.2rem;
    line-height: 3.5rem;
    font-weight: 600;
    -webkit-text-stroke: 1px var(--dark-color);
    color: transparent;
}
.about_left p{
    font-size: 0.95rem;
    font-weight: 300;
    color: #999;
    max-width:350px;
}
.about_img .about_image{
    border-radius: 200px;
   

}
.about_img{
    position: relative;
    padding: 10px;
}
.about_img img{
    width:320px;
    height:380px;
    object-fit:cover;
    border-radius:200px;
}
.about_img:after{
    content:'';
    position:absolute;
    top:-10px;
    left:-10px;
    width:100%;
    height:100%;
    border-radius:200px;
    border:1px solid var(--dark-color);
}
.about_info{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.about_det{
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #faf1c6;
    padding: 20px 25px;
    border-radius: 60px;
    width: 320px;
    position: relative;
}
.about_det:nth-child(2){
    background-color: #ffd5df;
}
.about_det:nth-child(3){
    background-color: #d5f5ff;
}
.value{
    font-size: 1.4rem;
    width: 110px;
    height: 70px;
    border-radius: 100%;
    border: 1px solid var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
    font-weight:600;
}
.det_info{
    display: flex;
    flex-direction: column;
}
.det_info h2{
    font-size: 1.3rem;
    font-weight: 500;
}
.det_info h2 span{
    font-size: 1.3rem;
    font-weight: 300;
}
/* .det_info p{
    color: #999;
    font-size: 1rem;
    font-weight: 300;
} */
 .hidden_icons{
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 35%;
    left: 90%;
    transition: var(--transition);
    padding: 10px;
    opacity: 0; 
 }
 .icon{
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
 }
 .icon img{
    object-fit: contain;
    width: 50%;
    cursor: pointer;
 }
 .about_img:hover .hidden_icons{
    left: 83% !important;
    opacity: 1;
 }
 .about_img:hover .icon:nth-child(1){
    opacity: 1;
    transition-delay: 0.3s;
 }
 .about_img:hover .icon:nth-child(2){
    opacity: 1;
    transition-delay: 0.5s;
 }
 .about_img:hover .icon:nth-child(3){
    opacity: 1;
    transition-delay: 0.7s;
 }
 .about_det_icon{
    position: absolute;
    top: -30%;
    left: 60%;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
 }

 .about_icon{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
}
.about_icon img{
    width: 50%;
    object-fit: contain;
}
.about_det:hover .about_det_icon{
    top: -20%;
    opacity: 1;
}
 /*-- EDUCATION EXPERIENCE */
 .education_experience{
    flex-direction: column;
    gap: 50px;
    position: relative;
 }
.education_btn{
    /* width:30%;
    padding:10px;
    border-radius: 50px;
    border: 1px solid var(--dark-color);
    .education_btn { */
    display: flex;              
    flex-direction: row;       
    justify-content: center;
    align-items: center;

    gap: 10px;                 

    padding: 8px;
    border: 1px solid var(--black-color);
    border-radius: 50px;

    width: fit-content;        
    margin: 0 auto;             
/* } */
}
.education_btn button:active,
.education_btn button:focus{
    background-color: var(--prime-color);
    color: var(--white-color);
    border-color: var(--prime-color);
}
.education_container{
    display: flex;
    justify-content: space-between; 
     align-items: center; 
    gap: 50px;
    column-gap: 20px; 
    position: relative;
   

}
.education_left,
.experience_right{
    display: flex;
    flex-direction: column;
    width: 40%;
    gap: 30px;
}
.education_box,
.experience_box{
    width: 100%; 
    padding: 20px;
    background-color: #F7F5FB;
    border: 1px solid var(--black-color);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}
.education_box:hover,
.experience_box:hover {
    box-shadow: 0 0 10px rgba(131,131,131,1);
    transform: translateY(-5px);
    transition: 0.3s;
}
.education_box::after{
     content: "";
    position: absolute;
    right: -30px;
    top: 50%;
    width: 20px;
    height: 2px;
    transform: translateY(-50%);
    background-color: var(--black-color);

}
.experience_box::before{
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    width: 20px;
    height: 2px;
      transform: translateY(-50%);
    background-color: var(--black-color);

}
.education_box h2,
.education_box h2{
    font_size: 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}
.education_box h2:hover,
.education_box h2:hover{
    color: var(--prime-color);
    cursor: pointer;

}
.education_box h2 span,
.education_box h2 span{
    font_size: 1.2rem;
    font-weight: 500;

}
.education_box p,
.education_box p{
    font_size: 1rem;
    font-weight: 500;
}
.show_box{
    opacity: 0;
}
/* .hide_box_shows{
    opacity: 1;
} */
.gap_line{
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--black-color);
}
.gap_line:after{
    /* content: '';
    position: absolute;
    top: 0;
    left: -9px !important;
    width: 20px;
    height: 2px;
    background-color: var(--black-color); */
      content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 2px;
    background: black;
}
.gap_line:before{
    /* content: '';
    position: absolute;
    top: 100%;
    left: -9px !important;
    width: 20px;
    height: 2px;
    background-color: var(--black-color); */
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 2px;
    background: black;
}
.gap_lines::before {
    top: 0;
}

.gap_lines::after {
    bottom: 0;
}
.achieve_shape{
    position: absolute;
    top: 15%;
    left: 80%;
    width: 150px;
    height: 150px;
}
.achieve_shape1{
    animation: fade_top 3s infinite linear;
}
.achieve_shape2{
    top: 85%;
    left: 5%;
    animation: fade_top 3s infinite linear;
}
.achieve_shape3{
    left: 2%;
    width: 100px;
    height: 100px;
    animation: rotate1 6s infinite linear;
}
/* SERVICE CARDS SECTION */
.service_cards{
    display: grid;
    /* grid-template-columns: repeat(4,1fr); */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-items: center;
    /* place-content: center; */
    /* place-items: center; */
    gap: 30px;
    margin-top: 80px;
     justify-items: center;
    
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
   
    /* margin-top: 50px; */ 

}


.service_card{
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center; 
    height: 200px;
    gap: 5px;
    background-color: #EDF4B3;
    padding: 40px 20px 20px;
    padding-top: 17% ;
    border-radius: 12px;
    width: 100%;
    /* width: 220px; */
    position: relative;
    transition: var(--transition);
}
.service_card:hover{
    transform: translateY(-8px);
    box-shadow: 0 0px 10px rgba(131,131,131,1);
}
.service_card h2{
    min-height: 50px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    font-family: var(--sec-font);
    transform: var(--transition);
}
.service_card p{
    font-size: 0.9rem;
    font-weight: 400;
}
.service_img{
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    height: 60px;
    width: 60px;
    border-radius: 50%;
    padding: 10px;
    background-color: var(--white-color);
}
.service_card h2:hover{
    color: var(--prime-color);

    cursor: pointer;

}
/* FEATURED PROJECT  */
.projects{
    flex-direction: column;
    gap: 50px;
    position: relative;
    z-index: 0;
}
.projects_btns{
    width: 60%;
    border: 1px solid var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    padding: 10px;
    position: relative;
    z-index: 10;
}
.projects_btns button{
    width: 150px;
    height: 40px;
    font-size: 1.2rem;
    border: none;
}
.projects_btns button:active,
.projects_btns button:focus{
    background-color: var(--prime-color);
    color: var(--white-color);
    border-color: var(--prime-color);
    cursor: pointer;
}
.project_cards{
    width: 100%;
    display: grid;
    /* grid-template-columns: repeat(3,1fr); */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* place-content: center;
    place-items: center; */
    gap: 20px;
     margin-top: 8px;
}
.project_card{
    width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* text-align: left; */
    gap: 10px;
    margin:27% 0%;
    border-radius: 12px;
    border: 1px solid var(--black-color);
    background: #fff;
     padding-top: 120px;
    position: relative;
     overflow: visible;
    z-index: 2;

   
}
.project_info{
     /* border: 1px solid var(--black-color);
    padding: 5px;
    border-radius: 20%;
    padding-top: 20%; */
      /* background: white;
    border: 1px solid var(--black-color);
    border-radius: 20px;

    padding: 20px;
    padding-top: 90px; */
    
    /* border-left: 1px solid var(--black-color);
    border-bottom: 1px solid var(--black-color);
    border-right: none;
    border-top: none;
    
    padding: 15px;
    border-radius: 0 0 15px 15px; */
    padding-top: 60px;
    border: 1px solid transparent;
    border-left: 1px solid var(--black-color);
    border-bottom: 1px solid var(--black-color);
}




.project_info h2{
    font-size: 2rem;
    font-weight: 500;
    transition: var(--transition);
}
.project_info h2:hover{
    color: var(--prime-color);
    cursor: pointer;
}
.project_info h5{
    font-weight: 300;
    color: #999;

}
.project_info p{
    font-size: 1rem;
    /* line-height: 1.5; */
    font-weight: 300;
}
.project_info p span{
    font-size: 1rem;
    font-weight: 500;
    color: var(--black-color);
}
.project_img{
    /* position: relative;
    /* top: -35%;
    left: 50%; */
    /* width: 200%;
    height: 200px; */
    /* transform: translate(-50% , -50%); */
    /* border-radius: 20px;
    margin-bottom: -60px;
    border-radius: 20px;
    overflow: hidden; */ 
     /* width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;

    position: relative;   /* NOT absolute */
    /* margin-left: 20px;
    margin-bottom: -80px; /* 🔥 overlap */
    /* z-index: 2; */  
      position: absolute;
    top: -15%;   /* 👈 FIXED VALUE */
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 160px;
    border-radius: 20px;
    transition: var(--transition);
    overflow: hidden;
    z-index: 1;
    /* display: none; */

}
.project_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
     border-radius: 20px;
    transition: var(--transition);
}
.project_img:after{
    content: '+';
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--white-color);
    opacity: 0;
    transition: var(--transition);

}
.project_img:hover:after{
    opacity: 1;
    cursor: pointer;

}
.project_card:hover .project_img img{
    transform: rotate(6deg) scale(1.2);
}
.product_card:hover{
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}