* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #fff;
  direction: rtl;
}

/* Hero Section */
.main {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

/* Hero Background Image */
.main figure {
  width: 100%;
  height: 100%;
}
.main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shape Overlay */
.main .shape {
  position: absolute;
  bottom: -30px;
  left: 0;
  height: 100px;
  width: 100%;
  z-index: 1;
}

/* Hero Content */
.contentHero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
}

.contentHero img {
  max-width: 30%;
  height: auto;
}

/* Hero Text */
.textHero {
  font-size: 40px;
  color: #fff;
  margin-top: 20px;
  font-weight: bold;
}

.BtnShop {
  background-color: #fff;
  padding: 10px 25px;
  font-weight: 700;
  margin-top: 20px;
  border-radius: 6px;
}

.BtnShop a {
  font-size: 22px;
  color: #8a1a9b;
  text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .textHero {
    font-size: 35px;
  }
}

@media (max-width: 768px) {
  .textHero {
    font-size: 28px;
  }
  .contentHero img {
    max-width: 60%;
  }
}

@media (max-width: 480px) {
  .textHero {
    font-size: 22px;
  }
  .contentHero img {
    max-width: 50%;
  }
  .main .shape {
    height: 80px;
    bottom: -20px;
  }
}

/* start in all card */
.containerCard {
  position: relative;
}

.containerCard .backCard-1 {
  position: absolute;
  right: 0;
  height: 300px;
}
.containerCard .backCard-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 200px;
}

.containerCard .backCard-3 {
  position: absolute;
  bottom: 50%;
  left: 0;
  height: 200px;
}

/* Cards Container */
.allCard {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 80px 10px;
}

/* Individual Card */
.card {
  background: white;
  width: 400px;
  padding: 50px 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  text-align: right;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover Effect */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Decorative Images */
.GroupCard {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 80px;
}

.GroupCard-2 {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 80px;
}

/* Card Titles */
.card .title {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: bold;
}

/* Subtitle & Telephone */
.card .subtitle,
.card .telephone {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Links */
.card a {
  color: #1976d2;
  text-decoration: none;
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.card a:hover {
  text-decoration: underline;
}

/* 📱 Mobile & Tablet Responsive Adjustments */
@media (max-width: 1024px) {
  .card {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .allCard {
    flex-direction: column;
    align-items: center;
    padding: 40px 10px;
  }

  .card {
    width: 90%;
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .card {
    width: 95%;
    padding: 30px 10px;
  }

  .card .title {
    font-size: 18px;
  }

  .card .subtitle,
  .card .telephone {
    font-size: 14px;
  }
}

.social-media-section {
  position: relative;
  text-align: center;
  padding: 20px;
}

/* Top Line */
.top-line {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background-color: #5b2c91;
  border: none;
  margin-bottom: 20px;
}

/* Centered Arabic Text */
.social-text {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin: 40px 20px 20px;
  line-height: 1.6;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.social-icons a {
  font-size: 24px;
  color: #5b2c91;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-media-section .client span {
  color: #5b2c91;
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-line {
    width: 90%;
  }
  .social-text {
    font-size: 16px;
    margin: 30px 10px 20px;
  }
  .social-icons {
    gap: 15px;
  }
  .social-icons a {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .social-text {
    font-size: 14px;
  }
  .social-icons {
    gap: 10px;
  }
  .social-icons a {
    font-size: 18px;
  }
}
