Updated Doormile website
This commit is contained in:
290
includes/sections/about/our_values.php
Normal file
290
includes/sections/about/our_values.php
Normal file
@@ -0,0 +1,290 @@
|
||||
<style>
|
||||
/* Our Values Component Styles — matched to Vision section style */
|
||||
.values-section-wrapper {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background: #1F1F1F;
|
||||
position: relative;
|
||||
font-family: 'DM Sans', sans-serif;
|
||||
color: #ffffff;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.values-section {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
max-width: 1140px;
|
||||
padding-top: 80px;
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
|
||||
.values-header {
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.values-eyebrow {
|
||||
font-size: 0.72rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.18em;
|
||||
text-transform: uppercase;
|
||||
color: #C0202A;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.values-title {
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 8px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.values-subtitle {
|
||||
color: #cfcfd6;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
.values-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 80px;
|
||||
align-items: stretch;
|
||||
height: 68vh;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.value-card {
|
||||
position: relative;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
border-radius: 28px;
|
||||
padding: 40px 36px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
|
||||
transition: transform 0.44s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.44s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
color: #cfcfd6;
|
||||
/* default card text color for contrast on dark bg */
|
||||
padding-bottom: 48px;
|
||||
}
|
||||
|
||||
.value-card:hover {
|
||||
transform: translateY(-8px);
|
||||
}
|
||||
|
||||
/* icon */
|
||||
.value-icon {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 18px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.value-icon svg {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
fill: #fff;
|
||||
}
|
||||
|
||||
.value-icon--1 {
|
||||
background: #C0202A;
|
||||
}
|
||||
|
||||
.value-icon--2 {
|
||||
background: #17A2A2;
|
||||
}
|
||||
|
||||
.value-icon--3 {
|
||||
background: #FF8C42;
|
||||
}
|
||||
|
||||
/* large, subtle numeric background for each card */
|
||||
.value-number {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 20px;
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-size: 9rem;
|
||||
line-height: 0.85;
|
||||
font-weight: 800;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.value-content {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.card-label {
|
||||
display: inline-block;
|
||||
background: #ffffff;
|
||||
color: #C0202A;
|
||||
font-weight: 700;
|
||||
font-size: 0.78rem;
|
||||
padding: 8px 14px;
|
||||
border-radius: 999px;
|
||||
margin-bottom: 12px;
|
||||
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 12px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.card-desc {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.8;
|
||||
color: #cfcfd6;
|
||||
}
|
||||
|
||||
/* Ensure headings and paragraphs inside cards use readable colors */
|
||||
.value-card h1,
|
||||
.value-card h2,
|
||||
.value-card h3,
|
||||
.value-card h4,
|
||||
.value-card h5,
|
||||
.value-card p, {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* background image layer and overlay */
|
||||
.value-card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(180deg, rgb(0, 0, 0), rgb(0, 0, 0));
|
||||
z-index: 1;
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
/* subtle colored gradients per card to add visual depth */
|
||||
.value-card--1::before {
|
||||
background: linear-gradient(180deg, rgb(192, 32, 43), rgb(0, 0, 0));
|
||||
}
|
||||
|
||||
.value-card--2::before {
|
||||
background: linear-gradient(180deg, rgb(23, 162, 162), rgb(0, 0, 0));
|
||||
}
|
||||
|
||||
.value-card--3::before {
|
||||
background: linear-gradient(180deg, rgb(255, 138, 66), rgb(0, 0, 0));
|
||||
}
|
||||
|
||||
.value-card::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
transform: scale(1.03);
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
.value-card--1::after {
|
||||
background-image: url('assets/images/value-1.jpg');
|
||||
}
|
||||
|
||||
.value-card--2::after {
|
||||
background-image: url('assets/images/value-2.jpg');
|
||||
}
|
||||
|
||||
.value-card--3::after {
|
||||
background-image: url('assets/images/value-3.jpg');
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.values-grid {
|
||||
height: 72vh;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.values-grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
height: 75vh;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.values-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
height: auto;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.value-card {
|
||||
min-height: 40vh;
|
||||
border-radius: 16px;
|
||||
padding: 28px;
|
||||
padding-bottom: 36px;
|
||||
}
|
||||
|
||||
.value-card::before {
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
.value-number {
|
||||
font-size: 3.6rem;
|
||||
right: 16px;
|
||||
top: 10px;
|
||||
color: rgb(255, 255, 255);
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="values-section-wrapper">
|
||||
<section class="values-section">
|
||||
<header class="values-header">
|
||||
<div class="values-eyebrow">Who We Are</div>
|
||||
<h2 class="values-title" style="color: #ffffff;font-weight: 700;">Our Values</h2>
|
||||
<p class="values-subtitle">The principles that drive everything we do</p>
|
||||
</header>
|
||||
|
||||
<div class="values-grid">
|
||||
<article class="value-card value-card--1">
|
||||
<div class="value-number" aria-hidden="true">01</div>
|
||||
<div class="value-content">
|
||||
<p class="card-label">Purpose</p>
|
||||
<h4 class="card-title" style="color: #ffffff;font-weight: 700;">Mission-Driven</h4>
|
||||
<p class="card-desc">Transforming logistics with transparency and accountability at every mile.</p>
|
||||
</div>
|
||||
</article>
|
||||
<article class="value-card value-card--2">
|
||||
<div class="value-number" aria-hidden="true">02</div>
|
||||
<div class="value-content">
|
||||
<p class="card-label">Culture</p>
|
||||
<h4 class="card-title" style="color: #ffffff;font-weight: 700;">People First</h4>
|
||||
<p class="card-desc">Empowering delivery partners and supporting women entrepreneurs.</p>
|
||||
</div>
|
||||
</article>
|
||||
<article class="value-card value-card--3">
|
||||
<div class="value-number" aria-hidden="true">03</div>
|
||||
<div class="value-content">
|
||||
<p class="card-label">Standards</p>
|
||||
<h4 class="card-title" style="color: #ffffff;font-weight: 700;">Excellence</h4>
|
||||
<p class="card-desc">Setting new standards in logistics technology and service delivery.</p>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
Reference in New Issue
Block a user