Files
doormile_react/src/components/sections/WingsIndustries.tsx
2026-07-08 19:13:36 +05:30

239 lines
7.5 KiB
TypeScript

import { ScrollReveal } from "@/animations/Reveal";
const INDUSTRIES = [
{
title: "Quick Commerce",
challenge: "Sub-3-hour delivery windows for dark stores and micro-warehouses.",
solution: "Dedicated same-day air capacity linking metros to fulfillment hubs.",
image: "/images/card 1.png",
},
{
title: "Express B2B Cargo",
challenge: "Time-critical industrial parts and components stuck on slow trunk routes.",
solution: "Rapid airport-to-airport transport between major economic nodes.",
image: "/images/card 2.png",
},
{
title: "Healthcare & Pharma",
challenge: "Temperature-sensitive, compliance-critical shipments with zero margin for error.",
solution: "Active and passive cold-chain packaging with full chain-of-custody tracking.",
image: "/images/card 3.png",
},
{
title: "Cold Chain Logistics",
challenge: "Perishables and fresh goods that can't survive slow surface transit.",
solution: "Precision temperature tracking matched to airline-speed transit.",
image: "/images/card4.png",
},
{
title: "High-Value Cargo",
challenge: "Zero tolerance for loss, tampering, or delay on high-value shipments.",
solution: "Maximum-security handling with real-time electronic custody tracking.",
image: "/images/card5.png",
},
{
title: "E-Commerce Logistics",
challenge: "Next-day and same-day fulfillment expectations across tier-1 and tier-2 cities.",
solution: "Direct sorting-hub-to-airport clearance network for faster regional delivery.",
image: "/images/card6.png",
},
];
export default function WingsIndustries() {
return (
<>
<style
dangerouslySetInnerHTML={{
__html: `
.wind-section {
background: #fafafa;
padding: var(--space-section-lg, 80px) 0 20px 0; /* Reduced bottom padding to minimize gap */
}
.wind-header {
margin: 0 auto 48px auto;
max-width: 720px;
text-align: center;
}
.wind-eyebrow {
font-size: 13px;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
color: rgba(17, 17, 17, 0.45);
margin-bottom: 16px;
}
.wind-title {
font-size: clamp(28px, 3.2vw, 46px) !important;
font-weight: 800 !important;
letter-spacing: -0.03em !important;
line-height: 1.15 !important;
text-transform: none !important;
color: #111111 !important;
margin: 0;
}
.wind-inner {
max-width: 1380px;
margin: 0 auto;
}
.wind-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}
.wind-card {
position: relative;
min-width: 0;
aspect-ratio: 4 / 5;
border-radius: 20px;
overflow: hidden;
background: linear-gradient(150deg, #17171b 0%, #0b0b0d 100%);
isolation: isolate;
}
.wind-card-wash {
position: absolute;
inset: 0;
background: linear-gradient(160deg, rgba(200, 16, 46, 0.35) 0%, rgba(200, 16, 46, 0) 60%);
opacity: 0.5;
transition: opacity 0.4s ease;
}
.wind-card:hover .wind-card-wash {
opacity: 1;
}
.wind-card-default {
position: absolute;
left: 24px;
right: 24px;
bottom: 24px;
transition: opacity 0.3s ease, transform 0.3s ease;
}
.wind-card:hover .wind-card-default {
opacity: 0;
transform: translateY(8px);
pointer-events: none;
}
.wind-card .wind-card-default-title {
font-size: 20px !important;
font-weight: 800 !important;
line-height: 1.3 !important;
text-transform: none !important;
color: #ffffff !important;
margin: 0;
}
.wind-card-hover {
position: absolute;
inset: 0;
padding: 26px 24px;
display: flex;
flex-direction: column;
justify-content: flex-end;
gap: 14px;
opacity: 0;
transform: translateY(10px);
transition: opacity 0.35s ease, transform 0.35s ease;
}
.wind-card:hover .wind-card-hover {
opacity: 1;
transform: translateY(0);
}
.wind-card .wind-card-hover-title {
font-size: 19px !important;
font-weight: 800 !important;
line-height: 1.3 !important;
text-transform: none !important;
color: #ffffff !important;
margin: 0;
}
.wind-card-label {
font-size: 10.5px;
font-weight: 800;
letter-spacing: 1.2px;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.5);
margin: 0 0 4px 0;
}
.wind-card-text {
font-size: 13px;
line-height: 1.5;
color: rgba(255, 255, 255, 0.85);
margin: 0;
}
@media (max-width: 1024px) {
.wind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
.wind-grid { grid-template-columns: 1fr; }
.wind-card { aspect-ratio: 3 / 4; }
/* var(--space-section-lg) floors at a fixed 52px on any phone
width; bottom is already trimmed to 20px, so only the top needs
a real mobile reduction to match the section rhythm near the
footer. */
.wind-section { padding-top: 44px; }
}
`,
}}
/>
<section className="wind-section" id="wings-industries">
<div className="dm-section-container">
<div className="wind-inner">
<ScrollReveal delay={0.05} duration={0.75} yOffset={25} className="wind-header">
<div className="wind-eyebrow">/ Industries We Serve /</div>
<h2 className="wind-title">Built for the shipments that can&rsquo;t wait</h2>
</ScrollReveal>
<ScrollReveal delay={0.1} duration={0.8} yOffset={30} className="wind-grid">
{INDUSTRIES.map((ind) => (
<div
key={ind.title}
className="wind-card"
style={ind.image ? {
backgroundImage: `linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('${ind.image}')`,
backgroundSize: 'cover',
backgroundPosition: 'center'
} : undefined}
>
<div className="wind-card-wash" aria-hidden="true" />
<div className="wind-card-default">
<h3 className="wind-card-default-title">{ind.title}</h3>
</div>
<div className="wind-card-hover">
<h3 className="wind-card-hover-title">{ind.title}</h3>
<div>
<p className="wind-card-label">Challenge</p>
<p className="wind-card-text">{ind.challenge}</p>
</div>
<div>
<p className="wind-card-label">Doormile Wings</p>
<p className="wind-card-text">{ind.solution}</p>
</div>
</div>
</div>
))}
</ScrollReveal>
</div>
</div>
</section>
</>
);
}