Creating a distinctive and professional landing page for a law firm's criminal defense services involves a blend of modern design principles, compelling content, and user-friendly functionality. Below is a unique HTML template that encapsulates these elements:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>DefendRight Law Firm - Criminal Defense Experts</title>
<link href="styles.css" rel="stylesheet"/>
<style>
/* Base Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styling */
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
}
/* Header Styling */
header {
background: url('courtroom.jpg') no-repeat center center/cover;
color: #fff;
text-align: center;
padding: 5rem 0;
position: relative;
}
header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
}
header h1 {
position: relative;
z-index: 1;
font-size: 3rem;
margin-bottom: 0.5rem;
}
header p {
position: relative;
z-index: 1;
font-size: 1.2rem;
margin-bottom: 1rem;
}
header a {
position: relative;
z-index: 1;
display: inline-block;
background: #e8491d;
color: #fff;
padding: 0.75rem 1.5rem;
text-decoration: none;
border-radius: 5px;
transition: background 0.3s;
}
header a:hover {
background: #333;
}
/* Navigation Styling */
nav {
background: #333;
color: #fff;
padding: 0.5rem 0;
text-align: center;
}
nav a {
color: #fff;
text-decoration: none;
padding: 0.5rem 1rem;
display: inline-block;
}
nav a:hover {
background: #e8491d;
}
/* Main Content Styling */
.container {
width: 80%;
margin: auto;
overflow: hidden;
padding: 2rem 0;
}
.content {
display: flex;
justify-content: space-between;
margin-bottom: 2rem;
}
.content div {
flex: 1;
margin: 0 1rem;
}
.content img {
width: 100%;
border-radius: 5px;
}
/* Testimonials Styling */
.testimonials {
background: #333;
color: #fff;
padding: 2rem 0;
}
.testimonials h2 {
text-align: center;
margin-bottom: 1rem;
}
.testimonial {
text-align: center;
margin-bottom: 1rem;
}
.testimonial p {
font-style: italic;
}
.testimonial h3 {
margin-top: 0.5rem;
font-size: 1rem;
}
/* Contact Form Styling */
.contact-form {
background: #fff;
padding: 2rem;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.contact-form h2 {
text-align: center;
margin-bottom: 1rem;
}
.contact-form form {
display: flex;
flex-direction: column;
}
.contact-form input,
.contact-form textarea {
margin-bottom: 1rem;
padding: 0.75rem;
border: 1px solid #ccc;
border-radius: 5px;
}
.contact-form button {
background: #e8491d;
color: #fff;
padding: 0.75rem;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
.contact-form button:hover {
background: #333;
}
/* Footer Styling */
footer {
background: #333;
color: #fff;
text-align: center;
padding: 1rem 0;
}
/* Responsive Design */
@media (max-width: 768px) {
.content {
flex-direction: column;
}
.content div {
margin: 0 0 1rem 0;
}
}
</style>
</head>
<body>
<header>
<h1>DefendRight Law Firm</h1>
<p>Expert Criminal Defense Attorneys Committed to Your Rights</p>
Schedule a Free Consultation
</header>
<nav>
About Us
Services
Testimonials
Contact
</nav>
<div class="container">
<section class="content" id="about">
<div>
<h2>About Us</h2>
<p>At DefendRight Law Firm, we specialize in providing top-tier criminal defense services. Our team of experienced attorneys is dedicated to protecting your rights and ensuring a fair trial.</p>
</div>
<div>
<img alt="Our Legal Team" src="team.jpg"/>
</div>
</section>
<section class="content" id="services">
<div>
<h2>Our Services</h2>
<ul>
<li>Drug Offenses</li>
<li>White-Collar Crimes</li>
<li>Violent Crimes</li>
<li>DUI/DWI Defense</li>
<li>Juvenile Crimes</li>
</ul>
</div>
<div>
<img alt="Legal Services" src="services.jpg"/>
</div>
</section>
</div>
<section class="testimonials" id="testimonials">
<div class="container">
<h2>Client Testimonials</h2>
<div class="testimonial">
<p>"DefendRight Law Firm provided exceptional service and achieved a favorable outcome for my case. Highly recommend!"</p>
<h3>- John D.</h3>
</div>
<div class="testimonial">
<p>"Professional, compassionate, and effective. They truly care about their clients."</p</p></div></div></section></body></html>