/* =========================================================
   EPR ACCESS — PREMIUM VISUAL UPGRADES
   Brand colours extracted from official logo:
     Red  (brand)  : #E2001A  rgb(204,26,26)
     Green (accent) : #2ECC2E  rgb(46,204,46)
   Loaded after output.css
========================================================= */

/* --- NSE Stock Ticker Items (text-only) --- */
.stock-ticker-item {
  background: linear-gradient(135deg, #0a1628 0%, #0f2040 100%) !important;
  border-color: rgba(46,204,46,0.3) !important;
  min-width: 130px;
}
.stock-ticker-item span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2ECC2E;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, #2ECC2E, #E2001A, #2ECC2E);
  background-size: 200% 100%;
  animation: progressShimmer 4s linear infinite;
  z-index: 9999; transition: width 0.08s linear;
  pointer-events: none;
}
@keyframes progressShimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* --- Nav Scroll Glass ---
   The glass background lives on ::before (not on .site-header itself) because
   backdrop-filter on an element makes it a containing block for position:fixed
   descendants. .nav-drawer/.nav-overlay are fixed inside .site-header, so a
   filter directly on .site-header would shrink them to the header's own height
   once scrolled, exposing the page content underneath. */
.site-header {
  transition: box-shadow 0.4s;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 40px rgba(0,0,0,0.45) !important;
}
.site-header.scrolled::before {
  background: rgba(10,22,40,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* --- Gradient Text (logo green tones) --- */
.gradient-text {
  background: linear-gradient(135deg, #5ade5a 0%, #2ECC2E 45%, #80e880 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Section Eyebrow Labels --- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: #2ECC2E;
  background: rgba(46,204,46,0.1);
  border: 1px solid rgba(46,204,46,0.28);
  padding: 4px 14px; border-radius: 100px;
  margin-bottom: 12px;
}

/* --- Stats Ribbon (below hero) --- */
.stats-ribbon {
  background: #0f2040;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-ribbon-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,0.06);
}
.ribbon-stat {
  padding: 34px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative; cursor: default;
  transition: background 0.3s;
}
.ribbon-stat:hover { background: rgba(255,255,255,0.03); }
.ribbon-stat::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: linear-gradient(90deg, #2ECC2E, #E2001A);
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}
.ribbon-stat:hover::after { width: 56%; }
.ribbon-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: #ffffff; line-height: 1; margin-bottom: 7px;
}
.ribbon-stat strong .acc { color: #2ECC2E; }
.ribbon-stat em {
  display: block; font-style: normal;
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.38);
}
@media (max-width: 768px) {
  .stats-ribbon-inner {
    grid-template-columns: 1fr 1fr;
    border-left: none;
  }
  .ribbon-stat {
    padding: 22px 12px;
    border-left: 1px solid rgba(255,255,255,0.06);
  }
  .ribbon-stat strong { font-size: 1.7rem; }
}

/* --- Plan Card Colored Top Bars --- */
.plan-card { position: relative; overflow: hidden; }
.plan-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
}
.plan-card[data-type="FIXED_DEPOSIT"]::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.plan-card[data-type="REAL_ESTATE"]::before {
  background: linear-gradient(90deg, #2ECC2E, #5ade5a);
}
.plan-card[data-type="STOCK_EQUITY"]::before {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}
.plan-card[data-type="SAVINGS"]::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}
.plan-card[data-type="TRADING"]::before {
  background: linear-gradient(90deg, #ea580c, #fb923c);
}
.plan-card[data-type="DOLLAR"]::before {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}
.plan-card.featured {
  border-color: rgba(226,0,26,0.35) !important;
  box-shadow: 0 12px 48px rgba(226,0,26,0.12) !important;
}
.plan-card.featured::before {
  background: linear-gradient(90deg, #E2001A, #ff4d4d);
}
.plan-featured-badge {
  position: absolute; top: 14px; right: -28px;
  background: #E2001A; color: #fff;
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 3px 40px; transform: rotate(45deg);
  pointer-events: none; z-index: 2;
}

/* Return rate visual bar */
.plan-return-bar {
  height: 4px; background: #f3f4f6;
  border-radius: 2px; overflow: hidden; margin-top: 6px;
}
.plan-return-fill {
  height: 100%; border-radius: 2px; width: 0;
  transition: width 1.2s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
.plan-card[data-type="FIXED_DEPOSIT"] .plan-return-fill {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.plan-card[data-type="REAL_ESTATE"] .plan-return-fill {
  background: linear-gradient(90deg, #2ECC2E, #5ade5a);
}
.plan-card[data-type="STOCK_EQUITY"] .plan-return-fill {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}
.plan-card[data-type="SAVINGS"] .plan-return-fill {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}
.plan-card[data-type="TRADING"] .plan-return-fill {
  background: linear-gradient(90deg, #ea580c, #fb923c);
}
.plan-card[data-type="DOLLAR"] .plan-return-fill {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}
.plan-card.featured .plan-return-fill {
  background: linear-gradient(90deg, #E2001A, #ff4d4d);
}
.plan-card.visible .plan-return-fill { width: var(--bar-w, 70%); }

/* --- SVG Feature Icon Container --- */
.feature-icon-wrap {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: rgba(46,204,46,0.1);
  border: 1px solid rgba(46,204,46,0.22);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
}
.feature-icon-wrap svg {
  width: 26px; height: 26px; color: #2ECC2E; transition: all 0.35s;
}
.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, #2ECC2E, #28B828);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(46,204,46,0.4);
  transform: rotate(-6deg) scale(1.1);
}
.feature-card:hover .feature-icon-wrap svg { color: #fff; }

/* Glass cards in dark sections */
.section-dark .feature-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: none !important;
}
.section-dark .feature-card:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(46,204,46,0.3) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.07) !important;
}
.section-dark .feature-card h3 { color: #ffffff !important; }
.section-dark .feature-card p  { color: rgba(255,255,255,0.58) !important; }

/* --- CTA Animated Mesh Background --- */
.cta-section { position: relative; overflow: hidden; padding: 100px 0; }
.cta-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 12% 50%, rgba(46,204,46,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 88% 50%, rgba(226,0,26,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 55% 55% at 50% 110%, rgba(46,204,46,0.08) 0%, transparent 60%);
  animation: meshPulse 10s ease-in-out infinite;
}
@keyframes meshPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.cta-section .container { position: relative; z-index: 2; }

.cta-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46,204,46,0.1); border: 1px solid rgba(46,204,46,0.28);
  color: #2ECC2E; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; padding: 6px 16px; border-radius: 100px;
  margin-bottom: 20px; text-transform: uppercase;
}
.cta-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #2ECC2E; animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,204,46,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(46,204,46,0); }
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-ghost {
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.2);
  color: #ffffff; padding: 14px 32px;
  border-radius: 8px; font-weight: 600; font-size: 1.05rem;
  display: inline-flex; align-items: center;
  transition: all 0.25s; white-space: nowrap; text-decoration: none;
}
.btn-cta-ghost:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.4);
}

/* --- Quotes Section Decoration --- */
.quotes-section { position: relative; overflow: hidden; }
.quotes-section::before {
  content: '\201C';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  font-family: 'Playfair Display', serif; font-size: 24rem;
  color: rgba(46,204,46,0.05); pointer-events: none;
  user-select: none; line-height: 1; z-index: 0;
}
.quotes-carousel { position: relative; z-index: 1; }

/* --- Babatunde Fasuyi: adjust head crop so full face is centred --- */
.team-card:has(img[alt="Babatunde Fasuyi"]) .team-photo img {
  object-position: center 15% !important;
}

/* --- Team Photo Hover Scale --- */
.team-thumb img {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s, box-shadow 0.3s !important;
}
.team-thumb:hover img { transform: scale(1.07) !important; }

/* --- Dot-pattern Section Background --- */
.section-dots {
  background-image: radial-gradient(circle, rgba(46,204,46,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* --- Smooth section divider --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e5e7eb 30%, #e5e7eb 70%, transparent 100%);
}

/* --- Value cards: glassmorphism (replaces solid green) --- */
.value-card {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.12) !important;
  position: relative;
  overflow: hidden;
}
/* Green accent line on top of each card */
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2ECC2E, #80e880);
}
.value-card h3 {
  color: #ffffff !important;
  margin-bottom: 12px;
}
.value-card p {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.92rem;
  line-height: 1.65;
}
.value-card:hover {
  background: rgba(255,255,255,0.11) !important;
  border-color: rgba(46,204,46,0.35) !important;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 0 0 1px rgba(46,204,46,0.2) !important;
  transform: translateY(-6px) scale(1.02) !important;
}

/* --- Subsidiary Cards --- */
.subsidiary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.subsidiary-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s, border-color 0.35s;
}
.subsidiary-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.1);
  border-color: rgba(46,204,46,0.3);
}
.subsidiary-icon { font-size: 2.4rem; margin-bottom: 14px; }
.subsidiary-card h3 { color: #0a1628; margin-bottom: 10px; font-size: 1.1rem; }
.subsidiary-card p { color: #6b7280; font-size: 0.9rem; line-height: 1.65; }

/* --- EPR Access Food Limited Subsidiary Card --- */
.food-subsidiary-card {
  background: linear-gradient(135deg, #fff9f0 0%, #f0fdf4 100%);
  border: 2px solid rgba(46,204,46,0.2);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 32px rgba(46,204,46,0.08);
}
.food-sub-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.food-sub-icon {
  font-size: 3rem;
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #2ECC2E, #28B828);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.food-sub-header h3 { margin-bottom: 4px; color: #0a1628; font-size: 1.4rem; }
.food-sub-intro { color: #374151; font-size: 0.97rem; line-height: 1.7; margin-bottom: 24px; }
.food-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.food-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}
.food-sub-emoji { font-size: 1.8rem; flex-shrink: 0; }
.food-sub-item strong { display: block; color: #0a1628; margin-bottom: 4px; font-size: 0.95rem; }
.food-sub-item p { color: #6b7280; font-size: 0.85rem; line-height: 1.5; margin: 0; }
.food-sub-goal {
  font-weight: 700;
  color: #2ECC2E;
  font-size: 1rem;
  text-align: center;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(46,204,46,0.15);
}

/* --- Investment Detail Cards --- */
.investment-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.investment-detail-grid.single-card {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.inv-detail-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.35s, box-shadow 0.35s;
}
.inv-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46,204,46,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.inv-detail-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.inv-detail-badge.savings   { background: #f3e8ff; color: #6d28d9; }
.inv-detail-badge.fixed     { background: #fef3c7; color: #92400e; }
.inv-detail-badge.trading   { background: #fff7ed; color: #c2410c; }
.inv-detail-badge.dollar    { background: #f0fdf4; color: #166534; }
.inv-detail-badge.real-estate { background: #d1fae5; color: #065f46; }
.inv-detail-card h3 { color: #fff; margin-bottom: 12px; font-size: 1.15rem; }
.inv-detail-card > p { color: rgba(255,255,255,0.72); font-size: 0.93rem; line-height: 1.65; margin-bottom: 18px; }
.inv-features { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.inv-features li { color: rgba(255,255,255,0.7); font-size: 0.88rem; padding-left: 16px; position: relative; line-height: 1.5; }
.inv-features li::before { content: '✓'; position: absolute; left: 0; color: #2ECC2E; font-weight: 700; }
.inv-features li strong { color: rgba(255,255,255,0.95); }

.trading-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.trade-cat h4 { color: #2ECC2E; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.trade-cat ul { list-style: none; padding: 0; }
.trade-cat ul li { color: rgba(255,255,255,0.65); font-size: 0.82rem; padding: 3px 0 3px 12px; position: relative; }
.trade-cat ul li::before { content: '–'; position: absolute; left: 0; color: #2ECC2E; }

.re-services { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.re-col h4 { color: #2ECC2E; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.re-col ul { list-style: none; padding: 0; }
.re-col ul li { color: rgba(255,255,255,0.65); font-size: 0.82rem; padding: 3px 0 3px 12px; position: relative; }
.re-col ul li::before { content: '–'; position: absolute; left: 0; color: #2ECC2E; }

@media (max-width: 640px) {
  .trading-categories, .re-services { grid-template-columns: 1fr; }
  .investment-detail-grid { grid-template-columns: 1fr; }
}

/* --- Invest Tenure Selector --- */
.tenure-breakdown {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.tenure-breakdown h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.tenure-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tenure-row:last-child { border-bottom: none; }
.tenure-row span { color: rgba(255,255,255,0.7); }
.tenure-row strong { color: #2ECC2E; }

.invest-preview {
  background: var(--gray-50, #f9fafb);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.invest-preview .return-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

/* --- Services Overview Grid --- */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2ECC2E, #80e880);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.1);
  border-color: rgba(46,204,46,0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #0a1628;
}
.service-card p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* --- Vision / Mission Cards --- */
.vm-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s, border-color 0.35s;
}
.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.1);
  border-color: rgba(46,204,46,0.35);
}
.vm-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2ECC2E, #28B828);
  margin-bottom: 18px;
}
.vm-icon svg { width: 28px; height: 28px; color: #fff; }
.vm-card h3 { margin-bottom: 10px; color: #0a1628; }
.vm-card p { color: #4b5563; line-height: 1.7; font-size: 0.95rem; }

/* Make 6-card values grid wrap nicely */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* --- Footer Social Icons --- */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all 0.25s;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover {
  background: #2ECC2E;
  border-color: #2ECC2E;
  color: #fff;
  transform: translateY(-3px);
}

/* --- Testimonials --- */
.testimonials-section { background: #f9fafb; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.1);
  border-color: rgba(46,204,46,0.3);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-quote {
  color: #374151;
  font-size: 0.94rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ECC2E, #28B828);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.testimonial-meta strong {
  display: block;
  color: #0a1628;
  font-size: 0.92rem;
}
.testimonial-meta span {
  font-size: 0.78rem;
  color: #6b7280;
}

/* --- Real Estate Property Cards --- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.property-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s, border-color 0.35s;
  position: relative;
}
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
  border-color: rgba(46,204,46,0.3);
}
.property-card.property-featured {
  border-color: rgba(46,204,46,0.35);
  box-shadow: 0 8px 32px rgba(46,204,46,0.12);
}
.property-featured-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, #2ECC2E, #28B828);
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 4px 12px; border-radius: 100px;
  z-index: 2;
}
.property-img-wrap { position: relative; overflow: hidden; height: 210px; background: #f3f4f6; }
.property-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.property-card:hover .property-img { transform: scale(1.05); }
.property-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.property-status-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(10,22,40,0.75); backdrop-filter: blur(6px);
  color: #2ECC2E; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 3px 10px; border-radius: 100px;
}
.property-body { padding: 20px; }
.property-type-tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  background: #d1fae5; color: #065f46;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 10px;
}
.property-title { font-size: 1.08rem; color: #0a1628; margin-bottom: 6px; line-height: 1.35; }
.property-location { font-size: 0.85rem; color: #6b7280; margin-bottom: 8px; }
.property-desc { font-size: 0.85rem; color: #6b7280; line-height: 1.55; margin-bottom: 12px; }
.property-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f3f4f6;
}
.property-meta span { font-size: 0.82rem; color: #374151; font-weight: 500; }
.property-price { display: flex; justify-content: space-between; align-items: center; }
.price-label { font-size: 0.78rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.price-value { font-size: 1.25rem; font-weight: 700; color: #CC0000; }
.property-subheading {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: #0a1628;
  margin: 14px 0 8px;
}
.property-plan-list {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 4px;
}
.property-plan-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.85rem; color: #374151;
}
.property-plan-list li strong { color: #0a1628; font-weight: 700; }
.property-feature-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
}
.property-feature-list li {
  font-size: 0.76rem; color: #065f46; background: #d1fae5;
  padding: 3px 10px; border-radius: 100px; font-weight: 600;
}

/* --- Manual Wallet Credit Box (admin user detail) --- */
.wallet-balance-badge { font-size: 0.95rem; color: #4b5563; }

.manual-credit-box {
  margin-top: 20px;
  background: rgba(46,204,46,0.04);
  border: 1.5px dashed rgba(46,204,46,0.35);
  border-radius: 12px;
  padding: 20px 24px;
}
.manual-credit-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0a1628;
  margin-bottom: 8px;
}
.manual-credit-header svg { color: #2ECC2E; flex-shrink: 0; }
.manual-credit-badge {
  margin-left: auto;
  background: rgba(226,0,26,0.1);
  color: #E2001A;
  border: 1px solid rgba(226,0,26,0.25);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 100px;
}
.manual-credit-note {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.5;
}
.manual-credit-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.manual-credit-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 160px;
}
.manual-credit-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}
.manual-credit-field input {
  padding: 9px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.92rem;
  transition: border-color 0.2s;
  background: #fff;
}
.manual-credit-field input:focus {
  outline: none;
  border-color: #2ECC2E;
}
.manual-credit-btn {
  white-space: nowrap;
  padding: 10px 20px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .manual-credit-row { flex-direction: column; }
  .manual-credit-btn { width: 100%; justify-content: center; }
}

/* --- Fix section-sub negative margin overlap --- */
/* Original had margin:-12px which pulled subtitle into the h3 above it */
.section-sub {
  margin: 6px 0 20px !important;
}

/* Ensure h3 inside dash-section has breathing room before the subtitle */
.dash-section h3 {
  margin-bottom: 4px;
}

/* Dashboard stat card: prevent value overflow --- */
.stat-card {
  overflow: hidden;        /* hard stop — nothing bleeds outside the card */
}
.stat-body {
  flex: 1;
  min-width: 0;            /* lets the flex child shrink below its content size */
}
.stat-value {
  font-size: clamp(0.85rem, 1.5vw, 1.2rem) !important;
  font-weight: 700 !important;
  display: block !important;
  white-space: normal;       /* wrap long values (e.g. large AUM) instead of */
  overflow-wrap: anywhere;   /* hard-clipping them inside the card */
  line-height: 1.2;
}
