/* Inter removed — site uses Helvetica Neue system font */

:root {
  --abes-purple: #7B2FBE;
  --abes-purple-dark: #5B1E8F;
  --abes-purple-light: #9C4DD6;
  --abes-blue: #2962FF;
  --abes-blue-dark: #1A46CC;
  --abes-orange: #F4511E;
  --abes-orange-light: #FF7043;
  --abes-card-radius: 1rem;
  --abes-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 14px;
}

body {
  font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
}

/* ─── Navbar ─── */

.abes-navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: var(--abes-transition);
}

.abes-navbar .nav-link {
  color: #444 !important;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.75rem;
  transition: color 0.2s;
  border-radius: 0.5rem;
}

.abes-navbar .nav-link:hover,
.abes-navbar .nav-link.active {
  color: var(--abes-purple) !important;
  background: rgba(123, 47, 190, 0.06);
}

.abes-navbar .btn-member-login {
  background: transparent;
  color: var(--abes-purple) !important;
  border: 1.5px solid rgba(123, 47, 190, 0.35);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.4rem 1rem;
  transition: var(--abes-transition);
}

.abes-navbar .btn-member-login:hover {
  background: rgba(123, 47, 190, 0.08);
  border-color: var(--abes-purple);
}

.abes-navbar .btn-join {
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 1.35rem;
  transition: var(--abes-transition);
}

.abes-navbar .btn-join:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123, 47, 190, 0.35);
  opacity: 0.92;
}

.abes-navbar .navbar-toggler {
  border: none;
  background: var(--abes-purple) !important;
  border-radius: 0.5rem;
}

/* ─── Hero ─── */

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 90% at 100% 0%,  #ff5500 0%, transparent 70%),
    radial-gradient(ellipse 85% 70% at 10% 100%, #2233ee 0%, transparent 62%),
    #7b1fcc;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.abes-mission {
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.75rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.abes-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ─── Section Labels ─── */

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--abes-orange) !important;
}

/* ─── Typography ─── */

.text-purple { color: var(--abes-purple) !important; }
.text-orange { color: var(--abes-orange) !important; }
.bg-purple { background-color: var(--abes-purple) !important; }
.bg-orange { background-color: var(--abes-orange) !important; }

.bg-gradient-purple {
  background: linear-gradient(135deg, var(--abes-purple-dark) 0%, var(--abes-blue) 65%, #1565C0 100%);
}

.bg-section-alt {
  background-color: #faf9fc;
}

/* ─── Buttons ─── */

.btn-primary {
  background: linear-gradient(135deg, var(--abes-blue), var(--abes-blue-dark));
  border: none;
  font-weight: 600;
  transition: var(--abes-transition);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--abes-blue-dark), #0d3bcc);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(41, 98, 255, 0.35);
}

.btn-brand {
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  border: none;
  color: #fff !important;
  font-weight: 600;
  transition: var(--abes-transition);
}

.btn-brand:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(123, 47, 190, 0.4);
  opacity: 0.93;
}

.btn-light.text-purple:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

/* ─── Search Bar ─── */

.search-input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
}

.search-input-group .form-control {
  border: 1.5px solid #e8e0f0;
  border-right: none;
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  border-radius: 50px 0 0 50px !important;
}

.search-input-group .form-control:focus {
  box-shadow: none;
  border-color: var(--abes-purple);
}

.search-input-group .btn {
  border-radius: 0 50px 50px 0 !important;
  padding: 0.9rem 2rem;
  font-weight: 600;
  font-size: 1rem;
}

/* ─── Supplier Search Cards (public) ─── */

.supplier-card {
  border: none;
  border-radius: var(--abes-card-radius);
  overflow: hidden;
  transition: var(--abes-transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  min-height: 280px;
  background: #fff;
}

.supplier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(123, 47, 190, 0.14);
}

.supplier-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--abes-purple), var(--abes-blue) 55%, var(--abes-orange));
}

.supplier-card .card-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.supplier-card .company-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--abes-purple);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.industry-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(123, 47, 190, 0.08), rgba(41, 98, 255, 0.08));
  color: var(--abes-purple);
  border: 1px solid rgba(123, 47, 190, 0.2);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.supplier-card .contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #555;
  margin-bottom: 0.4rem;
}

.supplier-card .contact-row a[href^="mailto:"] {
  color: var(--abes-blue);
  font-weight: 500;
}

.supplier-card .contact-row a[href^="mailto:"]:hover {
  color: var(--abes-purple);
  text-decoration: underline !important;
}

.supplier-card .contact-row:last-child {
  margin-bottom: 0;
}

.industry-badge-more {
  background: rgba(244, 81, 30, 0.08);
  color: var(--abes-orange);
  border-color: rgba(244, 81, 30, 0.2);
}

.contact-row-extra {
  display: none;
}
.supplier-card.expanded .contact-row-extra {
  display: flex;
}

.supplier-card-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  padding: 0.15rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--abes-purple);
  cursor: pointer;
  margin-bottom: 0.75rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.supplier-card-expand-btn:hover {
  opacity: 1;
}

