@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&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&family=Quicksand:wght@300..700&family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&family=Syne:wght@400..800&display=swap');

:root{
    --titlefont :  "Syne", sans-serif !important ;
    --textfm :  "Poppins", sans-serif !important ;
    --titlefont2 :  "Quicksand", sans-serif !important ;
    --innertitlefm :  "Sofia Sans", sans-serif !important ;
}

body{
    margin: 0px;
    padding: 0px;
}

#ab-title{
    height: 400px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.866) 0%, rgba(0, 0, 0, 0.745) 100%), url('../media/373115652_f3cbf387-8e8c-4f81-aebc-a15d216b0f7a.jpg');
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    text-align: center;
}

#ab-title h4{
    color: #d5d5d5;
    font-size: 14px;
    padding: 8px 30px;
    border-radius: 20px;
    border: 1px solid #d5d5d5;
    width: fit-content;
    margin: 0 auto 10px auto;
}
#ab-title h2{
    font-size: 3rem;
    color: #fff;
    margin: 20px auto;
    font-weight: 700;
    font-family: var(--titlefont);
}

#ab-title p{
    max-width: 600px;
    margin: 20px auto;
    font-size: 15px;
    color: #d5d5d5;
}
.ab-sec
{
    padding: 0px 10px;
    background-color: #ffffff;
}
.about-bigxtech{
    max-width: 1000px;
    padding: 10px 20px 30px 20px;
    margin: 30px auto 0px auto;
    border-radius: 20px;
    background-color: transparent;
    /* border: 1px solid #fa0101; */
    /* background-color: #fff0f0; */
}
.about-bigxtech h2{
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--titlefont);
    color: #000;
    margin-bottom: 20px;
   
}
.about-bigxtech h2 span {
    color: #fa0101;
}

.about-bigxtech p{
    color: #252525;
    font-size: 16px;
    margin: 20px auto;
    text-align: justify;
    font-family: var(--titlefont);
    
}

.about-bigxtech h4{
    color: #000;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    font-family: var(--titlefont);
  
    margin: 50px auto 20px auto;
}

.grid-box{
    margin: 40px auto 20px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

}
.grid-box-item
{
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #d7d7d7;
    text-align: center;
    background-color: #f8f8f8;
    transition: 1s all;
    border-radius: 10px;
    box-shadow: 0 8px 46px 0 rgba(3, 15, 39, .04);
    transition: all 500ms;
}
.grid-box-item:hover {
    background: linear-gradient(to right, #fa0101 0%, #ff0000 100%) bottom/0% 2px no-repeat;
    transform: translateY(10px);
    background-size: 100% 2px;
}
/* .grid-box-item i{
    text-align: center;
    color: #000;
    font-size: 50px;
} */
 .grid-box-item img{
    height: 60px;
    margin-bottom: 5px;
 }
.grid-box-item h4{
    font-size: 22px;
    font-weight: 600;
    margin: 20px auto 10px auto;
    color: #000;
 
}
.grid-box-item p{
    color: #393939;
    text-align: center;
    margin: 5px 0 10px 0px;
}


/* our mission vision sec */

.bigxtech-m-v{
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.988) 100%), url('../media/373115652_f3cbf387-8e8c-4f81-aebc-a15d216b0f7a.jpg'); */
    background-size: cover;
    background-position: center;
    padding: 60px 10px;
    background-attachment: fixed;
    background-color: #0f0f0f;
}

.bigxtech-m-v-inner{
    max-width: 1000px;
    margin: 20px auto;

}

.bigxtech-m-v-inner h2{
  color: #fa0101;
    text-align: center;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: var(--titlefont);


}
.m-v-sec{
     display: flex;
     flex-direction: row;
     justify-content: space-between;
     align-items:start;
     gap: 10px;
     
}

.m-v-sec h4{
    color: #ffffff;
    font-family: var(--titlefont);
    margin-top: 20px;
}
.m-v-sec img{
    width: 300px;
}
.m-v-sec p{
     color: #bababa;
    font-family: var(--titlefont);
   text-align: justify;


}


/* team sec */
#team-sec-main{
    background-color: #FFFFFF;
    padding: 50px auto;
}
#team-sec{
    margin: 0px auto 0px auto;
    max-width: 1100px;
    padding: 50px 10px;
}

#team-sec h4{
    color: #000;
    
    font-size: 14px;
    padding: 8px 30px;
    border-radius: 20px;
    border: 1px solid #000;
    width: fit-content;
    margin: 0 auto 20px auto;
}

#team-sec h2{

    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--titlefont);
    color: #000;
    margin-bottom: 20px;
}
#team-sec h2 span {
    color: #fa0101;
}

#team-list-sec{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 40px;
    max-width: 800px;
    margin: 10px auto;
}

.team-list{
    padding: 5px 5px 15px 5px;
    border-radius: 10px;
    border: 1px solid #d5d5d5;
    transition: all 500ms;
    position: relative;
    overflow: hidden;
    height: 280px;

    transition: all 500ms;
}

.team-list:hover img{
    filter: brightness(0.6);
}
.team-list:hover .team-con{
    bottom: 85 px;

}

.team-list img{
    border-radius: 5px;
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    object-position: top
}
.team-con{
    position: absolute;
    bottom:10px;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    text-align: center;
    filter: brightness(1) !important;
    height: 55px;
    transition: all 300ms;
    padding: 0px 10px;
}

.team-list h4{
    font-size: 14px !important;
    text-align: center !important;
    border: none !important;
    font-weight: 600;
    margin: 0px  auto 0 auto !important;

}
.team-list p{
    margin: 0px  0 0 0 !important;
    text-align: center !important;
    color: #fff;
}
.team-con p:last-child{
    margin-top: 0px !important;
    text-align: center !important;
    color: #979797 !important;
    font-size: 14px !important;
}

/* 900px */
@media (max-width: 900px) {
    #team-list-sec {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        margin: 10px auto;
    }
}

/* 768px */
@media (max-width: 768px) {
    .grid-box {

        grid-template-columns: repeat(2, 1fr);
    }
}

/* 600px */
@media (max-width: 600px) {
    #ab-title h2
    {
        font-size: 2.3rem;
    }
    .grid-box {

        grid-template-columns: repeat(1, 1fr);
    }
    .about-bigxtech {
        max-width: 1000px;
        padding: 20px 20px 0px 20px;
    }
    .about-bigxtech h4
    {
        margin: 70px auto 20px auto;
    }
    #team-list-sec {
        grid-template-columns: repeat(1, 1fr);
        max-width:250px;
        margin: 10px auto;
    }
    #team-sec h4 {
    color: #000;
    font-size: 14px;
    padding: 8px 23px;
    }
}