/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header styles */
header {
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0066cc;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-right: 20px;
}

nav a {
    font-weight: 500;
    padding: 5px;
    color: #333;
}

nav a:hover {
    color: #0066cc;
}

nav a.active {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
}

/* Main content styles */
main {
    min-height: 70vh;
    padding: 20px 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
}

h3 {
    font-size: 1.4rem;
    margin: 20px 0 15px;
    color: #333;
}

p {
    margin-bottom: 15px;
}

strong {
    font-weight: 600;
}

/* Home page styles */
.featured {
    background-color: #e6f2ff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.posts h2 {
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.post-list article {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.post-list h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.post-list .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
}

/* Blog post styles */
.blog-post {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.blog-post .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.post-content {
    margin-bottom: 30px;
}

.post-content h3 {
    margin-top: 30px;
    color: #0066cc;
}

.post-content ul, 
.post-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.contact-info {
    background-color: #f5f9ff;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-info h3 {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 5px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.prev-post, .next-post, .back-to-home {
    padding: 8px 15px;
    background-color: #f0f0f0;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.prev-post:hover, .next-post:hover, .back-to-home:hover {
    background-color: #e0e0e0;
    text-decoration: none;
}

/* About page styles */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.profile-pic {
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.bio {
    flex: 1;
    min-width: 300px;
}

.bio ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.credentials {
    margin: 20px 0 30px;
    list-style-type: disc;
    padding-left: 20px;
}

.credentials li {
    margin-bottom: 10px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.testimonial {
    background-color: #f5f9ff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial .client {
    font-weight: bold;
    text-align: right;
    font-style: normal;
    color: #0066cc;
}

.cta-section {
    background-color: #e6f2ff;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 15px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #0055aa;
    text-decoration: none;
}

/* Contact page styles */
.contact .intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #f5f9ff;
    padding: 20px;
    border-radius: 8px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-details, .hours {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.contact-details li, .hours li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.cta-box {
    background-color: #e6f2ff;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.cta-box h3 {
    margin-top: 0;
    color: #0066cc;
}

.cta-box ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.reviews {
    font-weight: bold;
    font-style: italic;
    color: #0066cc;
}

.contact form {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, textarea:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 102, 204, 0.3);
}

button {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0055aa;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    display: inline;
    margin-bottom: 0;
}

.success-message {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.map-container {
    margin: 40px 0;
}

.map {
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-links {
    margin-top: 40px;
}

.social-links ul {
    display: flex;
    list-style: none;
    gap: 20px;
    padding: 0;
    flex-wrap: wrap;
}

.social-links li a {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.social-links li a:hover {
    background-color: #0055aa;
    text-decoration: none;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid #eaeaea;
    color: #888;
    font-size: 0.9rem;
}

footer a {
    color: #0066cc;
}

footer p {
    margin-bottom: 5px;
}

/* Responsive styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    .featured, .blog-post {
        padding: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .featured, .blog-post, .contact form {
        padding: 15px;
    }
    
    .social-links ul {
        justify-content: center;
    }
}
