/* ───────────────────────────────────────────────────────────────────────
   special-offers.css — 2 cards per view desktop, 1 per view mobile,
   centered single‐item slides + mobile tab centering/card fit
─────────────────────────────────────────────────────────────────────── */

/* Tabs */
.soc-tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.soc-tabs li {
  margin: 0 1.5rem;
  padding: 0.5rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  position: relative;
  transition: color 0.2s;
  text-align: center; /* center tab text */
}
.soc-tabs li:hover {
  color: #fff;
}
.soc-tabs li.active {
  color: #fff;
}
.soc-tabs li.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #00AEEF;
}

/* Wrapper */
.soc-carousel-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
  overflow: visible;
}
.soc-carousel-container {
  overflow: hidden;
  position: relative;
}

/* Carousel track: shrink-to-fit + center */
.soc-carousel {
  display: flex;
  transition: transform 0.5s ease;
  width: -webkit-max-content; /* Safari */
  width: max-content;         /* shrink to content */
  margin: 0 auto;             /* center track */
}

/* Desktop: exactly 2 cards */
.soc-carousel-item {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

/* Card styling */
.soc-card {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 32px;
  border-radius: 0 !important;
}
.soc-card::before,
.soc-card::after {
  content: "";
  position: absolute;
  background-color: rgba(0,174,239,0.1);
  border-radius: 50%;
  z-index: 0;
}
.soc-card::before {
  width: 200px; height: 200px;
  top: -100px; right: 10%;
}
.soc-card::after {
  width: 150px; height: 150px;
  bottom: -70px; left: 15%;
}
.soc-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* Price badge */
.soc-price-block {
  margin-right: 27%;
  position: absolute;
  top: 16px;
  right: 16px;
}
.soc-price {
  background: linear-gradient(135deg,#0787D99E,#0787d9);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 0 !important;
}

/* Tag & Title */
.soc-category-tag {
    display: block;
    margin: 15% -2% 8px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0787d9;
    text-align: center;
}
.soc-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: -2px 0 16px;
    color: #0F1F4A;
    text-align: left;
}

/* Features */
.soc-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}
.soc-feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #0F1F4A;
}
.soc-feature-icon {
  margin-right: 10px;
  color: #00AEEF;
  font-size: 1.1rem;
}

/* Footer button */
.soc-card-footer {
  margin-top: auto;
  text-align: center;
}
.soc-btn {
  display: inline-block;
  background: #00AEEF;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 0 !important;
  transition: transform 0.3s, box-shadow 0.3s;
}
.soc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,174,239,0.3);
}

/* Arrows */
.soc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #0F1F4A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border-radius: 0 !important;
}
.soc-prev { left: -50px; }
.soc-next { right: -50px; }

/* Dots */
.soc-dots {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.soc-dots .dot {
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: #CBD5E0;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.soc-dots .dot.active {
  background: #00AEEF;
  transform: scaleY(1.5);
}

/* Mobile: 1 card per view + fit & tab centering */
@media (max-width: 768px) {
  .soc-carousel {
    width: 100% !important;  /* ensure track fills container */
    margin: 0 !important;
  }
  .soc-carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .soc-tabs li {
    text-align: center;      /* center-align tab text */
    margin: 0 0.5rem;        /* tighter for mobile */
    padding: 0.75rem 0;
    font-size: 1rem;
  }
}

/* ───────────────────────────────────────────────────────────────────────
   Special rule: اجعل بطاقة Golden Visa أوسع (75%) ومتمركزة
─────────────────────────────────────────────────────────────────────── */
#soc-card-golden-4 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}