:root {
  --bg: #f9f9f9;
  --card: #fff;
  --text: #222;
  --muted: #6b7280;
  --accent: #ff6a00;
  --max-width: 1250px;
}

/* ===== GLOBAL ===== */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }

/* =====================
   COUNTRY HERO (FOOTER STYLE)
===================== */
.country-hero {
  position: relative;
  padding: 56px 20px 36px;
  max-width: 100%;
  margin: auto;
 background: #020617;        /* footer dark */
  border-radius: none;
  border: 1px solid #1e293b;
}
 
/* =====================
   SEARCH CONTAINER
===================== */
.country-search-container {
  display: flex;
  justify-content: center;
}

/* SEARCH BOX */
.country-search-box {
  display: flex;
  width: 100%;
  max-width: 1050px;
  background: #0f172a;        /* inner dark */
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
}

/* CATEGORY */
.country-category {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid #1e293b;
  background: #020617;
}

.country-icon {
  margin-right: 10px;
  font-size: 20px;            /* larger icon */
  color: #e5e7eb;
}

.country-category select {
  border: none;
  outline: none;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: #f9fafb;
}

/* SEARCH INPUT */
.country-search-box input {
  flex: 1;
  border: none;
  padding: 16px;
  font-size: 15px;
  outline: none;
  color: #f9fafb;
  background: transparent;
}

.country-search-box input::placeholder {
  color: #9ca3af;
}

/* SEARCH BUTTON */
.country-search-btn {
  width: 56px;
  background: #020617;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #e5e7eb;
}

.country-search-btn:hover {
  background: #020617;
}

/* =====================
   HERO TEXT
===================== */
.country-hero-text {
  margin-top: 32px;
  text-align: center;
}

.country-hero-text h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f9fafb;
}

.country-hero-text p {
  font-size: 15.5px;
  color: #9ca3af;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {
  .country-hero {
    padding: 44px 16px 28px;
    border-radius: 12px;
  }

  .country-search-box {
    flex-direction: column;
  }

  .country-category {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #1e293b;
    padding: 12px 14px;
  }

  .country-search-btn {
    width: 100%;
    height: 48px;
  }

  .country-hero-text h1 {
    font-size: 24px;
  }
}
/* ===== GRID LAYOUT ===== */
.sign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* smaller min width for 5-6 cards per row */
  gap: 16px; /* a bit smaller gap for compact look */
  justify-items: center;
}

.sign-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%; /* ensures card fits the grid cell */
  max-width: 160px; /* optional: control max width */
}

.sign-card img {
  width: 100%;
  height: 100px; /* fixed smaller height */
  object-fit: contain; /* keeps sign fully visible, not cropped */
  border-bottom: 1px solid #eee;
}

.sign-card span {
  display: block;
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
/* ===== GRID LAYOUT (MAIN + SEARCH RESULTS) ===== */
.sign-grid,
.search-results { /* add your search results container class here */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* smaller min width for 5-6 cards per row */
  gap: 16px;
  justify-items: center;
}

.sign-card,
.search-card { /* card inside search results */
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%; /* fit grid cell */
  max-width: 160px; /* control max width */
}

.sign-card img,
.search-card img {
  width: 100%;
  height: 100px; /* fixed smaller height */
  object-fit: contain; /* keeps sign fully visible */
  border-bottom: 1px solid #eee;
}

.sign-card span,
.search-card span {
  display: block;
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
/* =========================
   SEARCH TITLE
========================= */
#searchTitle {
  text-align: center;
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 15px;
  color:#FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;

}

























