*{
    padding: 0;
    margin: 0;
    box-sizing: border-box
}

body{
  overflow-x: hidden;
}
nav ul li{
    transition: 2s;
}
nav ul li:hover{
    transform: scale(1.2);
    
}
.cars{
    height: 100vh;
    width: 100%;
}
#carouselExampleFade h2{
    margin-top: -400px;
}
#carouselExampleFade form{
    margin-bottom: 250px;
      justify-self: center;
      width: 35%;
      
}




.hero-section {
  position: relative;
  width: 100%;
  max-width: 1200px;   /* يكبر السلايدر شوية */
  margin: auto;
}

.card-wrapper {
  overflow: hidden;
  width: 100%;         /* ياخد عرض البلوك كله */
  padding: 1rem 0;
}

.card-grid {
  display: flex;
  gap: 1.2rem;
  width: 100%;         /* مهم علشان التوزيع */
  transition: transform 0.9s ease;
}

.card {
  flex: 0 0 calc((100% / 3) - 1rem); /* الافتراضي 3 كروت */
  width: 250px;
  height: 560px;
  border-radius: 20px;
  background: #222;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

/* موبايل: كارت واحد */
@media (max-width: 768px) {
  .card {
    flex: 0 0 100%;
    width: 100%;
    
  }
}

/* تابلت: كارتين */
@media (min-width: 769px) and (max-width: 1024px) {
  .card {
    flex: 0 0 calc(50% - 1rem);
    width: auto;
  }
}

.card__background {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.card__content{
  background-color: white;
  color: black;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.scroll-btn.left { left: 80px; }
.scroll-btn.right { right: 80px; }
.ss{
 margin-top: 50px;
  background-color: #F3F4F6;
 
}









.ss div{
   margin-top: 50px;
   margin-bottom: 50px;
   padding-top: 40px;
  background-color: #ffffff;
  box-shadow:2px 5px 15px 6px black ;
  height: 350px;
  width: 350px;
  border-radius: 20%;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.ss div p i{
 
  font-size: 80px;
}


.sd{
  margin-top: 50px;
}
.sd div{
  text-align: center;
  align-items: center;
  justify-content: center;
}
.sd img{
  margin-top: 50px;
  height: 120px;
  width: 120px;
  border-radius: 50%;
}

.sf{
  margin-top: 50px;
  background-color: #F3F4F6;
  padding-top: 50px;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.sf .img1{
   position: relative; /* مهم عشان z-index يشتغل */
  z-index: 12;
}
.sf .img2{
  z-index: 2;
  margin-top: -170px;
  margin-right: -170px;

}

.sv{
  background-color: #F3F4F6;
}
.sv img{
  margin-top: 50px;
  height: 120px;
  width: 120px;
  border-radius: 50%;
}
.sv div a i{
  transition: 2s;
}
.sv div a i:hover{
  transform: scale(1.1);
}
.sv .moth div{
  background-color: white;
  width:350px ;
  height:450px;
  transition: 2s;
}
.sv .moth div:hover{
transform: scale(1.05);
box-shadow:2px 2px  10px 16px black;
}

footer{
  background-color: #EFEFEF;
}

.final-icon ul li a i{
  transition: 2s;
}
.final-icon ul li a i:hover{
  transform: scale(1.1);
}

  
