:root {
  --primary: #1f4fff;
  --primary-soft: rgba(31, 79, 255, 0.08);
  --primary-hover: #173bcc;
  --accent: #ffb547;
  --text-main: #111827;
  --text-muted: #6b7280;
  --bg-soft: #f3f4f6;
  --border-soft: #e5e7eb;
  --card-radius: 1.4rem;
}

/* 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 CARD – PREMIUM BACKGROUND ===== */

.exhibitor-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 22px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(31,79,255,0.04), rgba(255,255,255,0.9)),
        radial-gradient(circle at top left, rgba(31,79,255,0.08), transparent 60%);
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Soft highlight strip */
.exhibitor-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.35),
        transparent 70%
    );
    pointer-events: none;
}

/* Hover polish */
.exhibitor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

/* ===== LOGO BLOCK ===== */
.exhibitor-card > div:first-child {
    flex: 0 0 150px;
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.exhibitor-logo {
    width: 140px;
    max-width: 100%;  
    height: auto;
    object-fit: contain;
}

/* ===== CONTENT AREA ===== */


.exhibitor-card h4 {
    font-weight: 700;
    color: #111827;
}

.exhibitor-card p {
    color: #374151;
}

/* ===== TAGS ===== */

.tag {
    display: inline-block;
    background: rgba(31,79,255,0.08);
    color: #1f4fff;
    padding: 6px 14px;
    margin: 6px 6px 0 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

/* ===== RIGHT BUTTON ===== */

.exhibitor-card > div:last-child {
    flex: 0 0 auto;
    padding-top: 4px;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
    .exhibitor-card {
        flex-direction: column;
    }

    .exhibitor-card > div:first-child {
        width: 100%;
        text-align: left;
    }

    .exhibitor-logo {
        width: 120px;
    }

    .exhibitor-card > div:last-child button {
        width: 100%;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
    .exhibitor-card {
        padding: 18px;
    }

    .exhibitor-logo {
        width: 100px;
    }

    .exhibitor-card h4 {
        font-size: 18px;
    }

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