/* Services Page Styles */
:root {
  --font-serif: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  --font-sans: 'Calibri', 'Candara', 'Segoe', 'Segoe UI', Optima, Arial, sans-serif;
  --primary: #07316b;
  --accent: #c72121;
  --bg-dark: #0C1D3D;
  --bg-light: #F8F9FA;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border-color: #333333;
}

/* Reset body margins for services page */
body {
  margin: 0;
  padding: 0;
}

/* Hero Section */
.services-hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #07316b 0%, #1e40af 100%);
  overflow: hidden;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
  right: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(11, 102, 228, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(199, 33, 33, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(11, 102, 228, 0.05) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.services-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text-content {
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-accent {
  background: linear-gradient(135deg, #0b66e4 0%, #c72121 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #0b66e4;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0b66e4 0%, #07316b 100%);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(11, 102, 228, 0.3);
}

.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(11, 102, 228, 0.4);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-primary);
  padding: 0.875rem 1.75rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.main-image {
  width: 320px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.floating-image-1 {
  width: 200px;
  height: 240px;
  top: 5%;
  right: 5%;
  z-index: 2;
  animation: float-1 6s ease-in-out infinite;
}

.floating-image-2 {
  width: 160px;
  height: 200px;
  bottom: 5%;
  left: 5%;
  z-index: 1;
  animation: float-2 8s ease-in-out infinite;
}

@keyframes float-1 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(15px) rotate(-2deg);
  }
}

/* Service Section Styling */
.service-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  padding: 6rem 0;
  transition: background-color 0.6s ease;
  overflow: hidden;
}

.service-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(11, 102, 228, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(199, 33, 33, 0.03) 0%, transparent 50%);
  z-index: 1;
  animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {

  0%,
  100% {
    background-image:
      radial-gradient(circle at 20% 30%, rgba(11, 102, 228, 0.03) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(199, 33, 33, 0.03) 0%, transparent 50%);
  }

  50% {
    background-image:
      radial-gradient(circle at 25% 35%, rgba(11, 102, 228, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 75% 65%, rgba(199, 33, 33, 0.04) 0%, transparent 50%);
  }
}

/* Add floating decorative elements */
.service-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(7, 49, 107, 0.05) 0%, rgba(11, 102, 228, 0.02) 100%);
  z-index: 1;
}

.service-section:nth-child(even)::before {
  background: linear-gradient(135deg, rgba(11, 102, 228, 0.03) 0%, rgba(199, 33, 33, 0.02) 100%);
}

.service-section:nth-child(odd)::before {
  background: linear-gradient(135deg, rgba(199, 33, 33, 0.03) 0%, rgba(11, 102, 228, 0.02) 100%);
}

/* Add decorative corner elements */
.service-section .container::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(11, 102, 228, 0.1);
  border-radius: 50%;
  z-index: 1;
  animation: rotate 30s linear infinite;
}

.service-section .container::after {
  content: '';
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(199, 33, 33, 0.1);
  border-radius: 50%;
  z-index: 1;
  animation: rotate 20s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.service-section:nth-child(even) {
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(7, 49, 107, 0.1) 100%);
}

.service-section:nth-child(odd) {
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(199, 33, 33, 0.05) 100%);
}

.service-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.service-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  position: relative;
}

.service-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0b66e4 0%, #c72121 100%);
  border-radius: 2px;
}

.service-description {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-feature {
  background: linear-gradient(135deg, rgba(11, 102, 228, 0.1) 0%, rgba(11, 102, 228, 0.05) 100%);
  border: 1px solid rgba(11, 102, 228, 0.3);
  color: #0b66e4;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-feature:hover::before {
  left: 100%;
}

.service-feature:hover {
  background: linear-gradient(135deg, rgba(11, 102, 228, 0.2) 0%, rgba(11, 102, 228, 0.1) 100%);
  border-color: rgba(11, 102, 228, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 102, 228, 0.2);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #0b66e4 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(7, 49, 107, 0.3);
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.service-cta:hover::before {
  left: 100%;
}

.service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(7, 49, 107, 0.4);
}

.service-image {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, rgba(11, 102, 228, 0.1) 0%, rgba(199, 33, 33, 0.1) 100%);
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 102, 228, 0.1) 0%, rgba(199, 33, 33, 0.1) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-image:hover::before {
  opacity: 1;
}

