.services-hero {
    position: relative;
    overflow: hidden;
    height: 50vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 0;
  }
  

  .hero-content {
    background: rgba(255, 255, 255, 0.1); /* translucent white background */
    border-radius: 12px;
    padding: 2rem 3rem;
    text-align: center;
    color: white;
  
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;

    max-width: 600px; /* or 500px / adjust as needed */
    width: 90%;       /* makes it responsive on smaller screens */
    margin: 0 auto;   /* centers it horizontally */
  }

  #matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }
  
  .services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 2rem 1rem; /* 4rem top, 2rem sides, 1em bottom */
  }
  
  .service-box {
    background-color: #161b22;
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
    text-align: center;
  }

  .service-box h3 {
    background: linear-gradient(90deg, #8A2BE2, #1E90FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
  
  .service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
  
  .services-cta {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #111;
  }
  
  .cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #8A2BE2, dodgerblue);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
  }
  
  .cta-button:hover {
    transform: scale(1.05);
  }

  .logo-link {
    display: flex;
    align-items: center;
  }
  
  .logo-img {
    height: 40px; /* Adjust size as needed */
    width: auto;
    transition: transform 0.2s ease;
  }
  
  .logo-img:hover {
    transform: scale(1.05);
    cursor: pointer;
  }

  .tiered-packages {
    background: #0f1115; /* Dark background consistent with .services-cta */
    padding: 4rem 2rem;
    text-align: center;
    color: white;
  }
  
  .tiered-packages h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
  }
  
  .package-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .package-box {
    background: #161b22; /* Same as .service-box */
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2); /* Optional purple hue for flair */
    padding: 30px 20px;
    width: 300px;
    transition: transform 0.3s ease;
    color: white;
  }
  
  .package-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4); /* Enhanced hover effect */
  }
  
  .package-box h3 {
    background: linear-gradient(90deg, #8A2BE2, #1E90FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
  }
  
  .package-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: #ccc;
  }
  
  .package-box ul li {
    margin-bottom: 10px;
  }
  
  .package-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, #8A2BE2, dodgerblue);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
  }
  
  .package-btn:hover {
    transform: scale(1.05);
  }

@media (max-width: 768px) {
  .hero-content.glass-box {
    padding: 1.5rem 1.5rem;
    font-size: 0.9rem;
    transform: scale(0.95); /* slightly shrink it */
    max-width: 90%;
  }

  .hero-content.glass-box h1 {
    font-size: 1.4rem;
  }

  .hero-content.glass-box p {
    font-size: 1rem;
  }
}