.btn-copy-number {
  padding: 0.15rem 0.4rem;
  font-size: 0.72rem;
  line-height: 1;
  border: 1px solid rgba(123, 47, 190, 0.2);
  border-radius: 0.4rem;
  background: rgba(123, 47, 190, 0.06);
  color: var(--abes-purple);
  transition: var(--abes-transition);
  flex-shrink: 0;
}

.btn-copy-number:hover {
  background: var(--abes-purple);
  color: #fff;
  border-color: var(--abes-purple);
}

.supplier-card .contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(41, 98, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--abes-blue);
  font-size: 0.78rem;
}

/* ─── Admin Member Cards ─── */

.member-card {
  border: none;
  border-radius: var(--abes-card-radius);
  overflow: hidden;
  transition: var(--abes-transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  height: 100%;
  background: #fff;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.11);
}

.member-card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--abes-purple), var(--abes-blue), var(--abes-orange));
}

.member-card-header {
  padding: 1.1rem 1.25rem 0.85rem;
  border-bottom: 1px solid #f3f0f8;
}

.member-card-body {
  padding: 1rem 1.25rem 1.2rem;
}

.member-card .company-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--abes-purple);
  line-height: 1.3;
}

.member-card .industry-tag {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
  background: rgba(123, 47, 190, 0.07);
  color: var(--abes-purple);
  border: 1px solid rgba(123, 47, 190, 0.18);
  margin: 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
}

.status-badge.registered {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.status-badge.status-default {
  background: rgba(107, 114, 128, 0.1);
  color: #6B7280;
  border: 1px solid rgba(107, 114, 128, 0.22);
}

.member-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.member-meta i {
  color: var(--abes-blue);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.member-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.member-verified.yes { color: #059669; }
.member-verified.no  { color: #9CA3AF; }

/* ─── Benefits of Membership Cards ─── */

.benefit-card {
  background: #fff;
  border-radius: var(--abes-card-radius);
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--abes-transition);
  border: 1px solid rgba(123, 47, 190, 0.07);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(123, 47, 190, 0.12);
  border-color: rgba(123, 47, 190, 0.18);
}

.benefit-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
  color: rgba(123, 47, 204, 0.18);
  letter-spacing: -1px;
}

.section-dark-navy .benefit-number {
  color: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1.1rem;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.benefit-text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ─── Partner Cards ─── */

.partner-card {
  background: #fff;
  border-radius: var(--abes-card-radius);
  padding: 2.25rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--abes-transition);
  border: 1px solid rgba(123, 47, 190, 0.07);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(123, 47, 190, 0.12);
  border-color: rgba(123, 47, 190, 0.2);
}

.partner-logo-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.partner-logo-img {
  max-height: 80px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: var(--abes-transition);
}

.partner-card:hover .partner-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--abes-purple);
  margin-bottom: 0.5rem;
}

.partner-desc {
  font-size: 0.855rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── Partners Section ─── */

#partners {
  background: transparent;
  position: relative;
}

/* Bottom of the colorful band fades into the Benefits dark navy */
#partners::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, #0d0a1a);
  pointer-events: none;
  z-index: 0;
}

#partners .container { position: relative; z-index: 1; }
#partners .text-purple { color: #fff !important; }
#partners .text-muted  { color: rgba(255, 255, 255, 0.62) !important; }

/* ─── Admin Navbar ─── */

.abes-admin-nav {
  background: linear-gradient(135deg, var(--abes-purple-dark), var(--abes-purple)) !important;
  box-shadow: 0 2px 16px rgba(91, 30, 143, 0.3);
}

/* ─── Hover Card (legacy) ─── */

.hover-card {
  transition: var(--abes-transition);
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

/* ─── Masonry Gallery ─── */

.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.masonry-item {
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
  break-inside: avoid;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--abes-transition);
}

.masonry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* ─── Modal ─── */

