
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}
.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
}

.hero-content-left-center {
  position: absolute;
  bottom: 180px; /* adjust this to move up/down */
  left: 80px; /* adjust this for left spacing */
  color: #fff;
  max-width: 600px;
}

.hero-content-left-center h1 {
  font-size: 64px; /* bigger heading */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content-left-center a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--btn-color);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  border-radius: 6px;
  transition: 0.3s;
}

/* ============= RESPONSIVE SLIDER ============= */
@media (max-width: 768px) {
  .hero-content-mid h1 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-content-left-center h1 {
    font-size: 28px;
  }
  .hero-content-left-center a {
    padding: 10px 25px;
    font-size: 14px;
  }
}


.who-serve-section {
  padding: 80px 20px;
  text-align: center;
}

.who-serve-section .section-title {
  font-size: 3.5rem;
  font-weight: 700;
  /* margin-bottom: 50px; */
  color: #1b1b1b;
}

.who-serve-section .container p{
  margin-bottom: 50px;
}

.who-serve-grid {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 30px;
  max-width: 1150px;
  margin: 0 auto;
}

.who-serve-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.who-serve-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
/* .who-serve-card {
  padding-top: 10px;
  justify-items: center;
  background: linear-gradient(135deg, #0F0F1B, #0B1045);

  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
 
}

.who-serve-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}


.who-serve-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 20px 20px 10px;
} */

.who-serve-card {
  position: relative;
  padding-top: 10px;
  justify-items: center;
  background: gray;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ✨ Hover transformation */
.who-serve-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  background: linear-gradient(135deg, #0D1240, #0D1240);
}

/* ✨ Diagonal line effect */
.who-serve-card::before,
.who-serve-card::after {
  content: "";
  position: absolute;
  width: 180%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  top: 0;
  left: -40%;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 0; /* behind text */
}

.who-serve-card::after {
  top: auto;
  bottom: 0;
  transform: rotate(-45deg);
}

/* Show lines on hover */
.who-serve-card:hover::before,
.who-serve-card:hover::after {
  opacity: 1;
}

/* Ensure content stays above diagonal lines */
.who-serve-card h3,
.who-serve-card p,
.who-serve-card a {
  position: relative;
  z-index: 1;
}

.who-serve-card h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin: 20px 20px 10px;
} 

.who-serve-card p {
  font-size: 1.1rem;
  color: #fff;
  margin: 0 20px 25px;
  line-height: 1.6;
}

.icon-set {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    margin-top: 5%;
}

.icon-set img {
  width: 40px;
  height: 40px;
}

.who-serve-card a {
  color: var(--accent-color, #ff6600);
  text-decoration: none;
  font-weight: 600;
}

/* ✅ Responsive Design */
@media (max-width: 992px) {
  .who-serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .who-serve-grid {
    grid-template-columns: 1fr;
  }

  .who-serve-card img {
    height: 200px;
  }

  .icon-set img {
  width: 40px;
  height: 40px;
}
}
