.foam-section {
  background: url("https://mustafaatta20012.github.io/domaine/images/inisolation/عزل-اسطح.jpg")
    center/cover no-repeat;
  position: relative;
  color: white;
}

.foam-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.foam-section .container {
  position: relative;
  z-index: 2;
}

/* الكروت الزجاجية */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 30px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.home-arrow {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #0d6efd;
  color: #fff;
  font-size: 22px;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: 0.3s;
}

.home-arrow:hover {
  background: #0a58ca;
  transform: scale(1.1);
}
.back-services-btn {
  position: fixed;
  top: 20px;
  right: 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);

  padding: 8px 16px 8px 8px;
  border-radius: 50px;

  text-decoration: none;
  color: #333;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);

  font-size: 14px;
  font-weight: 600;

  z-index: 9999;

  opacity: 0;
  visibility: hidden;

  transition: 0.4s;
}

/* عند الظهور */
.back-services-btn.show {
  opacity: 1;
  visibility: visible;
}

/* الدائرة */

.back-circle {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #0d6efd;
  border-radius: 50%;
}

/* تأثير عند المرور */

.back-services-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* الموبايل */

@media (max-width: 768px) {
  .back-text {
    display: none;
  }

  .back-services-btn {
    padding: 8px;
  }
}