.modal-content {
  border: none;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.modal-header {
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  color: #fff;
  border: none;
  padding: 1.5rem 1.75rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.modal-title {
  font-weight: 700;
  font-size: 1.15rem;
}

.modal-body {
  padding: 1.75rem;
}

/* ─── Tags in Modal ─── */

#becomeAMemberModal #tagsContainer {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

#becomeAMemberModal #tagsContainer .badge {
  white-space: normal;
  text-align: left;
  word-break: break-word;
  background: linear-gradient(135deg, rgba(123, 47, 190, 0.1), rgba(41, 98, 255, 0.1)) !important;
  color: var(--abes-purple) !important;
  border: 1px solid rgba(123, 47, 190, 0.25);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* ─── Hero Parallax ─── */

/* ─── Section Dark Purple (Find Supplier) ─── */

.section-dark-purple {
  background: linear-gradient(145deg, #1a0533 0%, #2d1060 60%, #1a1a5e 100%);
  position: relative;
  overflow: hidden;
}

.section-dark-purple::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}


.section-dark-purple .text-muted {
  color: rgba(255, 255, 255, 0.55) !important;
}

.section-dark-purple .search-input-group .form-control {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section-dark-purple .search-input-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.section-dark-purple .search-input-group .form-control:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.section-dark-purple #supplierResults > p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ─── Filter Toggle Button ─── */

.btn-filter-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 1rem;
  padding: 0 1.25rem;
  white-space: nowrap;
  transition: var(--abes-transition);
}

.btn-filter-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-filter-toggle.active {
  background: linear-gradient(135deg, rgba(123, 47, 190, 0.6), rgba(41, 98, 255, 0.55));
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.filter-active-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 50px;
  background: var(--abes-orange);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  margin-left: 0.4rem;
  padding: 0 4px;
}

/* ─── Filter Panel ─── */

.filter-panel {
  animation: filterSlideDown 0.2s ease;
}

@keyframes filterSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.filter-panel-inner {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
}

.filter-section-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.clear-filter-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.clear-filter-btn:hover {
  color: rgba(255, 255, 255, 0.85);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  transition: var(--abes-transition);
  user-select: none;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.filter-chip.selected {
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(123, 47, 190, 0.45);
}

/* ─── Results Bar (count + sort) ─── */

.results-count {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.45rem 2.4rem 0.45rem 1rem;
  cursor: pointer;
  transition: var(--abes-transition);
}

.sort-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.sort-select option {
  background: #2d1060;
  color: #fff;
}

/* ─── Skeleton Loader ─── */

@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}

.skeleton-line {
  height: 13px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ececec 25%, #ddd 50%, #ececec 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton-title  { height: 18px; width: 65%; }
.skeleton-short  { height: 11px; width: 40%; }
.skeleton-medium { height: 13px; width: 80%; }
.skeleton-btn    { height: 34px; border-radius: 50px; width: 100%; }

/* ─── Colorful Band wrapper (Location + About + Partners share one gradient) ─── */

.colorful-band {
  background:
    radial-gradient(ellipse 120% 90% at 100% 0%,  #ff5500 0%, transparent 70%),
    radial-gradient(ellipse 85% 70% at 10% 100%, #2233ee 0%, transparent 62%),
    #7b1fcc;
}

/* ─── About section (frosted glass card over colorful band) ─── */

#about {
  background: transparent;
  position: relative;
}

#about .text-purple { color: #fff !important; }
#about .text-muted  { color: rgba(255, 255, 255, 0.70) !important; }
#about p            { color: rgba(255, 255, 255, 0.88); }
#about .container   { position: relative; z-index: 1; }

.about-frost-card {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

/* ─── Frosted glass transition strips between sections ─── */

.frost-transition {
  height: 48px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.07);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 5;
}

/* ─── Section Gradient Soft (Location) ─── */

.section-gradient-soft {
  background: transparent;
  position: relative;
}

/* Top of the colorful band fades out of Find Supplier's dark bottom */
.section-gradient-soft::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, #1a0533, transparent);
  pointer-events: none;
  z-index: 0;
}

.section-gradient-soft .container { position: relative; z-index: 1; }
.section-gradient-soft .text-purple { color: #fff !important; }
.section-gradient-soft .text-muted  { color: rgba(255, 255, 255, 0.62) !important; }
.section-gradient-soft p             { color: rgba(255, 255, 255, 0.80); }

/* ─── Section Watermark (About) ─── */

.section-watermark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0d0a1a 0%, #0f0a2e 55%, #0a1628 100%);
}

.section-watermark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(123, 47, 190, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.section-watermark .container  { position: relative; z-index: 1; }
.section-watermark .text-purple { color: #fff !important; }
.section-watermark .text-muted  { color: rgba(255, 255, 255, 0.60) !important; }
.section-watermark p            { color: rgba(255, 255, 255, 0.80); }
.section-watermark .fst-italic  { color: rgba(253, 186, 116, 0.9) !important; }

.tagline-highlight {
  display: inline-block;
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(123, 47, 190, 0.55), rgba(41, 98, 255, 0.45));
  border-left: 3px solid rgba(253, 186, 116, 0.9);
  padding: 0.55rem 1.1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin-top: 0.5rem;
}

/* ─── Section Dark Navy (Benefits) ─── */

.section-dark-navy {
  background: linear-gradient(145deg, #0d0a1a 0%, #0f0a2e 55%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

.section-dark-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(123, 47, 190, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}


.section-dark-navy .text-muted {
  color: rgba(255, 255, 255, 0.5) !important;
}

.section-dark-navy .benefit-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.section-dark-navy .benefit-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(123, 47, 190, 0.55);
  box-shadow: 0 0 0 1px rgba(123, 47, 190, 0.3), 0 16px 40px rgba(123, 47, 190, 0.2);
  transform: translateY(-5px);
}

.section-dark-navy .benefit-title {
  color: #fff;
}

.section-dark-navy .benefit-text {
  color: rgba(255, 255, 255, 0.6);
}

/* Benefits section fades into the Vision section's dark-navy overlay top */
.section-dark-navy::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent, rgba(13, 10, 26, 0.96));
  pointer-events: none;
  z-index: 0;
}

/* ─── Section Vision Full-Bleed ─── */

.section-vision-bg {
  position: relative;
  background: url('../img/Gallery/ABESBataan.png') no-repeat center center / cover;
  background-attachment: fixed;
}

/* Overlay fades from benefits' dark navy at top → purple mid → dark at bottom */
.vision-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 10, 26, 0.97) 0%,
    rgba(60, 20, 110, 0.85) 22%,
    rgba(91, 30, 143, 0.88) 50%,
    rgba(13, 17, 47, 0.90) 100%
  );
  z-index: 0;
}

