hi / style.css
mindbugg's picture
create denstist landing page
306c596 verified
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
line-height: 1.6;
color: #374151;
background: #f9fafb;
}
/* Hero Section */
.hero {
min-height: 90vh;
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
padding: 4rem 2rem;
max-width: 1200px;
margin: 0 auto;
gap: 4rem;
}
.hero-content h1 {
font-size: 3.5rem;
font-weight: 800;
background: linear-gradient(135deg, #0891b2, #06b6d4);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1.5rem;
line-height: 1.1;
}
.hero-content p {
font-size: 1.25rem;
color: #6b7280;
margin-bottom: 2rem;
max-width: 500px;
}
.hero-buttons {
display: flex;
gap: 1rem;
}
.btn-primary, .btn-secondary {
padding: 1rem 2rem;
border-radius: 12px;
text-decoration: none;
font-weight: 600;
font-size: 1rem;
transition: all 0.3s ease;
display: inline-block;
}
.btn-primary {
background: linear-gradient(135deg, #0891b2, #06b6d4);
color: white;
box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(8, 145, 178, 0.6);
}
.btn-secondary {
background: white;
color: #0891b2;
border: 2px solid #0891b2;
}
.btn-secondary:hover {
background: #0891b2;
color: white;
}
.hero-image img {
width: 100%;
border-radius: 24px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
/* Services Section */
.services {
padding: 6rem 2rem;
max-width: 1200px;
margin: 0 auto;
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-header h2 {
font-size: 2.5rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 0.5rem;
}
.section-header p {
font-size: 1.125rem;
color: #6b7280;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.service-card {
background: white;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
border: 1px solid #e5e7eb;
}
.service-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.service-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.service-card h3 {
font-size: 1.25rem;
font-weight: 600;
color: #1f2937;
margin-bottom: 0.75rem;
}
.service-card p {
color: #6b7280;
font-size: 0.95rem;
}
/* About Section */
.about {
background: linear-gradient(135deg, #ecfeff, #cffafe);
padding: 6rem 2rem;
}
.about {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
max-width: 1200px;
margin: 0 auto;
align-items: center;
}
.about-content h2 {
font-size: 2.5rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 1rem;
}
.about-content p {
font-size: 1.125rem;
color: #4b5563;
margin-bottom: 2rem;
}
.stats {
display: flex;
gap: 3rem;
margin-bottom: 2rem;
}
.stat-item {
text-align: center;
}
.stat-number {
display: block;
font-size: 2rem;
font-weight: 800;
color: #0891b2;
}
.stat-label {
font-size: 0.875rem;
color: #6b7280;
}
.features-list {
list-style: none;
}
.features-list li {
padding: 0.5rem 0;
color: #374151;
font-size: 1.05rem;
}
.about-image img {
width: 100%;
border-radius: 24px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
/* Testimonials Section */
.testimonials {
padding: 6rem 2rem;
max-width: 1200px;
margin: 0 auto;
}
.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
}
.testimonial-card {
background: white;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
border: 1px solid #e5e7eb;
}
.stars {
color: #fbbf24;
font-size: 1.25rem;
margin-bottom: 1rem;
}
.testimonial-card p {
color: #4b5563;
font-style: italic;
margin-bottom: 1.5rem;
}
.patient-info {
display: flex;
align-items: center;
gap: 1rem;
}
.patient-info img {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
}
.patient-info strong {
display: block;
color: #1f2937;
}
.patient-info span {
font-size: 0.875rem;
color: #6b7280;
}
/* Contact Section */
.contact {
background: linear-gradient(135deg, #1e3a5f, #2d5a87);
padding: 6rem 2rem;
color: white;
}
.contact-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
max-width: 1200px;
margin: 0 auto;
}
.contact-info h2 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
.contact-info > p {
font-size: 1.125rem;
color: #bae6fd;
margin-bottom: 2rem;
}
.contact-details {
display: flex;
flex-direction: column;
gap: 2rem;
}
.contact-item {
display: flex;
align-items: flex-start;
gap: 1rem;
}
.contact-icon {
font-size: 1.5rem;
}
.contact-item strong {
display: block;
margin-bottom: 0.25rem;
}
.contact-item p {
color: #bae6fd;
}
.contact-form {
background: white;
padding: 2.5rem;
border-radius: 16px;
color: #374151;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 1rem;
border: 2px solid #e5e7eb;
border-radius: 8px;
font-size: 1rem;
font-family: inherit;
transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: #0891b2;
}
.btn-submit {
width: 100%;
padding: 1rem;
background: linear-gradient(135deg, #0891b2, #06b6d4);
color: white;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.btn-submit:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4);
}
/* Responsive Design */
@media (max-width: 968px) {
.hero,
.about {
grid-template-columns: 1fr;
text-align: center;
}
.hero-content {
order: 2;
}
.hero-image {
order: 1;
}
.hero-buttons {
justify-content: center;
}
.stats {
justify-content: center;
}
.contact-container {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.hero-content h1,
.section-header h2,
.about-content h2,
.contact-info h2 {
font-size: 2rem;
}
.hero {
padding: 2rem 1rem;
}
.services,
.testimonials {
padding: 4rem 1rem;
}
.services-grid,
.testimonials-grid {
grid-template-columns: 1fr;
}
}