SurveyVista/Web/Views/Shared/Components/Footer/Default.cshtml
2026-03-07 02:37:33 +01:00

736 lines
24 KiB
Text

@model Footer
<style>
/* ══════════════════════════════════════
FOOTER PAGE — WRAPPER
══════════════════════════════════════ */
.fp-wrap {
background: transparent;
color: rgba(255, 255, 255, 0.93);
font-family: 'DM Sans', sans-serif;
position: relative;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* ══════════════════════════════════════
HERO SECTION
══════════════════════════════════════ */
.fp-hero {
position: relative;
overflow: hidden;
flex: 1;
display: flex;
align-items: center;
padding: 80px 0;
z-index: 1;
}
.fp-hero .h-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
background-size: 60px 60px;
pointer-events: none;
mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
}
.fp-hero-inner {
position: relative;
z-index: 10;
max-width: 1200px;
width: 100%;
margin: 0 auto;
padding: 0 32px;
}
.fp-two-col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 56px;
align-items: center;
}
/* ── Left Column ── */
.fp-left { padding-right: 8px; }
.fp-tag {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 5px 14px 5px 8px;
border-radius: 100px;
background: rgba(59, 123, 247, 0.06);
border: 1px solid rgba(59, 123, 247, 0.12);
font-size: 0.68rem;
font-weight: 600;
color: rgba(255, 255, 255, 0.5);
letter-spacing: 0.5px;
text-transform: uppercase;
margin-bottom: 20px;
}
.fp-tag .t-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #3b7bf7;
box-shadow: 0 0 6px rgba(59, 123, 247, 0.5);
animation: fpPulse 2.5s ease-in-out infinite;
}
@@keyframes fpPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.fp-title {
font-family: 'Outfit', 'DM Sans', sans-serif;
font-size: clamp(1.5rem, 3vw, 2.2rem);
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.15;
color: #fff;
margin-bottom: 20px;
}
.fp-sep {
width: 40px;
height: 2px;
background: linear-gradient(90deg, rgba(59, 123, 247, 0.4), rgba(34, 201, 176, 0.3));
border-radius: 2px;
margin-bottom: 20px;
}
.fp-body {
font-size: 0.88rem;
color: rgba(255, 255, 255, 0.48);
line-height: 1.8;
margin-bottom: 24px;
}
.fp-copy {
font-size: 0.78rem;
color: rgba(255, 255, 255, 0.3);
font-style: italic;
line-height: 1.5;
}
/* ── Right Column — Stats ── */
.fp-right {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 14px;
}
.stat-card {
position: relative;
background: rgba(255, 255, 255, 0.008);
border: 1px solid rgba(255, 255, 255, 0.035);
border-radius: 16px;
padding: 28px 22px;
overflow: hidden;
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
text-align: center;
}
.stat-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, var(--sc-accent), transparent);
opacity: 0;
transition: opacity 0.35s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
background: rgba(255, 255, 255, 0.035);
border-color: rgba(255, 255, 255, 0.07);
transform: translateY(-4px);
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
.sc--blue { --sc-accent: #3b7bf7; }
.sc--teal { --sc-accent: #22c9b0; }
.sc--purple { --sc-accent: #a78bfa; }
.sc--amber { --sc-accent: #fbbf24; }
.sc-icon {
width: 42px; height: 42px;
border-radius: 11px;
display: flex; align-items: center; justify-content: center;
font-size: 1rem;
margin: 0 auto 14px;
transition: all 0.35s ease;
}
.stat-card:hover .sc-icon { transform: scale(1.1); }
.sc--blue .sc-icon { background: rgba(59, 123, 247, 0.08); border: 1px solid rgba(59, 123, 247, 0.12); color: #3b7bf7; }
.sc--teal .sc-icon { background: rgba(34, 201, 176, 0.08); border: 1px solid rgba(34, 201, 176, 0.12); color: #22c9b0; }
.sc--purple .sc-icon { background: rgba(167, 139, 250, 0.08); border: 1px solid rgba(167, 139, 250, 0.12); color: #a78bfa; }
.sc--amber .sc-icon { background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.12); color: #fbbf24; }
.sc--blue:hover .sc-icon { box-shadow: 0 4px 14px rgba(59, 123, 247, 0.18); }
.sc--teal:hover .sc-icon { box-shadow: 0 4px 14px rgba(34, 201, 176, 0.18); }
.sc--purple:hover .sc-icon { box-shadow: 0 4px 14px rgba(167, 139, 250, 0.18); }
.sc--amber:hover .sc-icon { box-shadow: 0 4px 14px rgba(251, 191, 36, 0.18); }
.sc-number {
font-family: 'Outfit', 'DM Sans', sans-serif;
font-size: 1.6rem; font-weight: 800; color: #fff;
letter-spacing: -0.02em; margin-bottom: 4px;
}
.sc-label {
font-size: 0.7rem; font-weight: 600;
color: rgba(255, 255, 255, 0.35);
text-transform: uppercase; letter-spacing: 0.5px;
}
/* ══════════════════════════════════════
FOOTER — Improved cards
══════════════════════════════════════ */
.fp-footer {
position: relative;
z-index: 1;
padding: 60px 0 0;
background: transparent;
}
.fp-footer-wrap {
max-width: 1200px;
margin: 0 auto;
padding: 0 32px;
}
/* Section label */
.ft-label {
text-align: center;
margin-bottom: 32px;
}
.ft-label-tag {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 5px 14px 5px 8px;
border-radius: 100px;
background: rgba(34, 201, 176, 0.06);
border: 1px solid rgba(34, 201, 176, 0.12);
font-size: 0.68rem;
font-weight: 600;
color: rgba(255, 255, 255, 0.5);
letter-spacing: 0.5px;
text-transform: uppercase;
}
.ft-label-tag .tl-dot {
width: 6px; height: 6px;
border-radius: 50%;
background: #22c9b0;
box-shadow: 0 0 6px rgba(34, 201, 176, 0.5);
}
/* ── Footer Grid ── */
.ft-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 48px;
}
/* ── Improved Card ── */
.ft-card {
position: relative;
background: rgba(255, 255, 255, 0.008);
border: 1px solid rgba(255, 255, 255, 0.035);
border-radius: 18px;
padding: 32px 26px 28px;
overflow: hidden;
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ft-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, var(--fc-accent), transparent);
opacity: 0;
transition: opacity 0.35s ease;
}
.ft-card:hover::before { opacity: 1; }
.ft-card:hover {
background: rgba(255, 255, 255, 0.025);
border-color: rgba(255, 255, 255, 0.06);
transform: translateY(-3px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.ft-card:nth-child(1) { --fc-accent: #3b7bf7; }
.ft-card:nth-child(2) { --fc-accent: #22c9b0; }
.ft-card:nth-child(3) { --fc-accent: #a78bfa; }
/* Card header */
.fc-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 22px;
padding-bottom: 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.fc-icon {
width: 40px; height: 40px;
border-radius: 10px;
display: flex; align-items: center; justify-content: center;
font-size: 0.95rem;
flex-shrink: 0;
transition: all 0.35s ease;
}
.ft-card:hover .fc-icon { transform: scale(1.08); }
.ft-card:nth-child(1) .fc-icon {
background: rgba(59, 123, 247, 0.08);
border: 1px solid rgba(59, 123, 247, 0.12);
color: #3b7bf7;
}
.ft-card:nth-child(1):hover .fc-icon { box-shadow: 0 4px 12px rgba(59, 123, 247, 0.15); }
.ft-card:nth-child(2) .fc-icon {
background: rgba(34, 201, 176, 0.08);
border: 1px solid rgba(34, 201, 176, 0.12);
color: #22c9b0;
}
.ft-card:nth-child(2):hover .fc-icon { box-shadow: 0 4px 12px rgba(34, 201, 176, 0.15); }
.ft-card:nth-child(3) .fc-icon {
background: rgba(167, 139, 250, 0.08);
border: 1px solid rgba(167, 139, 250, 0.12);
color: #a78bfa;
}
.ft-card:nth-child(3):hover .fc-icon { box-shadow: 0 4px 12px rgba(167, 139, 250, 0.15); }
.fc-title {
font-family: 'Outfit', 'DM Sans', sans-serif;
font-size: 0.9rem;
font-weight: 700;
color: rgba(255, 255, 255, 0.88);
letter-spacing: -0.01em;
}
.fc-subtitle {
font-size: 0.68rem;
color: rgba(255, 255, 255, 0.3);
margin-top: 2px;
}
/* Card body — ViewComponent content */
.fc-body {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.45);
line-height: 1.7;
}
.fc-body p,
.fc-body span,
.fc-body div {
color: rgba(255, 255, 255, 0.45);
line-height: 1.7;
font-size: 0.8rem;
margin-bottom: 2px;
}
/* Section headings inside cards — compact, no line breaks */
.fc-body h5,
.fc-body h6 {
color: rgba(255, 255, 255, 0.6);
font-family: 'DM Sans', sans-serif;
font-weight: 600;
font-size: 0.75rem;
letter-spacing: 0.3px;
margin: 12px 0 6px 0;
display: inline;
}
/* Make headings block only when they need separator */
.fc-body h5:first-child,
.fc-body h6:first-child {
margin-top: 0;
}
/* Bold labels */
.fc-body strong,
.fc-body b {
color: rgba(255, 255, 255, 0.55);
font-weight: 600;
font-size: 0.78rem;
}
/* Keep email, mobile, CVR on same line as label */
.fc-body br + a,
.fc-body br + span {
display: inline;
}
.fc-body a {
color: rgba(255, 255, 255, 0.5);
text-decoration: none;
transition: all 0.25s ease;
font-size: 0.8rem;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 2px 0;
}
.fc-body a::before {
content: '';
width: 3px; height: 3px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.15);
flex-shrink: 0;
transition: all 0.25s ease;
}
.fc-body a:hover {
color: rgba(255, 255, 255, 0.85);
}
.ft-card:nth-child(1) .fc-body a:hover::before { background: #3b7bf7; box-shadow: 0 0 6px rgba(59, 123, 247, 0.4); }
.ft-card:nth-child(2) .fc-body a:hover::before { background: #22c9b0; box-shadow: 0 0 6px rgba(34, 201, 176, 0.4); }
.ft-card:nth-child(3) .fc-body a:hover::before { background: #a78bfa; box-shadow: 0 0 6px rgba(167, 139, 250, 0.4); }
.fc-body ul {
list-style: none;
padding: 0;
margin: 0;
}
.fc-body li { margin-bottom: 2px; }
.fc-body hr {
border: none;
height: 1px;
background: rgba(255, 255, 255, 0.03);
margin: 10px 0;
}
/* Newsletter inputs */
.fc-body input[type="email"],
.fc-body input[type="text"] {
background: rgba(255, 255, 255, 0.03) !important;
border: 1px solid rgba(255, 255, 255, 0.06) !important;
border-radius: 10px !important;
color: rgba(255, 255, 255, 0.85) !important;
padding: 11px 14px !important;
margin-bottom: 8px !important;
width: 100% !important;
font-size: 0.8rem !important;
font-family: 'DM Sans', sans-serif !important;
transition: all 0.25s ease;
}
.fc-body input:focus {
background: rgba(255, 255, 255, 0.05) !important;
border-color: rgba(167, 139, 250, 0.25) !important;
box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.06) !important;
outline: none !important;
}
.fc-body input::placeholder { color: rgba(255, 255, 255, 0.2) !important; }
.fc-body button,
.fc-body .btn {
background: linear-gradient(135deg, #0d1a2e 0%, #080f1c 100%) !important;
border: 1px solid rgba(167, 139, 250, 0.12) !important;
border-radius: 10px !important;
color: rgba(255, 255, 255, 0.8) !important;
padding: 10px 20px !important;
font-weight: 600 !important;
font-size: 0.76rem !important;
font-family: 'DM Sans', sans-serif !important;
cursor: pointer !important;
transition: all 0.25s ease !important;
text-transform: uppercase;
letter-spacing: 0.4px;
text-decoration: none !important;
display: inline-block !important;
}
.fc-body button:hover,
.fc-body .btn:hover {
border-color: rgba(167, 139, 250, 0.25) !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
transform: translateY(-1px) !important;
color: #fff !important;
}
/* Social section inside newsletter card */
.fc-social-label {
font-family: 'Outfit', 'DM Sans', sans-serif;
font-size: 0.72rem !important;
font-weight: 600 !important;
color: rgba(255, 255, 255, 0.4) !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
margin: 20px 0 8px 0 !important;
padding-top: 14px !important;
border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}
/* ── Footer Bottom Bar — Redesigned ── */
.ft-bottom {
padding: 24px 0;
background: transparent;
margin-top: 8px;
}
.ft-bottom-inner {
max-width: 1200px;
margin: 0 auto;
padding: 0 32px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
flex-wrap: wrap;
}
.ft-bottom-items {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.ft-chip {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 100px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
font-size: 0.68rem;
color: rgba(255, 255, 255, 0.35);
font-weight: 500;
transition: all 0.25s ease;
}
.ft-chip:hover {
background: rgba(255, 255, 255, 0.035);
border-color: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.5);
}
.ft-chip i {
font-size: 0.6rem;
opacity: 0.5;
}
.ft-chip strong {
font-weight: 600;
color: rgba(255, 255, 255, 0.5);
}
.ft-copyright {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border-radius: 100px;
background: rgba(59, 123, 247, 0.04);
border: 1px solid rgba(59, 123, 247, 0.08);
font-size: 0.68rem;
color: rgba(255, 255, 255, 0.35);
font-weight: 500;
}
/* ══════════════════════════════════════
RESPONSIVE
══════════════════════════════════════ */
@@media (max-width: 900px) {
.fp-two-col { grid-template-columns: 1fr; gap: 40px; }
.fp-left { padding-right: 0; text-align: center; }
.fp-sep { margin-left: auto; margin-right: auto; }
.fp-right { max-width: 420px; margin: 0 auto; }
.ft-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 48px; gap: 16px; }
}
@@media (max-width: 768px) {
.fp-hero { padding: 60px 0; }
.fp-hero-inner, .fp-footer-wrap { padding: 0 20px; }
.fp-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }
.stat-card { padding: 22px 16px; }
.sc-number { font-size: 1.35rem; }
.fp-footer { padding: 48px 0 0; }
.ft-bottom-inner { padding: 0 20px; justify-content: center; text-align: center; }
}
@@media (max-width: 520px) {
.fp-hero { padding: 48px 0; }
.fp-hero-inner, .fp-footer-wrap { padding: 0 14px; }
.fp-title { font-size: clamp(1.2rem, 5vw, 1.5rem); }
.fp-right { max-width: 280px; gap: 10px; }
.ft-card { padding: 26px 20px 22px; }
.ft-bottom-inner { padding: 0 14px; flex-direction: column; gap: 8px; }
.ft-bottom-left { justify-content: center; width: 100%; }
}
</style>
<div class="fp-wrap">
<!-- ══════════════════════════════════════
HERO — Left text + Right stats
══════════════════════════════════════ -->
<section class="fp-hero">
<div class="h-grid"></div>
<div class="fp-hero-inner">
<div class="fp-two-col">
<div class="fp-left">
<div class="fp-tag">
<span class="t-dot"></span>
Our Mission
</div>
<h2 class="fp-title">@Model.Title.ToUpper()</h2>
<div class="fp-sep"></div>
<div class="fp-body">@Html.Raw(Model.Content)</div>
<div class="fp-copy">@Model.Sitecopyright</div>
</div>
<div class="fp-right">
<div class="stat-card sc--blue">
<div class="sc-icon"><i class="bi bi-building"></i></div>
<div class="sc-number">25+</div>
<div class="sc-label">Organizations</div>
</div>
<div class="stat-card sc--teal">
<div class="sc-icon"><i class="bi bi-file-earmark-bar-graph"></i></div>
<div class="sc-number">10K+</div>
<div class="sc-label">Surveys Completed</div>
</div>
<div class="stat-card sc--purple">
<div class="sc-icon"><i class="bi bi-people"></i></div>
<div class="sc-number">5K+</div>
<div class="sc-label">Employees Reached</div>
</div>
<div class="stat-card sc--amber">
<div class="sc-icon"><i class="bi bi-shield-check"></i></div>
<div class="sc-number">100%</div>
<div class="sc-label">GDPR Compliant</div>
</div>
</div>
</div>
</div>
</section>
<!-- ══════════════════════════════════════
FOOTER
══════════════════════════════════════ -->
<footer class="fp-footer">
<div class="fp-footer-wrap">
<!-- Section label -->
<div class="ft-label">
<div class="ft-label-tag">
<span class="tl-dot"></span>
Stay Connected
</div>
</div>
<!-- 3 Improved Cards -->
<div class="ft-grid">
<!-- Contact Info -->
<div class="ft-card">
<div class="fc-header">
<div class="fc-icon"><i class="bi bi-geo-alt"></i></div>
<div>
<div class="fc-title">Contact Info</div>
<div class="fc-subtitle">Reach out anytime</div>
</div>
</div>
<div class="fc-body">
<vc:address></vc:address>
</div>
</div>
<!-- Quick Links -->
<div class="ft-card">
<div class="fc-header">
<div class="fc-icon"><i class="bi bi-signpost-2"></i></div>
<div>
<div class="fc-title">Quick Links</div>
<div class="fc-subtitle">Navigate the platform</div>
</div>
</div>
<div class="fc-body">
<vc:navigation-footer></vc:navigation-footer>
</div>
</div>
<!-- Newsletter + Social -->
<div class="ft-card">
<div class="fc-header">
<div class="fc-icon"><i class="bi bi-send"></i></div>
<div>
<div class="fc-title">Newsletter</div>
<div class="fc-subtitle">Get updates & insights</div>
</div>
</div>
<div class="fc-body">
<vc:subscription></vc:subscription>
<h6 class="fc-social-label">Follow Us</h6>
<ul>
@foreach (var footerSocialMedia in Model.FooterSocialMedias)
{
<li>
<a href="@footerSocialMedia.SocialMedia.Url" target="_blank">
@footerSocialMedia.SocialMedia.Name
</a>
</li>
}
</ul>
</div>
</div>
</div>
</div>
<!-- Bottom Bar -->
<div class="ft-bottom">
<div class="ft-bottom-inner">
<div class="ft-bottom-items">
<span class="ft-chip">
<i class="bi bi-building"></i>
<strong>@Model.Owner</strong>
</span>
<span class="ft-chip">
<i class="bi bi-palette"></i>
Designed by <strong>@Model.CreatedBy</strong>
</span>
<span class="ft-chip">
<i class="bi bi-arrow-repeat"></i>
Updated by <strong>@Model.UpdatedBy</strong>
</span>
@using System.Globalization
<span class="ft-chip">
<i class="bi bi-calendar3"></i>
<strong>@Model.LastUpdated.ToString("dd-MM-yyyy HH:mm", new CultureInfo("da-DK"))</strong>
</span>
</div>
<span class="ft-copyright">
@Model.Sitecopyright
</span>
</div>
</div>
</footer>
</div>