/* =====================================================
   VERTEX MANUFACTURING - SERVICES STYLESHEET
   Professional B2B Industrial Aesthetics & Responsive Design
===================================================== */

:root {
  --services-primary: #102a49;
  --services-accent: #14529d;
  --services-accent-light: #e8f1fb;
  --services-amber: #f59e0b;
  --services-amber-light: #fef3c7;
  --services-dark: #091726;
  --services-gray-50: #f8fafc;
  --services-gray-100: #f1f5f9;
  --services-gray-200: #e2e8f0;
  --services-gray-600: #475569;
  --services-gray-700: #334155;
  --services-gray-800: #1e293b;
  --services-radius: 12px;
  --services-shadow: 0 10px 30px -5px rgba(16, 42, 73, 0.08);
  --services-shadow-hover: 0 20px 40px -5px rgba(16, 42, 73, 0.15);
  --services-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   1. HERO SECTION (LISTING & DETAIL)
===================================================== */
.services-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(9, 23, 38, 0.94) 0%, rgba(16, 42, 73, 0.88) 100%),
              url('../img/services/services-hero-bg.jpg') center center / cover no-repeat;
  padding: 90px 0 80px;
  color: #ffffff;
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(20, 82, 157, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

.services-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.services-hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
}

.services-hero p.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 760px;
  margin-bottom: 32px;
}

.services-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.services-hero .btn-hero-primary {
  background: var(--services-amber);
  color: #091726;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--services-transition);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  border: none;
}

.services-hero .btn-hero-primary:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.services-hero .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--services-transition);
}

.services-hero .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Detail Hero Specific */
.detail-hero-specs {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--services-radius);
  padding: 24px;
  margin-top: 30px;
}

.detail-hero-specs .spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-hero-specs .spec-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(20, 82, 157, 0.4);
  border: 1px solid rgba(147, 197, 253, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 20px;
  flex-shrink: 0;
}

.detail-hero-specs .spec-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.detail-hero-specs .spec-val {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

/* Breadcrumbs in Hero */
.services-hero .breadcrumbs {
  margin-bottom: 16px;
}

.services-hero .breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.services-hero .breadcrumbs li {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
}

.services-hero .breadcrumbs li + li::before {
  content: "/";
  padding: 0 8px;
  color: #64748b;
}

.services-hero .breadcrumbs li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.2s;
}

.services-hero .breadcrumbs li a:hover {
  color: var(--services-amber);
}

.services-hero .breadcrumbs li.current {
  color: #ffffff;
  font-weight: 600;
}

/* =====================================================
   2. SECTION TITLES & LAYOUT
===================================================== */
.services-section {
  padding: 80px 0;
  position: relative;
}

.services-section.bg-light-alt {
  background-color: var(--services-gray-50);
}

.services-section.bg-dark-alt {
  background-color: var(--services-dark);
  color: #ffffff;
}

.services-heading-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.services-heading-center .sub-tag {
  display: inline-block;
  color: var(--services-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  background: var(--services-accent-light);
  padding: 4px 14px;
  border-radius: 20px;
}

.bg-dark-alt .services-heading-center .sub-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #93c5fd;
}

.services-heading-center h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--services-primary);
  line-height: 1.3;
  margin-bottom: 14px;
}

.bg-dark-alt .services-heading-center h2 {
  color: #ffffff;
}

.services-heading-center p {
  font-size: 16px;
  color: var(--services-gray-600);
  line-height: 1.7;
}

.bg-dark-alt .services-heading-center p {
  color: #cbd5e1;
}

/* =====================================================
   3. SERVICES CARDS (LISTING PAGE)
===================================================== */
.service-main-card {
  background: #ffffff;
  border: 1px solid var(--services-gray-200);
  border-radius: var(--services-radius);
  overflow: hidden;
  box-shadow: var(--services-shadow);
  transition: var(--services-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-main-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--services-shadow-hover);
  border-color: #cbd5e1;
}

.service-main-card .card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--services-gray-800);
}

.service-main-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-main-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.service-main-card .card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(16, 42, 73, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-main-card .card-body-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-main-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--services-primary);
  margin-bottom: 12px;
}

.service-main-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.service-main-card h3 a:hover {
  color: var(--services-accent);
}

