/* تظبيط الشغل */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    height: 4000px;
}

:root{
    --main-font:"Montserrat", sans-serif;
    --second-font:"Poppins", sans-serif;
    --main-col:#343434
}

.main-col{
    color: var(--main-col);
}

.ff1{
    font-family: var(--main-font);
}

.ff2{
    font-family: var(--second-font);
}

/* تظبيط الشغل */

/* ===================navbar================ */

nav{
    background-color: rgba(0, 0, 0, 0.9);
}

.nav-link{
    color: white;
    font-family: var(--second-font);
    font-size: .875rem;
    font-weight: 400;
    line-height: 20px;
}

nav .navbar-brand{
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 26px;
    letter-spacing: 1px;
}

nav .nav-link{
    font-size: .8125rem;
    font-weight: 400;
    line-height: 20px;
}

.nav-item{
    margin-right: 15px;
}

nav .container .nav-link:focus, .nav-link:hover{
    color: white;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
    color: white;
    border-bottom: 2px solid white;
}

/* ============header============ */

header{
    background-image: linear-gradient(rgba(0, 0, 0, 0.6),rgba(0, 0, 0, 0.6)),url(../imgaes/bg.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

header h2{
    font-size: 3.125rem;
    line-height: 55px;
    font-weight: 800;
}

header h1{
    font-size: 3.75rem;
    font-weight: 200;
    line-height: 72px;
}

header span{
    font-weight: 400;
}

header i{
    background-color: rgba(0, 0, 0, 0.3);
    padding: 13px;
    border-radius: 50%;
    font-size: .8125rem;
    color: white;
    margin-left: 5px;
}



/* ===========about============ */

#about .about-img1{
    height: 500px;
}

#about .about-img2{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 30px;
    left: -30px;
    z-index: -1;
}

#about h2{
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 33px;
    color: #343434;
}

#about h5{
    font-size: .875rem;
    font-weight: 400;
    line-height: 20px;
    color: #999;
}

#about p{
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    color: #748182;
}


#about button{
    border: 1px solid black;
}

#btn1{
    font-size: .8125rem;
    font-weight: 400;
    line-height: 19px;
    background-color: #1C1C1C;
    color: white;
    transition: 0.5s;
}

#btn2{
    font-size: .8125rem;
    font-weight: 400;
    line-height: 19px;
    color: #5B5B5B;
    transition: 0.5s;
}

#about button#btn1:hover {
    background-color: transparent;
    color: #5B5B5B;
}

#about button#btn2:hover{
    background-color: #1C1C1C;
    color: white;
}

.progress, .progress-stacked {
    height: 25px;
}

.progress-bar{
    background-color: #1C1C1C;
    border-radius: 5px;
}


/* ==========services========== */

#services h2{
    width: fit-content;
}

#services h2{
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 44px;
    color: #343434;
}

#services h2::after{
    content: "";
    position: absolute;
    width: 120%;
    height: 100%;
    left: -20px;
    top: 10px;
    opacity: 0.4;
    background-image: url(../imgaes/png-clipart-yellow-dots-illustration-polka-dot-circle-pattern-dot-angle-white-thumbnail.png);
    background-repeat: repeat;
    z-index: -1;
}

#services i{
    font-size: 1.5625rem;
}

#services h3{
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 20px;
    color: #343434;
}

#services p{
    font-size: .875rem;
    font-weight: 400;
    line-height: 22px;
    color: #748182;
}


.myp2{
    max-width: 345px;
}

#services .col-md-4 .content{
    border-radius: 5px;
    background-color: white;
    word-spacing: 2px;
}

#services i{
    border-radius: 50%;
    transition: 0.5s;
}

#services .col-md-4:hover i{
    background-color: #1C1C1C;
    color: white;
}


/* =============portfolio================== */


#works h2{
    width: fit-content;
}

#works h2{
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 44px;
    color: #343434;
}

#works h2::after{
    content: "";
    position: absolute;
    width: 120%;
    height: 100%;
    left: -25px;
    top: 10px;
    opacity: 0.4;
    background-image: url(../imgaes/png-clipart-yellow-dots-illustration-polka-dot-circle-pattern-dot-angle-white-thumbnail.png);
    background-repeat: repeat;
    z-index: -1;
}

.item .layer{
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    width: 96%;
    height: 96%;
    background-color: white;
    opacity: 0;
    transition: 0.8s;
}

.item:hover .layer{
    opacity: 1;
}

.item .kalam{
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    width: 96%;
    height: 96%;
    opacity: 0;
    transition : 0.8s;
}

.item:hover .kalam{
    opacity:1;
}

#works .item h3{
    font-size: .75rem;
    font-weight: 700;
    line-height: 13px;
    color: #343434;
    letter-spacing: 3px;
    text-transform: uppercase;
}   

#works .item i{
    font-size: 12px;
    padding: 8px;
    border-radius: 50%;
    border: 1px solid black;
    color: white;
    background-color: black;
    transition: 0.5s;
}

#works .item a:hover i{
    background: white;
    color: black;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: transparent;
    color: black;
    border-bottom: 2px solid black ;
}

