// main: ../main.scss /*-------------------------------------------------------------- # Work Process Section --------------------------------------------------------------*/ .work-process { .steps-item { background: var(--surface-color); border-radius: 20px; height: 100%; transition: all 0.3s ease-in-out; box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 92%); .steps-image { border-radius: 20px 20px 0 0; overflow: hidden; } &:hover { transform: translateY(-10px); box-shadow: 0 15px 30px color-mix(in srgb, var(--accent-color), transparent 85%); .steps-number { background: var(--accent-color); color: var(--contrast-color); } .steps-image img { transform: scale(1.1); } } } .steps-image { position: relative; height: 280px; img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; } } .steps-content { position: relative; padding: 40px 30px 30px; .steps-number { position: absolute; left: 30px; top: -30px; width: 60px; height: 60px; background: var(--accent-color); color: var(--contrast-color); border-radius: 50%; font-family: var(--heading-font); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease-in-out; } h3 { font-size: 24px; font-weight: 700; margin-bottom: 15px; } p { font-size: 15px; color: color-mix(in srgb, var(--default-color), transparent 20%); margin-bottom: 25px; } } .steps-features { .feature-item { display: flex; align-items: center; margin-bottom: 12px; &:last-child { margin-bottom: 0; } i { color: var(--accent-color); font-size: 18px; margin-right: 10px; } span { font-size: 14px; color: color-mix(in srgb, var(--default-color), transparent 15%); } } } @media (max-width: 1199px) { .steps-image { height: 240px; } .steps-content { padding: 35px 25px 25px; h3 { font-size: 22px; } } } @media (max-width: 991px) { .steps-item { margin-bottom: 30px; } .steps-image { height: 220px; } .steps-content { padding: 30px 20px 20px; .steps-number { width: 50px; height: 50px; font-size: 20px; left: 25px; top: -25px; } h3 { font-size: 20px; margin-bottom: 12px; } p { font-size: 14px; margin-bottom: 20px; } } } }