.directory-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 50px 20px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a202c;
}
.card-meta {
    flex-wrap: wrap;
    gap: 0px;
}
/* 1. Sleek Filter Bar & Dropdown Fixes */
.filter-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    background: #ffffff !important;
    padding: 10px 18px !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 20px #00000017 !important;
    margin-bottom: 30px !important;
    border: 1px solid #edf2f7 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.search-box {
        background: #f9fafe;
    border: 1px solid #e2e8f0 !important;
    border-radius: 25px !important;
    flex: 1.2 !important;
    gap: 10px !important;
    min-width: 240px !important;
    padding:0px 22px !important;
    display: flex;
    align-items: center;


}

.search-icon {
  flex-shrink: 0 !important;
  display: block !important;
}

.search-box input {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  width: 100% !important;
  font-size: 13px !important;
  color: #2d3748 !important;
  box-shadow: none !important;
}

.dropdown-filters {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

.select-wrapper {
  position: relative !important;
  display: inline-block !important;
  min-width: 140px !important; /* Forces visible width */
}

.dynamic-filter-dropdown {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23000000' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 18px !important;
    border: 1px solid #EEEFF1 !important;
    border-radius: 20px !important;
    color: #000000 !important;
    cursor: pointer !important;
    display: block !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    height: 40px !important;
    line-height: 1.4 !important;
    min-width: 170px !important;
    opacity: 1 !important;
    outline: none !important;
    padding: 6px 36px 6px 14px !important; /* Right padding barha di hai taakay text arrow ke upar na aaye */
    visibility: visible !important;
    width: 100% !important;
    font-family: 'Inter', sans-serif !important;
}

/* Internet Explorer / Edge ke default arrow ko remove karne ke liye */
.dynamic-filter-dropdown::-ms-expand {
    display: none !important;
}

.dynamic-filter-dropdown option {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-weight: 500 !important;
    font-size: 15px;
    font-family: 'Inter' !important;
    border: 1px solid #EEEFF1 !important;
}

.dynamic-filter-dropdown:hover {
  border-color: #a0aec0 !important;
  background-color: #ffffff !important;
}

/* 2. Header Row */
.directory-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
/* Poore card par link phailane ke liye */
.full-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Ye card ke oopar ek invisible layer bana dega */
  text-decoration: none;
}

/* Card ke andar buttons ko click-able rakhne ke liye unka z-index barhana hoga */
.card-actions a {
  position: relative;
  z-index: 10; 
}
.subtitle {
      color: #d89500;
    display: block;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 9%;
    text-transform: uppercase;
}
.search-box svg {
    fill: none;
}
.main-title {
     color: #000000;
    font-size: 35px;
    font-weight: 800;
    margin: 4px 0 0;
    line-height: 64px;
    font-family: 'Lato';
}

.sort-box select {
     border: 1px solid #EEEFF1;
    border-radius: 25px;
    color: #000000;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    padding: 8px 44px;
    font-family: 'lato' !important;
}

/* 3. Category Tabs UI */
.category-tabs-wrapper {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 30px;
}

.tab-btn {
  align-items: center;
    background: #ffffff;
    border: 1px solid #EEEFF1;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    gap: 12px;
       min-width: 250px;
    padding: 12px 20px;
    text-align: left;
    transition: all .2s ease;
    white-space: nowrap;
line-height: 20px;
}

.tab-btn.active {
  background: #ffffff;
  border: 2px solid #1a202c;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.tab-btn:hover:not(.active) {
  background: #ffffff;
  border-color: #cbd5e0;
}

.tab-icon {
      align-items: center;
    /* background: #fff5ea; */
    border-radius: 50%;
    display: flex;
    flex-shrink: 0;
    font-size: 24px;
    height: 39px;
    justify-content: center;
    width: 39px;
}

.tab-icon img {
     height: 39px;
    object-fit: contain;
    width: 39px;

}

.tab-text strong {
    color: #000000;
    display: block;
    font-size: 15px;
    font-weight: 700;
    font-family: 'lato';
}

.tab-text span {
    color: #000000B2;
    font-size: 12px;
    font-weight: 400;
    font-family: "PP Mori", sans-serif;
}

/* 4. Cards Grid Layout */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { flex-direction: column !important; align-items: stretch !important; border-radius: 20px !important; }
}

@media (max-width: 600px) {
  .activity-grid { grid-template-columns: 1fr; }
.filter-bar .select-wrapper {
    width: 100% !important;
}

.directory-container .directory-header-row {
    flex-direction: column !important;
align-items: revert !important;
}

.direc
.directory-header-row .sort-box {
    width: 100%;
}
}

.activity-card {
  background: #ffffff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-card.hide-card {
  display: none !important;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-image-wrap {
  width: 100%;
  overflow: hidden;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
border-radius:30px;
}

.card-meta {
  color: #000000;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    margin-bottom: 10px;
}

.card-title {
  color: #000000;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 17px;
    font-family: 'lato';
}

.card-desc {
    color: #000000B2;
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1%;
    font-family: 'lato';
}

.card-desc p { margin: 0; }

.card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.activity-card .card-body .card-actions a {
    font-family: 'lato' !important;
}
.btn-primary, .btn-secondary {
      background: #44bc72;
    border-radius: 9999px;
    color: #fff;
    flex: 1;
    font-family:'lato';
    font-size: 15px;
    font-weight: 400;
    line-height: 100%;
    padding: 14px 14px;
    text-align: center;
    text-decoration: none;
    transition: opacity .2s ease;
    /* width: 50% !important; */
}
}

.btn-primary { color: #ffffff; }
.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  color: #2d3748;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover { background: #edf2f7; }

/* 5. Load More */
.load-more-wrap { text-align: center; margin-top: 40px; }
.load-more-btn {
  background: #ffffff;
  border: 1px solid #000000;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.load-more-btn:hover {
  background: #1a202c;
  color: #ffffff;
}

.no-results { text-align: center; padding: 50px; color: #a0aec0; font-weight: 600; }