Untitled
unknown
plain_text
9 months ago
2.5 kB
5
Indexable
/* General Styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
}
/* Header */
header {
background: #333;
color: #fff;
padding: 20px;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
nav .logo h1 {
font-size: 2rem;
}
.nav-links {
list-style: none;
}
.nav-links li {
display: inline;
margin-left: 20px;
}
.nav-links li a {
color: #fff;
text-decoration: none;
}
/* Hero Section */
.hero {
background: #2c3e50;
color: #fff;
padding: 100px 20px;
text-align: center;
}
.hero-content h2 {
font-size: 3rem;
}
.hero-content p {
font-size: 1.5rem;
margin: 20px 0;
}
.cta-button {
background: #e67e22;
color: #fff;
padding: 15px 30px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
}
/* Services Section */
.services {
background: #fff;
padding: 60px 20px;
text-align: center;
}
.services h2 {
font-size: 2.5rem;
margin-bottom: 30px;
}
.service-box {
display: inline-block;
width: 30%;
margin: 20px;
background: #ecf0f1;
padding: 30px;
border-radius: 8px;
}
.service-box h3 {
font-size: 1.8rem;
margin-bottom: 10px;
}
.service-box p {
font-size: 1.2rem;
}
/* Testimonials Section */
.testimonials {
background: #f9f9f9;
padding: 60px 20px;
text-align: center;
}
.testimonials h2 {
font-size: 2.5rem;
margin-bottom: 30px;
}
.testimonial-box {
background: #fff;
padding: 30px;
margin: 20px;
border-radius: 8px;
display: inline-block;
width: 45%;
}
.testimonial-box p {
font-size: 1.2rem;
margin-bottom: 10px;
}
/* Contact Section */
.contact {
background: #fff;
padding: 60px 20px;
text-align: center;
}
.contact h2 {
font-size: 2.5rem;
margin-bottom: 30px;
}
form input, form textarea {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
}
form button {
background: #e67e22;
color: #fff;
padding: 15px 30px;
border: none;
border-radius: 5px;
cursor: pointer;
}
/* Footer Section */
footer {
background: #333;
color: #fff;
padding: 20px;
text-align: center;
}
footer ul {
list-style: none;
}
footer ul li {
display: inline;
margin-left: 15px;
}
footer ul li a {
color: #fff;
text-decoration: none;
}
Editor is loading...
Leave a Comment