/* ============================================================
   SERVICES DETAIL PAGE
============================================================ */
.srv-page {
  padding: 80px 0 90px;
  background: #fff;
}

/* ---- SIDEBAR ---- */
.srv-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Service nav */
.srv-nav {
  background: #f7f9fc;
  border: 1px solid #dde4ed;
  border-radius: 8px;
  overflow: hidden;
}
.srv-nav-title {
  background: #03173E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 20px;
  margin: 0;
}
.srv-nav ul {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
.srv-nav ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #3a4a5c;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.srv-nav ul li a i {
  font-size: 10px;
  color: #bbc5d0;
  transition: color 0.2s;
}
.srv-nav ul li a:hover,
.srv-nav ul li.active a {
  color: #E05A2B;
  border-left-color: #E05A2B;
  background: rgba(224,90,43,0.05);
}
.srv-nav ul li a:hover i,
.srv-nav ul li.active a i { color: #E05A2B; }

/* CTA box — balanced, not dominant */
.srv-cta-box {
  background: #f7f9fc;
  border: 1px solid #dde4ed;
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  border-top: 3px solid #E05A2B;
}
.srv-cta-icon {
  font-size: 24px;
  color: #E05A2B;
  display: block;
  margin-bottom: 10px;
}
.srv-cta-box h5 {
  color: #03173E;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.srv-cta-box p {
  color: #8899aa;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Download box */
.srv-download-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f9fc;
  border: 1px solid #dde4ed;
  border-radius: 8px;
  padding: 14px 16px;
}
.srv-download-box i {
  font-size: 22px;
  color: #E05A2B;
  flex-shrink: 0;
}
.srv-download-box strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #03173E;
  margin-bottom: 3px;
}
.srv-download-box a {
  font-size: 12px;
  color: #E05A2B;
  font-weight: 600;
  text-decoration: none;
}
.srv-download-box a:hover { text-decoration: underline; }

/* ---- MAIN CONTENT ---- */
.srv-intro { margin-bottom: 48px; }
.srv-main-title {
  font-size: 32px;
  font-weight: 600;
  color: #03173E;
  line-height: 1.2;
}
.srv-intro p {
  max-width: 640px;
  margin: 0;
}

/* Discipline block */
.srv-discipline {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #eef1f6;
}
.srv-discipline-last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.srv-discipline-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.srv-discipline-icon {
  width: 46px; height: 46px;
  background: #03173E;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.srv-discipline-icon i { font-size: 18px; color: #fff; }
.srv-discipline-title {
  font-size: 20px;
  font-weight: 700;
  color: #03173E;
  margin: 0;
}

/* Service item cards */
.srv-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: #f7f9fc;
  border: 1px solid #eef1f6;
  border-radius: 6px;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.srv-item:hover {
  border-color: rgba(224,90,43,0.25);
  box-shadow: 0 4px 16px rgba(3,23,62,0.06);
}
.srv-item-dot {
  width: 8px; height: 8px;
  background: #E05A2B;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.srv-item strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #03173E;
  margin-bottom: 6px;
  line-height: 1.35;
}
.srv-item p {
  font-size: 14px;
  color: #6a7a8a;
  line-height: 1.7;
  margin: 0;
}

/* Software grid */
.srv-software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.srv-sw-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #3a4a5c;
  background: #f7f9fc;
  border: 1px solid #eef1f6;
  padding: 12px 14px;
  border-radius: 6px;
}
.srv-sw-item i { color: #E05A2B; font-size: 11px; flex-shrink: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .srv-page { padding: 50px 0 60px; }

  /* Content first, sidebar second on mobile */
  .srv-page .row {
    flex-direction: column-reverse;
  }

  .srv-sidebar {
    position: static;
    margin-top: 48px;
  }

  .srv-software-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-main-title { font-size: 26px; }
}

@media (max-width: 575px) {
  .srv-software-grid { grid-template-columns: 1fr; }
  .srv-main-title { font-size: 22px; }
}



/* Equipment grid */
.srv-equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.srv-equip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px 14px;
  background: #f7f9fc;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.srv-equip-item:hover {
  border-color: rgba(224,90,43,0.3);
  box-shadow: 0 4px 16px rgba(3,23,62,0.07);
  transform: translateY(-3px);
}
.srv-equip-item i {
  font-size: 22px;
  color: #E05A2B;
}
.srv-equip-item span {
  font-size: 13px;
  font-weight: 600;
  color: #03173E;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .srv-equip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .srv-equip-grid { grid-template-columns: repeat(2, 1fr); }
}




/* Why Train With Us */
.srv-why-item {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  background: #f7f9fc;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.srv-why-item:hover {
  border-color: rgba(224,90,43,0.25);
  box-shadow: 0 4px 16px rgba(3,23,62,0.06);
  transform: translateY(-3px);
}
.srv-why-item i {
  font-size: 28px;
  color: #E05A2B;
  display: block;
  margin-bottom: 14px;
}
.srv-why-item h6 {
  font-size: 15px;
  font-weight: 700;
  color: #03173E;
  margin-bottom: 8px;
}
.srv-why-item p {
  font-size: 13px;
  color: #6a7a8a;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .srv-training-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES LISTING PAGE
============================================================ */
.srv-list-section {
  background: #fff;
  padding: 80px 0 90px;
}

/* Card */
.srvl-card {
  background: #fff;
  border: 1px solid #dde4ed;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.srvl-card:hover {
  box-shadow: 0 12px 40px rgba(3,23,62,0.10);
  transform: translateY(-5px);
}

/* Image */
.srvl-img-wrap {
  position: relative;
  overflow: hidden;
}
.srvl-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.srvl-card:hover .srvl-img-wrap img {
  transform: scale(1.05);
}
.srvl-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,23,62,0.5) 0%, transparent 60%);
  pointer-events: none;
}
.srvl-category {
  position: absolute;
  top: 14px; left: 14px;
  background: #E05A2B;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
}

/* Body */
.srvl-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.srvl-title {
  font-size: 18px;
  font-weight: 700;
  color: #03173E;
  margin-bottom: 10px;
  line-height: 1.3;
}
.srvl-desc {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}

/* Link */
.srvl-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #E05A2B;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: gap 0.2s;
  gap: 4px;
  margin-top: auto;
}
.srvl-link i { transition: transform 0.2s; }
.srvl-link:hover { color: #c94e22; }
.srvl-link:hover i { transform: translateX(4px); }

@media (max-width: 991px) {
  .srv-list-section { padding: 60px 0; }
}