/* Vision bottom fades toward contact's purple */
.section-vision-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #3b1472);
  pointer-events: none;
  z-index: 1;
}

.section-vision-bg .container {
  position: relative;
  z-index: 2;
}

@media (hover: none) {
  .section-vision-bg { background-attachment: scroll; }
}

/* ─── Mission & Vision Cards ─── */

.mv-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--abes-card-radius);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(12px);
  transition: var(--abes-transition);
  text-align: center;
}

.mv-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-4px);
}

.mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 1.25rem;
}

.mv-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
}

.mv-text {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 0;
}

.mv-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-style: italic;
  color: rgba(253, 186, 116, 0.85);
  margin-bottom: 0;
}

/* ─── Section Eyebrow Light (on dark sections) ─── */

.section-eyebrow-light {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 186, 116, 0.9) !important;
}

/* ─── Gradient Text ─── */

.text-gradient {
  background: linear-gradient(135deg, var(--abes-purple-light), var(--abes-blue) 50%, var(--abes-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-light {
  background: linear-gradient(135deg, #d8b4fe, #93c5fd 50%, #fdba74);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Scroll Animations ─── */

[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate="fade-left"]  { transform: translateX(-50px); }
[data-animate="fade-right"] { transform: translateX(50px); }
[data-animate="zoom-in"]    { transform: scale(0.88); }

[data-animate].animate-in {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* Hero bottom fades into the stats strip */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, #120327);
  pointer-events: none;
  z-index: 1;
}

/* ─── Hero Stats Strip ─── */

.hero-stats {
  background: linear-gradient(135deg, #120327 0%, #1e0845 55%, #121248 100%);
  padding: 2rem 0;
  position: relative;
}

/* Stats strip fades into Find Supplier */
.hero-stats::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #1a0533);
  pointer-events: none;
  z-index: 1;
}

.hero-stat-item {
  text-align: center;
  padding: 1.25rem 1rem;
  position: relative;
}

.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 45%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-stat-num {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, rgba(200, 170, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero-stat-plus {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--abes-orange);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 575px) {
  .hero-stat-item:nth-child(2)::after { display: none; }
}

/* ─── Mobile Fixes ─── */

@media (max-width: 576px) {
  .abes-navbar .btn-join {
    display: inline-block;
    margin-top: 0.5rem;
  }

  .search-input-group { border-radius: 0.75rem; }

  .search-input-group .form-control {
    border-radius: 0.75rem 0 0 0.75rem !important;
  }

  .search-input-group .btn {
    border-radius: 0 0.75rem 0.75rem 0 !important;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .benefit-card,
  .partner-card { padding: 1.5rem 1.25rem; }

  .partner-logo-img {
    max-height: 60px;
    max-width: 130px;
  }

  .supplier-card .card-body { padding: 1.1rem; }

  .member-card-header,
  .member-card-body { padding-left: 1rem; padding-right: 1rem; }

  #contact .btn {
    width: 100%;
  }
}

/* ─── Responsive ─── */

@media (max-width: 992px) {
  .masonry-grid { column-count: 2; }
}

@media (max-width: 576px) {
  .masonry-grid { column-count: 1; }
}

/* ─── Supplier Profile Page ─── */

.supplier-cover {
  aspect-ratio: 3 / 1;
  min-height: 160px;
  background: no-repeat center center / cover;
  position: relative;
  margin-top: 76px;
}

.supplier-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.06) 0%, rgba(26,5,51,0.65) 100%);
}

.supplier-profile-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 0 2rem 1.75rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.supplier-avatar {
  width: 108px;
  height: 108px;
  border-radius: 1rem;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  object-fit: contain;
  margin-top: 0;
  background: #fff;
  padding: 8px;
  flex-shrink: 0;
}

.supplier-industry-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(123,47,190,0.08), rgba(41,98,255,0.08));
  color: var(--abes-purple);
  border: 1px solid rgba(123,47,190,0.2);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.supplier-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(123,47,190,0.07);
  color: var(--abes-purple);
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--abes-transition);
  flex-shrink: 0;
}

.supplier-social-link:hover {
  background: var(--abes-purple);
  color: #fff;
}

