/* ==========================================================================
   SHRAMIK PORTAL - MODERN HOME PAGE UPGRADE STYLES
   ========================================================================== */

:root {
  --sh-primary: #0b2545;
  --sh-primary-dark: #07192f;
  --sh-primary-light: #134074;
  --sh-accent: #e06d10;
  --sh-accent-hover: #c45a05;
  --sh-accent-light: #fff3ea;
  --sh-gold: #ffb703;
  --sh-success: #10b981;
  --sh-success-bg: #ecfdf5;
  --sh-bg-soft: #f4f6fa;
  --sh-card-bg: #ffffff;
  --sh-border: #e2e8f0;
  --sh-border-light: #f1f5f9;
  --sh-text: #0f172a;
  --sh-text-muted: #64748b;
  --sh-radius-sm: 8px;
  --sh-radius-md: 14px;
  --sh-radius-lg: 20px;
  --sh-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --sh-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --sh-shadow-lg: 0 20px 35px -10px rgba(11, 37, 69, 0.14);
}

/* --------------------------------------------------------------------------
   1. TICKER / ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.sh-ticker-bar {
  background: linear-gradient(90deg, #0b2545 0%, #134074 100%);
  color: #ffffff;
  padding: 8px 0;
  border-bottom: 2px solid var(--sh-accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.sh-ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sh-ticker-badge {
  background: var(--sh-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(224, 109, 16, 0.3);
  flex-shrink: 0;
}

.sh-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: shPulse 1.5s infinite;
}

@keyframes shPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 8px #ffffff; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.sh-ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
}

.sh-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: shMarquee 30s linear infinite;
}

.sh-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes shMarquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.sh-ticker-item {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  margin-right: 35px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.sh-ticker-item:hover {
  color: var(--sh-gold);
}

.sh-ticker-item::before {
  content: "★";
  color: var(--sh-accent);
  margin-right: 8px;
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.sh-hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(19, 64, 116, 0.96) 0%, rgba(11, 37, 69, 0.99) 90%), url('/static/images/bg/banner-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 50px 0 45px;
  overflow: hidden;
}

.sh-hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: linear-gradient(to top, var(--sh-bg-soft), transparent);
}

.sh-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sh-gold);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 14px;
}

.sh-hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 12px;
}

.sh-hero-title span {
  color: var(--sh-accent);
  background: linear-gradient(90deg, #ff8a3d, #ffb703);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sh-hero-subtitle {
  font-size: 14.5px;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 22px;
}

.sh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.sh-btn-accent {
  background: linear-gradient(135deg, #e06d10 0%, #ff8a3d 100%);
  color: #ffffff !important;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 30px;
  box-shadow: 0 8px 18px rgba(224, 109, 16, 0.35);
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.sh-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(224, 109, 16, 0.45);
  color: #ffffff !important;
}

.sh-btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.sh-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.sh-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sh-hero-pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94a3b8;
}

.sh-hero-pill-item i {
  color: var(--sh-accent);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   3. VERIFICATION & SEARCH CARD
   -------------------------------------------------------------------------- */
.sh-search-card-container {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  margin-bottom: 35px;
}

.sh-search-card {
  background: #ffffff;
  border-radius: var(--sh-radius-lg);
  padding: 22px 26px;
  box-shadow: var(--sh-shadow-lg);
  border: 1px solid var(--sh-border);
}

.sh-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.sh-search-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sh-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.sh-search-title i {
  color: var(--sh-accent);
}

.sh-search-badge {
  background: var(--sh-success-bg);
  color: var(--sh-success);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sh-form-control {
  height: 48px;
  border-radius: var(--sh-radius-md);
  border: 1.5px solid #cbd5e1;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--sh-text);
  transition: all 0.25s ease;
  background-color: #f8fafc;
}

.sh-form-control:focus {
  background-color: #ffffff;
  border-color: var(--sh-accent);
  box-shadow: 0 0 0 3px rgba(224, 109, 16, 0.15);
  outline: none;
}

.input-group .sh-form-control {
  border-radius: 0 var(--sh-radius-md) var(--sh-radius-md) 0 !important;
}

.input-group-text {
  border-radius: var(--sh-radius-md) 0 0 var(--sh-radius-md) !important;
  border: 1.5px solid #cbd5e1;
  padding: 0 14px;
}

.sh-search-btn {
  height: 48px;
  background: linear-gradient(135deg, var(--sh-primary) 0%, var(--sh-primary-light) 100%);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--sh-radius-md);
  border: none;
  font-size: 14.5px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
  transition: all 0.3s ease;
}