.service-main-card p.card-summary {
  font-size: 15px;
  color: var(--services-gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-feature-tags .tag-item {
  background: var(--services-gray-100);
  color: var(--services-gray-700);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--services-gray-200);
}

.service-feature-tags .tag-item i {
  color: var(--services-accent);
}

.service-main-card .card-footer-action {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--services-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-main-card .card-btn-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--services-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-main-card .card-btn-link:hover {
  color: var(--services-primary);
  gap: 10px;
}

/* =====================================================
   4. WHY CHOOSE US (SERVICES PAGE)
===================================================== */
.why-card {
  background: #ffffff;
  border: 1px solid var(--services-gray-200);
  border-radius: var(--services-radius);
  padding: 32px 24px;
  height: 100%;
  transition: var(--services-transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--services-accent);
  transition: height 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--services-shadow);
  border-color: #cbd5e1;
}

.why-card:hover::before {
  height: 100%;
}

.why-card .why-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: var(--services-accent-light);
  color: var(--services-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: var(--services-transition);
}

.why-card:hover .why-icon-box {
  background: var(--services-accent);
  color: #ffffff;
}

.why-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--services-primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14.5px;
  color: var(--services-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   5. INDUSTRIES WE SERVE GRID
===================================================== */
.industry-item-card {
  background: #ffffff;
  border: 1px solid var(--services-gray-200);
  border-radius: var(--services-radius);
  padding: 22px 18px;
  text-align: center;
  transition: var(--services-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.industry-item-card:hover {
  background: var(--services-primary);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--services-shadow);
  border-color: var(--services-primary);
}

.industry-item-card .ind-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--services-gray-100);
  color: var(--services-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
  transition: var(--services-transition);
}

.industry-item-card:hover .ind-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.industry-item-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--services-primary);
  margin: 0;
  transition: color 0.2s;
}

.industry-item-card:hover h5 {
  color: #ffffff;
}

/* =====================================================
   6. 8-STEP MANUFACTURING PROCESS
===================================================== */
.process-grid {
  position: relative;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--services-gray-200);
  border-radius: var(--services-radius);
  padding: 28px 22px;
  height: 100%;
  position: relative;
  transition: var(--services-transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.process-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--services-shadow);
  border-color: var(--services-accent);
}

.process-step-card .step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 24px;
  font-weight: 900;
  color: var(--services-gray-200);
  line-height: 1;
  transition: color 0.3s;
}

.process-step-card:hover .step-number {
  color: var(--services-accent-light);
}

.process-step-card .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--services-accent-light);
  color: var(--services-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  transition: var(--services-transition);
}

.process-step-card:hover .step-icon {
  background: var(--services-accent);
  color: #ffffff;
}

.process-step-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--services-primary);
  margin-bottom: 8px;
}

.process-step-card p {
  font-size: 13.5px;
  color: var(--services-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   7. INDUSTRIAL CTA BOX
===================================================== */
.services-cta-banner {
  background: linear-gradient(135deg, var(--services-dark) 0%, var(--services-primary) 100%);
  border-radius: 16px;
  padding: 60px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(9, 23, 38, 0.2);
}

.services-cta-banner::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.services-cta-banner h3 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.services-cta-banner p {
  font-size: 16.5px;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 0;
}

.services-cta-banner .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

/* =====================================================
   8. SERVICE DETAIL PAGES SPECIFICS
===================================================== */
.detail-content-wrapper {
  padding: 60px 0;
}

/* Detail Section Block */
.detail-block {
  background: #ffffff;
  border: 1px solid var(--services-gray-200);
  border-radius: var(--services-radius);
  padding: 36px;
  margin-bottom: 36px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.detail-block h2.block-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--services-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.detail-block h2.block-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--services-accent);
  border-radius: 2px;
}

.detail-block h3.sub-block-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--services-primary);
  margin: 24px 0 12px;
}

.detail-block p {
  font-size: 15.5px;
  color: var(--services-gray-700);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Capability Cards Grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.cap-card {
  background: var(--services-gray-50);
  border: 1px solid var(--services-gray-200);
  border-radius: 10px;
  padding: 22px;
  transition: var(--services-transition);
}

.cap-card:hover {
  background: #ffffff;
  border-color: var(--services-accent);
  box-shadow: var(--services-shadow);
  transform: translateY(-3px);
}

.cap-card .cap-icon {
  font-size: 22px;
  color: var(--services-accent);
  margin-bottom: 12px;
  display: inline-block;
}

.cap-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--services-primary);
  margin-bottom: 8px;
}