/* Stat cards */
.supplier-stat-card {
  background: linear-gradient(135deg, rgba(123,47,190,0.05), rgba(41,98,255,0.05));
  border: 1px solid rgba(123,47,190,0.1);
  border-radius: 0.875rem;
  padding: 1.1rem 0.5rem;
}

.stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* Info sidebar card */
.supplier-info-card {
  background: #faf9fc;
  border: 1px solid rgba(123,47,190,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0.7rem;
}

.info-row i {
  color: var(--abes-orange);
  width: 15px;
  text-align: center;
  flex-shrink: 0;
}

/* What We Offer cards */
.offer-card {
  background: #fff;
  border-radius: var(--abes-card-radius);
  border: 1px solid rgba(123,47,190,0.08);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--abes-transition);
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(123,47,190,0.12);
  border-color: rgba(123,47,190,0.2);
}

.offer-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.offer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.offer-desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.offer-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--abes-orange);
}

/* Package cards */
.package-card {
  background: #fff;
  border-radius: var(--abes-card-radius);
  border: 1px solid rgba(123,47,190,0.12);
  padding: 2rem 1.75rem;
  transition: var(--abes-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.package-card:not(.featured):hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.package-card.featured {
  background: linear-gradient(145deg, var(--abes-purple-dark), var(--abes-purple));
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(123,47,190,0.35);
  transform: scale(1.03);
}

.package-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 20px 50px rgba(123,47,190,0.45);
}

.package-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  background: rgba(244,81,30,0.12);
  color: var(--abes-orange);
  border: 1px solid rgba(244,81,30,0.25);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.package-card.featured .package-badge {
  background: rgba(255,255,255,0.15);
  color: #fdba74;
  border-color: rgba(255,255,255,0.3);
}

.package-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.package-card.featured .package-name { color: #fff; }

.package-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--abes-purple);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.package-card.featured .package-price { color: #fff; }

.package-period {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.package-card.featured .package-period { color: rgba(255,255,255,0.55); }

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex-grow: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0.55rem;
}

.package-card.featured .package-features li { color: rgba(255,255,255,0.85); }

.package-features li i {
  color: var(--abes-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.package-card.featured .package-features li i { color: #fdba74; }

.btn-package {
  width: 100%;
  border-radius: 50px;
  padding: 0.65rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--abes-transition);
  text-align: center;
}

.btn-package-outline {
  border: 1.5px solid rgba(123,47,190,0.3);
  color: var(--abes-purple);
  background: transparent;
}

.btn-package-outline:hover {
  background: var(--abes-purple);
  color: #fff;
  border-color: transparent;
}

.btn-package-filled {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
}

.btn-package-filled:hover {
  background: rgba(255,255,255,0.28);
  color: #fff;
}

/* Service area chips */
.area-chip {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  background: rgba(41,98,255,0.06);
  color: var(--abes-blue);
  border: 1px solid rgba(41,98,255,0.15);
  transition: var(--abes-transition);
  cursor: default;
}

.area-chip.highlight {
  background: linear-gradient(135deg, rgba(123,47,190,0.1), rgba(41,98,255,0.1));
  color: var(--abes-purple);
  border-color: rgba(123,47,190,0.2);
  font-weight: 700;
}

/* Inquiry form */
.inquiry-form-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(123,47,190,0.08);
}

/* Related supplier cards */
.related-card {
  background: #fff;
  border-radius: var(--abes-card-radius);
  overflow: hidden;
  transition: var(--abes-transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  text-decoration: none;
  display: block;
  color: inherit;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(255,255,255,0.12);
  color: inherit;
}

.related-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--abes-purple), var(--abes-blue), var(--abes-orange));
}

.related-card-body { padding: 1.25rem; }

/* Supplier page mobile */
@media (max-width: 768px) {
  .supplier-profile-card { padding: 0 1.25rem 1.5rem; }
  .supplier-avatar { width: 88px; height: 88px; }
  .package-card.featured { transform: none; }
  .package-card.featured:hover { transform: translateY(-5px); }
  .inquiry-form-card { padding: 1.5rem; }
  .supplier-info-card { position: static; }
}

/* ─── Supplier CMS ─── */

.cms-sidebar {
  min-height: calc(100vh - 56px);
  position: sticky;
  top: 56px;
  align-self: flex-start;
}

.cms-nav-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 0.6rem;
  color: #555;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--abes-transition);
}

.cms-nav-link:hover {
  background: rgba(123, 47, 190, 0.07);
  color: var(--abes-purple);
}

.cms-nav-link.active {
  background: rgba(123, 47, 190, 0.12);
  color: var(--abes-purple);
  font-weight: 600;
}

.cms-mobile-nav {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cms-mobile-nav::-webkit-scrollbar { display: none; }

.cms-mobile-nav .cms-nav-link {
  flex-direction: column;
  text-align: center;
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
}

.cms-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}

.cms-card-header {
  background: linear-gradient(135deg, rgba(123,47,190,0.07), rgba(41,98,255,0.05));
  border-bottom: 1px solid rgba(123,47,190,0.1);
  padding: 0.9rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--abes-purple);
}

