@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
/* @import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Oswald:wght@200..700&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=Raleway:wght@100&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


:root {
  --primary-color: #ffb700;
  --primary-color-dark: #ff9500;
  --orange:#fb5607;
  --red:#d62828;
  --text-dark: #0c0a09;
  --text-light: #78716c;
  --white: #ffffff;
  --bgcolour:#fcf8ee;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}


html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.logo{
  padding-top: 8px;
  display: flex;
  padding-left: 0px;
}

.logo a img{
  width: 40px;
  padding-right: 0px;
}

.logo h1{
  font-size: 30px;
  color: white;
  
}

/* .btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--primary-color-dark);
} */

button {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 20px;
  padding: 0.6em 1.5em;
  margin-right: 25px;
  font-weight: 500;
  background: #ff8000;
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
  border-radius: 0.6em;
  cursor: pointer;
}

.gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 0.6em;
  margin-top: -0.25em;
  background-image: linear-gradient(
    #ff9500,
    #ffaa00,
    #ffb700
  );
}

.label {
  position: relative;
  top: -1px;
}

.transition {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  transition-duration: 500ms;
  background-color: var(--orange);
  border-radius: 9999px;
  width: 0;
  height: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

button:hover .transition {
  width: 14em;
  height: 14em;
}

button:active {
  transform: scale(0.97);
}


.header {
  background-image: linear-gradient(
      rgba(15, 26, 44, 0.5),
      rgba(15, 26, 44, 0.5)
    ),
    url("Images/header.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  z-index: 9;
}

.nav__bar {
  max-height: 55px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: var(--primary-color);
  border-bottom: 1.5px solid var(--red);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  list-style: none;
  position: absolute;
  width: 100%; 
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the links horizontally */
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color-dark);
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
  margin: auto; /* Center the container horizontally */
  
}


.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  position: relative;
  isolation: isolate;
  padding-bottom: 8px;
  color: white;
  font-weight: bold;
  transition: 0.3s;

}

.nav__btn {
  display: none;
}

.header__container {
  padding-block: 10rem 15rem;
}

.header__container p {
  margin-bottom: 1rem;
  font-size: 1.65rem;
  color: rgb(207, 207, 207);
  text-align: center;
  opacity: 0.6;
}

.header__container h1 {
  text-shadow: 2px 2px 2px black;
  font-size: 4rem;
  font-weight: 500;
  line-height: 4.5rem;
  color: var(--white);
  text-align: center;
}

.header__container h1 span {
  color: var(--primary-color);
}




/* <-----Cards-----> */
.service-card-container{
  background-image: url("Images/pcbg.jpeg");
  background-size: cover;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 2px solid #b76935;
  box-shadow: 0 10px 25px rgba(5, 24, 69, 0.5);
  padding-top: 50px;
}

.card-heading{
  /* font-family: 'Poppins'; */
  font-family: "Poppins", serif;
  font-weight: 500;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 50px;
  margin-left: 60px;
  color: var(--orange);
  /* background-color: white; */
  padding: 8px;
  border-radius: 20px;
}

.home-card-container{
  display: flex;
  align-items: center;
  justify-content: center;

}

.article-wrapper {
  width: 250px;
  -webkit-transition: 0.15s all ease-in-out;
  transition: 0.15s all ease-in-out;
  border-radius: 10px;
  padding: 5px;
  border: 4px solid transparent;
  cursor: pointer;
  background-color: white;
  margin: 40px;
  border: 1px solid black;
  box-shadow: 11px 13px 5px -6px rgba(0,0,0,0.75);
  
  padding-bottom: 30px;
}

.article-wrapper:hover {
  -webkit-box-shadow: 10px 10px 0 #ffd000, 20px 20px 0 #ff8800;
  box-shadow: 10px 10px 0 #ffd000, 20px 20px 0 #ff8800;
  border-color: #d00000;
  -webkit-transform: translate(-20px, -20px);
  -ms-transform: translate(-20px, -20px);
  transform: translate(-20px, -20px);
}

.article-wrapper:active {
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.types {
  gap: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  place-content: flex-start;
}

.rounded-lg {
 /* class tailwind */
  border-radius: 10px;
}

.article-wrapper:hover .project-hover {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: #ffe60a;
}

.project-info {
  padding-top: 20px;
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}

.project-title {
  font-size: 1.6em;
  margin: 0;
  font-weight: 600;
 /* depend de la font */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--red);
  font-family: 'Poppins','sans-serif';
}

.flex-pr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.project-type {
  background: #ffdd00;
  color: black;
  font-weight: bold;
  padding: 0.3em 0.7em;
  border-radius: 15px;
  font-size: 12px;
  border: 0.5px solid black;
  letter-spacing: -0.6px
}

.project-hover {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 9px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.container-project {
  width: 100%;
  height: 170px;

}

.pic1{
  background-image: url("Images/pic1.jpg");
  background-size: cover;
}
.pic2{
  background-image: url("Images/pic2.jpg");
  background-size: cover;
}
.pic3{
  background-image: url("Images/pic3.jpg");
  background-size: cover;
}


@media (width < 800px){
  .service-card-container{
    background-image: url("Images/bg22.jpeg");
  }

  .home-card-container{
    padding: 0;
      flex-direction: row;
  flex-wrap: wrap;
  
  }


  .article-wrapper {
    margin: 20px;
      margin-bottom: 0px;
      height: 175px;
      width: 130px;
  }

  .rounded-lg {
    height: 100px;
  }

  .project-title{
    font-size: 15px;
  }

  .project-hover{
    visibility: hidden;
    height: 0;
    width: 0;
    padding:0 ;
    margin: 0;
  }
  .header__container h1 {
    font-size: 45px;
  }

  .card-heading{
    text-align: center;
margin: 0;
font-size: 40px;
  }
}






@media (width > 768px) {
.logo{
  padding-top: 0;
}

.logo h1{
  font-size: 30px;
  color: var(--primary-color);
  text-shadow: 1px 2px 2px black;
}

  nav {
    padding: 2rem 1rem;
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav__bar {
    padding: 0;
    background-color: transparent;
    border-bottom: none;
    box-shadow: none;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    padding: 0;
    width: unset;
    position: static;
    transform: none;
    flex-direction: row;
    background-color: transparent;
    font-size: 20px;
    
  }

  .nav__btn {
    display: block;
  }

  .nav__links a{
    color: white;
    font-size: 23px;
    font-weight: 500;
    text-shadow: 2px 2px 2px black;
  }

  .nav__links a::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: 0.3s;
    transform-origin: left;
  }

  .nav__links a:hover::after {
    width: 100%;
  }

}