tarist-web / static /css /how_it_works_style.css
moathA's picture
Upload folder using huggingface_hub
01704b9 verified
/* how_it_works_style.css */
body {
background: #203667;
margin: 0;
font-family: 'Cairo', sans-serif;
color: #F2F4EF;
overflow-x: hidden;
}
.how-it-works-container {
padding-top: 100px;
padding-bottom: 60px;
max-width: 1000px;
margin: 0 auto;
padding-left: 20px;
padding-right: 20px;
}
/* Hero Section */
.how-hero {
text-align: center;
margin-bottom: 60px;
padding: 40px 0;
border-bottom: 1px solid rgba(253, 197, 84, 0.2);
}
.how-hero h1 {
font-size: 56px;
color: #FDC554;
margin-bottom: 10px;
font-weight: 900;
}
.how-hero h2 {
font-size: 32px;
font-weight: 700;
color: #F2F4EF;
margin-bottom: 20px;
}
.hero-subtext {
font-size: 20px;
max-width: 700px;
margin: 0 auto;
color: #e0e0e0;
line-height: 1.6;
}
/* Steps Timeline */
.steps-timeline {
position: relative;
padding: 20px 0;
}
.steps-timeline::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 40px;
/* Aligns with step number center */
width: 2px;
background: rgba(253, 197, 84, 0.3);
z-index: 0;
}
.step-card {
display: flex;
gap: 30px;
margin-bottom: 60px;
position: relative;
z-index: 1;
}
.step-number {
font-size: 40px;
min-width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
background: #203667;
border: 2px solid #FDC554;
border-radius: 50%;
color: #FFFFFF;
box-shadow: 0 0 15px rgba(253, 197, 84, 0.2);
}
.step-content {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 30px;
flex: 1;
transition: transform 0.3s;
}
.step-content:hover {
transform: translateX(5px);
background: rgba(255, 255, 255, 0.08);
border-color: #FDC554;
}
.step-content h3 {
font-size: 28px;
color: #FDC554;
margin-bottom: 15px;
margin-top: 0;
}
.step-content p {
font-size: 18px;
line-height: 1.6;
color: #d0d0d0;
margin-bottom: 15px;
}
.step-content ul {
list-style: none;
padding-left: 0;
margin-bottom: 20px;
}
.step-content ul li {
font-size: 17px;
color: #e0e0e0;
margin-bottom: 8px;
padding-left: 20px;
position: relative;
}
.step-content ul li::before {
content: '•';
color: #FDC554;
position: absolute;
left: 0;
font-weight: bold;
}
.step-note {
font-style: italic;
color: #a0a0a0;
border-left: 3px solid rgba(255, 255, 255, 0.2);
padding-left: 15px;
}
.highlight-text {
font-weight: 700;
color: #FFFFFF !important;
margin-top: 15px;
}
/* Built for Real Conditions */
.conditions-section {
background: linear-gradient(145deg, rgba(32, 54, 103, 1), rgba(20, 36, 72, 1));
border: 2px solid #1E9AAD;
border-radius: 30px;
padding: 50px;
text-align: center;
margin-bottom: 80px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.section-title {
font-size: 36px;
color: #FDC554;
margin-bottom: 10px;
}
.section-subtitle {
font-size: 20px;
color: #e0e0e0;
margin-bottom: 40px;
}
.conditions-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.condition-item {
font-size: 18px;
font-weight: 600;
color: #FFFFFF;
background: rgba(30, 154, 173, 0.1);
padding: 15px;
border-radius: 10px;
border: 1px solid rgba(30, 154, 173, 0.3);
}
.closing-text {
font-size: 22px;
font-weight: 700;
color: #1E9AAD;
margin-top: 20px;
}
/* Final Summary */
.final-summary {
text-align: center;
padding: 40px;
}
.final-summary h2 {
font-size: 32px;
color: #FDC554;
margin-bottom: 30px;
}
.summary-points p {
font-size: 20px;
margin-bottom: 10px;
color: #e0e0e0;
}
.final-cta {
font-size: 24px;
font-weight: 900;
color: #FFFFFF;
margin: 40px 0;
text-transform: uppercase;
letter-spacing: 2px;
}
.action-btn {
display: inline-block;
background: #FDC554;
color: #1A3A5C;
padding: 15px 40px;
border-radius: 50px;
font-size: 20px;
font-weight: 700;
text-decoration: none;
transition: transform 0.2s, box-shadow 0.2s;
}
.action-btn:hover {
transform: scale(1.05);
box-shadow: 0 5px 20px rgba(253, 197, 84, 0.4);
}
@media (max-width: 768px) {
.steps-timeline::before {
left: 20px;
}
.step-card {
flex-direction: column;
gap: 15px;
padding-left: 50px;
/* Space for line */
}
.step-number {
position: absolute;
left: -10px;
top: 0;
width: 60px;
height: 60px;
min-width: 60px;
font-size: 28px;
}
.how-hero h1 {
font-size: 40px;
}
}