
.hero-wrap.hero-wrap-3 {
    width: 100%;
    height: auto;
    position: relative;
    background-image:url(../../images/home/kcc.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    z-index: 0;
  }
  
  .hero-wrap.hero-wrap-3 .overlay {
    width: 100%;
    opacity: .4;
    background: #232429;
  }
  .hero-wrap.hero-wrap-3 .slider-text {
    height: 500px;
  }
  /* Title Styling */
.stem-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0d2a4a;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.stem-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #034EA2;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: 5px;
}

/* Card Container */
.stem-box {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 20px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
  border: 1px solid rgba(0, 123, 255, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stem-box:hover {
  background: radial-gradient(circle at top right, #b3e5fc, transparent 70%);
}
.stem-box h5{
  font-size: 1.5rem;
}
.stem-box h6{
  font-size: 1.2rem;
 
}
/* Ensure all col-md-6 cards are equal height */
.stem-equal .row {
  display: flex;
  flex-wrap: wrap;
}

.stem-equal .col-md-6 {
  display: flex;
  flex: 0 0 50%;
  max-width: 50%;
}

.stem-equal .stem-box {
  display: flex;
  flex-direction: column;
  flex: 1;
}


/* Icon Styling */
.stem-box-icon {
  font-size: 2.8rem;
  color: #034EA2;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.stem-box:hover .stem-box-icon {
  transform: scale(1);
}

/* Highlight Text */
.stem-highlight {
  font-size: 1.6rem;
  color: #198754;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* List Styling */
.stem-box ul {
  padding-left: 18px;
  list-style-type: disc;
}

.stem-box ul li {
  margin-bottom: 12px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Wide Card */
.stem-box-wide {
  background: white;
}

.stem-box-wide ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-left: 0;
  list-style: none;
  margin-top: 15px;
}

.stem-box-wide ul li {
  flex: 1 1 200px;
  background: #f1faff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(13, 110, 253, 0.1);
  border-left: 3px solid #034EA2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .stem-box-wide ul li {
    flex: 1 1 100%;
  }
  .stem-box-wide ul { 
    flex-direction: column;
  }
  .stem-box {
    padding: 10px 10px;
  }
  .stem-title {
    font-size: 2rem;
  }
}
  