.exhibitors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.exhibitor-card {
  border: 1px solid #ccc;
  padding: 20px 0 !important;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(43, 43, 43, 0.1);
  background: #fff;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.exhibitor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.exhibitor-logo img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.exhibitor-company {
  margin-top: 10px;
  font-size: 16px;
  font-weight: medium;
  color: #8000FF;
  text-transform: uppercase;
  margin : 0  20px;
}
.exhibitor-bottom{
  width: 100%;
}
.exhibitor-header{
  padding: 0 20px;
}

.exibitior-stand-container{
  margin-top: 8px;
  padding: 20px 0;
  background-color: #edf5f8;
  width: 100%;
}
.exhibitor-stand {
  font-size: 14px;
  color: #333;
}

.exhibitor-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.exhibitor-actions a {
  padding: 8px 14px;
  background: #8000FF;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

.exhibitor-actions a:hover {
  background: #8d59c2;
  color: #FFF;
}

.exhibitors-pagination {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.exhibitors-pagination a {
  padding: 8px 12px;
  background: #e63946;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}

.exhibitors-pagination a:hover {
  background: #d62828;
}
/* Filters container */
.exhibitor-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}
.exhibitor-container{
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
}

/* Make inputs, selects, buttons inline and fix width */
.exhibitor-container input,
.exhibitor-container select {
    display: inline-block;    /* force inline */
    width: 30% !important; 
    min-width: none !important;             /* let width fit content */
    min-width: 150px;         /* optional, keep them readable */
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 50px !important;
}
input[type=text]{
  width: auto;
}

/* Reset button styling */
.exhibitor-container .exhibitor-reset {
    display: inline-block;
    width: 15%;
    padding: 8px 12px;
    font-size: 14px;
    background-color: #8000FF;
    color: #fff;
    border: none;
    border-radius: 50px;
}

.exhibitor-filters .exhibitor-reset:hover {
    background-color: #005177;
}
.exhibitor-filters select option{
  padding: 10px;
  border-radius: 50px !important;
}
.exhibitor-banner img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.profile-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.profile-main {
  flex: 3;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding-left: 5%;
  padding-right: 5%;
}

.profile-sidebar {
  flex: 1;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
  background: #fff;
}
.profile-sidebar h3{
  font-size: 1.3rem;
}

.profile-logo img {
  width: 100%;
  object-fit: contain;
}

.profile-details h2 {
  font-size: 1.5rem;
  margin: 0;
  color: #9933FF !important;
}

.profile-details h2 span {
  font-size: 1rem;
  font-weight: normal;
  margin-left: 10px;
  color: #9933FF !important; 
}

.profile-description,
.profile-categories {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}
.profile-description h3,
.profile-categories h3 {
  font-size: 1.1rem;
}

.category-tag {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  margin: 3px 5px 0 0;
  font-size: 0.9rem;
}

.profile-tabs {
  margin-top: 30px;
  padding-left: 5%;
  padding-right: 5%;
}

.tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 20px;
  border-bottom: 2px solid #eee;
}

.tab-nav li {
  cursor: pointer;
  padding: 10px 15px;
  font-weight: bold;
}

.tab-nav li.active {
  border-bottom: 2px solid #0073aa;
  color: #0073aa;
}

.tab-content {
  display: none;
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
}

.tab-content.active {
  display: block;
}
.contact-items{
  color: #000000;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.contact-items a{
  color: #000000;
}
.contact-items:hover i, .contact-items:hover a{
  color: #9933ff;
}
.contact-items:hover i.bi-geo-alt{
  color: #000000 !important;
}
.az-btn {
    margin: 1px;
    padding: 5px 5px;
    cursor: pointer;
    border: 1px solid #9933FF !important;
    margin-bottom: 2px !important;
}
.az-btn:hover{
  background-color: #9933FF !important;
  color: #fff;
}
.az-btn.active {
    background-color: #9933FF !important;
    color: #fff;
}

@media (max-width: 1024px) {
  .exhibitors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .profile-logo img {
  width: 100%;
  object-fit: contain;
}
.profile-header{
  width: 45%;
}
.profile-logo{
  width: 100%;
}
.profile-details{
  width: 55%;
}
  
}
@media (max-width: 768px) {
  .exhibitors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .exhibitor-container{
    flex-direction: column;
  }
  .exhibitor-container input,
.exhibitor-container select{
  width: 100% !important;
}
.exhibitor-container .exhibitor-reset{
  width: auto !important;
}
  .exhibitors-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .profile-logo img {
  width: 100%;
  object-fit: contain;
}
.profile-header{
  width: 35%;
}
.profile-logo{
  width: 100%;
}
.profile-details{
  width: 65%;
}
}