.cap-card p {
  font-size: 14px;
  color: var(--services-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* Materials Matrix Grid */
.materials-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.material-card {
  background: #ffffff;
  border: 1px solid var(--services-gray-200);
  border-radius: 10px;
  padding: 20px;
  border-left: 4px solid var(--services-accent);
  transition: var(--services-transition);
}

.material-card:hover {
  box-shadow: var(--services-shadow);
  transform: translateY(-3px);
  border-left-color: var(--services-amber);
}

.material-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--services-primary);
  margin-bottom: 6px;
}

.material-card .mat-grades {
  font-size: 13px;
  color: var(--services-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.material-card p {
  font-size: 13.5px;
  color: var(--services-gray-600);
  line-height: 1.55;
  margin: 0;
}

/* Applications Table / Grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.app-item {
  background: var(--services-gray-50);
  border: 1px solid var(--services-gray-200);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--services-transition);
}

.app-item:hover {
  background: #ffffff;
  border-color: var(--services-accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.app-item i {
  color: var(--services-accent);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-item strong {
  font-size: 14.5px;
  color: var(--services-primary);
  display: block;
  margin-bottom: 2px;
}

.app-item span {
  font-size: 13px;
  color: var(--services-gray-600);
}

/* Custom Manufacturing Spec Box */
.custom-mfg-box {
  background: linear-gradient(135deg, var(--services-gray-50) 0%, #edf4fc 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--services-radius);
  padding: 30px;
  margin-top: 20px;
}

.custom-mfg-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--services-primary);
  margin-bottom: 14px;
}

.custom-spec-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.custom-spec-checklist .spec-chk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--services-gray-800);
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--services-gray-200);
}

.custom-spec-checklist .spec-chk-item i {
  color: #10b981;
  font-size: 16px;
}

/* QA 6-Step Pipeline */
.qa-pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.qa-step-card {
  background: #ffffff;
  border: 1px solid var(--services-gray-200);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  position: relative;
  transition: var(--services-transition);
}

.qa-step-card:hover {
  border-color: var(--services-accent);
  transform: translateY(-3px);
  box-shadow: var(--services-shadow);
}

.qa-step-card .qa-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--services-accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.qa-step-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--services-primary);
  margin-bottom: 6px;
}

.qa-step-card p {
  font-size: 13px;
  color: var(--services-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.benefit-card {
  background: var(--services-gray-50);
  border: 1px solid var(--services-gray-200);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: var(--services-transition);
}

.benefit-card:hover {
  background: #ffffff;
  border-color: var(--services-accent);
  box-shadow: var(--services-shadow);
  transform: translateY(-3px);
}

.benefit-card .ben-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--services-accent-light);
  color: var(--services-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.benefit-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--services-primary);
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 13.5px;
  color: var(--services-gray-600);
  line-height: 1.55;
  margin: 0;
}

/* FAQ Accordion Styling */
.services-faq-accordion .accordion-item {
  border: 1px solid var(--services-gray-200);
  border-radius: 8px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.services-faq-accordion .accordion-button {
  font-size: 16px;
  font-weight: 700;
  color: var(--services-primary);
  background-color: var(--services-gray-50);
  padding: 18px 24px;
  box-shadow: none;
}

.services-faq-accordion .accordion-button:not(.collapsed) {
  background-color: #f0f7ff;
  color: var(--services-accent);
}

.services-faq-accordion .accordion-body {
  padding: 20px 24px;
  font-size: 15px;
  color: var(--services-gray-700);
  line-height: 1.7;
  background-color: #ffffff;
}

/* =====================================================
   9. SIDEBAR WIDGETS (SERVICE DETAIL)
===================================================== */
.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--services-gray-200);
  border-radius: var(--services-radius);
  padding: 28px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.sidebar-widget h4.widget-title {
  font-size: 19px;
  font-weight: 750;
  color: var(--services-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget h4.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--services-accent);
  border-radius: 2px;
}

/* Service Nav List */
.sidebar-services-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-services-nav li {
  margin-bottom: 8px;
}

.sidebar-services-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--services-gray-50);
  border: 1px solid var(--services-gray-200);
  border-radius: 8px;
  color: var(--services-gray-700);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--services-transition);
}

