/* --- Service Page Styles (matching index.html branding & light theme) --- */


/* Service Hero Header */
.service-hero-section {
  background: #ffffff;
  padding: 60px 0 40px 0;
  border-bottom: 1px solid #666666;
}

.service-hero-section .hero-tag {
  color: var(--primary-color);
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-block;
}

.service-hero-section .hero-headline {
  margin-bottom: 15px;
}

.service-hero-section .hero-tagline {
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-hero-section .hero-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: #666666;
  max-width: 900px;
  margin-bottom: 30px;
}

.service-hero-section .hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Service Quick Nav Anchor Bar */
.service-quick-nav {
  background: var(--bg-color);
  border: 1px solid #666666;
  border-radius: 8px;
  padding: 12px 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.service-quick-nav .nav-label {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: #1c1c1c;
  font-weight: 700;
  margin-right: 10px;
}

.service-quick-nav a {
  background: #ffffff;
  border: 1px solid #666666;
  color: #1c1c1c;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
}

.service-quick-nav a:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* Main Service Block Section */
.service-block-section {
  padding: 70px 0;
  background: var(--bg-color);
  border-bottom: 1px solid #666666;
  scroll-margin-top: 80px;
}

.service-block-section.alt-bg {
  background: #ffffff;
}

.service-header-wrap {
  margin-bottom: 40px;
}

.service-badge {
  background: rgba(157, 10, 18, 0.08);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-title {
  margin-bottom: 12px;
}

.service-intro-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 28px;
  color: #555555;
  max-width: 900px;
}

/* Sub-architecture Block (Frontend / Backend) */
.sub-arch-block {
  background: #ffffff;
  border: 1px solid #666666;
  border-radius: 10px;
  padding: 35px;
  margin-top: 35px;
}

.service-block-section.alt-bg .sub-arch-block {
  background: var(--bg-color);
}

.sub-arch-title {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  color: #1c1c1c;
  text-transform: uppercase;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  display: inline-block;
}

.sub-arch-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 25px;
  color: #666666;
  margin-bottom: 25px;
}

/* Features Grid */
.features-header-title {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  color: #1c1c1c;
  margin: 30px 0 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-header-title i {
  color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #666666;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-block-section.alt-bg .feature-card {
  background: #ffffff;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.feature-card .feature-name {
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  color: #1c1c1c;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-card .feature-name i {
  color: var(--primary-color);
  font-size: 14px;
}

.feature-card .feature-details {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #666666;
}

/* Two-Column Details Layout (Benefits & Use Cases) */
.details-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.detail-box {
  background: #ffffff;
  border: 1px solid #666666;
  border-radius: 8px;
  padding: 25px;
}

.service-block-section.alt-bg .detail-box {
  background: var(--bg-color);
}

.detail-box-title {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  color: #1c1c1c;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-box-title i {
  color: var(--primary-color);
}

.benefit-list-items li {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #333333;
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.benefit-list-items li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-size: 13px;
}

.usecase-list-items li {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #333333;
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.usecase-list-items li::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary-color);
  font-size: 12px;
}

/* Technologies Tag Cloud */
.tech-cloud-block {
  margin-top: 30px;
}

.tech-cloud-title {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  color: #1c1c1c;
  margin-bottom: 12px;
}

.tech-tags-wrapper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-badge {
  background: var(--heading-text-color);
  color: var(--white-color);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* --- Comprehensive Mobile & Tablet Responsiveness --- */
@media (max-width: 1100px) {
  .service-hero-section {
    padding: 50px 0 35px 0;
  }

  .service-hero-section .hero-headline {
    font-size: clamp(28px, 3.5vw, 40px) !important;
    line-height: 1.25 !important;
  }

  .service-title {
    font-size: clamp(24px, 3.2vw, 32px) !important;
    line-height: 1.25 !important;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .details-two-col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .service-hero-section {
    padding: 50px 0 35px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .details-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sub-arch-block {
    padding: 25px;
  }

  .service-block-section {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .service-hero-section .hero-headline {
    font-size: 28px !important;
    line-height: 36px !important;
  }

  .service-hero-section .hero-tagline {
    font-size: 20px;
  }

  .service-hero-section .hero-desc {
    font-size: 15px;
    line-height: 24px;
  }

  .service-hero-section .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .service-hero-section .hero-actions .btn {
    width: 100% !important;
  }

  .service-quick-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .service-quick-nav .nav-label {
    width: 100%;
    margin-bottom: 6px;
  }

  .service-title {
    font-size: 26px !important;
    line-height: 34px !important;
  }

  .sub-arch-title {
    font-size: 22px;
  }

  .sub-arch-block {
    padding: 20px 15px;
  }

  .detail-box {
    padding: 20px 15px;
  }

  .feature-card {
    padding: 15px;
  }

  .feature-card .feature-name {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .service-hero-section .hero-headline {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  .service-title {
    font-size: 22px !important;
    line-height: 30px !important;
  }

  .sub-arch-title {
    font-size: 18px;
  }

  .tech-badge {
    font-size: 12px;
    padding: 3px 10px;
  }
}
