/*.solutions-header {
   width: 100%;
   height: 70vh;
    display: flex;
    background:url("../img/dark-green-bg.jpg") no-repeat;
    background-size:cover;
    min-height: fit-content;
}*/

.solutions-header {
    width: 100%;
    height: 70vh;
    min-height: 500px; /* optional safety for small screens */
    display: flex;
    align-items: center;
    background: url("../img/dark-green-bg.jpg") no-repeat center;
    background-size: cover;
}

/* Text container inside header */
.header-content {
  width: 50%;
    height: 100%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    color: var(--white);
    align-items: flex-start;
}
.header-content p{
    color: var(--white);
    padding: 1rem 0;

    
}

/* right side of header with background image */

.solutions-header-img{
   width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
   
}
/* Background shape image */
.solutions-header-img  img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--blue));
   
}



/* CTA Section Styles */


.cta-wrapper {
    width: 100%;
    height: auto;
    background: linear-gradient(45deg, #51afdc, #8df39b);
    color: var(--white, #fff);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-sizing: border-box;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap; /* allows content to wrap on smaller screens */
    gap: 2rem; /* space between items */
}

.center-content {
    text-align: center;
}



@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;  
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-wrapper {
        padding: 2rem 1rem; 
    }
}
/*@media (max-width: 768px) {
    .solutions-header {
        height: 60vh;
        padding: 0;
        gap: 0;
    }

    .header-content,
    .solutions-header-img {
        width: 100%;
        padding: 0;
        gap: 0;
    }

    .solutions-header {
        padding: 2rem;
        gap: 0;
        flex-direction:column-reverse;
    }
}
*/@media (max-width: 768px) {
  .solutions-header {
    flex-direction: column-reverse;
    height: auto;
    min-height: unset;
  }

  .header-content,
  .solutions-header-img {
    width: 100%;
  }

  .header-content {
    padding: 1rem;
    box-sizing: border-box;
    align-items: left;
    text-align: left;
  }

  .solutions-header-img {
    overflow: hidden;
  }

  .solutions-header-img img {
    max-height: 250px;
  }
}
