@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
:root {
--om-timeline-font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
--om-timeline-line-color: #e0e0e0;
--om-timeline-dot-color: #4CAF50;
--om-timeline-spacing: 60px;
--om-timeline-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} .om-timeline {
position: relative;
max-width: 1200px;
margin: 40px auto;
padding: 40px 20px;
font-family: var(--om-timeline-font);
} .om-timeline::before {
content: '';
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 2px;
background-color: var(--om-timeline-line-color);
transform: translateX(-50%);
z-index: 1;
} .om-timeline-item {
position: relative;
width: 100%;
margin-bottom: var(--om-timeline-spacing);
display: flex;
justify-content: center;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.6s ease forwards;
}
.om-timeline-item:nth-child(1) { animation-delay: 0.1s; }
.om-timeline-item:nth-child(2) { animation-delay: 0.2s; }
.om-timeline-item:nth-child(3) { animation-delay: 0.3s; }
.om-timeline-item:nth-child(4) { animation-delay: 0.4s; }
.om-timeline-item:nth-child(5) { animation-delay: 0.5s; }
.om-timeline-item:nth-child(n+6) { animation-delay: 0.6s; } .om-timeline-item::before {
content: '';
position: absolute;
left: 50%;
top: 24px;
width: 16px;
height: 16px;
background-color: var(--om-timeline-dot-color);
border: 4px solid #ffffff;
border-radius: 50%;
transform: translateX(-50%);
z-index: 10;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
transition: var(--om-timeline-transition);
}
.om-timeline-item:hover::before {
transform: translateX(-50%) scale(1.3);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
} .om-timeline-item__content {
position: relative;
width: calc(50% - 40px);
padding: 24px 28px;
background: #ffffff;
border-radius: 12px;
transition: var(--om-timeline-transition);
} .om-timeline-item--left .om-timeline-item__content {
margin-right: auto;
margin-left: 0;
text-align: left;
} .om-timeline-item--right .om-timeline-item__content {
margin-left: auto;
margin-right: 0;
text-align: left;
} .om-timeline-item--shadow-light .om-timeline-item__content {
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.om-timeline-item--shadow-medium .om-timeline-item__content {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.om-timeline-item--shadow-strong .om-timeline-item__content {
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}
.om-timeline-item--shadow-none .om-timeline-item__content {
box-shadow: none;
border: 1px solid #e0e0e0;
}
.om-timeline-item:hover .om-timeline-item__content {
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
} .om-timeline-item__icon {
width: 60px;
height: 60px;
margin-bottom: 16px;
border-radius: 50%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background: #f5f5f5;
}
.om-timeline-item__icon img {
width: 100%;
height: 100%;
object-fit: cover;
} .om-timeline-item__date {
font-family: var(--om-timeline-font);
font-size: 14px;
font-weight: 600;
color: #666666;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 8px;
} .om-timeline-item__title {
font-family: var(--om-timeline-font);
font-size: 24px;
font-weight: 700;
color: #333333;
margin: 0 0 12px 0;
line-height: 1.3;
} .om-timeline-item__description {
font-family: var(--om-timeline-font);
font-size: 16px;
font-weight: 400;
color: #666666;
line-height: 1.6;
margin: 0;
}
.om-timeline-item__description p {
margin: 0 0 12px 0;
}
.om-timeline-item__description p:last-child {
margin-bottom: 0;
} .om-timeline--minimal::before {
opacity: 0.5;
width: 1px;
}
.om-timeline--minimal .om-timeline-item::before {
width: 12px;
height: 12px;
border-width: 3px;
} @keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
} @media (max-width: 992px) {
.om-timeline-item__content {
width: calc(50% - 30px);
padding: 20px 24px;
}
.om-timeline-item__title {
font-size: 20px;
}
.om-timeline-item__description {
font-size: 15px;
}
}
@media (max-width: 768px) {
.om-timeline {
padding: 30px 15px;
} .om-timeline::before {
left: 30px;
} .om-timeline-item::before {
left: 30px;
top: 20px;
} .om-timeline-item {
justify-content: flex-start;
padding-left: 70px;
}
.om-timeline-item__content {
width: 100%;
margin-left: 0 !important;
margin-right: 0 !important;
padding: 18px 20px;
}
.om-timeline-item__icon {
width: 50px;
height: 50px;
margin-bottom: 12px;
}
.om-timeline-item__date {
font-size: 12px;
}
.om-timeline-item__title {
font-size: 18px;
margin-bottom: 10px;
}
.om-timeline-item__description {
font-size: 14px;
}
}
@media (max-width: 480px) {
.om-timeline {
padding: 20px 10px;
}
.om-timeline::before {
left: 20px;
}
.om-timeline-item::before {
left: 20px;
width: 12px;
height: 12px;
border-width: 3px;
}
.om-timeline-item {
padding-left: 50px;
margin-bottom: 40px;
}
.om-timeline-item__content {
padding: 16px 18px;
}
.om-timeline-item__title {
font-size: 16px;
}
.om-timeline-item__description {
font-size: 13px;
}
} @media (prefers-reduced-motion: reduce) {
.om-timeline-item,
.om-timeline-item::before,
.om-timeline-item__content {
animation: none !important;
transition: none !important;
}
.om-timeline-item {
opacity: 1;
transform: none;
}
} @media print {
.om-timeline {
padding: 20px 0;
}
.om-timeline::before {
display: none;
}
.om-timeline-item::before {
display: none;
}
.om-timeline-item {
page-break-inside: avoid;
margin-bottom: 30px;
opacity: 1;
transform: none;
}
.om-timeline-item__content {
width: 100%;
box-shadow: none !important;
border: 1px solid #cccccc;
}
}