/* ============================================================
   KOMTECH WEBSITE — OUR SERVICES PAGE STYLES
   our-services.css
   ============================================================ */

/* ─── PAGE HERO BANNER ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #142c46 0%, #1e88e5 100%);
  padding: 80px;
  display: flex;
  align-items: center;
  min-height: 220px;
}

.page-hero-content .section-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #90caf9;
  font-weight: 600;
  margin-bottom: 12px;
}

.page-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.6;
}

/* ─── SERVICES OVERVIEW ICONS ───────────────────────────────── */
.services-overview {
  background: var(--page-bg);
  padding: 50px 80px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
}

.service-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 24px 20px;
  border-radius: 10px;
  border: 1px solid #eee;
  width: 160px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  background: #fafafa;
}

.service-icon-card:hover {
  border-color: #1e88e5;
  box-shadow: 0 4px 16px rgba(21,101,192,0.1);
  transform: translateY(-3px);
}

.service-icon {
  width: 84px;
  height: 84px;
  background: #f5f6f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3e5e8;
  color: #5a5a5a;            /* grey icon, like the old site */
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.svc-svg {
  width: 42px;
  height: 42px;
}

.service-icon-card:hover .service-icon {
  background: #e3f0fd;
  border-color: #1e88e5;
  color: #1e88e5;
}

.service-icon-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.4;
}

/* ─── WHATSAPP BAR ──────────────────────────────────────────── */
.whatsapp-bar {
  background: #f7f8fa;
  padding: 24px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #eee;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.whatsapp-icon { font-size: 20px; }

/* ─── SERVICE SECTIONS ──────────────────────────────────────── */
.service-section {
  padding: 70px 80px;
  background: var(--page-bg);
}

.service-section.alt { background: #f7f8fa; }

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.service-content.reverse { direction: rtl; }
.service-content.reverse > * { direction: ltr; }

/* Single-image sections: vertically centre the lone image beside the text */
#service-maintenance .service-media-block,
#technical-support .service-media-block {
  align-self: center;
}

/* Text block */
.service-text-block .section-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1e88e5;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-text-block h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 18px;
  line-height: 1.3;
}

.service-text-block p {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
}

/* Service video button */
.service-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e88e5;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 24px;
  transition: background 0.2s, transform 0.15s;
}

.service-video-btn:hover {
  background: #1565c0;
  transform: translateY(-2px);
}

/* Media block */
.service-media-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Real media (image + video) in service sections */
.service-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #c0c8d0;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.2s ease;
}

.service-img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.service-video {
  width: 100%;
  height: 260px;
  border-radius: 10px;
  background: #000;
  display: block;
  object-fit: contain;
}

/* Image placeholder */
.img-placeholder {
  width: 100%;
  height: 260px;
  background: #d0d8e0;
  border-radius: 10px;
  border: 1px solid #c0c8d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #888;
  letter-spacing: 1px;
}

/* Small video placeholder */
.video-placeholder-sm {
  background: #1a1a1a;
  border-radius: 10px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  border: 2px solid #2a2a2a;
  transition: background 0.2s, border-color 0.2s;
}

.video-placeholder-sm:hover {
  background: #222;
  border-color: #1e88e5;
}

.video-placeholder-sm .play-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: border-color 0.2s, background 0.2s;
}

.video-placeholder-sm:hover .play-circle {
  border-color: #1e88e5;
  background: rgba(21,101,192,0.2);
}

.video-placeholder-label {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: 50px 22px; min-height: auto; }
  .page-hero-content h1 { font-size: 30px; }

  .services-overview { padding: 40px 22px; gap: 14px; }
  .service-icon-card { width: 140px; padding: 18px 14px; }

  .service-section { padding: 45px 22px; }
  .service-content,
  .service-content.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }
}
