p.text-gray-700.leading-relaxed.mx-auto.text-left-p {
    text-align: left;
}
.boldtexts {
    font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  padding: 1em;
}

.card {
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card h3 {
  margin-top: 15px;
  font-size: 22px;
  color: #4a5560;
  font-weight: 600;
}
.video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 🔥 FIXED HEIGHT RATIO */
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.video-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  z-index: 2;
}
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 🔥 keeps perfect height */
  overflow: hidden;
  border-radius: 12px;
}
.grid.seconds.mb-8 {
    padding: 0;
}
.ri-play-fill:before {
    font-size: 35px;
}
/* video fix */
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #000; /* optional: black bars */
}
/* 📱 Responsive */
@media (max-width: 1024px) {
.grid {
    padding: 0; 
}
}
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card h3 {
    font-size: 20px;
  }
}

.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "left-top right"
    "left-bottom right";
  gap: 30px;
}

/* Assign areas */
.custom-grid .grid-item:nth-child(1) {
  grid-area: left-top;
}

.custom-grid .grid-item:nth-child(2) {
  grid-area: left-bottom;
}

.custom-grid .grid-item.big {
  grid-area: right;
}

/* Image styling */
.grid-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .custom-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left-top"
      "left-bottom"
      "right";
  }
}