/* ==========================================================================
   IACCIA OUR MEMBERS & PARTNERS PAGE - MODERN LIGHT THEME
   ========================================================================== */

.members-page-wrapper {
  background-color: #fcfbf9;
  color: #0f172a;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   1. HERO BANNER
   -------------------------------------------------------------------------- */
.members-hero-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #e6f4ea 45%, #dcfce7 100%);
  padding: 45px 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #bbf7d0;
}

.hero-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #006837;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 104, 55, 0.06);
}

.hero-partner-badge .pulse-green {
  width: 8px;
  height: 8px;
  background: #006837;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 104, 55, 0.6);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.members-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #0f172a !important;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.members-hero-title span.title-highlight {
  background: linear-gradient(135deg, #006837 0%, #15803d 50%, #d97706 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.members-hero-desc {
  font-size: 0.95rem;
  color: #334155;
  margin: 0;
  line-height: 1.55;
}

/* Standalone Showcase Image (Right Side) */
.hero-standalone-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 20px 50px rgba(0, 104, 55, 0.15), 0 8px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-standalone-img-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 104, 55, 0.22);
  border-color: #006837;
}

.hero-standalone-img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  min-height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* Stats Counter Grid */
.m-stat-box {
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 104, 55, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.m-stat-box:hover {
  transform: translateY(-3px);
  border-color: #006837;
  box-shadow: 0 10px 25px rgba(0, 104, 55, 0.12);
}

.m-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #006837;
  line-height: 1;
}

.m-stat-num.gold {
  color: #d97706;
}

.m-stat-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  font-weight: 700;
  margin-top: 3px;
  white-space: nowrap;
}
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   2. FILTER & SEARCH BAR
   -------------------------------------------------------------------------- */
.members-filter-section {
  padding: 2.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 60px;
  z-index: 100;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.02);
}

.search-input-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.search-input-wrapper input {
  width: 100%;
  padding: 12px 20px 12px 48px;
  border-radius: 50px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.95rem;
  color: #0f172a;
  transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
  outline: none;
  border-color: #006837;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 104, 55, 0.1);
}

.search-input-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
}

.filter-pills-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.filter-pill-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-pill-btn:hover,
.filter-pill-btn.active {
  background: #006837;
  color: #ffffff;
  border-color: #006837;
  box-shadow: 0 6px 18px rgba(0, 104, 55, 0.2);
}

/* --------------------------------------------------------------------------
   3. MEMBER & PARTNER CARDS GRID
   -------------------------------------------------------------------------- */
.members-grid-section {
  padding: 4.5rem 0;
}

.member-partner-card {
  background: #ffffff;
  border: 2px solid #94a3b8;
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07), 0 4px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.member-partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #006837, #d97706);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.member-partner-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #006837;
  box-shadow: 0 24px 48px rgba(0, 104, 55, 0.18), 0 8px 20px rgba(0, 0, 0, 0.06);
}

.member-partner-card:hover::before {
  opacity: 1;
}

.card-type-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #64748b;
}

.card-type-badge.badge-chamber {
  background: rgba(0, 104, 55, 0.1);
  color: #006837;
}

.card-type-badge.badge-corporate {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.card-type-badge.badge-academic {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.member-logo-container {
  height: 95px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  padding: 10px;
}

.member-logo-img {
  max-height: 85px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.04));
  transition: transform 0.35s ease;
}

.member-partner-card:hover .member-logo-img {
  transform: scale(1.08);
}

.member-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}

.member-sub-info {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
}

.member-region-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #006837;
  background: rgba(0, 104, 55, 0.06);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   4. MEMBER BENEFITS & CTA SECTION
   -------------------------------------------------------------------------- */
.member-cta-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #cbd5e1;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.member-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #006837 0%, #d97706 100%);
}

.m-cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.m-cta-desc {
  font-size: 1.08rem;
  color: #64748b;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2rem auto;
  line-height: 1.65;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2.5rem auto;
  text-align: left;
}

@media (max-width: 991.98px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 104, 55, 0.1);
  color: #006837;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}

.m-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-m-join {
  background: #006837;
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 104, 55, 0.25);
}

.btn-m-join:hover {
  background: #004d28;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 104, 55, 0.35);
}

.btn-m-contact {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-m-contact:hover {
  border-color: #d97706;
  color: #d97706;
  transform: translateY(-3px);
}
