/* General Container */
.use-cases-container {
  padding: 40px 40px; /* Increase padding for left and right */
  margin: 0 auto;
  font-family: Montserrat;
/*   max-width: 1300px; /* Limits the width for large screens */ 
	margin-top: 60px;
}

/* Upper Heading */
.upper-heading {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.upper-heading .line {
  width: 50px;
  height: 2px;
  background-color: #000000;
  margin-right: 10px;
}

.upper-heading .title {
/*   font-size: 14px;
  font-weight: bold; */
  color: #314052;
  text-transform: uppercase;
	font-family: Geist;
font-size: 18px;
font-weight: 400;
line-height: 26px;
text-align: left;
text-underline-position: from-font;
text-decoration-skip-ink: none;

}

/* Top Section (Heading and Description) */
.text-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;

}

.heading {
 flex: 1;
  max-width: 40%;



}

.heading h2 {
 
  margin: 0;
	font-family: Montserrat;
font-size: 38px;
font-weight: 700;
line-height: 45.6px;
text-align: left;
text-underline-position: from-font;
text-decoration-skip-ink: none;
color:#0E1A28;
}

.description {
  flex: 1;
  max-width: 40%;
  text-align: right;
}

.description p {
  font-size: 18px;
  color: #646464;
  line-height: 1.6; /* Good line height for paragraph text */
  white-space: normal; /* Allows line breaking */
	text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .text-content {
    flex-direction: column;
    text-align: center;
    padding-left: 10px; /* Reduce padding for smaller screens */
    padding-right: 10px;
  }

  .heading,
  .description {
    max-width: 100%;
    text-align: center;
  }
}

/* Cards Section */
.use-case-cards {

/* 	    margin-top: 90px; */
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.use-case-card {
  background-color: #fff;
    border-radius: 25px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 297px;
  padding: 0px 27px 40px 23px;
  position: relative;
  transition: transform 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
}

/* Icon Styling */
.card-icon-wrapper {
  width: 40px;
  height: 40px;
  background-color: #80D34E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 15px;
  left: 15px;
}

.card-icon-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Card Title and Description */
.card-text {
  margin-top: 60px;
  text-align: left;
}

.card-title {
  font-size: 16px;
  color: #0E1A28;
  margin: 0 0 5px;
  font-weight: bold;
}

.card-description {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
	    margin-top: -9px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .use-case-cards {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row on tablets */
  }
}

@media (max-width: 768px) {
  .text-content {
    flex-direction: column;
    text-align: center;
  }

  .use-case-cards {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on smaller screens */
    padding-left: 10px; /* Adjust padding for smaller screens */
    padding-right: 10px;
  }
}

@media (max-width: 480px) {
  .use-case-cards {
    grid-template-columns: 1fr; /* Single card per row on mobile */
    padding-left: 5px; /* Further adjust padding for mobile */
    padding-right: 5px;
  }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Upper Heading */
  .upper-heading {
    flex-direction: column; /* Stack line and title vertically */
    align-items: flex-start; /* Align content to the left */
    margin-bottom: 20px;
  }

  .upper-heading .line {
/* margin-bottom: 30px;   */
    width: 100%; /* Optional: make the line span the full width */
  }

  .upper-heading .title {
    text-align: left;
    font-size: 12px; /* Adjust font size for better readability */
  }

  /* Text Content */
  .text-content {
    flex-direction: column; /* Stack heading and description vertically */
    align-items: center; /* Center align items */
    margin-bottom: 20px;
    text-align: center; /* Center text for both heading and description */
  }

  .text-content .heading,
  .text-content .description {
    max-width: 100%; /* Allow full width for smaller screens */
    text-align: center; /* Center text for both sections */
  }

  .text-content .description p {
    font-size: 14px; /* Adjust font size for smaller screens */
    line-height: 1.4; /* Slightly tighter line height for compact view */
    padding: 0 10px; /* Add padding for readability */
  }
}
@media (max-width: 490px) {
  /* Upper Heading */
.upper-heading {
         display: flex;
        flex-direction: row-reverse;
        margin-bottom: 15px;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: center;
}

.upper-heading .title {
  order: 1; /* Display title first */
  font-size: 12px;
  font-weight: bold;
  color: #2c2c2c;
  text-transform: uppercase;
/*   margin-right: 10px; /* Add spacing between the title and the line */ */
}

.upper-heading .line {
  order: 2; /* Display line after title */
  width: 30px;
  height: 2px;
  background-color: #000000;
}


  .upper-heading .title {
    font-size: 12px; /* Reduce font size for better fit */
    font-weight: bold;
    text-transform: uppercase;
    color: #2c2c2c;
  }

  /* Text Content */
  .text-content {
    flex-direction: column; /* Stack heading and description vertically */
    align-items: center; /* Center align items */
    text-align: center; /* Center text for both heading and description */
    margin-bottom: 20px; /* Reduce bottom margin */
    padding: 0 15px; /* Add padding for better spacing */
  }

  .text-content .heading {
    max-width: 100%; /* Allow full width for smaller screens */
  }

  .text-content .heading h2 {
    font-size: 24px; /* Adjust heading size for smaller screens */
    line-height: 1.3; /* Improve readability */
  }

  .text-content .description {
    max-width: 100%; /* Allow full width for smaller screens */
    margin-top: 10px; /* Add spacing between heading and description */
  }

  .text-content .description p {
    font-size: 14px; /* Reduce font size for better fit */
    line-height: 1.5; /* Maintain readability */
    color: #646464;
    padding: 0 10px; /* Add padding for spacing */
  }
}
