body {
  background: #ffffff;
}
  
.flex {
  display: flex;
  align-items: center;
}
  
  .container {
    position: relative;
    display: flex;
    width: 100%;
    margin: auto;
    z-index: 1;
    background: white;
    box-shadow: 0 0 10px 0 black;
  }
  
  .generalInfo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: red;
    font-size: 12px;
    justify-content: center;
  }
  
  /* WAVE HERO SECTION */
  .services-wave-hero {
    margin-top: 100px; /* below fixed navbar */
    position: relative;
    width: 100%;
    background: rgb(255, 71, 71);
    color: #fff;
    text-transform: none;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wave-hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
  }
  .wave-hero-content h1 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  .wave-hero-content p {
    font-size: 1.2rem;
    line-height: 1.4;
  }
  /* The wave at the bottom of hero transitions to white */
  .wave-hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: block;
  }
  
  /* ANGLED INTRO SECTION */
  .services-angled-intro {
    position: relative;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
    padding: 3rem 1rem;
    text-align: center;
    text-transform: none;
  }

  .angled-content {
    max-width: 900px;
    margin: 0 auto;
  }

  .angled-content h2 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    color: black;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-left: 1rem;
    display: inline-block;
  }
  
  .angled-content p {
    font-size: 1rem;
    color: #000;
    line-height: 1.5;
    max-width: 700px;
    margin: 0.5rem auto;
  }
  
  /* SERVICES CARDS */
  .services-lively-cards {
    background: #f9f9f9;
    padding: 3rem 1rem;
    text-align: center;
    text-transform: none;
  }

  .services-lively-cards h2 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: black;
    text-transform: uppercase;
    padding-left: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
  }

  .services-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .service-card {
    position: relative;
    background: #f9f9f9;
    height: 250px;
    width: 250px;
    display: grid;
    margin: 30px;
    cursor: pointer;

    justify-content: center;
    justify-items: center;
    align-items: center;
    user-select: none;

    transition: transform 0.5s, box-shadow 0.5s;
  }
  .service-card:hover {
    color: black;
    transition: .5s;
    box-shadow: 1px 1px 10px 1px rgb(255, 84, 84);
    
    transform: scale(1.2);
    transition: transform 0.3s;
  }
  .service-icon {
    width: 40px;
    margin-bottom: 1rem;
    /* Center the icon inside the card’s text flow */
  }
  .service-icon img {
    width: 100%;
    height: auto;
    /* optional color tweak: red icon */
  }
  .service-card h3 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: black;
  }
  .service-card p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
  }
  
  /* CTA WITH ANGLED TOP */
  .services-lively-cta {
    position: relative;
    background: #ececec;
    padding: 3rem 1rem 4rem;
    text-align: center;
    text-transform: none;
  }
  .cta-top-angle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: block;
    transform: translateY(-100%);
  }
  .cta-lively-content {
    max-width: 700px;
    margin: 0 auto;
  }
  .cta-lively-content h2 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: black;
    padding-left: 1rem;
    display: inline-block;
    margin-bottom: 1rem;
  }
  .cta-lively-content p {
    font-size: 1rem;
    color: #000;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  .cta-lively-button {
    display: inline-block;
    background: rgb(255, 71, 71);
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border: 2px solid rgb(255, 71, 71);
    transition: all 0.3s ease;
    text-transform: uppercase;
  }
  .cta-lively-button:hover {
    background: #fff;
    color: rgb(255, 71, 71);
    cursor: pointer;
  }

@media (max-width: 768px) {
  .wave-hero-content h1 {
    font-size: 2rem;
  }
  .wave-hero-content p {
    font-size: 1rem;
  }
  .angled-content h2 {
    font-size: 1.6rem;
  }
  .services-lively-cards h2 {
    font-size: 1.6rem;
  }
  .services-card-grid {
    grid-template-columns: 1fr;
  }
  .cta-lively-content h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .wave-hero-content h1 {
    font-size: 1.8rem;
  }
  .wave-hero-content p {
    font-size: 0.95rem;
  }
  .angled-content h2 {
    font-size: 1.3rem;
  }
  .services-lively-cards h2 {
    font-size: 1.4rem;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  .cta-lively-content h2 {
    font-size: 1.2rem;
  }
}