<style>
/* Process Section */
.process-section{
background:#000; /* dark background to make cards pop */
padding:120px 0;
font-family:’Segoe UI’, Tahoma, Geneva, Verdana, sans-serif;
}
/* Timeline Container */
.timeline{
position:relative;
width:90%;
max-width:1100px;
margin:auto;
}
.timeline::before{
content:”;
position:absolute;
left:50%;
top:0;
bottom:0;
width:3px;
background:#444;
transform:translateX(-50%);
border-radius:2px;
}
/* Timeline Items */
.timeline-item{
position:relative;
width:50%;
padding:50px 40px;
box-sizing:border-box;
}
/* Left/Right positions */
.timeline-item.left{
left:0;
text-align:right;
}
.timeline-item.right{
left:50%;
}
/* PREMIUM GRADIENT CARD */
.content{
background: linear-gradient(145deg, #ff4d4d, #000000, #eae4d4); /* red → black → pearl */
padding:30px;
border-radius:15px;
position:relative;
box-shadow:0 10px 35px rgba(0,0,0,0.3);
transition:all 0.4s ease;
cursor:pointer;
border:2px solid transparent;
color:#fff; /* white text for everything */
}
/* Hover Premium Effect */
.content:hover{
transform:translateY(-8px);
box-shadow:0 20px 50px rgba(255,0,0,0.5); /* subtle red glow */
border:2px solid #c00000;
}
/* Active Click Zoom */
.content.active{
transform:scale(1.05);
border:2px solid #c00000;
box-shadow:0 25px 60px rgba(255,0,0,0.6);
z-index:10;
}
/* Card Heading */
.content h3{
margin:0 0 12px;
font-size:20px;
font-weight:700;
line-height:1.2;
color:#fff; /* white heading text */
}
/* Card Paragraph */
.content p{
margin:0;
font-size:15px;
line-height:1.6;
color:#fff; /* white paragraph text */
}
/* Timeline Red Dot */
.timeline-item::after{
content:”;
position:absolute;
width:16px;
height:16px;
background:#c00000;
border-radius:50%;
top:70px;
z-index:2;
box-shadow:0 0 15px rgba(192,0,0,0.6);
}
.timeline-item.left::after{
right:-8px;
}
.timeline-item.right::after{
left:-8px;
}
/* Arrows matching gradient card */
.timeline-item.left .content::after{
content:”;
position:absolute;
right:-14px;
top:42px;
border-width:14px;
border-style:solid;
border-color:transparent transparent transparent #fffcf5; /* pearl tip */
}
.timeline-item.right .content::after{
content:”;
position:absolute;
left:-14px;
top:42px;
border-width:14px;
border-style:solid;
border-color:transparent #fffcf5 transparent transparent; /* pearl tip */
}
/* Responsive */
@media(max-width:768px){
.timeline::before{
left:20px;
}
.timeline-item{
width:100%;
padding-left:80px;
padding-right:25px;
}
.timeline-item.left,
.timeline-item.right{
left:0;
text-align:left;
}
.timeline-item::after{
left:13px;
}
.timeline-item.left .content::after,
.timeline-item.right .content::after{
left:-14px;
border-color:transparent #fffcf5 transparent transparent;
}
}
</style>
<section class=”process-section”>
<div class=”timeline”>
<div class=”timeline-item left”>
<div class=”content”>
<h3>Get In Touch</h3>
<p>Reach out to us through our website or contact info</p>
</div>
</div>
<div class=”timeline-item right”>
<div class=”content”>
<h3>Let’s Chat</h3>
<p>We’ll have a friendly chat about your goals and needs</p>
</div>
</div>
<div class=”timeline-item left”>
<div class=”content”>
<h3>Custom Plan</h3>
<p>We’ll create a plan just for you based on what you want</p>
</div>
</div>
<div class=”timeline-item right”>
<div class=”content”>
<h3>Proposal</h3>
<p>You’ll get a proposal with all the details — no hidden stuff</p>
</div>
</div>
<div class=”timeline-item left”>
<div class=”content”>
<h3>Go Ahead</h3>
<p>If you like the plan, we give the green light</p>
</div>
</div>
</div>
</section>
<script>
document.querySelectorAll(“.content”).forEach(card => {
card.addEventListener(“click”, function(){
document.querySelectorAll(“.content”).forEach(c => {
c.classList.remove(“active”);
});
this.classList.add(“active”);
});
});
</script>
