Spaces:
Sleeping
Sleeping
File size: 1,894 Bytes
7d51e81 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | /* HOW LEARNIX WORKS */
.hlw-section {
padding: 70px 20px;
background: #ffffff;
color: #000000;
}
.hlw-container {
max-width: 1100px;
margin: auto;
}
/* Title */
.hlw-title {
font-size: 2.6rem;
font-weight: 700;
margin-bottom: 10px;
position: relative;
}
.hlw-title::after {
content: "";
width: 70px;
height: 3px;
background: #1f6feb;
position: absolute;
left: 0;
bottom: -8px;
border-radius: 2px;
}
/* Subtitle */
.hlw-subtitle {
margin-top: 18px;
max-width: 720px;
font-size: 1rem;
color: #444;
line-height: 1.6;
}
/* Steps layout */
.hlw-steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
margin-top: 40px;
}
/* Card */
.hlw-card {
background: #f9fbff;
padding: 24px;
border-radius: 14px;
transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hlw-card:hover {
transform: translateY(-6px);
box-shadow: 0 16px 30px rgba(31, 111, 235, 0.12);
}
/* Step number */
.hlw-step {
font-size: 0.85rem;
font-weight: 700;
color: #ffcc33;
margin-bottom: 8px;
}
/* Icon */
.hlw-icon {
font-size: 28px;
color: #1f6feb;
margin-bottom: 10px;
}
/* Card title */
.hlw-card-title {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 8px;
}
/* Card description */
.hlw-card-desc {
font-size: 0.95rem;
line-height: 1.6;
color: #333;
}
/* =========================
RESPONSIVE FIX (IMPORTANT)
========================= */
/* Tablets */
@media (max-width: 1024px) {
.hlw-steps {
grid-template-columns: repeat(2, 1fr);
}
}
/* Mobile — horizontal scroll (everything visible) */
@media (max-width: 640px) {
.hlw-steps {
display: flex;
gap: 16px;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding-bottom: 10px;
}
.hlw-card {
min-width: 260px;
scroll-snap-align: start;
}
.hlw-steps::-webkit-scrollbar {
display: none;
}
}
|