

.container23 {
  position: relative;
  display: flex;
  gap: 0px;
  width: 100%;
  max-width: fit-content;
  height: 400px;
}

.card1 {
  flex: 1;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.3s ease, transform 0.23s ease;
}

/* Image fills the card */
.card1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Dark overlay */
.card1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Text overlay */
.card1 .card-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
   font-family: 'Montserrat', sans-serif;
  opacity: 0;
  transition: opacity 0.5s ease, bottom 0.5s ease;
  text-align: center;
  z-index: 2;
}

/* Hover effects (desktop) */
.card1:hover {
  flex: 3;
  transform: scale(1.05);
  z-index: 10;

}

.card1:hover img {
  transform: scale(1.1);
}

.card1:hover::before {
  opacity: 1;
}

.card1:hover .card-text {
  opacity: 1;
  bottom: 40px;
}

/* Non-hovered fade */
.card1:not(:hover) {
  opacity: 0.7;
}

/* ===========================
   📱 Responsive Media Queries
   =========================== */

/* Tablets (portrait & landscape) */
@media (max-width: 1024px) {
  .container23 {
    height: 300px;
  }

  .card1 .card-text {
    font-size: 1.5rem;
  }
}

/* Mobile large (phablets & big phones) */
@media (max-width: 768px) {
  .container23 {
    flex-direction: column;
    height: auto;
  }

  .card1 {
    flex: none;
    height: 250px;
  }

  .card1 .card-text {
    font-size: 1.3rem;
    bottom: 15px;
  }
}

/* Small mobile (<=480px) */
@media (max-width: 480px) {
  .card1 {
    height: 200px;
  }

  .card1 .card-text {
    font-size: 1rem;
    bottom: 10px;
    padding: 0 10px;
  }
}

    /* === Loader Container === */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #111;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      flex-direction: column;
    }

    /* === Company Logo === */
    .logo {
      width: 270px;
      animation: pulse 2s infinite;
      -webkit-box-reflect: below 5px linear-gradient(transparent, rgba(255,255,255,0.2));
    }

    /* Logo reflection glow effect */
    @keyframes pulse {
      0% { transform: scale(1); opacity: 0.7; }
      50% { transform: scale(1.2); opacity: 1; }
      100% { transform: scale(1); opacity: 0.7; }
    }

    /* === Main Website Content === */
    #content {
      display: none; /* Hidden until loader finishes */
    }

.map-container iframe {
  width: 100%;
  height: 350px; /* adjust height */
  border: none;
  border-radius: 12px; /* rounded corners */
  overflow: hidden;    /* ensures map respects border-radius */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* shadow */
}
