/* Header */
.head {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

/* Tech background image */
.head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.pexels.com/photos/1181671/pexels-photo-1181671.jpeg?auto=compress&cs=tinysrgb&w=1600")
    no-repeat center center / cover;
  opacity: 0.65;
  z-index: 0;
}

/* Dark + gradient overlay */
.head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 79, 255, 0.4), transparent 45%),
    linear-gradient(to bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  z-index: 0;
}

/* Glass block */
.head-detail {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  padding: 2rem 2.3rem;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 60%);
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.head-detail h1 {
  letter-spacing: -0.03em;
}

.head-detail .lead {
  color: #e5e7eb;
  margin-bottom: 0;
}

/* Small badge like contact page */
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #f9fafb;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(15, 23, 42, 0.6)
  );
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-badge span {
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff, var(--accent));
}




/* Search Box */
.exhib-search-box input,
.exhib-search-box select {
    height: 45px;
}


/* Alphabet filter becomes scrollable on small devices */
.alpha-filter {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
}

.alpha-filter button {
    margin-right: 5px;
}

/* Exhibitor Cards */
.exhibitor-card {
    border: 1px solid #e7e7e7;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
}

.exhibitor-logo {
    width: 140px;
    height: auto;
}

.tag {
    display: inline-block;
    background: #f1f1f1;
    padding: 5px 12px;
    margin: 5px 5px 0 0;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
}

/* Buttons inside card */
.exhibitor-card button {
    font-size: 14px;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 992px) {
    .exhibitor-card {
        flex-direction: column;
        text-align: left;
    }

    .exhibitor-card img {
        width: 130px;
    }

    .exhibitor-card > div:last-child {
        align-self: flex-start !important;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .search-box .row > div {
        margin-bottom: 15px;
    }

    .search-btn {
        width: 100%;
    }

    .alpha-filter button {
        font-size: 13px;
        padding: 5px 12px;
    }

    .exhibitor-logo {
        width: 110px;
    }

    .exhibitor-card {
        padding: 15px;
    }

    .tag {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .exhibitor-card h4 {
        font-size: 20px;
    }

    .exhibitor-card p,
    .exhibitor-card small {
        font-size: 14px;
    }

    .exhibitor-card button {
        width: 100%;
        margin-top: 10px;
    }

    .exhibitor-logo {
        width: 100px;
    }
}
