/* Info Strip */
.info-strip {
  position: absolute;
  top: 470px;
  left: 50%;
  height: 130px;           /* ✅ Set a fixed height */
  transform: translateX(-50%);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  z-index: 2;
}

/* Info Wrapper */
.info-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* Individual Tiles */
.info-tile {
  width: 170px;
  text-align: center;
  cursor: pointer;
  flex: 0 0 auto;
  display: inline-block;
  margin-top: 0px;
  position: relative;
}

/* Inner box with shadow and rounded corners */
.tile-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect: lift + shadow */
.info-tile:hover .tile-box {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.info-tile.active h3 {
  color: #00A0E3; /* Match arrow color */
}

/* Tile Images */
.tile-box img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.intro-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: -1px 0;
}

#panel-heading,
#panel-text {
  text-shadow: none !important;  /* remove any inherited shadow */
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.intro-image {
  animation: fadeIn 4s ease forwards;
}

/* Hover Preview */
.info-tile:hover img {
  filter: grayscale(0%);
}

/* Active Tile Styling */
.info-tile.active img {
  filter: grayscale(0%);
  border: 0px solid #007f5f;
}

/* Tile Headings */
.tile-box h3 {
  font-size: 0.8rem;
  margin-top: 7px;
  margin-bottom: 7px;
  color: #999999;
  text-transform: uppercase;
}

/* Expandable Panel */
#info-panel {
  max-width: 100%;
  padding: 2rem;
  background: transparent;
  border-top: 0px;
  display: flex;
  justify-content: center;
  animation: slideDown 0.4s ease;
  margin-top: 0px;
}

#info-panel.hidden {
  display: none;
}

/* Panel Content: align image + text side by side */
.panel-content {
  margin-top: 170px;   /* adjust this value as needed */
  display: flex;
  width: auto;
  min-width: calc(170px * 8 + 20px * 7); /* 8 tiles + 7 gaps */
  max-width: 1700px;
  min-height: 120px;
  flex-direction: column;   /* stack vertically */
  align-items: center;      /* center horizontally */
  justify-content: center;  /* center vertically */
  padding: 0px;
  border: 1px solid #00A0E3;
  border-radius: 12px;
  background: white;
}

/* Table Styling */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.info-table tr:first-child td {
  border-top: none;
}

.info-table td {
  padding: 7px;
  border: none;
}

/* Panel Heading */
#panel-heading {
  font-size: 20px;
  color: #1E8BBA;
  margin-top: 4px;
  text-align: center;
}

/* Panel Text */
#panel-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  text-align: center;
  max-width: 100%;
  margin-top: -20px;

  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */
  min-height: 110px;       /* Set a height to allow vertical centering */
  padding: 0rem;
}

/* Animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Down arrow for active tile */
.info-tile.active::after {
  content: "";
  position: absolute;
  bottom: -10px; /* Adjust to sit just below the tile */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #00A0E3; /* ✅ Arrow color */
  z-index: 3;
}

.hidden {
  display: none;
}
