/* ===== InfinityDesign Service Page V2 ===== */

/* General */
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Hero Section */
.service-hero-v2 {
  position: relative;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80') no-repeat center center/cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.service-hero-v2 .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Dark overlay */
}

.service-hero-v2 .hero-content {
  position: relative;
  z-index: 1;
}

.service-hero-v2 .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.service-hero-v2 .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Introduction Section */
.service-intro-v2 {
  padding: 100px 0;
  background-color: #fff;
}

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

.intro-text .section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #0a192f;
  /* Deep Navy */
  line-height: 1.2;
}

.intro-text .lead-text {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.intro-text .desc-text {
  font-size: 1rem;
  color: #666;
}

/* Service List Section */
.service-list-v2 {
  padding: 100px 0;
  background-color: #f4f7f6;
  /* Light Grey */
}

.section-title-center {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #0a192f;
  margin-bottom: 10px;
}

.section-desc-center {
  text-align: center;
  font-size: 1rem;
  color: #888;
  margin-bottom: 60px;
  letter-spacing: 1px;
}

.service-category {
  margin-bottom: 60px;
}

.category-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0a192f;
  margin-bottom: 5px;
  border-left: 5px solid #007acc;
  padding-left: 15px;
}

.category-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
  padding-left: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

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

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

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

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #0a192f;
}

.card-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-arrow {
  font-size: 0.9rem;
  font-weight: bold;
  color: #007acc;
  transition: margin-left 0.3s ease;
  margin-top: auto;
}

.service-card:hover .card-arrow {
  margin-left: 10px;
}

/* CTA Section */
.service-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a192f, #112240);
  color: #fff;
  text-align: center;
}

.cta-inner h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-inner p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.8;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #fff;
  color: #0a192f;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: #007acc;
  color: #fff;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .service-hero-v2 .hero-title {
    font-size: 2.5rem;
  }

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

  .intro-text {
    order: 2;
  }

  .intro-visual {
    order: 1;
  }
}