/* =========================
   Hero Section
========================= */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
}

.video-hero {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}


.hero-info {
  position: relative;
  z-index: 1;
  text-align: left;
  color: white;
  max-width: 100%;
  left: 160px;
  top: 30%;
}

.hero-info p {
  font-size: 28px;
  font-weight: 300;
  max-width: 80%;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

.hero-info img {
  width: 789px;
  max-width: 100%;
}

/* =========================
   About Section
========================= */
.about-section {
  min-height: max-content;
  padding: 40px 60px;
  display: flex;
  justify-content:  space-between;
  align-items: center;
  color: #001845;
  box-sizing: border-box;
}

.about-wrapper {
  width: 100%;
  display: flex;
  gap: 4rem;
  justify-content: center;
  align-items: center;
}

.about-section-info {
  width: 476px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-bolierplate {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-bolierplate a {
  font-size: 24px;
  text-decoration: none;
  color: #CB9C58;
}

.read-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* About Cards */
/* Default - Desktop */
.about-section-wrapper {
  position: relative;
  width: 182px;
  height: 282px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.about-section-wrapper img {
    /* 🔧 Important fix for scale animation */
    width: 100%;
    height: 100%;
  transition: transform 0.3s ease;
  transform: scale(1); /* ✅ Correct use */
  will-change: transform; /* 💡 Improves performance */
}

/* Hover scale effect */
.about-section-wrapper img:hover {
  transform: scale(1.05);
}

/* Logo Overlay */

.about-cont-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}


.about-cont-img {
  width: 1005;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}


.about-cont-img video {
  width: 100%;
  max-width: 845px;
  height: auto;
  border-radius: 8px;
}

.about-cont {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-wrap: wrap;
  gap: 2rem;
}

.card-title-home
 {
    color: #001845 !important;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 130px;
    height: 100%;
}

/* Tablet */
@media screen and (max-width: 1024px) {
  .about-section-wrapper {
    width: 220px;
    height: 440px;
  }
}

/* =========================
   Responsive: Tablet
========================= */
@media screen and (max-width: 768px) {
  .hero-section {
    height: 450px;
  }

  .hero-info {
    left: 20px;
    padding: 60px 0;
  }

  .hero-info p {
    font-size: 1.5rem;
    max-width: 100%;
  }

  .hero-info img {
    width: 100%;
    max-width: 320px;
  }

  .about-section {
    padding: 40px 20px;
  }

  .about-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .about-section-info {
    width: 100%;
    padding: 0 10px;
  }

  .about-bolierplate {
    gap: 2rem;
  }

  .about-cont-img video {
    width: 100%;
  }

   .about-section-wrapper {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 2 / 4; /* Maintain portrait shape */
  }

  .about-section-wrapper img:first-child {
    height: 100%;
  }

  .about-cont {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 1rem;
}
}

/* =========================
   Responsive: Mobile
========================= */
@media screen and (max-width: 480px) {
  .hero-section {
    height: auto;
    padding: 0;
  }

  .video-hero {
    height: 220px;
  }

  .hero-info {
    left: 0;
    padding: 1rem;
    text-align: center;
  }

  .hero-info p {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .hero-info img {
    padding: 0 1rem;
  }

  .about-section {
    padding: 20px 16px;
  }

  .about-bolierplate a {
    font-size: 18px;
  }

  .about-cont-img video {
    height: auto;
  }

   .about-section-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
  }
}
