.flip-card {
  background-color: transparent;
  width: 100%;
  max-width: 500px;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  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: 8px;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  background-color: #d4edff;
  color: white;
  display: flex;
  flex-direction: column;     /* ← Stack elements vertically */
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 20px;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  border-radius: 8px;
}

.flip-card-back h3 {
  margin:60px 0 10px 0;
  width: 100%;
}
.flip-card-back p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}



.pointy-box {
  position: relative;
  background-color: rgba(255, 255, 255, 1);
  color: rgb(255, 255, 255);
  padding: 50px;
  width: fit-content;
  max-width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
  z-index: 1;
  clip-path: polygon(
    10px 0, calc(100% - 10px) 0,
    100% 10px, calc(100% - 10px) 20px,
    100% 30px, calc(100% - 10px) 40px,
    100% 50px, calc(100% - 10px) 60px,
    100% 70px, calc(100% - 10px) 80px,
    100% 90px, calc(100% - 10px) 100px,
    100% 110px, calc(100% - 10px) 120px,
    100% 130px, calc(100% - 10px) 140px,
    100% 150px, calc(100% - 10px) 160px,
    100% 170px, calc(100% - 10px) 180px,
    100% 190px, calc(100% - 10px) 200px,

    10px 200px, 0 190px, 10px 180px, 0 170px,
    10px 160px, 0 150px, 10px 140px, 0 130px,
    10px 120px, 0 110px, 10px 100px, 0 90px,
    10px 80px, 0 70px, 10px 60px, 0 50px,
    10px 40px, 0 30px, 10px 20px, 0 10px,
    10px 0
  );
}






.video-background-section {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   z-index: -1;
   pointer-events: none;
   overflow: hidden;
}

.video-background-section iframe {
    width: 100vw;
    height: 56.25vw; /* Maintain 16:9 */
    min-height: 100%;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Overlay to darken the video */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* 0.5 = 50% darkness */
    z-index: 1;
}



