Spaces:
Sleeping
Sleeping
File size: 1,464 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 | /* =========================
SCROLL FEATURES SECTION
========================= */
.sf-section {
padding: 80px 20px;
background: #ffffff;
color: #000000;
}
.sf-container {
max-width: 1024px;
margin: auto;
}
/* Title */
.sf-title {
font-size: 2.8rem;
font-weight: 700;
text-align: left;
margin-bottom: 8px;
position: relative;
}
.sf-title::after {
content: "";
width: 80px;
height: 4px;
background: #1f6feb;
position: absolute;
left: 0;
bottom: -10px;
border-radius: 3px;
}
/* Subtitle */
.sf-subtitle {
font-size: 1rem;
color: #444;
margin-top: 12px;
margin-bottom: 28px;
line-height: 1.6;
}
/* Cards */
.sf-cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}
/* Individual card */
.sf-card {
display: flex;
gap: 18px;
padding: 20px;
background: #f9fbff;
border-radius: 14px;
opacity: 0;
transform: translateY(24px);
transition: all 0.6s ease;
}
/* Add visible class on scroll */
.sf-visible {
opacity: 1;
transform: translateY(0);
}
/* Icon */
.sf-icon {
font-size: 32px;
color: #1f6feb;
flex-shrink: 0;
margin-top: 6px;
}
/* Text */
.sf-card-title {
font-size: 1.3rem;
font-weight: 600;
color: #000000;
margin-bottom: 6px;
}
.sf-card-desc {
font-size: 1rem;
color: #333333;
line-height: 1.6;
}
/* Responsive */
@media (max-width: 968px) {
.sf-cards {
grid-template-columns: 1fr;
}
.sf-title {
font-size: 2.4rem;
}
}
|