/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

/* -----------------------------------------------
   SERVICE 1: Hero Banner
   ----------------------------------------------- */
.service-hero {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 520px;
  background: url('assets/Servicesbanner.webp') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.553);
  z-index: 1;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 100px;
}

.service-hero-badge {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 18px;
}

.service-hero-title {
  font-size: clamp(28px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  max-width: 800px;
  margin-bottom: 24px;
}

.service-hero-title .highlight {
  color: #7CFC00;
}

.service-hero-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.service-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.service-hero-breadcrumb a:hover {
  color: #fff;
}

/* -----------------------------------------------
   SERVICE 2: Tab Slider
   ----------------------------------------------- */
.service-tab-section {
  background: #f0f4fa;
  padding-bottom: 80px;
  scroll-margin-top: 110px;
}

/* Tab Navigation */
.service-tabs-nav {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 90px;
  z-index: 100;
}

.service-tabs-nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  gap: 0;
}

.service-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 22px 36px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  font-family: var(--font-family);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.service-tab-btn:hover {
  color: #1a1a1a;
}

.service-tab-btn.active {
  color: #1a1a1a;
  border-bottom-color: #2a7a2f;
  font-weight: 700;
}

/* Slide Panel */
.service-slides-wrapper {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 100px;
  padding-top: 70px;
}

.service-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-slide.active {
  display: grid;
}

/* Left Content */
.slide-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-badge {
  font-size: 12px;
  font-weight: 700;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

.slide-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
}

.slide-title .navy {
  color: #1a3a8f;
}

.slide-title .green {
  color: #2a7a2f;
}

.slide-title-underline {
  width: 60px;
  height: 4px;
  background: #1a3a8f;
  margin-bottom: 28px;
  border-radius: 2px;
}

.slide-description {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 36px;
  max-width: 520px;
}

.slide-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
  max-width: 520px;
}

.slide-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.slide-feature-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.slide-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-slide-primary {
  background: #1a3a8f;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  font-family: var(--font-family);
}

.btn-slide-primary:hover {
  background: #142d72;
  transform: translateY(-1px);
}

.btn-slide-outline {
  background: transparent;
  color: #1a3a8f;
  border: 1.5px solid #1a3a8f;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  font-family: var(--font-family);
}

.btn-slide-outline:hover {
  background: #1a3a8f;
  color: #fff;
}

/* Right Image */
.slide-right {
  position: relative;
}

.slide-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.slide-image-wrap img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.slide-image-wrap:hover img {
  filter: grayscale(0%);
}

.slide-status-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #2E363E;
  border-radius: 8px;
  padding: 24px 28px;
  color: #fff;
  width: 320px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.slide-status-label {
  font-size: 15px;
  font-weight: 500;
  color: #72A4CB;
  margin-bottom: 14px;
  display: block;
  line-height: 1.3;
}

.slide-status-text {
  font-size: 16px;
  line-height: 1.5;
  color: #FFFFFF;
}

/* -----------------------------------------------
   SERVICE 3: Smart Sites — Bento Grid
   ----------------------------------------------- */
.smart-sites-section {
  background: #eef2f9;
  padding: 80px 0 90px;
}

.smart-sites-header {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 100px;
  margin-bottom: 50px;
}

.smart-sites-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: #1a3a8f;
  margin-bottom: 12px;
}

.smart-sites-header h2 span {
  color: #1a3a8f;
}

.smart-sites-underline {
  width: 56px;
  height: 4px;
  background: #2a7a2f;
  border-radius: 2px;
}

/* Bento Grid */
.bento-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 100px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Card Base */
.bento-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* Logistics Combo Card - top spanning cols 1 & 2 */
.bento-card-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 16px;
}

.bento-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.bento-card-body {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.bento-logistics-combo {
  grid-column: 1 / 3;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  background: #fff;
}

.bento-logistics-text {
  flex: 1.1;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.bento-logistics-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.bento-logistics-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10% 80%;
  display: block;
  min-height: 280px;
}

.bento-logistics-combo .bento-card-link.outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4a8c30;
  font-weight: 700;
  align-self: flex-start;
  margin-top: auto;
  transition: opacity 0.3s;
}

.bento-logistics-combo .bento-card-link.outline-btn:hover {
  opacity: 0.8;
}

