forked from janavipandole/Cara
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.css
More file actions
181 lines (153 loc) · 3.62 KB
/
Copy pathabout.css
File metadata and controls
181 lines (153 loc) · 3.62 KB
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* ============================================
ABOUT PAGE SPECIFIC STYLES
============================================ */
#about-head {
background-image: url("images/about/banner.png");
background-size: cover;
background-position: center;
height: 50vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#about-head h2,
#about-head p {
color: #fff;
text-align: center;
}
#about-head h2 {
font-size: 40px;
font-weight: 700;
}
#about-head p {
font-size: 16px;
margin-top: 10px;
}
#about-details {
display: flex;
align-items: center;
padding: 80px;
gap: 40px;
}
#about-details img {
width: 50%;
height: auto;
border-radius: 8px;
}
#about-details div {
width: 50%;
}
#about-details h2 {
font-size: 40px;
font-weight: 600;
}
#about-details p {
color: var(--text-secondary);
line-height: 1.6;
margin: 15px 0;
}
#about-app {
text-align: center;
padding: 80px 0;
}
#about-app video {
width: 70%;
height: auto;
border-radius: 20px;
margin-top: 30px;
}
@media (max-width: 799px) {
#about-details {
flex-direction: column;
padding: 40px 20px;
}
#about-details img,
#about-details div {
width: 100%;
}
#about-app video {
width: 90%;
}
}
@media (max-width: 767px) {
.milestone-item {
flex-direction: column !important;
align-items: flex-start !important;
}
.milestone-item div {
width: 100% !important;
text-align: left !important;
padding-left: 50px !important;
padding-right: 0 !important;
}
.milestone-dot {
left: 20px !important;
transform: none !important;
}
}
/* Typography enhancements */
.about-header h2 {
font-size: clamp(2rem, 5vw, 3.5rem) !important;
line-height: 1.2;
}
/* Timeline Milestone Animations */
.milestone-item {
opacity: 0;
transition: opacity 0.6s ease, transform 0.6s ease;
}
.milestone-item.milestone-left {
transform: translateX(-40px);
}
.milestone-item.milestone-right {
transform: translateX(40px);
}
.milestone-item.milestone-visible {
opacity: 1;
transform: translateX(0);
}
.milestone-dot {
transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.milestone-item.milestone-visible .milestone-dot {
animation: dotPulse 1s ease-out;
}
@keyframes dotPulse {
0% { transform: translateX(-50%) scale(0.6); box-shadow: 0 0 0 0 rgba(8, 129, 120, 0.6); }
50% { transform: translateX(-50%) scale(1.15); box-shadow: 0 0 0 12px rgba(8, 129, 120, 0); }
100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 0 rgba(8, 129, 120, 0); }
}
@media (prefers-reduced-motion: reduce) {
.milestone-item,
.milestone-item.milestone-left,
.milestone-item.milestone-right {
opacity: 1;
transform: none;
transition: none;
}
}
/* ============================================
FAQ ACCORDION — DARK MODE AWARE STYLES
Fixes: FAQ section invisible in dark mode
(issue: hardcoded #475569 answer color and
#cbd5e1 border had no dark-theme override)
============================================ */
#faq-accordion-section h2 {
color: var(--text-primary, #222);
}
.faq-item {
border-bottom: 1px solid var(--border-color, #cbd5e1);
transition: border-color 0.3s ease;
}
.faq-accordion-btn {
color: var(--text-primary, #222);
transition: color 0.3s ease;
}
.faq-accordion-btn:hover {
color: var(--accent, #088178);
}
.faq-answer {
color: var(--text-secondary, #465b52);
transition: color 0.3s ease;
line-height: 1.6;
}