/* ========================================
   LAYANAN PAGE - Modern Service Design
   ======================================== */

/* Hero Section */
.layanan-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.layanan-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.layanan-hero .container {
  position: relative;
  z-index: 1;
}

.layanan-hero-content {
  text-align: center;
  color: #fff;
}

.layanan-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.layanan-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Service Cards Section */
.layanan-section {
  padding: 40px 0;
  background: #f8fafc;
}

.layanan-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Single column - landscape cards */
.layanan-section .container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Service Card - Portrait Layout */
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  margin-bottom: 25px;
}

.service-card-inner {
  display: flex;
  flex-direction: column;
}

.service-image {
  position: relative;
  height: 240px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-image .service-icon-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.service-icon-badge i {
  font-size: 1.4rem;
  color: #fff;
}

/* Features bar below image */
.service-features-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 15px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.service-features-bar span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #4b5563;
  background: #fff;
  padding: 4px 10px;
  border-radius: 15px;
  border: 1px solid #e5e7eb;
}

.service-features-bar span i {
  font-size: 0.7rem;
  color: var(--primary-color);
}

.service-content {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
}

.service-header {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.service-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.service-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Content Grid Layout - 2 columns */
.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.service-content-left,
.service-content-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Section Styling */
.service-section {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
}

.service-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: #374151;
}

/* Problem & Solution */
.problem-box,
.solution-box {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  border-left: 3px solid;
}

.problem-box {
  border-color: #ef4444;
  margin-bottom: 10px;
}

.solution-box {
  border-color: #22c55e;
}

.problem-box h5,
.solution-box h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.problem-box h5 {
  color: #ef4444;
}

.solution-box h5 {
  color: #22c55e;
}

.problem-box h5 i,
.solution-box h5 i {
  font-size: 0.8rem;
}

.problem-box p,
.solution-box p {
  font-size: 0.9rem;
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
}

/* Benefits List */
.benefits-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.4;
}

.benefits-list li i {
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Service Flow */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.flow-step .step-number {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-step span {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.4;
}

/* Duration Section */
.duration-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #bae6fd;
}

.info-item i {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #f0f9ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1rem;
  flex-shrink: 0;
}

.info-item div {
  display: flex;
  flex-direction: column;
}

.info-item .label {
  font-size: 0.7rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.info-item .value {
  font-size: 1rem;
  font-weight: 600;
  color: #0369a1;
}

/* CTA Button */
.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
  color: #fff;
}

.service-cta i {
  font-size: 0.9rem;
}

/* Hide old unused elements */
.service-features-overlay,
.service-header-old {
  display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-content-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 576px) {
  .layanan-hero h1 {
    font-size: 1.8rem;
  }

  .layanan-hero p {
    font-size: 0.95rem;
  }

  .layanan-hero {
    padding: 100px 0 50px;
  }

  .layanan-section {
    padding: 30px 0;
  }

  .service-image {
    height: 200px;
  }

  .service-content {
    padding: 18px 20px;
  }

  .service-content h3 {
    font-size: 1.2rem;
  }

  .service-description {
    font-size: 0.9rem;
  }
}

/* Extra Small Devices */
@media (max-width: 400px) {
  .layanan-hero h1 {
    font-size: 1.6rem;
  }

  .layanan-hero p {
    font-size: 0.9rem;
  }

  .service-content {
    padding: 20px 15px;
  }

  .service-content h3 {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.85rem;
  }

  .problem-box,
  .solution-box {
    padding: 12px;
  }

  .problem-box p,
  .solution-box p {
    font-size: 0.8rem;
  }

  .benefits-list li,
  .coa-group-list li {
    font-size: 0.8rem;
  }

  .flow-step {
    padding: 8px 12px;
  }

  .flow-step span {
    font-size: 0.75rem;
  }

  .service-cta {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .layanan-cta-section h2 {
    font-size: 1.3rem;
  }
}

/* Additional Info Box */
.additional-info {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.additional-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.additional-info i {
  color: #f59e0b;
  margin-right: 8px;
}

/* CoA Group List */
.coa-group-list {
  margin-bottom: 25px;
}

.coa-group-list h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.coa-group-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.coa-group-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #475569;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.coa-group-list li:hover {
  background: #e2e8f0;
  transform: translateX(5px);
}

.coa-group-list li i {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* Additional Service Styles */
.services-intro {
  padding: 60px 0;
  background: #fff;
}

/* Container akan mengikuti Bootstrap default */

.intro-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.intro-stat {
  text-align: center;
}

.intro-stat .number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.intro-stat .label {
  font-size: 0.9rem;
  color: #64748b;
}

/* CTA Section */
.layanan-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-align: center;
  color: #fff;
}

/* Container akan mengikuti Bootstrap default */

.layanan-cta-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.layanan-cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-btn-primary {
  background: #fff;
  color: var(--primary-color);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

.cta-btn-secondary {
  background: transparent;
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}