/* Asset Operations - top right */
.bento-asset-ops {
  grid-column: 3;
  grid-row: 1;
  background: #e2eaf0;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

/* Value Enhancement - bottom left */
.bento-value {
  grid-column: 1;
  grid-row: 2;
  background: #1a3a8f;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}

.bento-value .bento-card-title {
  color: #fff;
}

.bento-value .bento-card-body {
  color: rgba(255, 255, 255, 0.8);
}

.bento-value .bento-card-icon {
  filter: brightness(0) invert(1);
}

/* Banner — FULL WIDTH row 3 (below Logistics + Value + Center image + Asset Ops) */
.bento-banner {
  grid-column: 1 / -1;  /* spans ALL columns: col 1 through col 3 */
  grid-row: 3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 320px;
}

.bento-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(53, 84, 209, 0.361);
}

.bento-banner-text {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
}

.bento-banner-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.bento-banner-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* -----------------------------------------------
   SERVICE 4: CTA Section
   ----------------------------------------------- */
.service-cta-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.service-cta-section h2 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto 30px;
}

.service-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: #1a3a8f;
  color: #fff;
  border: none;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  font-family: var(--font-family);
}

.btn-cta-primary:hover {
  background: #142d72;
  transform: translateY(-2px);
}

.btn-cta-outline {
  background: transparent;
  color: #1a3a8f;
  border: 1.5px solid #1a3a8f;
  padding: 15px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  font-family: var(--font-family);
}

.btn-cta-outline:hover {
  background: #1a3a8f;
  color: #fff;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {

  .service-hero-content,
  .service-tabs-nav-inner,
  .service-slides-wrapper,
  .smart-sites-header,
  .bento-grid {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 1024px) {

  .service-hero-content,
  .service-tabs-nav-inner,
  .service-slides-wrapper,
  .smart-sites-header,
  .bento-grid {
    padding-left: 40px;
    padding-right: 40px;
  }

  .service-slide {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .slide-image-wrap img {
    height: 380px;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .bento-logistics-combo {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .bento-asset-ops {
    grid-column: 2;
    grid-row: 2;
  }

  .bento-value {
    grid-column: 1;
    grid-row: 3;
  }

  .bento-banner {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 768px) {
  .service-hero {
    min-height: 420px;
    height: 60vh;
  }

  .service-hero-content,
  .service-tabs-nav-inner,
  .service-slides-wrapper,
  .smart-sites-header,
  .bento-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .service-tabs-nav {
    top: 70px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .service-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .service-tabs-nav-inner {
    width: max-content;
    min-width: 100%;
  }

  .service-tab-btn {
    padding: 16px 20px 14px;
    font-size: 13px;
  }

  .service-slides-wrapper {
    padding-top: 40px;
  }

  .slide-title {
    font-size: 16px;
  }

  .slide-image-wrap img {
    height: 260px;
  }

  .slide-status-card {
    left: 12px;
    bottom: 12px;
    min-width: unset;
    width: calc(100% - 24px);
    padding: 14px 16px;
  }

  .slide-description {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-logistics-combo,
  .bento-asset-ops,
  .bento-value,
  .bento-banner {
    grid-column: 1;
    grid-row: auto;
  }

  .bento-logistics-combo {
    flex-direction: column;
  }

  .bento-logistics-text {
    padding: 30px;
  }

  .bento-banner {
    height: 220px;
  }

  .service-tab-section {
    padding-bottom: 50px;
  }

  .smart-sites-section {
    padding: 50px 0 60px;
  }

  .service-cta-section {
    padding: 70px 20px;
  }
}

@media (max-width: 480px) {
  .service-hero-title {
    font-size: 22px;
  }

  .service-hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .slide-title {
    font-size: 16px;
  }

  .slide-image-wrap img {
    height: 220px;
  }

  .slide-status-card {
    display: none;
  }

  .bento-asset-ops,
  .bento-value {
    padding: 28px 20px;
  }

  .bento-banner {
    height: 180px;
  }

  .slide-cta-group {
    flex-direction: column;
  }

  .btn-slide-primary,
  .btn-slide-outline {
    width: 100%;
    justify-content: center;
  }

  .service-cta-section h2 {
    font-size: 18px;
  }
}