.brand-wrapper {
  position: relative;
  z-index: 0; /* keeps each card isolated */
}

.brand-card {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
  z-index: 1;
}

.brand-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* prevent neighbor shifting */
.brand-card:hover {
  transform: translateY(-5px);
  z-index: 2;
}

/* Overlay text animation (from top, partial coverage) */
.hover-text {
  position: absolute;
  top: -40%; /* start hidden above the image */
  left: 0;
  width: 100%;
  height: 45%; /* covers top 30% of the image */
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: flex;
  flex-direction: column; /* stacked layout for title + timing */
  align-items: center;
  justify-content: flex-start; /* text stays near top */
  padding-top: 12px;
  font-size: 18px;
  font-weight: 500;
  opacity: 0;
  transition: top 0.5s ease, opacity 0.5s ease;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  pointer-events: none; /* hover not blocked */
}

.brand-wrapper:hover .hover-text {
  top: 0;
  opacity: 1;
}

/* inner texts */
.hover-title {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 6px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.hover-time {
  font-size: 15px;
}
.hover-time{
  font-weight: 400 !important;
}
.hover-contact{
  font-weight: 400;
}
/* Logo and name (unchanged) */
.brand-logo {
  position: absolute;
  bottom: 30px;
  left: 15px;
  width: 60px;
  height: 69px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
  border: 1px solid black;
  margin-bottom: 30px;
}

.brand-logo img {
  max-width: 95%;
  height: auto;
}

.brand-name {
  font-size: 23px;
  font-weight: 400;
  color: black;
  margin-top: 40px;
  text-transform: capitalize;
  letter-spacing: 1px;
  cursor: pointer;
}
.hover-contact {
  font-size: 15px;
  margin-top: 4px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-icon {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 10px;
  transition: transform 0.3s;
}

.brand-wrapper:hover .arrow-icon {
  transform: translateX(5px);
}

hr {
  border: none;
  border-bottom: 1px solid #000000;
  margin-top: 15px;
}

/* Follower styles */
.cursor-follower {
  position: fixed;
  left: 0;
  top: 0;
  width: 40px;
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(0);
  will-change: transform, opacity;
  z-index: 9999;
  transition: opacity 180ms linear;
  opacity: 1;
  user-select: none;
}

@media (hover: none), (pointer: coarse) {
  .cursor-follower {
    display: none;
  }
}
.banner-header h4 {
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 14px;
  display: inline-block;
  border-radius: 3px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}
.contact-heading {
  font-size: 30px;
  font-weight: 600;
}
