/* ============================================================
   brcnospeul — Other Services Section (خدمات أخرى)
   Target Market: Kingdom of Bahrain (+973, BHD Only)
   Target Website: engzleads.com
   Namespace: brcnospeul
   Architecture: 100% Semantic CSS Tokens Architecture
   Strict Color Palette: #5bc0de, #ffffff, #000000, #25D366
   Font Family: "El Messiri", system-ui, -apple-system, sans-serif
   Zero Magic Numbers
   ============================================================ */

:root {
  /* Colors */
  --brcnospeul-clr-cyan: #5bc0de;
  --brcnospeul-clr-cyan-rgb: 91, 192, 222;
  --brcnospeul-clr-white: #ffffff;
  --brcnospeul-clr-black: #000000;
  --brcnospeul-clr-wa: #25D366;
  --brcnospeul-clr-wa-hover: #1EBE5B;

  /* Typography (Unified with system standards) */
  --brcnospeul-font-main: "El Messiri", system-ui, -apple-system, sans-serif;
  --brcnospeul-font-title-size: clamp(1.25rem, 2.2vw, 1.75rem);
  --brcnospeul-font-title-weight: 700;
  --brcnospeul-font-title-lh: 1.45;
  --brcnospeul-font-sub-size: clamp(0.85rem, 1.1vw, 0.95rem);
  --brcnospeul-font-sub-lh: 1.6;

  /* Section Spacing */
  --brcnospeul-sec-pad-top: clamp(2.4rem, 4.5vw, 4rem);
  --brcnospeul-sec-pad-bottom: clamp(2.6rem, 5vw, 4.2rem);
  --brcnospeul-container-max: 1200px;
  --brcnospeul-container-pad: clamp(0.85rem, 2.5vw, 1.8rem);

  /* Card Metrics */
  --brcnospeul-card-radius: 16px;
  --brcnospeul-card-border: 1px solid rgba(var(--brcnospeul-clr-cyan-rgb), 0.22);
  --brcnospeul-card-border-hover: 1px solid rgba(var(--brcnospeul-clr-cyan-rgb), 0.75);
  --brcnospeul-card-bg: rgba(0, 0, 0, 0.72);
  --brcnospeul-card-bg-hover: rgba(0, 0, 0, 0.94);

  /* Image Box Metrics */
  --brcnospeul-img-wrap-size: 76px;
  --brcnospeul-img-wrap-radius: 16px;

  /* Transitions */
  --brcnospeul-trans-fast: 0.22s ease;
  --brcnospeul-trans-smooth: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   Section Shell & Cyber Background
   ============================================================ */
.brcnospeul-section {
  position: relative;
  width: 100%;
  padding: var(--brcnospeul-sec-pad-top) 0 var(--brcnospeul-sec-pad-bottom);
  background-color: var(--brcnospeul-clr-black);
  color: var(--brcnospeul-clr-white);
  font-family: var(--brcnospeul-font-main);
  overflow: visible;
  direction: rtl;
}

/* Cyber Living Background Overlay */
.brcnospeul-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.brcnospeul-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(var(--brcnospeul-clr-cyan-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brcnospeul-clr-cyan-rgb), 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 30%, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 25%, transparent 80%);
  opacity: 0.65;
}

.brcnospeul-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  opacity: 0.12;
  animation: brcnospeul-orb-pulse 9s ease-in-out infinite alternate;
}

.brcnospeul-bg-orb-a {
  top: 15%;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--brcnospeul-clr-cyan) 0%, transparent 70%);
}

.brcnospeul-bg-orb-b {
  bottom: 10%;
  left: 5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--brcnospeul-clr-cyan) 0%, transparent 70%);
  animation-delay: -4.5s;
}

@keyframes brcnospeul-orb-pulse {
  0% { transform: scale(0.85); opacity: 0.08; }
  100% { transform: scale(1.18); opacity: 0.18; }
}

/* Container */
.brcnospeul-container {
  position: relative;
  z-index: 1;
  max-width: var(--brcnospeul-container-max);
  margin: 0 auto;
  padding: 0 var(--brcnospeul-container-pad);
}

/* ============================================================
   Section Header & Typography
   ============================================================ */
.brcnospeul-head {
  text-align: center;
  margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
}

.brcnospeul-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.85rem;
  background: rgba(var(--brcnospeul-clr-cyan-rgb), 0.12);
  border: 1px solid rgba(var(--brcnospeul-clr-cyan-rgb), 0.35);
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.brcnospeul-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brcnospeul-clr-cyan);
  box-shadow: 0 0 8px var(--brcnospeul-clr-cyan);
  animation: brcnospeul-dot-blink 2s ease-in-out infinite;
}

