/* SERVICE DETAILS PREMIUM STYLES */

/* Service Hero */
.service-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.7), rgba(3, 7, 18, 0.95));
  z-index: 1;
}

/* Smoke light effect */
.smoke-light {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
  animation: pulse-slow 8s infinite alternate;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.service-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.service-hero-title span {
  color: #f59e0b;
}

.service-hero-desc {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 40px;
  line-height: 1.8;
}

.service-trust-bar {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #fff;
}

.trust-badge i {
  color: #f59e0b;
  font-size: 1.5rem;
}

/* Types Section */
.types-section { padding: 100px 0; background: #f8fafc; }
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.type-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.4s;
  border: 1px solid #f1f5f9;
}

.type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 102, 255, 0.1);
}

.type-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.type-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.type-card:hover .type-img img {
  transform: scale(1.1);
}

.type-content {
  padding: 30px;
}

.type-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #0f172a;
}

.type-features {
  list-style: none;
  margin-bottom: 20px;
}

.type-features li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #64748b;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 5px;
}

.type-features li span:last-child {
  font-weight: 700;
  color: #0f172a;
}

/* Dark Section (Why Qarmeed) */
.dark-features-section { padding: 100px 0; background: #030712; color: #fff; position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.dark-feature-card { background: rgba(15,23,42,0.6); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 40px 30px; text-align: center; transition: 0.4s; }
.dark-feature-card:hover { transform: translateY(-10px); background: rgba(30,41,59,0.8); border-color: rgba(245,158,11,0.3); box-shadow: 0 10px 30px rgba(245,158,11,0.1); }
.dark-feature-icon { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(217,119,6,0.1)); color: #f59e0b; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.dark-feature-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 15px; }
.dark-feature-card p { color: #94a3b8; }

/* Timeline */
.timeline-section {
  padding: 100px 0;
  background: #f8fafc;
}

.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #cbd5e1;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-right: auto;
  padding-right: 0;
  padding-left: 40px;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  right: -25px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0a66ff, #0050cc);
  border-radius: 50%;
  border: 5px solid #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(10, 102, 255, 0.3);
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -25px;
}

.timeline-content {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid #e2e8f0;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 15px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #fff;
  transform: rotate(45deg);
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: auto;
  left: -10px;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: #0f172a;
  margin-bottom: 10px;
}
.timeline-content p {
  color: #64748b;
}

/* Comparison Table */
.comparison-section {
  padding: 100px 0;
  background: #0f172a;
  color: #fff;
}

.table-responsive {
  overflow-x: auto;
  background: rgba(255,255,255,0.03);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.comparison-table th, .comparison-table td {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
}

.comparison-table th {
  font-size: 1.2rem;
  font-weight: 700;
  color: #38bdf8;
}

.comparison-table td:first-child {
  text-align: right;
  font-weight: 700;
  color: #f59e0b;
}

.comparison-table .highlight-col {
  background: rgba(10, 102, 255, 0.1);
  border: 1px solid rgba(10, 102, 255, 0.3);
  border-radius: 10px;
}

@media (max-width: 768px) {
  .timeline-wrapper::before {
    left: 20px;
    right: auto;
  }
  .timeline-item {
    width: 100%;
    padding-right: 60px !important;
    padding-left: 0 !important;
    text-align: right !important;
  }
  .timeline-dot {
    right: 20px !important;
    left: auto !important;
    transform: translateX(50%);
  }
  .timeline-content::before {
    display: none !important;
  }
}