.sidebar-services-nav a:hover,
.sidebar-services-nav li.active a {
  background: var(--services-accent);
  color: #ffffff;
  border-color: var(--services-accent);
}

.sidebar-services-nav a i {
  font-size: 14px;
}

/* Quick Contact Widget */
.sidebar-contact-widget {
  background: linear-gradient(135deg, var(--services-dark) 0%, var(--services-primary) 100%);
  color: #ffffff;
  border: none;
}

.sidebar-contact-widget h4.widget-title {
  color: #ffffff;
}

.sidebar-contact-widget h4.widget-title::after {
  background: var(--services-amber);
}

.sidebar-contact-widget p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.sidebar-contact-item i {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--services-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.sidebar-contact-item a,
.sidebar-contact-item span {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-contact-item a:hover {
  color: var(--services-amber);
}

/* Brochure Download */
.sidebar-download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--services-gray-50);
  border: 1px solid var(--services-gray-200);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--services-primary);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: var(--services-transition);
}

.sidebar-download-btn:hover {
  background: var(--services-primary);
  color: #ffffff;
  border-color: var(--services-primary);
}

.sidebar-download-btn i {
  font-size: 20px;
  color: var(--services-amber);
}

/* =====================================================
   10. RESPONSIVE BREAKPOINTS
===================================================== */
@media (max-width: 991px) {
  .services-hero h1 {
    font-size: 32px;
  }
  .services-hero p.hero-desc {
    font-size: 16px;
  }
  .services-heading-center h2 {
    font-size: 28px;
  }
  .services-cta-banner {
    padding: 40px 24px;
  }
  .services-cta-banner .cta-buttons {
    justify-content: flex-start;
    margin-top: 24px;
  }
  .service-sidebar {
    position: static;
    margin-top: 40px;
  }
  .detail-block {
    padding: 24px 20px;
  }
}

@media (max-width: 576px) {
  .services-hero {
    padding: 60px 0;
  }
  .services-hero h1 {
    font-size: 26px;
  }
  .services-section {
    padding: 50px 0;
  }
  .cap-grid,
  .materials-matrix,
  .benefits-grid,
  .qa-pipeline {
    grid-template-columns: 1fr;
  }
  .services-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .services-hero .btn-hero-primary,
  .services-hero .btn-hero-secondary {
    justify-content: center;
  }
}

/* =====================================================
   11. HOME HERO & GLOBAL RESPONSIVE REFINEMENTS
===================================================== */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background-color: #ffffff;
  overflow: hidden;
}

.hero .hero-content .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--services-accent);
  background: var(--services-accent-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero .hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.22;
  color: var(--services-primary);
  margin-bottom: 18px;
}

.hero .hero-content p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--services-gray-600);
  margin-bottom: 30px;
}

.hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 35px;
}

.hero .hero-buttons .btn-primary {
  background: var(--services-accent);
  color: #ffffff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--services-transition);
  border: none;
  box-shadow: 0 4px 14px rgba(20, 82, 157, 0.25);
}

.hero .hero-buttons .btn-primary:hover {
  background: var(--services-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 82, 157, 0.35);
}

.hero .hero-buttons .btn-secondary {
  background: var(--services-gray-50);
  color: var(--services-primary);
  border: 1px solid var(--services-gray-200);
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--services-transition);
}

.hero .hero-buttons .btn-secondary:hover {
  background: var(--services-gray-100);
  border-color: var(--services-primary);
  transform: translateY(-2px);
}

.hero .trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero .trust-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero .trust-badges .badge-item i {
  font-size: 24px;
  color: var(--services-accent);
  background: var(--services-accent-light);
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero .trust-badges .badge-item .badge-text .count {
  font-size: 22px;
  font-weight: 800;
  color: var(--services-primary);
  line-height: 1.1;
  display: block;
}

.hero .trust-badges .badge-item .badge-text .label {
  font-size: 13px;
  font-weight: 500;
  color: var(--services-gray-600);
}

.hero .hero-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(16, 42, 73, 0.18);
}

.hero .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  transition: transform 0.6s ease;
}

.hero .hero-image:hover img {
  transform: scale(1.03);
}