@keyframes brcnospeul-dot-blink {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.brcnospeul-kicker-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.brcnospeul-title {
  font-size: var(--brcnospeul-font-title-size);
  font-weight: var(--brcnospeul-font-title-weight);
  line-height: var(--brcnospeul-font-title-lh);
  color: var(--brcnospeul-clr-white);
  margin: 0 0 0.55rem;
}

.brcnospeul-hl {
  display: inline-block;
  background: rgba(var(--brcnospeul-clr-cyan-rgb), 0.12);
  color: #ffffff;
  border: 1.5px solid var(--brcnospeul-clr-cyan);
  padding: 0.04em 0.3em;
  border-radius: 6px;
  box-shadow: 0 0 16px rgba(var(--brcnospeul-clr-cyan-rgb), 0.3);
}

.brcnospeul-subtitle {
  font-size: var(--brcnospeul-font-sub-size);
  line-height: var(--brcnospeul-font-sub-lh);
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================================
   Services Grid (Image + Name Only)
   ============================================================ */
.brcnospeul-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.brcnospeul-item {
  display: flex;
}

/* Service Card Link */
.brcnospeul-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  width: 100%;
  background: var(--brcnospeul-card-bg);
  border: var(--brcnospeul-card-border);
  border-radius: var(--brcnospeul-card-radius);
  padding: clamp(1.4rem, 2.2vw, 1.85rem) clamp(0.75rem, 1.2vw, 1.1rem);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: transform var(--brcnospeul-trans-smooth),
              border-color var(--brcnospeul-trans-fast),
              background var(--brcnospeul-trans-fast),
              box-shadow var(--brcnospeul-trans-fast);
}

.brcnospeul-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brcnospeul-clr-cyan), transparent);
  opacity: 0;
  transition: opacity var(--brcnospeul-trans-fast);
}

.brcnospeul-card:hover {
  transform: translateY(-6px);
  border: var(--brcnospeul-card-border-hover);
  background: var(--brcnospeul-card-bg-hover);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8), 0 0 24px rgba(var(--brcnospeul-clr-cyan-rgb), 0.28);
}

.brcnospeul-card:hover::before {
  opacity: 1;
}

/* 3D Service Image Showcase */
.brcnospeul-card-img-wrap {
  width: var(--brcnospeul-img-wrap-size);
  height: var(--brcnospeul-img-wrap-size);
  border-radius: var(--brcnospeul-img-wrap-radius);
  background: radial-gradient(circle, rgba(var(--brcnospeul-clr-cyan-rgb), 0.16) 0%, rgba(0, 0, 0, 0.45) 75%);
  border: 1px solid rgba(var(--brcnospeul-clr-cyan-rgb), 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform var(--brcnospeul-trans-smooth),
              border-color var(--brcnospeul-trans-fast),
              box-shadow var(--brcnospeul-trans-fast);
}

.brcnospeul-card:hover .brcnospeul-card-img-wrap {
  transform: scale(1.12) translateY(-2px);
  border-color: var(--brcnospeul-clr-cyan);
  box-shadow: 0 0 22px rgba(var(--brcnospeul-clr-cyan-rgb), 0.45);
}

.brcnospeul-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Service Title Only */
.brcnospeul-card-title {
  font-size: clamp(0.94rem, 1.15vw, 1.08rem);
  font-weight: 700;
  color: var(--brcnospeul-clr-white);
  line-height: 1.45;
  margin: 0;
  transition: color var(--brcnospeul-trans-fast);
}

.brcnospeul-card:hover .brcnospeul-card-title {
  color: var(--brcnospeul-clr-cyan);
}

/* ============================================================
   Responsive Media Queries
   ============================================================ */
@media (max-width: 1100px) {
  .brcnospeul-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 860px) {
  .brcnospeul-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }

  .brcnospeul-card-img-wrap {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    margin-bottom: 0.85rem;
  }

  .brcnospeul-card-title {
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  .brcnospeul-container {
    padding: 0 0.75rem;
  }

  .brcnospeul-title {
    font-size: 1.18rem;
    line-height: 1.4;
  }

  .brcnospeul-subtitle {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .brcnospeul-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .brcnospeul-card {
    padding: 1.2rem 0.65rem;
    border-radius: 14px;
  }

  .brcnospeul-card-img-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 6px;
  }

  .brcnospeul-card-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .brcnospeul-grid {
    grid-template-columns: 1fr;
  }
}
