update
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
"use client";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { useAbout } from "@/lib/hooks/useAbout";
|
||||
import { AboutService as AboutServiceType, AboutProcess } from "@/lib/api/aboutService";
|
||||
import { getValidImageUrl, FALLBACK_IMAGES } from "@/lib/imageUtils";
|
||||
import thumb from "@/public/images/service/two.png";
|
||||
import thumbTwo from "@/public/images/service/three.png";
|
||||
|
||||
const AboutServiceComponent = () => {
|
||||
const { data, loading, error } = useAbout();
|
||||
@@ -16,11 +12,11 @@ const AboutServiceComponent = () => {
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<div className="text-center py-5">
|
||||
<div className="text-center py-4">
|
||||
<div className="spinner-border text-primary" role="status">
|
||||
<span className="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<p className="mt-3">Loading service content...</p>
|
||||
<p className="mt-2 text-muted">Loading service content...</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -35,7 +31,7 @@ const AboutServiceComponent = () => {
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<div className="text-center py-5">
|
||||
<div className="text-center py-4">
|
||||
<div className="alert alert-danger" role="alert">
|
||||
<h4 className="alert-heading">Error Loading Content</h4>
|
||||
<p>{error}</p>
|
||||
@@ -51,154 +47,103 @@ const AboutServiceComponent = () => {
|
||||
const serviceData = data?.service as AboutServiceType | undefined;
|
||||
const processData = data?.process as AboutProcess | undefined;
|
||||
|
||||
const features = serviceData?.features && serviceData.features.length > 0
|
||||
? serviceData.features
|
||||
: [
|
||||
{ icon: "fa-solid fa-shield-halved", title: "Enterprise Security", description: "Defense-Grade Protection" },
|
||||
{ icon: "fa-solid fa-cloud", title: "Cloud Native", description: "AWS, Azure, GCP Partners" }
|
||||
];
|
||||
|
||||
const steps = processData?.steps && processData.steps.length > 0
|
||||
? processData.steps
|
||||
: [
|
||||
{ step_number: "01", title: "Discovery & Planning", description: "Comprehensive analysis and architecture design" },
|
||||
{ step_number: "02", title: "Development & Testing", description: "Agile development with continuous testing" }
|
||||
];
|
||||
|
||||
return (
|
||||
<>
|
||||
<section className="about-service-section" suppressHydrationWarning>
|
||||
<section className="hero-banner about-service-section" suppressHydrationWarning>
|
||||
<div className="container">
|
||||
<div className="row g-5 align-items-start">
|
||||
{/* Image Column */}
|
||||
<div className="row align-items-center g-4">
|
||||
{/* Left Column - Text Content */}
|
||||
<div className="col-12 col-lg-6">
|
||||
<div className="about-image-wrapper">
|
||||
<div className="about-image-container">
|
||||
{serviceData?.image_url ? (
|
||||
<img
|
||||
src={getValidImageUrl(serviceData.image_url, FALLBACK_IMAGES.SERVICE)}
|
||||
className="about-image"
|
||||
alt="Enterprise Technology Solutions"
|
||||
width={600}
|
||||
height={700}
|
||||
/>
|
||||
) : (
|
||||
<Image
|
||||
src={thumb}
|
||||
className="about-image"
|
||||
alt="Enterprise Technology Solutions"
|
||||
width={600}
|
||||
height={700}
|
||||
/>
|
||||
)}
|
||||
<div className="image-overlay"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Content Column */}
|
||||
<div className="col-12 col-lg-6">
|
||||
<div className="about-content-wrapper">
|
||||
<div className="luxury-badge">
|
||||
<i className={serviceData?.badge_icon || "fa-solid fa-users"}></i>
|
||||
<div className="service-content">
|
||||
{/* Badge */}
|
||||
<div className="hero-badge">
|
||||
<div className="badge-icon">
|
||||
<i className={serviceData?.badge_icon || "fa-solid fa-users"}></i>
|
||||
</div>
|
||||
<span>{serviceData?.badge_text || "About Our Company"}</span>
|
||||
</div>
|
||||
|
||||
<h2 className="luxury-title">
|
||||
|
||||
{/* Main Title */}
|
||||
<h1 className="hero-title">
|
||||
{serviceData?.title || "GNX Soft Ltd. - Software Excellence"}
|
||||
</h2>
|
||||
|
||||
<p className="luxury-description">
|
||||
</h1>
|
||||
|
||||
{/* Description */}
|
||||
<p className="hero-description">
|
||||
{serviceData?.description || "Founded in 2020, GNX Soft Ltd. has emerged as a premier enterprise software company, delivering mission-critical software solutions across various industries."}
|
||||
</p>
|
||||
|
||||
<div className="luxury-features-grid">
|
||||
{serviceData?.features && serviceData.features.length > 0 ? (
|
||||
serviceData.features.map((feature, index) => (
|
||||
<div key={index} className="luxury-feature-card">
|
||||
<div className="feature-icon-wrapper">
|
||||
<i className={feature.icon}></i>
|
||||
</div>
|
||||
<div className="feature-text">
|
||||
<h6 className="feature-title">{feature.title}</h6>
|
||||
<p className="feature-description">{feature.description}</p>
|
||||
</div>
|
||||
</div>
|
||||
))
|
||||
) : (
|
||||
<>
|
||||
<div className="luxury-feature-card">
|
||||
<div className="feature-icon-wrapper">
|
||||
<i className="fa-solid fa-shield-halved"></i>
|
||||
</div>
|
||||
<div className="feature-text">
|
||||
<h6 className="feature-title">Enterprise Security</h6>
|
||||
<p className="feature-description">Defense-Grade Protection</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="luxury-feature-card">
|
||||
<div className="feature-icon-wrapper">
|
||||
<i className="fa-solid fa-cloud"></i>
|
||||
</div>
|
||||
<div className="feature-text">
|
||||
<h6 className="feature-title">Cloud Native</h6>
|
||||
<p className="feature-description">AWS, Azure, GCP Partners</p>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="luxury-cta">
|
||||
<Link href={serviceData?.cta_link || "service-single"} className="luxury-btn">
|
||||
{/* CTA Buttons */}
|
||||
<div className="hero-actions">
|
||||
<Link href={serviceData?.cta_link || "service-single"} className="btn-primary">
|
||||
<span>{serviceData?.cta_text || "Explore Our Solutions"}</span>
|
||||
<i className="fa-solid fa-arrow-right"></i>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Right Column - Feature Boxes */}
|
||||
<div className="col-12 col-lg-6">
|
||||
<div className="service-features-wrapper">
|
||||
{features.map((feature, index) => (
|
||||
<div key={index} className="service-feature-box">
|
||||
<div className="feature-icon">
|
||||
<i className={feature.icon}></i>
|
||||
</div>
|
||||
<div className="feature-content">
|
||||
<div className="feature-title">{feature.title}</div>
|
||||
<div className="feature-description">{feature.description}</div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="about-process-section">
|
||||
<section className="hero-banner about-process-section">
|
||||
<div className="container">
|
||||
<div className="row g-5 align-items-start">
|
||||
{/* Content Column */}
|
||||
<div className="col-12 col-lg-6 order-2 order-lg-1">
|
||||
<div className="about-content-wrapper">
|
||||
<div className="luxury-badge">
|
||||
<i className={processData?.badge_icon || "fa-solid fa-cogs"}></i>
|
||||
<div className="row align-items-center g-4">
|
||||
{/* Left Column - Text Content */}
|
||||
<div className="col-12 col-lg-6">
|
||||
<div className="process-content">
|
||||
{/* Badge */}
|
||||
<div className="hero-badge">
|
||||
<div className="badge-icon">
|
||||
<i className={processData?.badge_icon || "fa-solid fa-cogs"}></i>
|
||||
</div>
|
||||
<span>{processData?.badge_text || "Our Methodology"}</span>
|
||||
</div>
|
||||
|
||||
<h2 className="luxury-title">
|
||||
|
||||
{/* Main Title */}
|
||||
<h1 className="hero-title">
|
||||
{processData?.title || "Enterprise Development Process"}
|
||||
</h2>
|
||||
|
||||
<p className="luxury-description">
|
||||
</h1>
|
||||
|
||||
{/* Description */}
|
||||
<p className="hero-description">
|
||||
{processData?.description || "Our proven enterprise development methodology combines agile practices with enterprise-grade security, scalability, and compliance requirements."}
|
||||
</p>
|
||||
|
||||
<div className="luxury-process-steps">
|
||||
{processData?.steps && processData.steps.length > 0 ? (
|
||||
processData.steps.map((step, index) => (
|
||||
<div key={index} className="luxury-process-step">
|
||||
<div className="step-number-badge">{step.step_number}</div>
|
||||
<div className="step-content-wrapper">
|
||||
<h6 className="step-title">{step.title}</h6>
|
||||
<p className="step-description">{step.description}</p>
|
||||
</div>
|
||||
</div>
|
||||
))
|
||||
) : (
|
||||
<>
|
||||
<div className="luxury-process-step">
|
||||
<div className="step-number-badge">01</div>
|
||||
<div className="step-content-wrapper">
|
||||
<h6 className="step-title">Discovery & Planning</h6>
|
||||
<p className="step-description">Comprehensive analysis and architecture design</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="luxury-process-step">
|
||||
<div className="step-number-badge">02</div>
|
||||
<div className="step-content-wrapper">
|
||||
<h6 className="step-title">Development & Testing</h6>
|
||||
<p className="step-description">Agile development with continuous testing</p>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="luxury-cta">
|
||||
<Link href={processData?.cta_link || "service-single"} className="luxury-btn">
|
||||
{/* CTA Buttons */}
|
||||
<div className="hero-actions">
|
||||
<Link href={processData?.cta_link || "service-single"} className="btn-primary">
|
||||
<span>{processData?.cta_text || "View Our Services"}</span>
|
||||
<i className="fa-solid fa-arrow-right"></i>
|
||||
</Link>
|
||||
@@ -206,29 +151,20 @@ const AboutServiceComponent = () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Image Column */}
|
||||
<div className="col-12 col-lg-6 order-1 order-lg-2">
|
||||
<div className="about-image-wrapper">
|
||||
<div className="about-image-container">
|
||||
{processData?.image_url ? (
|
||||
<img
|
||||
src={getValidImageUrl(processData.image_url, FALLBACK_IMAGES.SERVICE)}
|
||||
className="about-image"
|
||||
alt="Enterprise Development Process"
|
||||
width={600}
|
||||
height={700}
|
||||
/>
|
||||
) : (
|
||||
<Image
|
||||
src={thumbTwo}
|
||||
className="about-image"
|
||||
alt="Enterprise Development Process"
|
||||
width={600}
|
||||
height={700}
|
||||
/>
|
||||
)}
|
||||
<div className="image-overlay"></div>
|
||||
</div>
|
||||
{/* Right Column - Process Step Boxes */}
|
||||
<div className="col-12 col-lg-6">
|
||||
<div className="process-steps-wrapper">
|
||||
{steps.map((step, index) => (
|
||||
<div key={index} className="process-step-box">
|
||||
<div className="step-number-icon">
|
||||
<span>{step.step_number}</span>
|
||||
</div>
|
||||
<div className="step-content">
|
||||
<div className="step-title">{step.title}</div>
|
||||
<div className="step-description">{step.description}</div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -236,326 +172,405 @@ const AboutServiceComponent = () => {
|
||||
</section>
|
||||
|
||||
<style>{`
|
||||
/* Section Base Styles */
|
||||
.about-service-section,
|
||||
.about-process-section {
|
||||
padding: 120px 0;
|
||||
/* Section Base Styles - Transparent Background - Seamless Continuous Flow */
|
||||
.about-service-section {
|
||||
padding: 100px 0 50px 0;
|
||||
position: relative;
|
||||
background: #0a0a0a;
|
||||
}
|
||||
|
||||
.about-process-section {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
/* Image Wrapper - Perfect Alignment */
|
||||
.about-image-wrapper {
|
||||
position: sticky;
|
||||
top: 120px;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
.about-image-container {
|
||||
position: relative;
|
||||
border-radius: 24px;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.05);
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
margin-bottom: 0;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.about-service-section * {
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
.about-image-container:hover {
|
||||
transform: translateY(-8px);
|
||||
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.1);
|
||||
.about-process-section {
|
||||
padding: 50px 0 100px 0;
|
||||
position: relative;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
padding-top: 51px;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.about-process-section * {
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
.about-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
object-fit: cover;
|
||||
border-radius: 24px;
|
||||
transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
.about-service-section.hero-banner {
|
||||
background: transparent;
|
||||
min-height: auto;
|
||||
|
||||
.hero-background {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.about-image-container:hover .about-image {
|
||||
transform: scale(1.05);
|
||||
.about-process-section.hero-banner {
|
||||
background: transparent;
|
||||
min-height: auto;
|
||||
|
||||
.hero-background {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.image-overlay {
|
||||
.about-service-section::before,
|
||||
.about-process-section::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Service/Process Content - Left Column */
|
||||
.service-content,
|
||||
.process-content {
|
||||
text-align: left;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
.hero-badge {
|
||||
margin: 0 0 1.25rem 0;
|
||||
font-size: 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.3);
|
||||
color: #000000 !important;
|
||||
backdrop-filter: blur(10px);
|
||||
|
||||
.badge-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: linear-gradient(135deg, #d4af37 0%, #8b5cf6 100%);
|
||||
|
||||
i {
|
||||
font-size: 0.7rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: clamp(1.75rem, 3vw, 2.25rem);
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
margin: 0 0 1rem 0;
|
||||
text-align: left;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.hero-description {
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.6;
|
||||
color: #000000 !important;
|
||||
margin: 0 0 1.5rem 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
justify-content: flex-start;
|
||||
margin-top: 0;
|
||||
|
||||
.btn-primary {
|
||||
padding: 0.75rem 1.75rem;
|
||||
font-size: 0.875rem;
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.3);
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
|
||||
border-color: rgba(212, 175, 55, 0.5);
|
||||
box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
|
||||
color: #000000 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Service Features Wrapper - Right Column */
|
||||
.service-features-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
/* Service Feature Box - Compact Luxury */
|
||||
.service-feature-box {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.875rem;
|
||||
padding: 1rem;
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(139, 92, 246, 0.03) 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.2);
|
||||
border-radius: 10px;
|
||||
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.service-feature-box::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(0, 0, 0, 0) 0%,
|
||||
rgba(0, 0, 0, 0.3) 100%
|
||||
);
|
||||
pointer-events: none;
|
||||
border-radius: 24px;
|
||||
width: 2px;
|
||||
height: 100%;
|
||||
background: linear-gradient(180deg, #d4af37 0%, #8b5cf6 100%);
|
||||
opacity: 0;
|
||||
transition: opacity 0.25s ease;
|
||||
}
|
||||
|
||||
/* Content Wrapper - Perfect Alignment */
|
||||
.about-content-wrapper {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
.service-feature-box:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.about-content-wrapper {
|
||||
padding-left: 3rem;
|
||||
}
|
||||
.service-feature-box:hover {
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
|
||||
border-color: rgba(212, 175, 55, 0.4);
|
||||
transform: translateX(4px);
|
||||
box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
|
||||
}
|
||||
|
||||
/* Luxury Badge */
|
||||
.luxury-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.5rem 1.25rem;
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 50px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.5px;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
width: fit-content;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.luxury-badge i {
|
||||
font-size: 0.875rem;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Luxury Title */
|
||||
.luxury-title {
|
||||
font-size: clamp(2rem, 4vw, 3rem);
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
letter-spacing: -0.02em;
|
||||
color: #ffffff;
|
||||
margin: 0;
|
||||
background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
/* Luxury Description */
|
||||
.luxury-description {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.8;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Features Grid */
|
||||
.luxury-features-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.25rem;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.luxury-features-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.luxury-feature-card {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
padding: 1.5rem;
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 16px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.luxury-feature-card:hover {
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
|
||||
border-color: rgba(255, 255, 255, 0.15);
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.feature-icon-wrapper {
|
||||
.feature-icon {
|
||||
flex-shrink: 0;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 14px;
|
||||
background: linear-gradient(135deg, #d4af37 0%, #8b5cf6 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.4);
|
||||
border-radius: 8px;
|
||||
transition: all 0.25s ease;
|
||||
box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
|
||||
}
|
||||
|
||||
.feature-icon-wrapper i {
|
||||
font-size: 1.5rem;
|
||||
.service-feature-box:hover .feature-icon {
|
||||
background: linear-gradient(135deg, #f4d03f 0%, #9d6ef7 100%);
|
||||
border-color: rgba(212, 175, 55, 0.6);
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
|
||||
}
|
||||
|
||||
.feature-icon i {
|
||||
font-size: 1rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.feature-text {
|
||||
.feature-content {
|
||||
flex: 1;
|
||||
padding-top: 0.125rem;
|
||||
}
|
||||
|
||||
.feature-title {
|
||||
font-size: 1.125rem;
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
margin: 0 0 0.5rem 0;
|
||||
color: #000000 !important;
|
||||
margin: 0 0 0.25rem 0;
|
||||
line-height: 1.4;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.feature-description {
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.6;
|
||||
color: rgba(255, 255, 255, 0.65);
|
||||
font-size: 0.8125rem;
|
||||
line-height: 1.5;
|
||||
color: #000000 !important;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Process Steps */
|
||||
.luxury-process-steps {
|
||||
/* Process Steps Wrapper - Right Column */
|
||||
.process-steps-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
margin: 1rem 0;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.luxury-process-step {
|
||||
/* Process Step Box - Compact Luxury */
|
||||
.process-step-box {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 1.25rem;
|
||||
padding: 1.75rem;
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 18px;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.luxury-process-step:hover {
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
|
||||
border-color: rgba(255, 255, 255, 0.15);
|
||||
transform: translateX(8px);
|
||||
}
|
||||
|
||||
.step-number-badge {
|
||||
flex-shrink: 0;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 16px;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.step-content-wrapper {
|
||||
flex: 1;
|
||||
padding-top: 0.25rem;
|
||||
}
|
||||
|
||||
.step-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
margin: 0 0 0.5rem 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.step-description {
|
||||
font-size: 1rem;
|
||||
line-height: 1.7;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Luxury CTA Button */
|
||||
.luxury-cta {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.luxury-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 1rem 2rem;
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 12px;
|
||||
color: #ffffff;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
gap: 0.875rem;
|
||||
padding: 1rem;
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(139, 92, 246, 0.03) 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.2);
|
||||
border-radius: 10px;
|
||||
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.luxury-btn:hover {
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
|
||||
border-color: rgba(255, 255, 255, 0.3);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
||||
.process-step-box::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 2px;
|
||||
height: 100%;
|
||||
background: linear-gradient(180deg, #d4af37 0%, #8b5cf6 100%);
|
||||
opacity: 0;
|
||||
transition: opacity 0.25s ease;
|
||||
}
|
||||
|
||||
.luxury-btn i {
|
||||
transition: transform 0.3s ease;
|
||||
.process-step-box:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.luxury-btn:hover i {
|
||||
.process-step-box:hover {
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
|
||||
border-color: rgba(212, 175, 55, 0.4);
|
||||
transform: translateX(4px);
|
||||
box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
|
||||
}
|
||||
|
||||
.step-number-icon {
|
||||
flex-shrink: 0;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, #d4af37 0%, #8b5cf6 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.4);
|
||||
border-radius: 8px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
transition: all 0.25s ease;
|
||||
box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
|
||||
}
|
||||
|
||||
.process-step-box:hover .step-number-icon {
|
||||
background: linear-gradient(135deg, #f4d03f 0%, #9d6ef7 100%);
|
||||
border-color: rgba(212, 175, 55, 0.6);
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
|
||||
}
|
||||
|
||||
.step-number-icon span {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.step-content {
|
||||
flex: 1;
|
||||
padding-top: 0.125rem;
|
||||
}
|
||||
|
||||
.step-title {
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 600;
|
||||
color: #000000 !important;
|
||||
margin: 0 0 0.25rem 0;
|
||||
line-height: 1.4;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.step-description {
|
||||
font-size: 0.8125rem;
|
||||
line-height: 1.5;
|
||||
color: #000000 !important;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 991px) {
|
||||
.about-service-section,
|
||||
.about-service-section {
|
||||
padding: 80px 0 40px 0;
|
||||
}
|
||||
|
||||
.about-process-section {
|
||||
padding: 80px 0;
|
||||
padding: 40px 0 80px 0;
|
||||
padding-top: 41px;
|
||||
}
|
||||
|
||||
.about-image-wrapper {
|
||||
position: relative;
|
||||
top: 0;
|
||||
margin-bottom: 3rem;
|
||||
|
||||
.service-content,
|
||||
.process-content {
|
||||
text-align: center;
|
||||
margin-bottom: 2.5rem;
|
||||
|
||||
.hero-title,
|
||||
.hero-description {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.about-content-wrapper {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
@media (max-width: 767px) {
|
||||
.about-service-section {
|
||||
padding: 60px 0 30px 0;
|
||||
}
|
||||
|
||||
.luxury-features-grid {
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
.about-process-section {
|
||||
padding: 30px 0 60px 0;
|
||||
padding-top: 31px;
|
||||
}
|
||||
|
||||
.service-content,
|
||||
.process-content {
|
||||
.hero-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.hero-description {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.service-feature-box,
|
||||
.process-step-box {
|
||||
padding: 0.875rem;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.feature-icon,
|
||||
.step-number-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.feature-icon i {
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
|
||||
.feature-title,
|
||||
.step-title {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.feature-description,
|
||||
.step-description {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.luxury-title {
|
||||
font-size: 1.75rem;
|
||||
.about-service-section {
|
||||
padding: 50px 0 25px 0;
|
||||
}
|
||||
|
||||
.luxury-description {
|
||||
font-size: 1rem;
|
||||
|
||||
.about-process-section {
|
||||
padding: 25px 0 50px 0;
|
||||
padding-top: 26px;
|
||||
}
|
||||
|
||||
.luxury-feature-card,
|
||||
.luxury-process-step {
|
||||
padding: 1.25rem;
|
||||
|
||||
.service-feature-box,
|
||||
.process-step-box {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.feature-icon,
|
||||
.step-number-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
@@ -564,3 +579,4 @@ const AboutServiceComponent = () => {
|
||||
};
|
||||
|
||||
export default AboutServiceComponent;
|
||||
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
"use client";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { useAbout } from "@/lib/hooks/useAbout";
|
||||
import { AboutJourney } from "@/lib/api/aboutService";
|
||||
import { getValidImageUrl, FALLBACK_IMAGES } from "@/lib/imageUtils";
|
||||
import thumb from "@/public/images/start-thumb.png";
|
||||
|
||||
const AboutStarter = () => {
|
||||
const { data, loading, error } = useAbout();
|
||||
@@ -15,11 +12,11 @@ const AboutStarter = () => {
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<div className="text-center py-5">
|
||||
<div className="text-center py-4">
|
||||
<div className="spinner-border text-light" role="status">
|
||||
<span className="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<p className="mt-3 text-white">Loading journey content...</p>
|
||||
<p className="mt-2 text-muted">Loading journey content...</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -34,7 +31,7 @@ const AboutStarter = () => {
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<div className="text-center py-5">
|
||||
<div className="text-center py-4">
|
||||
<div className="alert alert-danger" role="alert">
|
||||
<h4 className="alert-heading">Error Loading Content</h4>
|
||||
<p>{error}</p>
|
||||
@@ -48,101 +45,329 @@ const AboutStarter = () => {
|
||||
}
|
||||
|
||||
const journeyData = data?.journey as AboutJourney | undefined;
|
||||
const milestones = journeyData?.milestones && journeyData.milestones.length > 0
|
||||
? journeyData.milestones
|
||||
: [
|
||||
{ year: "2020", title: "Company Founded", description: "GNX Soft Ltd established in Burgas, Bulgaria" },
|
||||
{ year: "2021", title: "Industry Specialization", description: "Specialized in 8 mission-critical industries" }
|
||||
];
|
||||
|
||||
return (
|
||||
<section className="about-journey-section" suppressHydrationWarning>
|
||||
<div className="container">
|
||||
<div className="row g-3 align-items-start">
|
||||
{/* Image Column */}
|
||||
<div className="col-12 col-lg-6 order-1 order-lg-2">
|
||||
<div className="about-image-wrapper">
|
||||
<div className="about-image-container">
|
||||
{journeyData?.image_url ? (
|
||||
<img
|
||||
src={getValidImageUrl(journeyData.image_url, FALLBACK_IMAGES.DEFAULT)}
|
||||
className="about-image"
|
||||
alt="Enterprise Journey"
|
||||
width={600}
|
||||
height={700}
|
||||
/>
|
||||
) : (
|
||||
<Image
|
||||
src={thumb}
|
||||
className="about-image"
|
||||
alt="Enterprise Journey"
|
||||
width={600}
|
||||
height={700}
|
||||
/>
|
||||
)}
|
||||
<div className="image-overlay"></div>
|
||||
<>
|
||||
<section className="hero-banner about-journey-section" suppressHydrationWarning>
|
||||
<div className="container">
|
||||
<div className="row align-items-center g-4">
|
||||
{/* Left Column - Text Content */}
|
||||
<div className="col-12 col-lg-6">
|
||||
<div className="journey-content">
|
||||
{/* Badge */}
|
||||
<div className="hero-badge">
|
||||
<div className="badge-icon">
|
||||
<i className={journeyData?.badge_icon || "fa-solid fa-rocket"}></i>
|
||||
</div>
|
||||
<span>{journeyData?.badge_text || "Our Journey"}</span>
|
||||
</div>
|
||||
|
||||
{/* Main Title */}
|
||||
<h1 className="hero-title">
|
||||
{journeyData?.title || "Building Enterprise Excellence Since 2020"}
|
||||
</h1>
|
||||
|
||||
{/* Description */}
|
||||
<p className="hero-description">
|
||||
{journeyData?.description || "Founded in 2020 in Burgas, Bulgaria, GNX Soft Ltd was established with a clear mission: to deliver world-class enterprise software solutions for mission-critical industries."}
|
||||
</p>
|
||||
|
||||
{/* CTA Buttons */}
|
||||
<div className="hero-actions">
|
||||
<Link href={journeyData?.cta_link || "services"} className="btn-primary">
|
||||
<span>{journeyData?.cta_text || "Explore Solutions"}</span>
|
||||
<i className="fa-solid fa-arrow-right"></i>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Content Column */}
|
||||
<div className="col-12 col-lg-6 order-2 order-lg-1">
|
||||
<div className="about-content-wrapper">
|
||||
<div className="luxury-badge">
|
||||
<i className={journeyData?.badge_icon || "fa-solid fa-rocket"}></i>
|
||||
<span>{journeyData?.badge_text || "Our Journey"}</span>
|
||||
</div>
|
||||
|
||||
<h2 className="luxury-title">
|
||||
{journeyData?.title || "Building Enterprise Excellence Since 2020"}
|
||||
</h2>
|
||||
|
||||
<p className="luxury-description">
|
||||
{journeyData?.description || "Founded in 2020 in Burgas, Bulgaria, GNX Soft Ltd was established with a clear mission: to deliver world-class enterprise software solutions for mission-critical industries."}
|
||||
</p>
|
||||
|
||||
<div className="luxury-milestones">
|
||||
{journeyData?.milestones && journeyData.milestones.length > 0 ? (
|
||||
journeyData.milestones.map((milestone, index) => (
|
||||
<div key={index} className="luxury-milestone-card">
|
||||
<div className="milestone-year-badge">
|
||||
<span>{milestone.year}</span>
|
||||
</div>
|
||||
<div className="milestone-content-wrapper">
|
||||
<h6 className="milestone-title">{milestone.title}</h6>
|
||||
<p className="milestone-description">{milestone.description}</p>
|
||||
</div>
|
||||
{/* Right Column - Milestone Boxes */}
|
||||
<div className="col-12 col-lg-6">
|
||||
<div className="journey-milestones-wrapper">
|
||||
{milestones.map((milestone, index) => (
|
||||
<div key={index} className="journey-milestone-box">
|
||||
<div className="milestone-year-icon">
|
||||
<span>{milestone.year}</span>
|
||||
</div>
|
||||
))
|
||||
) : (
|
||||
<>
|
||||
<div className="luxury-milestone-card">
|
||||
<div className="milestone-year-badge">
|
||||
<span>2020</span>
|
||||
</div>
|
||||
<div className="milestone-content-wrapper">
|
||||
<h6 className="milestone-title">Company Founded</h6>
|
||||
<p className="milestone-description">GNX Soft Ltd established in Burgas, Bulgaria</p>
|
||||
</div>
|
||||
<div className="milestone-content">
|
||||
<div className="milestone-title">{milestone.title}</div>
|
||||
<div className="milestone-description">{milestone.description}</div>
|
||||
</div>
|
||||
<div className="luxury-milestone-card">
|
||||
<div className="milestone-year-badge">
|
||||
<span>2021</span>
|
||||
</div>
|
||||
<div className="milestone-content-wrapper">
|
||||
<h6 className="milestone-title">Industry Specialization</h6>
|
||||
<p className="milestone-description">Specialized in 8 mission-critical industries</p>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="luxury-cta">
|
||||
<Link href={journeyData?.cta_link || "services"} className="luxury-btn">
|
||||
<span>{journeyData?.cta_text || "Explore Solutions"}</span>
|
||||
<i className="fa-solid fa-arrow-right"></i>
|
||||
</Link>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<style>{`
|
||||
/* Section Base Styles - Transparent Background - Seamless Continuous Flow */
|
||||
.about-journey-section {
|
||||
padding: 100px 0;
|
||||
position: relative;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.about-journey-section * {
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
.about-journey-section::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.about-journey-section.hero-banner {
|
||||
background: transparent;
|
||||
min-height: auto;
|
||||
|
||||
.hero-background {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Journey Content - Left Column */
|
||||
.journey-content {
|
||||
text-align: left;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
.hero-badge {
|
||||
margin: 0 0 1.25rem 0;
|
||||
font-size: 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.3);
|
||||
color: #000000 !important;
|
||||
backdrop-filter: blur(10px);
|
||||
|
||||
.badge-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: linear-gradient(135deg, #d4af37 0%, #8b5cf6 100%);
|
||||
|
||||
i {
|
||||
font-size: 0.7rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: clamp(1.75rem, 3vw, 2.25rem);
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
margin: 0 0 1rem 0;
|
||||
text-align: left;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.hero-description {
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.6;
|
||||
color: #000000 !important;
|
||||
margin: 0 0 1.5rem 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
justify-content: flex-start;
|
||||
margin-top: 0;
|
||||
|
||||
.btn-primary {
|
||||
padding: 0.75rem 1.75rem;
|
||||
font-size: 0.875rem;
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.3);
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
|
||||
border-color: rgba(212, 175, 55, 0.5);
|
||||
box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
|
||||
color: #000000 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Journey Milestones Wrapper - Right Column */
|
||||
.journey-milestones-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
/* Milestone Box - Compact Luxury */
|
||||
.journey-milestone-box {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.875rem;
|
||||
padding: 1rem;
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(139, 92, 246, 0.03) 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.2);
|
||||
border-radius: 10px;
|
||||
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.journey-milestone-box::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 2px;
|
||||
height: 100%;
|
||||
background: linear-gradient(180deg, #d4af37 0%, #8b5cf6 100%);
|
||||
opacity: 0;
|
||||
transition: opacity 0.25s ease;
|
||||
}
|
||||
|
||||
.journey-milestone-box:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.journey-milestone-box:hover {
|
||||
background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
|
||||
border-color: rgba(212, 175, 55, 0.4);
|
||||
transform: translateX(4px);
|
||||
box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
|
||||
}
|
||||
|
||||
.milestone-year-icon {
|
||||
flex-shrink: 0;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, #d4af37 0%, #8b5cf6 100%);
|
||||
border: 1px solid rgba(212, 175, 55, 0.4);
|
||||
border-radius: 8px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
transition: all 0.25s ease;
|
||||
box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
|
||||
}
|
||||
|
||||
.journey-milestone-box:hover .milestone-year-icon {
|
||||
background: linear-gradient(135deg, #f4d03f 0%, #9d6ef7 100%);
|
||||
border-color: rgba(212, 175, 55, 0.6);
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
|
||||
}
|
||||
|
||||
.milestone-year-icon span {
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.milestone-content {
|
||||
flex: 1;
|
||||
padding-top: 0.125rem;
|
||||
}
|
||||
|
||||
.milestone-title {
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 600;
|
||||
color: #000000 !important;
|
||||
margin: 0 0 0.25rem 0;
|
||||
line-height: 1.4;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.milestone-description {
|
||||
font-size: 0.8125rem;
|
||||
line-height: 1.5;
|
||||
color: #000000 !important;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 991px) {
|
||||
.about-journey-section {
|
||||
padding: 80px 0;
|
||||
}
|
||||
|
||||
.journey-content {
|
||||
text-align: center;
|
||||
margin-bottom: 2.5rem;
|
||||
|
||||
.hero-title,
|
||||
.hero-description {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.about-journey-section {
|
||||
padding: 60px 0;
|
||||
}
|
||||
|
||||
.journey-content {
|
||||
.hero-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.hero-description {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.journey-milestone-box {
|
||||
padding: 0.875rem;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.milestone-year-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.milestone-title {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.milestone-description {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.about-journey-section {
|
||||
padding: 50px 0;
|
||||
}
|
||||
|
||||
.journey-milestone-box {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.milestone-year-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user