.hero .hero-image .image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(16, 42, 73, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  max-width: calc(100% - 40px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero .hero-image .image-badge span {
  display: block;
  font-weight: 800;
  font-size: 16px;
  color: var(--services-amber);
}

.hero .hero-image .image-badge p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}

@media (max-width: 991px) {
  .hero {
    padding: 60px 0 50px;
  }
  .hero .hero-content {
    margin-bottom: 40px;
  }
  .hero .hero-content h1 {
    font-size: 32px;
  }
  .hero .hero-content p {
    font-size: 15.5px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 40px 0 35px;
  }
  .hero .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
  }
  .hero .hero-buttons {
    flex-direction: column;
  }
  .hero .hero-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero .trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hero .hero-image .image-badge {
    bottom: 12px;
    left: 12px;
    padding: 8px 12px;
    max-width: calc(100% - 24px);
  }
}

/* =====================================================
   12. GLOBAL FLOATING WHATSAPP BUTTON & SCROLL-TOP
===================================================== */
.whatsapp-float-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99998;
  display: flex;
  align-items: center;
}

.whatsapp-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.whatsapp-float-btn i {
  font-size: 24px;
  line-height: 1;
}

.whatsapp-float-btn .whatsapp-label-text {
  font-weight: 600;
  white-space: nowrap;
}

.whatsapp-float-btn:hover {
  background: #20ba59;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}

/* Adjust scroll-top so they stack without overlapping */
.scroll-top {
  right: 25px !important;
  bottom: 85px !important;
  z-index: 99990 !important;
}

@media (max-width: 768px) {
  .whatsapp-float-container {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-btn {
    padding: 0;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  .whatsapp-float-btn .whatsapp-label-text {
    display: none;
  }
  .whatsapp-float-btn i {
    font-size: 26px;
  }
  .scroll-top {
    right: 20px !important;
    bottom: 80px !important;
    width: 38px !important;
    height: 38px !important;
  }
}

/* =====================================================
   13. TOPBAR RESPONSIVE STYLING
===================================================== */
.topbar {
  background-color: var(--services-primary, #102a49);
  color: #e2e8f0;
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .contact-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar .topbar-link {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.topbar .topbar-link i {
  color: var(--services-amber, #f59e0b);
  font-size: 14px;
}

.topbar .topbar-link:hover {
  color: #ffffff !important;
}

.topbar .social-links {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.topbar .social-links a {
  color: #cbd5e1;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.topbar .social-links a:hover {
  background: var(--services-accent, #14529d);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .topbar {
    padding: 7px 0;
  }
  .topbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px;
  }
  .topbar .contact-info {
    gap: 12px;
  }
  .topbar .topbar-link {
    font-size: 12px;
  }
  .topbar .social-links {
    display: flex !important;
  }
  .topbar .social-links a {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 6px 0;
  }
  .topbar .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .topbar .contact-info {
    gap: 8px;
  }
  .topbar .topbar-link {
    font-size: 11px;
    gap: 4px;
  }
  .topbar .topbar-link i {
    font-size: 12px;
  }
  .topbar .social-links {
    display: flex !important;
  }
  .topbar .social-links a {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
}

/* =====================================================
   14. MOBILE NAVIGATION CENTERED & CLOSE BUTTON
===================================================== */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--services-primary, #102a49);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
  }

  .mobile-nav-toggle:hover {
    color: var(--services-accent, #14529d);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navmenu {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(16, 42, 73, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99995 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px 20px !important;
    overflow-y: auto !important;
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    font-size: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .mobile-nav-active .mobile-nav-toggle:hover {
    background: var(--services-accent, #14529d) !important;
    transform: rotate(90deg);
  }

  .mobile-nav-active .navmenu > ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    inset: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: auto !important;
    width: 100% !important;
    max-width: 320px !important;
    gap: 12px !important;
    list-style: none !important;
    overflow-y: visible !important;
  }

  .mobile-nav-active .navmenu li {
    width: 100%;
    text-align: center;
    list-style: none;
  }

  .mobile-nav-active .navmenu a {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
  }

  .mobile-nav-active .navmenu a:hover,
  .mobile-nav-active .navmenu a.active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--services-amber, #f59e0b) !important;
  }

  .mobile-nav-active .navmenu .btn-nav {
    background: var(--services-accent, #14529d) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-top: 6px !important;
    box-shadow: 0 4px 15px rgba(20, 82, 157, 0.35) !important;
  }

  .mobile-nav-active .navmenu .btn-nav:hover {
    background: #0e3d74 !important;
    color: #ffffff !important;
  }
}
