  :root {
    --primary-color: #182942;
    --primary-dark: #1a3a6a;
    --primary-accent: #ebd19e;
    --light-5: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
  }

  /* Enhanced Centered Header */
  .section-header.centered-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    color: var(--light-5);
    position: relative;
    overflow: hidden;
  }
  
  .section-header.centered-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23ebd19e" fill-opacity="0.05" width="50" height="50" x="50" y="50"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
  }
  
  .section-header.centered-header h1 {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 15px;
    position: relative;
    font-family: var(--heading-font);
  }
  
  .section-header.centered-header .header-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    position: relative;
  }
  
  /* Optional: Add a subtle gold accent to the header */
  .section-header.centered-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-accent);
    border-radius: 2px;
  }

  /* Rest of your CSS styles from the original */
  .service-intro {
    text-align: center;
    max-width: 800px;
    margin: 80px auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
  }

  .services-container {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
  }

  .services-list {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .services-list .service-card + .service-card {
  margin-top: 10px;
}


  .service-card {
    background: var(--light-5);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-left: 3px solid transparent;
    cursor: pointer;
  }

  .service-card:hover, .service-card.active {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-color: var(--primary-accent);
  }

  .service-card.active {
    background-color: rgba(235, 209, 158, 0.1);
  }

  .service-card-header {
    display: flex;
    align-items: center;
  }

  .service-icon {
    flex-shrink: 0;
    margin-right: 20px;
  }

  .service-icon i {
    font-size: 1.5rem;
    color: var(--primary-accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 41, 66, 0.05);
    transition: var(--transition);
  }

  .service-card:hover .service-icon i,
  .service-card.active .service-icon i {
    background: var(--primary-accent);
    color: var(--primary-color);
  }

  .service-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
    font-family: var(--body-font);
  }

  .service-detail-container {
    width: 55%;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    height: fit-content;
  }

  .service-detail {
    background: var(--light-5);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: none;
    height: 100%;
  }

  .service-detail.active {
    display: block;
  }

  .service-detail h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-family: var(--heading-font);
  }

  .service-detail p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: var(--body-font);
  }

  .service-features {
    margin-top: 30px;
  }

  .service-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    font-family: var(--body-font);
  }

  .service-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-accent);
    border-radius: 50%;
  }

  /* Mobile-specific styles */
  .mobile-service-detail {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding:0;
    margin: 0;
    background: rgba(235, 209, 158, 0.05);
    border-left: 3px solid var(--primary-accent);
    border-radius: 0;
    /* padding-left: 10px;
    margin-top: 10px;
    border-left: 3px solid var(--primary-accent);
    background: rgba(235, 209, 158, 0.05);
    border-radius: var(--border-radius);
    font-family: var(--body-font); */
  }

  .mobile-service-detail.active {
    display: block;
  }

  .mobile-service-features {
    margin-top: 15px;
    padding-left: 20px;
  }

  .mobile-service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
  }

  .mobile-service-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-accent);
    border-radius: 50%;
  }

  .service-card.active .mobile-service-detail {
    max-height: 1000px; /* adjust if you expect longer content */
    padding: 20px 15px;
  }

  @media (max-width: 992px){
  .mobile-service-detail {
    display: block;
    overflow: hidden;
    max-height: 0;
    margin: 0; 
    transition: max-height 0.4s ease, padding 0.3s ease;
    border-left: 3px solid var(--primary-accent);
    background: transparent;
    border-radius: 0;
    border-left: 3px solid transparent;
    font-family: var(--body-font);
    padding: 0 15px;
  }

  .service-card.active .mobile-service-detail {
    border-left-color: var(--primary-accent);
    background: rgba(235, 209, 158, 0.05);
    padding: 20px 15px;
    max-height: 1000px; /* high enough to fit any content */
    margin-top: 10px;
  }
 
   
    .services-container {
      flex-direction: column;
    }
    
    .services-list,
    .service-detail-container {
      width: 100%;
    }
    
    .service-detail-container {
      position: relative;
      top: auto;
      margin-top: 40px;
    }

    /* Hide desktop details on mobile */
    .service-detail {
      display: none !important;
    }

    .service-card {
      margin-bottom: 0;
      transition: all 0.3s ease;
      border-bottom: 1px solid var(--border-color);
  }

  .service-card.active {
    margin-bottom: 20px;
  }

  .mobile-service-detail {
    display: block;
    overflow: hidden;
    max-height: 0;
    padding: 0;
    margin: 0;
    transition: max-height 0.4s ease, padding 0.3s ease, margin 0.3s ease;
    background: transparent;
    border-left: 3px solid transparent;
    border-radius: 0;
  }

  .service-card.active .mobile-service-detail {
    max-height: 1000px;
    padding: 20px 15px;
    margin-top: 10px;
    background: rgba(235, 209, 158, 0.05);
    border-left-color: var(--primary-accent);
  }
}



  @media (max-width: 768px) {
    .section-header.centered-header h1 {
      font-size: 2.2rem;
    }
    
    .service-detail {
      padding: 30px;
    }

    .service-icon i {
      width: 50px;
      height: 50px;
      font-size: 1.3rem;
    }
  }

.toggle-arrow {
  margin-left: auto;
  font-size: 1rem;
  color: var(--primary-accent);
  transition: transform 0.3s ease;
}

/* Rotate on active */
.service-card.active .toggle-arrow {
  transform: rotate(180deg);
}