.Walaya{
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding: 10% 0%;
  margin: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  justify-content: center;
}
.responsivecards {
    width: 90%;
    height: 80%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px 50px;
    padding: 100px 50px; 
    margin: auto;
}
  
  .cardW{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 350px;
    height: 300px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
  }
  
  .cardW:hover {
    height: 450px;
  }
  
  .imgBoxW {
    position: absolute;
    top: 20px;
    width: 95%;
    height: 220px;
    background: #6B8B8A;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.5s;
  }
  
  .cardW:hover .imgBoxW {
    top: -85px;
    scale: 0.75s;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    width: 90%;
  }
  
  .imgBoxW img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .contentW {
    position: absolute;
    top: 245px;
    width: 100%;
    height: 55px;
    overflow: hidden;
    text-align: center;
    transition: 0.5s;
  }
  
  .myviewA {
    width: 70%;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background: #6B8B8A;
    color: #fff;
    border-radius: 12px;
    margin-top: 15px;
    font-size: 25px;
  }
  
  a {
    text-decoration: none;
  }
  
  .degreeW {
    height: 40px;
    font-size: 35px;
    
  }
  
  .degreeCW {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    font-size: 50px;
  }
  
  .responsivecards .cardW:hover .contentW {
    width: 91%;
    top: 180px;
    height: 250px;
    font-size: 20px;
    color: #6B8B8A;
  }
   
  .informationW {
    width: 100%;
    height:  85px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 50% 50%;
    grid-gap: 10px;
    margin-top: 26px;
    margin-bottom: 26px;
    overflow: hidden;
  }
  
  .cell1W{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
  }
  
  .cell2W {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    height: 19px;
  }
   
 
.Walayacard {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 450px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
  top: 50px;
  margin-left: auto;
  margin-right: auto;
}
 .WalayaName {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  top: 85px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
  font-size: 58px;
  color: #fff;
  text-align: center;

  margin-bottom: 85px;
} 
.WalayaimgBox {
  top: -85px;
  scale: 0.75s;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  position: absolute;
  width: 95%;
  height: 220px;
  background: #6B8B8A;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.5s;
}

.WalayaimgBox img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Walayaecontent {
  position: absolute;
  top: 165px;
  width: 90%;
  height: 285px;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
}

.WalayaTitle {
  color: #6B8B8A;
  height: 85px;
  
  font-size: 45px;

}

.Walayadetailstext {
  color: #6B8B8A;
  font-size: 40px;
}
.Walayadetailstemp {
  color: #6B8B8A;
  font-size: 20px;
}
 
.Walayadetails {
  width: 100%;
  height: 166px;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 1fr;
  grid-gap: 10px;
  margin-top: 26px;
  margin-bottom: 26px;
  overflow: hidden; 
  align-items: center;
  /* توسيط العناصر عموديًا */
}
