/* hero-image */
.hero-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  min-height: 85vh; /* Full viewport height */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Optional: fallback for very short screens like mobile landscape */
@media (max-height: 500px) {
  .hero-image {
    height: auto;
  }
}

/* Optional: Additional adjustments for very small screens */
@media (max-width: 480px) {
  .hero-image {
    padding: 20px;
    background-position: top center;
  }
}
.hero-text {
  text-align: center;
  color: #1877F2;
  max-width: 90%;
}

.hero-text h1 {
  font-size: 4rem;
  margin: 0.5em 0;
}

.hero-text p {
  font-size: 1.5rem;
}

/* Responsive text */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
    
  }

  .hero-text p {
    font-size: 1.2rem;
    
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
    
  }

  .hero-text p {
    font-size: 1rem;
  }
}
  .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     /* semi-transparent overlay */
    z-index: 1;
  }

  .hero-image .container {
    position: relative;
    z-index: 2; /* place content above overlay */
  }
 
  @media (max-width: 768px) {
    .text-end {
      max-height: 20vh;
      text-align: right !important;
    }
  }

  /* flipcard */
   .flip-card {
  background-color: transparent;
  width: 100%;
  height: 220px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);

  /* Flex centering */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  text-align: center;
}

.flip-card-front {
  background-color: #f1f1f1;
}

.flip-card-back {
  background-color: #0c60e8;
  color: white;
  transform: rotateY(180deg);
}

.flip-card-front img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.flip-card-front h3 {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.flip-card-back h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.flip-card-back p {
  font-size: 0.9rem;
  margin: 0;
}


/* hover join us card */
 .hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
  }


  