.cms-card-body {
  padding: 1.25rem;
}

.cms-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 0.25rem;
}

.cms-readonly-field {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: #333;
  min-height: 38px;
}

.cms-list-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 0.75rem;
  padding: 1rem 1.125rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: var(--abes-transition);
}

.cms-list-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: rgba(123,47,190,0.2);
}

.cms-list-item.cms-featured {
  border-left: 3px solid var(--abes-orange);
}

/* Cover photo upload area */
.cover-upload-area {
  border: 2px dashed #d0b8f0;
  background: rgba(123,47,190,0.03);
  cursor: pointer;
  transition: var(--abes-transition);
}
.cover-upload-area:hover {
  border-color: var(--abes-purple);
  background: rgba(123,47,190,0.07);
}

/* Gallery */
.gallery-thumb-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb-actions {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-thumb-card:hover .gallery-thumb-actions {
  opacity: 1;
}

.gallery-thumb-num {
  position: absolute;
  bottom: 0.4rem;
  left: 0.5rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.1rem 0.45rem;
}

/* ════════════════════════════════════════
   MOBILE RESPONSIVE FIXES
   ════════════════════════════════════════ */

/* ─── Map image (remove hardcoded 60% from inline, handle via CSS) ─── */
.abes-map-img {
  width: 60%;
  height: auto;
}

@media (max-width: 767px) {
  .abes-map-img { width: 85%; }
}

/* ─── Hero ─── */
@media (max-width: 767px) {
  .abes-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  }

  .abes-mission {
    font-size: 1rem;
    margin-bottom: 2rem !important;
  }

  .hero-section .btn-brand {
    width: 100%;
    max-width: 360px;
  }
}

/* ─── Hero Stats ─── */
@media (max-width: 575px) {
  /* 2×2 grid — hide right divider on both even items */
  .hero-stat-item:nth-child(even)::after { display: none; }
  /* also hide divider on last row's left item */
  .hero-stat-item:nth-child(3)::after    { display: none; }

  .hero-stat-num  { font-size: 1.75rem; }
  .hero-stat-label { font-size: 0.65rem; }
}

/* ─── Search / Filter bar ─── */
@media (max-width: 480px) {
  .d-flex.gap-2.align-items-stretch.mb-3 {
    flex-wrap: nowrap; /* keep on one row — filter btn shows icon only */
  }

  .btn-filter-toggle { padding: 0 0.85rem; }
}

/* ─── Results bar ─── */
@media (max-width: 575px) {
  #resultsBar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* ─── Section body text size ─── */

section p,
section p.lead,
section .lead,
.benefit-text,
.mv-text,
.mv-tagline,
.partner-desc {
  font-size: 18px !important;
}

/* ─── Section padding ─── */
@media (max-width: 767px) {
  .section-dark-purple .container.py-5,
  .section-gradient-soft .container.py-5,
  .section-watermark .container.py-5,
  #partners .container.py-5,
  .section-dark-navy .container.py-5,
  .section-vision-bg .container.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

/* ─── Hero stats strip ─── */
@media (max-width: 767px) {
  .hero-stats { padding: 1.25rem 0; }
  .hero-stat-item { padding: 0.85rem 0.5rem; }
}

/* ─── Gallery thumb actions always visible on touch ─── */
@media (hover: none) {
  .gallery-thumb-actions { opacity: 1; }
}

/* ─── Supplier profile page ─── */
@media (max-width: 575px) {
  .supplier-cover { min-height: 120px; }

  .supplier-profile-card {
    padding: 0 1rem 1.25rem;
    margin-top: 1rem;
  }

  .supplier-avatar {
    width: 76px;
    height: 76px;
    margin-top: 0;
  }

  .masonry-grid { column-count: 1; }

  .area-chip { font-size: 0.72rem; padding: 0.3rem 0.75rem; }
}

/* ─── CMS ─── */
@media (max-width: 575px) {
  .cms-card-body { padding: 1rem; }
  .cms-card-header { padding: 0.75rem 1rem; }
}

/* ─── Footer ─── */
@media (max-width: 575px) {
  footer .container { padding-top: 0.5rem; }
}

/* ════════════════════════════════════════
   SCROLL EFFECTS & ANIMATIONS
   ════════════════════════════════════════ */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ─── Navbar scroll state ─── */
.abes-navbar {
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.abes-navbar.scrolled {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14) !important;
  background: rgba(255, 255, 255, 0.99) !important;
}

/* ─── Floating hero orbs ─── */
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(18px, -20px) scale(1.06); }
  66%       { transform: translate(-14px, 12px) scale(0.95); }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  animation: floatOrb 9s ease-in-out infinite;
  will-change: transform;
}

.hero-orb-1 {
  width: clamp(180px, 28vw, 380px);
  height: clamp(180px, 28vw, 380px);
  background: rgba(255, 100, 10, 0.55);
  top: 5%;
  right: 8%;
  animation-duration: 8s;
}