.sh-search-btn:hover {
  background: linear-gradient(135deg, #07192f 0%, #0b2545 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 37, 69, 0.3);
  color: #ffffff;
}

.sh-search-hint {
  font-size: 12px;
  color: var(--sh-text-muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   4. BENTO DASHBOARD SECTION
   -------------------------------------------------------------------------- */
.sh-bento-section {
  padding: 10px 0 50px;
  background-color: var(--sh-bg-soft);
}

.sh-bento-card {
  background: #ffffff;
  border-radius: var(--sh-radius-lg);
  border: 1px solid var(--sh-border);
  box-shadow: var(--sh-shadow-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sh-bento-card:hover {
  box-shadow: var(--sh-shadow-lg);
}

.sh-card-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--sh-border-light);
}

.sh-card-header.header-primary {
  background: linear-gradient(135deg, var(--sh-primary) 0%, var(--sh-primary-light) 100%);
  color: #ffffff;
}

.sh-card-header.header-accent {
  background: linear-gradient(135deg, var(--sh-accent) 0%, #ff8a3d 100%);
  color: #ffffff;
}

.sh-card-header-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.sh-card-counter {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Notices List */
.sh-notices-container {
  padding: 14px;
  flex: 1;
  max-height: 480px;
  overflow-y: auto;
}

.sh-notices-container::-webkit-scrollbar {
  width: 5px;
}
.sh-notices-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.sh-notice-item {
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: var(--sh-radius-md);
  background: #f8fafc;
  border: 1px solid var(--sh-border-light);
  border-left: 4px solid var(--sh-accent);
  transition: all 0.25s ease;
  display: block;
  text-decoration: none;
}

.sh-notice-item:hover {
  background: #ffffff;
  border-color: var(--sh-border);
  border-left-color: var(--sh-primary);
  transform: translateX(3px);
  box-shadow: var(--sh-shadow-sm);
}

.sh-notice-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sh-accent);
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.sh-notice-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--sh-text);
  line-height: 1.45;
  margin: 0;
}

/* Center Column: Welcome Box */
.sh-welcome-box {
  padding: 22px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--sh-border-light);
}

.sh-welcome-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--sh-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.sh-welcome-desc {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 18px;
}

.sh-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.sh-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--sh-radius-sm);
  background: #f8fafc;
  border: 1px solid var(--sh-border-light);
  font-size: 12.5px;
  transition: background 0.2s;
}

.sh-contact-card:hover {
  background: #f1f5f9;
}

.sh-contact-card i {
  color: var(--sh-accent);
  font-size: 15px;
  margin-top: 2px;
}

.sh-contact-card div strong {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--sh-text-muted);
  letter-spacing: 0.3px;
}

.sh-contact-card div a, .sh-contact-card div span {
  color: var(--sh-text);
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
}

.sh-contact-card div a:hover {
  color: var(--sh-accent);
}

/* Gallery Section */
.sh-gallery-box {
  padding: 20px;
}

.sh-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sh-gallery-header h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sh-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sh-gallery-header h5 i {
  color: var(--sh-accent);
}

.sh-gallery-img-wrapper {
  position: relative;
  border-radius: var(--sh-radius-md);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--sh-shadow-sm);
}

.sh-gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sh-gallery-img-wrapper:hover img {
  transform: scale(1.05);
}

.sh-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.85) 0%, transparent 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
}

/* Members List */
.sh-members-container {
  padding: 14px;
  flex: 1;
  max-height: 480px;
  overflow-y: auto;
}

.sh-member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: var(--sh-radius-md);
  background: #ffffff;
  border: 1px solid var(--sh-border);
  transition: all 0.25s ease;
  text-decoration: none;
}

.sh-member-item:hover {
  background: #f8fafc;
  border-color: var(--sh-accent);
  transform: translateY(-2px);
  box-shadow: var(--sh-shadow-sm);
}

