HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta
charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>Professional
Services</title>
<style>
/* Modern Reset & Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma,
Geneva, Verdana, sans-serif;
}
body {
color: #333;
line-height: 1.6;
background-color: #f9f9f9;
}
/* Navigation */
header {
background-color: #ffffff;
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 1000;
box-shadow: 0 2px 5px
rgba(0,0,0,0.1);
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #1a365d;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
text-decoration: none;
color: #4a5568;
font-weight: 600;
transition: color 0.3s;
}
nav ul li a:hover {
color: #2b6cb0;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg,
#1a365d 0%, #2b6cb0 100%);
color: white;
padding: 160px 20px 100px 20px;
text-align: center;
}
.hero h1 {
font-size: 48px;
margin-bottom: 20px;
font-weight: 700;
}
.hero p {
font-size: 20px;
max-width: 600px;
margin: 0 auto 30px auto;
opacity: 0.9;
}
.cta-btn {
display: inline-block;
background-color: #ecc94b;
color: #1a365d;
padding: 12px 30px;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
transition: transform 0.2s,
background-color 0.3s;
}
.cta-btn:hover {
background-color: #f6e05e;
transform: translateY(-2px);
}
/* Container for Main Sections */
.section {
padding: 80px 20px;
max-width: 1200px;
margin: 0 auto;
}
.section-title {
text-align: center;
font-size: 32px;
color: #1a365d;
margin-bottom: 40px;
position: relative;
}
.section-title::after {
content: '';
display: block;
width: 50px;
height: 3px;
background-color: #2b6cb0;
margin: 10px auto 0 auto;
}
/* Services Grid */
.services-grid {
display: grid;
grid-template-columns:
repeat(auto-fit, minmax(280px, 1xl));
gap: 30px;
}
.service-card {
background: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 6px
rgba(0,0,0,0.05);
text-align: center;
border-top: 4px solid #2b6cb0;
}
.service-card h3 {
margin-bottom: 15px;
color: #2d3748;
}
/* About Section */
.about-content {
background: white;
padding: 40px;
border-radius: 8px;
box-shadow: 0 4px 6px
rgba(0,0,0,0.05);
max-width: 800px;
margin: 0 auto;
}
/* Contact Form */
.contact-form {
max-width: 600px;
margin: 0 auto;
background: white;
padding: 40px;
border-radius: 8px;
box-shadow: 0 4px 6px
rgba(0,0,0,0.05);
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #4a5568;
}
.form-group input, .form-group textarea
{
width: 100%;
padding: 12px;
border: 1px solid #cbd5e0;
border-radius: 4px;
font-size: 16px;
}
.form-group textarea {
height: 150px;
resize: vertical;
}
.submit-btn {
background-color: #2b6cb0;
color: white;
padding: 12px 24px;
border: none;
border-radius: 4px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
width: 100%;
transition: background-color 0.3s;
}
.submit-btn:hover {
background-color: #1a365d;
}
/* Footer */
footer {
background-color: #1a365d;
color: white;
text-align: center;
padding: 30px 20px;
margin-top: 60px;
}
/* Responsive Design */
@media (max-width: 768px) {
.nav-container {
flex-direction: column;
}
nav ul {
margin-top: 15px;
}
.hero h1 {
font-size: 32px;
}
}
</style>
</head>
<body>
<!-- Navigation Header -->
<header>
<div
class="nav-container">
<div
class="logo">CompanyLogo</div>
<nav>
<ul>
<li><a
href="#home">Home</a></li>
<li><a
href="#services">Services</a></li>
<li><a
href="#about">About</a></li>
<li><a
href="#contact">Contact</a></li>
</ul>
</nav>
</div>
</header>
<!-- Hero Section -->
<section id="home"
class="hero">
<h1>Reliable Solutions For Your
Business</h1>
<p>We provide top-tier
professional services tailored to meet your specific commercial and residential
needs.</p>
<a href="#contact"
class="cta-btn">Get a Free Estimate</a>
</section>
<!-- Services Section -->
<section id="services"
class="section">
<h2
class="section-title">Our Services</h2>
<div
class="services-grid">
<div
class="service-card">
<h3>Service
One</h3>
<p>High-quality solutions
designed to handle your most critical tasks efficiently and safely.</p>
</div>
<div
class="service-card">
<h3>Service
Two</h3>
<p>Expert installations,
updates, and maintenance protocols managed by industry professionals.</p>
</div>
<div
class="service-card">
<h3>Service
Three</h3>
<p>Comprehensive
consulting and emergency assistance available when you need it most.</p>
</div>
</div>
</section>
<!-- About Section -->
<section id="about"
class="section" style="background-color: #edf2f7;">
<h2
class="section-title">About Us</h2>
<div
class="about-content">
<p style="margin-bottom:
15px;">With years of hands-on industry experience, our team specializes
in delivering dependable, efficient, and high-standard work for both
residential layouts and commercial operations.</p>
<p>We pride ourselves on
transparent communication, exceptional project management, and building
long-term partnerships with our clients rooted in trust and quality
execution.</p>
</div>
</section>
<!-- Contact Section -->
<section id="contact"
class="section">
<h2
class="section-title">Contact Us</h2>
<div
class="contact-form">
<form action="#"
method="POST" onsubmit="alert('Thank you for your message! We
will get back to you shortly.'); return false;">
<div
class="form-group">
<label
for="name">Name</label>
<input
type="text" id="name" required placeholder="Your
Name">
</div>
<div
class="form-group">
<label
for="email">Email</label>
<input
type="email" id="email" required
placeholder="your.email@example.com">
</div>
<div
class="form-group">
<label
for="message">Message</label>
<textarea
id="message" required placeholder="How can we help
you?"></textarea>
</div>
<button
type="submit" class="submit-btn">Send
Message</button>
</form>
</div>
</section>
<!-- Footer -->
<footer>
<p>© 2026 Your Company
Name. All Rights Reserved.</p>
</footer>
</body>
</html>