.reinvent-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 85px;
  /* background: url("bg.png") no-repeat center center/cover; */
  background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
  height: 55vh; /* Adjusts height */
  color: #000000;
}

.text-container {
  display: flex;
  width: 100%;
  justify-content: space-between; /* Align heading to left and paragraph to right */
  align-items: flex-start; /* Aligns items to the top */
}

.headline {
  font-size: 5rem;
  line-height: 1.2;
  font-weight: 900;
  max-width: 50%; /* Restrict heading to 50% width */
  text-align: left;
}

.highlight {
  color: #000000;
}

.arrow {
  color: #000000;
  font-weight: bold;
  font-size: 6rem;
}

.description {
  font-size: 2rem;
  line-height: 1.8;
  max-width: 50%; /* Restrict description to 50% width */
  text-align: left; /* Aligns paragraph text to the right */
  margin-left: 20px;
}

.cta {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 3rem;
  margin-top: 10px;
}

.cta span {
  color: #000000;
  font-weight: bold;
}
/* Responsiveness for Mobile (Below 768px) */
@media (max-width: 768px) {
  .reinvent-section {
    padding: 40px;
    height: auto;
  }

  .text-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .headline,
  .description {
    max-width: 100%;
    font-size: 3rem; /* Decrease font size for smaller screens */
  }

  .headline {
    font-size: 3.5rem;
  }

  .description {
    font-size: 1.6rem;
    margin-left: 0;
    margin-top: 20px;
  }

  .cta {
    font-size: 2rem;
    margin-top: 20px;
  }
}
/*----------------------------------------------------- end------------------------------------------- */
/*---------------------------------------------------- end -----------------------------------------------*/
.container-three {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-top: 40px;
padding: 0 80px; /* Added padding here */
}

.card {
background-color: #f5f5f5;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
width: 23%; /* Adjusts to 4 cards per row on larger screens */
padding: 30px;
transition: transform 0.3s ease;
margin-bottom: 30px;
display: flex; /* Added flex for vertical alignment */
flex-direction: column; /* Added flex for vertical alignment */
justify-content: space-between; /* Distribute space */
}

.card:hover {
transform: translateY(-10px);
}

.icon img {
width: 60px;
height: 60px;
margin-bottom: 20px;
}

.card h3 {
color: #000000;
font-size: 22px;
margin-bottom: 15px;
}

.card p {
color: #333333;
font-size: 16px;
margin-bottom: 20px;
flex-grow: 1; /* Allows paragraph to take available space */
}

.card a {
color: #000000;
text-decoration: none;
font-weight: bold;
font-size: 16px;
margin-top: auto; /* Pushes the link to the bottom */
}

a:hover {
text-decoration: underline;
}
/* Styles for medium screens */
@media (max-width: 1024px) {
.card {
width: 30%; /* 3 cards per row */
}
.container-three {
padding: 0 40px; /* Adjusted padding */
}
}

/* Styles for small screens */
@media (max-width: 768px) {
.card {
width: 47.6%; /* 2 cards per row */
min-height: 35vh; /* Changed height to min-height */
}
.container-three {
padding: 0 20px; /* Adjusted padding */
}
}

/* Styles for extra small screens */
@media (max-width: 480px) {
.card {
width: 100%; /* 1 card per row */
padding: 30px;
min-height: 40vh; /* Changed height to min-height */
}

.container-three {
padding: 0 20px; /* Adjusted padding */
}
}