.service-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.service-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.service-image:hover img {
  transform: scale(1.02);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* CTA Section */
.cta-section {
  background: var(--bg-dark);
  padding: 6rem 0;
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.cta-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(7, 49, 107, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(7, 49, 107, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-cta-buttons {
    justify-content: center;
  }

  .hero-visual {
    height: 350px;
  }

  .main-image {
    width: 250px;
    height: 300px;
  }

  .floating-image-1 {
    width: 150px;
    height: 180px;
  }

  .floating-image-2 {
    width: 120px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .services-hero {
    height: auto;
    min-height: 100vh;
    padding: 4rem 0;
  }

  .hero-content-wrapper {
    gap: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    height: 250px;
  }

  .main-image {
    width: 200px;
    height: 250px;
  }

  .floating-image-1 {
    width: 120px;
    height: 140px;
    right: 2%;
  }

  .floating-image-2 {
    width: 100px;
    height: 120px;
    left: 2%;
  }

  .service-section {
    padding: 4rem 0;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .hero-visual {
    height: 200px;
  }

  .main-image {
    width: 160px;
    height: 200px;
  }

  .floating-image-1,
  .floating-image-2 {
    display: none;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Services Container */
.services-container {
  position: relative;
  width: 100%;
}

/* Service Hero Section */
.service-hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  /* Account for navbar */
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
}

.service-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(11, 102, 228, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(199, 33, 33, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(11, 102, 228, 0.05) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 49, 107, 0.1) 0%, rgba(11, 102, 228, 0.05) 100%);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.service-hero-text {
  max-width: 600px;
}

.service-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  /* Remove gradient text to keep solid brand color */
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.service-hero-description {
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.service-hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-hero-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-hero-stats .stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0b66e4;
  line-height: 1;
}

.service-hero-stats .stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero-images {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-item {
  position: absolute;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-image-item:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.hero-main-image {
  width: 320px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hero-secondary-image {
  width: 200px;
  height: 240px;
  top: 20%;
  right: 10%;
  z-index: 2;
  animation: float-1 6s ease-in-out infinite;
}

.hero-secondary-image:nth-child(3) {
  width: 160px;
  height: 200px;
  bottom: 20%;
  left: 10%;
  z-index: 1;
  animation: float-2 8s ease-in-out infinite;
}

@keyframes float-1 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(15px) rotate(-2deg);
  }
}

/* Service Detail Page Styles */
.service-hero {
  position: relative;
  height: 60vh;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
}

.service-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.service-hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.service-details {
  background: var(--bg-light);
  padding: 6rem 0;
}

.service-content-details {
  position: relative;
  z-index: 2;
}

.service-details-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.service-details-description {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.service-features-applications-section {
  /* margin-bottom: 4rem; */
  width: 100%;
  max-width: 100%;
  padding: 2rem 0;
}

.features-applications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  width: 100%;
}

.service-features-section,
.service-applications-section {
  margin-bottom: 0;
  width: 100%;
}

.service-features-grid,
.service-applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.service-application {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-application:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.service-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 600;
}

.service-cta-section {
  margin-top: 2rem;
}

.service-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(7, 49, 107, 0.3);
}

.service-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(7, 49, 107, 0.4);
}

.service-images-section {
  position: relative;
}

.service-image-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-image-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.service-image-item:hover {
  transform: translateY(-5px);
}

.service-image-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.service-image-item:hover img {
  transform: scale(1.02);
}

.main-image {
  order: 1;
}

.secondary-image {
  order: 2;
}

/* FAQ Section */
.service-faq {
  background: var(--bg-dark);
  padding: 6rem 0;
}

.faq-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--text-primary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question h3 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-bottom: 1.5rem;
  margin: 0;
}

.faq-item.active .faq-question {
  color: var(--text-primary);
}

/* Related Services Section */
.related-services {
  background: var(--bg-light);
  padding: 6rem 0;
}

.related-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--text-primary);
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.related-service-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-service-item:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 102, 228, 0.3);
}

.related-service-image {
  height: 200px;
  overflow: hidden;
}

.related-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-service-item:hover .related-service-image img {
  transform: scale(1.05);
}

.related-service-content {
  padding: 1.5rem;
}

.related-service-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.related-service-content p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.related-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0b66e4;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.related-service-link:hover {
  color: #0b66e4;
  transform: translateX(5px);
}

/* Responsive Design for Service Detail Page */
@media (max-width: 1024px) {
  .service-hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .service-hero-text {
    max-width: 100%;
  }

  .service-hero-stats {
    justify-content: center;
  }

  .service-hero-visual {
    height: 350px;
  }

  .hero-main-image {
    width: 250px;
    height: 300px;
  }

  .hero-secondary-image {
    width: 150px;
    height: 180px;
  }

  .hero-secondary-image:nth-child(3) {
    width: 120px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .features-applications-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-hero-section {
    padding-top: 100px;
    min-height: 80vh;
  }

  .service-hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .service-hero-description {
    font-size: 1rem;
  }

  .service-hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .service-hero-visual {
    height: 250px;
  }

  .hero-main-image {
    width: 200px;
    height: 250px;
  }

  .hero-secondary-image {
    width: 120px;
    height: 140px;
    right: 2%;
  }

  .hero-secondary-image:nth-child(3) {
    width: 100px;
    height: 120px;
    left: 2%;
  }

  .service-hero {
    height: 50vh;
    min-height: 50vh;
  }

  .service-details {
    padding: 4rem 0;
  }

  .service-details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-images-section {
    margin-top: 2rem;
    order: -1;
  }

  .service-image-gallery {
    flex-direction: row;
    gap: 1rem;
  }

  .service-image-item {
    flex: 1;
    max-width: 50%;
  }

  .related-services-grid {
    grid-template-columns: 1fr;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-hero-section {
    padding-top: 80px;
    min-height: 70vh;
  }

  .service-hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .service-hero-visual {
    height: 200px;
  }

  .hero-main-image {
    width: 160px;
    height: 200px;
  }

  .hero-secondary-image,
  .hero-secondary-image:nth-child(3) {
    display: none;
  }

  .service-image-gallery {
    flex-direction: column;
  }

  .service-image-item {
    max-width: 100%;
  }
}