.hero-orb-2 {
  width: clamp(150px, 22vw, 300px);
  height: clamp(150px, 22vw, 300px);
  background: rgba(30, 60, 230, 0.5);
  bottom: 12%;
  left: 6%;
  animation-duration: 11s;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: clamp(100px, 14vw, 200px);
  height: clamp(100px, 14vw, 200px);
  background: rgba(150, 60, 220, 0.4);
  top: 40%;
  left: 30%;
  animation-duration: 14s;
  animation-delay: -7s;
}

/* ─── Hero scroll cue ─── */
@keyframes bounceCue {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.6; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 1;   }
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.6rem;
  animation: bounceCue 2.2s ease-in-out infinite;
  text-decoration: none;
  z-index: 3;
  transition: color 0.2s;
}

.hero-scroll-cue:hover { color: #fff; }

/* ─── Scroll-to-top button ─── */
#scrollTopBtn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(123, 47, 190, 0.45);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1040;
  pointer-events: none;
}

#scrollTopBtn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#scrollTopBtn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 28px rgba(123, 47, 190, 0.55);
}

/* ─── Enhanced entrance animation easing ─── */
[data-animate] {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Staggered delay helpers ─── */
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* ─── Mobile responsive extras ─── */
@media (max-width: 767px) {
  .hero-orb-1 { opacity: 0.4; }
  .hero-orb-2 { opacity: 0.35; }
  .hero-orb-3 { display: none; }

  .hero-scroll-cue { font-size: 1.3rem; bottom: 1.5rem; }

  #scrollTopBtn { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; font-size: 1rem; }

  .colorful-band section .container.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .section-gradient-soft::before { height: 100px; }
  #partners::after { height: 140px; }
  .hero-section::after { height: 120px; }
  .section-dark-navy::after { height: 160px; }
  .section-vision-bg::after { height: 100px; }
  #contact::after { height: 80px; }
  .frost-transition { height: 32px; }

  .partner-card { padding: 1.5rem 1.25rem; }
  .partner-name  { font-size: 0.95rem; }
  .partner-desc  { font-size: 0.82rem; }
}

@media (max-width: 575px) {
  .hero-orb-1, .hero-orb-2 { filter: blur(50px); }
  .hero-scroll-cue { bottom: 1rem; }

  /* Supplier search full width on xs */
  #supplierResults .col-md-6 { width: 100%; }

  /* Stack contact buttons */
  #contact .d-flex.flex-wrap { flex-direction: column; align-items: center; }
  #contact .btn { width: 100%; max-width: 340px; }

  /* Partner cards full width */
  #partners .col-sm-6 { width: 100%; }

  /* Location map centred and wider */
  .abes-map-img { width: 95% !important; }
}

/* ════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ════════════════════════════════════════ */

/* ─── Navbar logo shrink ─── */
@media (max-width: 575px) {
  .abes-navbar .navbar-brand img {
    width: 120px !important;
    height: auto !important;
  }
}

/* ─── Display headings scale down ─── */
@media (max-width: 767px) {
  .display-6 {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
  }
  .lead {
    font-size: 1rem !important;
  }
  .section-eyebrow,
  .section-eyebrow-light {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }
}

/* ─── Location & About: reduce row gap when stacked ─── */
@media (max-width: 767px) {
  #location .row.g-5,
  #about .row.g-5 {
    --bs-gutter-y: 1.5rem;
    --bs-gutter-x: 1rem;
  }

  /* Location: HTML [text, map] — text first on mobile */
  #location .row.flex-row-reverse .col-md-6:first-child { order: 1; } /* text */
  #location .row.flex-row-reverse .col-md-6:last-child  { order: 2; } /* map */

  /* About: HTML [image, text] — text first on mobile */
  #about .row.flex-row-reverse .col-md-6:first-child { order: 2; } /* image */
  #about .row.flex-row-reverse .col-md-6:last-child  { order: 1; } /* text */

  /* Shrink about image on mobile */
  #about .col-md-6.text-center img {
    max-width: 220px !important;
    width: 60% !important;
  }

  .about-frost-card { padding: 1.75rem 1.25rem; }
}

/* ─── Benefits cards: 2-col on small, 1-col on xs ─── */
@media (max-width: 767px) and (min-width: 480px) {
  #benefits .col-md-6 { width: 50%; }
}
@media (max-width: 479px) {
  #benefits .col-md-6 { width: 100%; }
}

@media (max-width: 767px) {
  .benefit-number { font-size: 2rem; margin-bottom: 0.5rem; }
  .benefit-card   { padding: 1.5rem 1.25rem; }
}

/* ─── Mission & Vision cards ─── */
@media (max-width: 767px) {
  .mv-card { padding: 1.75rem 1.5rem; }
  .mv-label { font-size: 1.1rem; }
  #vision .col-md-6 { width: 100%; }
}

/* ─── Partners: reduce row gap ─── */
@media (max-width: 767px) {
  #partners .row.g-4 {
    --bs-gutter-y: 1rem;
  }
}

