/* ===== Reviews Hero Section ===== */
.reviews-hero {
    position: relative;
    background: url("../img/reviews-bg.jpg") center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
  }
  
  .reviews-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
  }
  
  .reviews-hero .content {
    position: relative;
    z-index: 2;
  }
  
  .reviews-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
  }
  
  .reviews-hero p {
    font-size: 1.2rem;
    color: #ddd;
  }
  
  /* ===== Reviews Section ===== */
  .reviews-section {
    padding: 80px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
  }
  
  .review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
  }
  
  .review-card .stars {
    color: #ff1a1a;
    margin-bottom: 10px;
  }
  
  .review-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #ddd;
  }
  
  .review-card h3 {
    font-weight: 700;
    color: #fff;
  }
  
  footer {
    text-align: center;
    padding: 20px;
    color: #ccc;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
  }
  


  .reviews {
    padding: 60px 20px;
    background: #0a0a0a;
    color: #fff;
    text-align: center;
  }
  
  .reviews-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #ff1a1a, #ff6a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-content: center;
  }
  
  .review-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    text-align: start;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  
  .review-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 26, 26, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .review-card:hover::before {
    opacity: 1;
  }
  
  .review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 26, 26, 0.3);
  }
  
  .review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ff1a1a;
    object-fit: cover;
  }
  
  .review-name {
    font-weight: 700;
    font-size: 1.1rem;
  }
  
  .review-stars {
    color: #ffcc00;
    font-size: 1.1rem;
  }
  
  .review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
  }
  
  /* 📱 Responsive */
  @media (max-width: 768px) {
    .reviews-container {
      grid-template-columns: 1fr;
    }
  
    .review-card {
      padding: 20px;
    }
  }
  

  /* ===== Hero Parallax Background ===== */
.reviews-hero {
    position: relative;
    background: url("../img/reviews-bg.jpg") center/cover no-repeat fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
  }
  
  .reviews-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(255, 26, 26, 0.25), transparent 70%);
    animation: pulse 6s infinite ease-in-out;
    z-index: 1;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
  }
  
  .reviews-hero .content {
    position: relative;
    z-index: 2;
  }
  
  /* ===== Review Card Glow & Motion ===== */
  .review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  
  .review-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 26, 26, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .review-card:hover::before {
    opacity: 1;
  }
  
  .review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 26, 26, 0.4);
  }
  
  /* Avatar Glow */
  .review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ff1a1a;
    object-fit: cover;
    animation: avatar-glow 4s infinite ease-in-out;
  }
  
  @keyframes avatar-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255,26,26,0.3); }
    50% { box-shadow: 0 0 20px rgba(255,26,26,0.6); }
  }
  



  /* ===== Before & After Section ===== */
.before-after-section {
    padding: 80px 20px;
    background: #0a0a0a;
    color: #fff;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #ff1a1a, #ff6a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .before-after-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(255, 26, 26, 0.2);
  }
  
  .before-after-card .images {
    position: relative;
  }
  
  .before-after-card .before-img,
  .before-after-card .after-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: opacity 0.8s ease-in-out;
    display: block;
  }
  
  .before-after-card .after-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }
  
  .before-after-card:hover .after-img {
    opacity: 1;
  }
  
  .before-after-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    text-align: right;
  }
  
  .before-after-card .overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
  }
  
  .before-after-card .overlay p {
    font-size: 0.95rem;
    color: #ccc;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: #ff1a1a;
  }
  
  .swiper-pagination-bullet {
    background: #ff1a1a;
  }
  

  .before-after-section {
    padding: 100px 20px;
    background: #0a0a0a;
    text-align: center;
    color: #fff;
  }
  
  .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #ff1a1a, #ff6a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .before-after-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 26, 26, 0.3);
  }
  
  .before-after-wrapper {
    position: relative;
  }
  
  .before-after-wrapper img {
    width: 100%;
    display: block;
    user-select: none;
  }
  
  .after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: width 0.3s ease;
  }
  
  .slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #ff1a1a;
    cursor: ew-resize;
    transition: background 0.3s ease;
  }
  
  .slider-handle::before {
    content: "⇆";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px;
  }




  .before-after-section {
    padding: 100px 20px;
    background: #0a0a0a;
    color: #fff;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #ff1a1a, #ff6a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* Grid layout for two sliders */
  .before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-content: center;
    align-items: center;
  }
  
  .before-after-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 26, 26, 0.3);
    transition: transform 0.3s ease;
  }
  
  .before-after-container:hover {
    transform: scale(1.02);
  }
  
  .before-after-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
  }
  
  .before-after-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
  }
  
  .after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    transition: width 0.1s ease-out;
  }
  
  .slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #ff1a1a;
    cursor: ew-resize;
  }
  
  .slider-handle::before {
    content: "⇆";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px 14px;
    box-shadow: 0 0 10px rgba(255, 26, 26, 0.5);
  }
  
  @media (max-width: 768px) {
    .before-after-wrapper {
      height: 300px;
    }
  }
  

  /* ===== Full Width Image ===== */
.full-width-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* الصورة */
.full-width-image img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  display: block;
}

/* ===== Mobile Fix ===== */
@media (max-width: 768px) {
  .full-width-image img {
    height: 55vh;      /* ارتفاع مريح للموبايل */
    min-height: 320px; /* يمنع الضغط الزائد */
  }
}

/* ===== Small Phones ===== */
@media (max-width: 480px) {
  .full-width-image img {
    height: 45vh;
    min-height: 260px;
  }
}