.sh-member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
}

.sh-member-avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sh-primary) 0%, var(--sh-primary-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
}

.sh-member-info {
  flex: 1;
  min-width: 0;
}

.sh-member-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--sh-text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sh-member-badge {
  color: var(--sh-success);
  font-size: 12px;
}

.sh-member-city {
  font-size: 11.5px;
  color: var(--sh-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sh-member-link-arrow {
  color: #cbd5e1;
  font-size: 11px;
  transition: transform 0.2s, color 0.2s;
}

.sh-member-item:hover .sh-member-link-arrow {
  color: var(--sh-accent);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   5. WELFARE PILLARS & SERVICES SECTION
   -------------------------------------------------------------------------- */
.sh-pillars-section {
  padding: 55px 0;
  background: #ffffff;
}

.sh-section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.sh-section-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sh-accent);
  background: var(--sh-accent-light);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.sh-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--sh-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.sh-section-desc {
  font-size: 14px;
  color: var(--sh-text-muted);
  line-height: 1.6;
}

.sh-pillar-card {
  padding: 26px 20px;
  border-radius: var(--sh-radius-lg);
  background: #ffffff;
  border: 1px solid var(--sh-border);
  box-shadow: var(--sh-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sh-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-shadow-md);
  border-color: var(--sh-accent);
}

.sh-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.sh-pillar-card:hover .sh-pillar-icon {
  transform: scale(1.1);
}

.icon-blue {
  background: #eff6ff;
  color: #2563eb;
}
.icon-orange {
  background: #fff7ed;
  color: #ea580c;
}
.icon-emerald {
  background: #ecfdf5;
  color: #059669;
}
.icon-purple {
  background: #faf5ff;
  color: #9333ea;
}

.sh-pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sh-primary);
  margin-bottom: 8px;
}

.sh-pillar-text {
  font-size: 13px;
  color: var(--sh-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.sh-pillar-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sh-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.sh-pillar-card:hover .sh-pillar-link {
  gap: 8px;
  color: var(--sh-accent-hover);
}

/* --------------------------------------------------------------------------
   6. IMPACT METRICS & COUNTERS
   -------------------------------------------------------------------------- */
.sh-stats-section {
  padding: 45px 0;
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  color: #ffffff;
}

.sh-stat-card {
  text-align: center;
  padding: 16px 12px;
}

.sh-stat-icon {
  font-size: 28px;
  color: var(--sh-gold);
  margin-bottom: 10px;
}

.sh-stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.sh-stat-label {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. 3-STEP VERIFICATION GUIDE
   -------------------------------------------------------------------------- */
.sh-guide-section {
  padding: 55px 0;
  background-color: var(--sh-bg-soft);
}

.sh-step-card {
  background: #ffffff;
  border-radius: var(--sh-radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--sh-border);
  box-shadow: var(--sh-shadow-sm);
  position: relative;
  height: 100%;
  transition: transform 0.3s;
}

.sh-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-shadow-md);
}

.sh-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sh-accent-light);
  color: var(--sh-accent);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 2px solid var(--sh-accent);
}

.sh-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sh-primary);
  margin-bottom: 6px;
}

