init
This commit is contained in:
@@ -0,0 +1,332 @@
|
||||
/* views\servicePages\serviceMain.css */
|
||||
/* Base Styles */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Ensure visited links don't turn purple */
|
||||
a:visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Optional: Keep hover state consistent */
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Optional: Keep active state consistent */
|
||||
a:active {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1140px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
text-align: center;
|
||||
color: #30875f;
|
||||
font-size: 32px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 40px;
|
||||
position: relative;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.section-title::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 80px;
|
||||
height: 3px;
|
||||
background-color: #e84e0f;
|
||||
}
|
||||
|
||||
/* Service Hero Section */
|
||||
.service-hero {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
position: relative;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.hero-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.hero-overlay h1 {
|
||||
font-size: 48px;
|
||||
margin-bottom: 20px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.hero-overlay p {
|
||||
font-size: 24px;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
/* Service Categories Section */
|
||||
.service-categories {
|
||||
padding: 60px 0;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.category-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.category-card {
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.category-card:hover {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
|
||||
.category-icon {
|
||||
background-color: #30875f;
|
||||
color: white;
|
||||
padding: 25px;
|
||||
text-align: center;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.category-card h3 {
|
||||
padding: 20px;
|
||||
background-color: #f0f0f0;
|
||||
color: #30875f;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.service-list {
|
||||
padding: 0 20px 20px;
|
||||
}
|
||||
|
||||
.service-item {
|
||||
padding: 15px 0;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.service-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.service-item h4 {
|
||||
color: #e84e0f;
|
||||
font-size: 16px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.service-item p {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* Service Benefits Section */
|
||||
.service-benefits {
|
||||
padding: 60px 0;
|
||||
background-color: #30875f;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.service-benefits .section-title {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.service-benefits .section-title::after {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.benefits-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 30px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.benefit-card {
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
padding: 30px;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.benefit-card:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.benefit-icon {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
background-color: #30875f;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 20px;
|
||||
color: white;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.benefit-card h3 {
|
||||
font-size: 18px;
|
||||
margin-bottom: 15px;
|
||||
color: #30875f;
|
||||
}
|
||||
|
||||
.benefit-card p {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* Service Process Section */
|
||||
.service-process {
|
||||
padding: 60px 0;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.process-steps {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 40px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.process-step {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
text-align: center;
|
||||
padding: 0 15px;
|
||||
margin-bottom: 30px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.step-number {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: #e84e0f;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
margin: 0 auto 20px;
|
||||
}
|
||||
|
||||
.process-step h3 {
|
||||
font-size: 18px;
|
||||
margin-bottom: 15px;
|
||||
color: #30875f;
|
||||
}
|
||||
|
||||
.process-step p {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 1024px) {
|
||||
.category-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.benefits-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.process-steps {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.process-step {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.process-step::after {
|
||||
content: "↓";
|
||||
position: absolute;
|
||||
bottom: -25px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 30px;
|
||||
color: #30875f;
|
||||
}
|
||||
|
||||
.process-step:last-child::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero-overlay h1 {
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
.hero-overlay p {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.benefits-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.service-hero {
|
||||
height: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.hero-overlay h1 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.hero-overlay p {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user