.nav-pills .nav-link{
    border-radius: 0;
    
}

#works .nav-link{
    color: #222;
    font-family: var(--second-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 23px;
}

#works .nav{
    --bs-nav-link-padding-x: 12px;
}


/* =================client=============== */


#client h2{
    width: fit-content;
}

#client h2{
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 44px;
    color: #343434;
}

#client h2::after{
    content: "";
    position: absolute;
    width: 120%;
    height: 100%;
    left: -25px;
    top: 10px;
    opacity: 0.4;
    background-image: url(../imgaes/png-clipart-yellow-dots-illustration-polka-dot-circle-pattern-dot-angle-white-thumbnail.png);
    background-repeat: repeat;
    z-index: -1;
}


.myp3{
    max-width: 870px;
}

#client p.myp3{
    font-size: .9375rem;
    font-weight: 400;
    line-height: 24px;
    color: #748182;
}

#client h5{
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    color: #343434;
}

#client p.pp{
    font-size: .75rem;
    font-weight: 600;
    line-height: 17px;
    color: #888;
}

.carousel-indicators{
    bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 10px;
    background-color: #869791;
}

#client .carousel-indicators [data-bs-target]:hover{
    opacity: 1;
}



/* ==================statics=========== */

.statics i{
    color: #343434;
}

.statics h3{
    font-size: 1.875rem;
    font-weight: 900;
    line-height: 33px;
    color: #343434;
}


.statics h4{
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    color: #748182;
}

/* ========================team===================== */


#team h2{
    width: fit-content;
}

#team h2{
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 44px;
    color: #343434;
}

#team h2::after{
    content: "";
    position: absolute;
    width: 120%;
    height: 100%;
    left: -25px;
    top: 10px;
    opacity: 0.4;
    background-image: url(../imgaes/png-clipart-yellow-dots-illustration-polka-dot-circle-pattern-dot-angle-white-thumbnail.png);
    background-repeat: repeat;
    z-index: -1;
}


.content .layerr{
    top: 26%;
    left: 29%;
    right: 29%;
    bottom: 26%;
    width: 50%;
    height: 50%;
    background-color: white;
    opacity: 0;
    transition: 0.6s;
    transform: rotateY(180deg);
}


.team-img img{
    transition: 0.6s;
}

.item .team-img:hover img{
    transform: scale(1.3);
}

.item:hover .layerr{
    opacity: 1;
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    width: 96%;
    height: 96%;
    transform: rotateY(360deg);
}

.kalamm{
    top: 26%;
    left: 29%;
    right: 29%;
    bottom: 26%;
    width: 50%;
    height: 50%;
    opacity: 0;
    transition : 0.6s;
    transform: rotateY(180deg);
}

.item:hover .kalamm{
    opacity:1;
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    width: 96%;
    height: 96%;
    transform: rotateY(360deg);
}

#team .item i{
    font-size: 16px;
    padding: 14px;
    margin-right: 5px;
    border-radius: 50%;
    border: 1px solid black;
    color: white;
    background-color: black;
    transition: 0.5s;
}

#team .item a:hover i{
    background: white;
    color: black;
}

.card-text{
    background-color: #5B5B5B;
}

#team .card-text h3{
    font-size: 1.5625rem;
    font-weight: 500;
    line-height: 28px;
}

#team .card-text p{
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 22px;
}


/* =================contact============ */

#contact h2{
    width: fit-content;
}

#contact h2{
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 44px;
    color: #343434;
}

#contact h2::after{
    content: "";
    position: absolute;
    width: 120%;
    height: 100%;
    left: -25px;
    top: 10px;
    opacity: 0.4;
    background-image: url(../imgaes/png-clipart-yellow-dots-illustration-polka-dot-circle-pattern-dot-angle-white-thumbnail.png);
    background-repeat: repeat;
    z-index: -1;
}

#contact .col-md-4 .content{
    border-radius: 5px;
    background-color: white;
    word-spacing: 2px;
}

#contact i{
    border-radius: 50%;
    transition: 0.5s;
    font-size: 22px;
}

#contact .col-md-4:hover i{
    background-color: #1C1C1C;
    color: white;
}

#contact h3{
    font-size: 1rem;
    font-weight: 700;
    line-height: 18px;
    color: #343434;
}

#contact p{
    font-size: .9375rem;
    font-weight: 400;
    line-height: 24px;
    color: #748182;
}

.form-control:focus{
    box-shadow: unset;
}

#contact input,#contact textarea{
    margin-left: 20px;
}

#contact textarea{
    min-height: 150px;
}

#contact .btn1{
    background-color: #1C1C1C;
    color: white;
    transition: 0.5s;
    margin-left: 20px;
    padding: 8px 40px;
}

#contact button.btn1:hover {
    background-color: transparent;
    color: black;
    border: 1px solid black;
}


/* =================foooter================== */

footer{
    background-color: #1C1C1C;
}

footer p{
    font-size: .8125rem;
    font-weight: 400;
    line-height: 21px;
    color: #748182;
    height: fit-content;
}