.sh-step-desc {
  font-size: 12.5px;
  color: var(--sh-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. CTA BANNER
   -------------------------------------------------------------------------- */
.sh-cta-section {
  padding: 0 0 55px;
  background-color: var(--sh-bg-soft);
}

.sh-cta-card {
  background: linear-gradient(135deg, #e06d10 0%, #b84f04 100%);
  border-radius: var(--sh-radius-lg);
  padding: 40px 35px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(224, 109, 16, 0.25);
  position: relative;
  overflow: hidden;
}

.sh-cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.sh-cta-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.sh-cta-desc {
  font-size: 14px;
  color: #ffe3cb;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 0;
}

.sh-cta-btn-white {
  background: #ffffff;
  color: var(--sh-primary) !important;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.sh-cta-btn-white:hover {
  background: var(--sh-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.sh-cta-btn-outline {
  background: transparent;
  color: #ffffff !important;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 30px;
  border: 1.5px solid #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.sh-cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE OPTIMIZATIONS (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  /* Mobile Navigation Drawer Refinements */
  .header {
    background: #ffffff;
    position: relative;
    z-index: 1040;
  }
  .header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1050;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
    border-top: 1px solid #e2e8f0;
    border-bottom: 2px solid var(--sh-accent);
    padding: 15px 20px 25px;
  }
  .header .navbar-nav .nav-link {
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #0b2545 !important;
    border-bottom: 1px solid #f1f5f9;
  }
  .header .add-listing {
    margin-top: 14px;
  }
  .header .add-listing .btn {
    width: 100%;
    padding: 11px;
    font-weight: 700;
    border-radius: 30px;
  }

  .sh-search-card-container {
    margin-top: 15px;
    margin-bottom: 25px;
  }
  .sh-bento-card {
    margin-bottom: 20px;
  }
  .sh-cta-card {
    padding: 28px 20px;
    text-align: center;
  }
  .sh-cta-desc {
    margin-bottom: 18px;
  }
  .sh-cta-actions {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .sh-hero-section {
    padding: 28px 0 22px;
  }
  .sh-hero-tag {
    font-size: 11px;
    padding: 3px 10px;
    margin-bottom: 8px;
  }
  .sh-hero-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .sh-hero-subtitle {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .sh-hero-actions {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
  }
  .sh-btn-accent, .sh-btn-outline-light {
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    justify-content: center;
  }
  .sh-hero-pills {
    gap: 8px;
    padding-top: 10px;
  }
  .sh-hero-pill-item {
    font-size: 11px;
  }
  .sh-search-card {
    padding: 16px 14px;
  }
  .sh-search-title {
    font-size: 1.05rem;
  }
  .sh-section-title {
    font-size: 1.5rem;
  }
  .sh-stat-number {
    font-size: 1.7rem;
  }
  .sh-gallery-img-wrapper {
    height: 220px;
  }
}

/* ==========================================================================
   MODERN PORTAL FOOTER STYLES
   ========================================================================== */
.sh-site-footer {
  background: linear-gradient(180deg, #07192f 0%, #040e1b 100%);
  color: #cbd5e1;
  border-top: 4px solid #e06d10;
  position: relative;
  margin-top: 0 !important;
  padding-top: 55px;
  font-family: 'Poppins', sans-serif;
}

.sh-footer-logo {
  max-height: 52px;
  width: auto;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sh-footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.sh-footer-tagline {
  color: #ffb703;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.sh-footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 16px;
}

.sh-footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.sh-footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: #e06d10;
  border-radius: 2px;
}

.sh-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sh-footer-links li {
  margin-bottom: 10px;
}

.sh-footer-links li a {
  color: #cbd5e1;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.sh-footer-links li a i {
  font-size: 10px;
  color: #e06d10;
  transition: transform 0.2s ease;
}

.sh-footer-links li a:hover {
  color: #ffb703;
  transform: translateX(4px);
}

.sh-footer-links li a:hover i {
  transform: translateX(2px);
}

.sh-footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sh-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: 1.5;
}

.sh-footer-contact-list li i {
  color: #ffb703;
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.sh-footer-contact-list li a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.sh-footer-contact-list li a:hover {
  color: #ffffff;
}

.sh-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.sh-footer-bottom-bar {
  background: #030a14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  margin-top: 40px;
  font-size: 12.5px;
  color: #64748b;
}

.sh-footer-bottom-bar a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.sh-footer-bottom-bar a:hover {
  color: #ffffff;
}

.back-to-top {
  border-radius: 50% !important;
  width: 42px !important;
  height: 42px !important;
  line-height: 42px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000 !important;
}

@media (max-width: 767.98px) {
  .sh-site-footer {
    padding-top: 35px;
  }
  .sh-footer-heading {
    margin-bottom: 12px;
    margin-top: 10px;
  }
  .sh-footer-bottom-bar {
    margin-top: 25px;
    padding-bottom: 35px;
    text-align: center;
  }
  .sh-footer-bottom-bar .text-md-end {
    text-align: center !important;
    margin-top: 6px;
  }
  .back-to-top {
    right: 15px !important;
    bottom: 15px !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 16px !important;
  }
}
