.flip-card {
  background-color: transparent;
  width: 100%;
  height: 150px;
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(.4,2,.3,1);
  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;
  box-shadow: 0 2px 8px rgba(142, 26, 26, 0.418);
}
.flip-card-front {
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flip-card-back {
  background: #fff;
  color: #222;
  transform: rotateY(180deg);
  padding: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flip-card-lg {
  width: 100%;
  height: 350px;
  perspective: 1000px;
}
.flip-card-lg .flip-card-inner {
  height: 350px;
}
.flip-card-lg .flip-card-front,
.flip-card-lg .flip-card-back {
  height: 350px;
}
.flip-card-text {
  font-size: 1.35rem;
  line-height: 1.5;
}


.logo-shine-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.logo-shine-effect {
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  animation: shine 2.5s infinite;
}

@keyframes shine {
  0% { left: -120%; }
  60% { left: 120%; }
  100% { left: 120%; }
}


.hero-dark-img {
  width: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  background: #212529;
  display: block;
}

/* 📱 Small devices (≤ 576px) */
@media (max-width: 576px) {
  .hero-dark-img {
    height: 320px;
  }
    .hero-caption h1 {
    font-size: 1.5rem;
  }
}

/* 📱 Medium devices (≥ 577px and ≤ 768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .hero-dark-img {
    height: 400px;
  }
  .hero-caption h1 {
    font-size: 1.8rem;
  }
}

/* 💻 Large devices (≥ 769px and ≤ 992px) */
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-dark-img {
    height: 480px;
  }
  .hero-caption h1 {
    font-size: 2.2rem;
  }
}

/* 🖥️ Extra large (≥ 993px and ≤ 1200px) */
@media (min-width: 1201px) and (max-width: 1600px) {
  .hero-dark-img {
    height: 600px;
  }
  .hero-caption h1 {
    font-size: 3rem;
  }
}

/* 🖥️ Ultra wide (≥ 1201px) */
@media (min-width: 1601px) {
  .hero-dark-img {
    height: 850px; /* or even larger if you want */
  }
  .hero-caption h1 {
    font-size: 4rem;
  }
}

.hero-caption {
  width: 100%;
  text-align: left;
  max-width: 100%;
}

/* ✅ Make text bigger */
.hero-caption h1 {
  margin-bottom: 60px;
  text-align: left;
}



/* ✅ Typing animation (letter by letter) */
.typewriter {

  white-space: nowrap;
  overflow: hidden;
  border-left: 2px solid rgba(255,255,255,0.75); /* blinking cursor */

  animation: typing 2.2s steps(30, end), blink 0.7s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 50%; }
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: rgba(255,255,255,0.75); }
}