/* ─── Contact section ─── */
@media (max-width: 575px) {
  #contact h2 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  #contact .lead { font-size: 0.9rem !important; }
}

/* ─── Footer ─── */
@media (max-width: 575px) {
  footer p, footer small { font-size: 0.8rem; }
}

/* Contact section fades to footer dark */
#contact {
  position: relative;
  overflow: hidden;
}
#contact::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, #1a1a2e);
  pointer-events: none;
  z-index: 1;
}

/* ─── Crop Modal ─── */

#cropModal .modal-body {
  aspect-ratio: var(--crop-ratio, 3/1);
  height: auto;
  min-height: 200px;
  max-height: 70vh;
}
#cropModal .cropper-container { height: 100% !important; }

.crop-zoom-bar {
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

.crop-zoom-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crop-zoom-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  min-width: 3rem;
  text-align: right;
}

/* ─── Gallery Upload Overlay ─── */

.gallery-upload-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1060;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.gallery-upload-overlay.d-none {
  display: none !important;
}

.gallery-upload-dialog {
  background: linear-gradient(135deg, var(--abes-purple-dark), var(--abes-blue));
  border-radius: 1.25rem;
  padding: 2.5rem 3.5rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  animation: uploadDialogIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes uploadDialogIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ─── Prevent long words / URLs from breaking layout ─── */
.benefit-text,
.mv-text,
.partner-desc,
.section-watermark p,
.section-gradient-soft p {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ─── Auth Page (signin.html) ─── */

.auth-page-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f5ff 0%, #f0f4ff 100%);
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.auth-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 8px 40px rgba(123, 47, 190, 0.13);
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid #f0e8ff;
}

.auth-tab-btn {
  flex: 1;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}

.auth-tab-btn.active {
  color: var(--abes-purple);
  border-bottom-color: var(--abes-purple);
}

.auth-body {
  padding: 28px;
}

.btn-primary-abes {
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: var(--abes-transition);
}

.btn-primary-abes:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123, 47, 190, 0.3);
  color: #fff;
}

.btn-primary-abes:disabled {
  opacity: 0.7;
  transform: none;
  color: #fff;
}

.auth-otp-input {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.5rem;
  text-align: center;
  color: var(--abes-purple);
  padding: 0.75rem;
}

.otp-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
}

/* ─── Customer Portal (customer.html) ─── */

.portal-wrap {
  display: flex;
  min-height: calc(100vh - 66px);
  margin-top: 66px;
}

.portal-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid rgba(123, 47, 190, 0.1);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 66px;
  height: calc(100vh - 66px);
  overflow-y: auto;
}

.portal-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(123, 47, 190, 0.08);
}

.portal-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.portal-nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
}

.portal-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  color: #666;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s;
  width: 100%;
}

.portal-nav-link:hover {
  background: rgba(123, 47, 190, 0.05);
  color: var(--abes-purple);
}

.portal-nav-link.active {
  background: rgba(123, 47, 190, 0.07);
  color: var(--abes-purple);
  border-left-color: var(--abes-purple);
  font-weight: 600;
}

.portal-main {
  flex: 1;
  background: #f5f3fb;
  padding: 2rem;
  min-width: 0;
  overflow-y: auto;
}

.portal-section-header {
  margin-bottom: 1.5rem;
}

.portal-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.portal-search-bar .form-control,
.portal-search-bar .form-select {
  border-color: rgba(123, 47, 190, 0.2);
}

.portal-search-bar .form-control:focus,
.portal-search-bar .form-select:focus {
  border-color: var(--abes-purple);
  box-shadow: 0 0 0 0.2rem rgba(123, 47, 190, 0.12);
}

.portal-industry-select {
  max-width: 180px;
  border-left: none !important;
}

.portal-card {
  background: #fff;
  border-radius: var(--abes-card-radius);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(123, 47, 190, 0.07);
  height: 100%;
}

.portal-event-card {
  background: #fff;
  border-radius: var(--abes-card-radius);
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(123, 47, 190, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--abes-transition);
}

.portal-event-card:hover {
  box-shadow: 0 8px 28px rgba(123, 47, 190, 0.12);
  transform: translateY(-2px);
}

.portal-event-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.portal-event-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--abes-purple), var(--abes-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.portal-event-type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--abes-purple);
}

.portal-event-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

.portal-event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: #666;
}

.portal-event-notes {
  font-size: 0.8rem;
  color: #888;
  margin: 0.25rem 0 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(123, 47, 190, 0.07);
}

/* Mobile: stack sidebar above main */
@media (max-width: 991px) {
  .portal-wrap {
    flex-direction: column;
  }

  .portal-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid rgba(123, 47, 190, 0.1);
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
  }

  .portal-user-card {
    display: none;
  }

  .portal-nav {
    flex-direction: row;
    padding: 0;
    width: 100%;
  }

  .portal-nav-link {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .portal-nav-link.active {
    border-left: none;
    border-bottom-color: var(--abes-purple);
  }

  .portal-main {
    padding: 1.25rem;
  }
}
