/* Base Styles */
:root {
    --primary-color: #d64161;
    --primary-light: #ff6c8b;
    --primary-dark: #9e1a3a;
    --secondary-color: #6c63ff;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #e9ecef;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', Arial, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --container-width: 1200px;
}

/* Dark Theme Variables */
body.dark-theme {
    --primary-color: #ff7a97;
    --primary-light: #ff9fb3;
    --primary-dark: #d64161;
    --secondary-color: #8c85ff;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-color: #121212;
    --bg-light: #1e1e1e;
    --bg-dark: #2a2a2a;
    --border-color: #3a3a3a;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
    line-height: 1;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.logo-container h1 {
    font-size: 2.4rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 3rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.1rem;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 5rem;
}

.hero-content h2 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Featured Posts */
.featured-posts {
    padding: 8rem 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.post-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.post-preview {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.post-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-preview img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.post-preview h3 {
    padding: 2rem 2rem 1rem;
    font-size: 2rem;
}

.post-preview p {
    padding: 0 2rem 2rem;
    color: var(--text-light);
}

.read-more {
    display: inline-block;
    margin: 0 2rem 2rem;
    font-weight: 600;
}

.view-all {
    text-align: center;
    margin-top: 4rem;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 3rem;
    padding-bottom: 2rem;
}

.testimonial-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 4px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-light);
    border-radius: 4px;
}

.testimonial {
    flex: 0 0 calc(50% - 1.5rem);
    scroll-snap-align: start;
}

.testimonial-content {
    background-color: var(--bg-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content::after {
    content: '"';
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: var(--primary-light);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 2rem;
}

.client {
    display: flex;
    align-items: center;
}

.client img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.client-info h4 {
    margin-bottom: 0.5rem;
}

.client-info p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background-color: var(--primary-color);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.cta-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-color);
    padding: 6rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 8rem;
    height: 8rem;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.footer-logo h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-links h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--text-color);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-contact p svg {
    margin-right: 1rem;
    color: var(--primary-color);
}

.social-links h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--bg-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 6rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.8rem;
    color: var(--text-light);
    max-width: 60rem;
    margin: 0 auto;
}

/* Blog Page */
.blog-posts {
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 100%;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 3rem;
}

.blog-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: white;
    border-radius: 2rem;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.blog-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.blog-overview {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.blog-overview h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-overview ul {
    margin-bottom: 0;
}

.blog-content p {
    margin-bottom: 2rem;
}

/* Newsletter */
.newsletter {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.newsletter-content {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 3rem;
    color: var(--text-light);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    font-size: 1.6rem;
}

/* Services Page */
.services-intro {
    padding: 6rem 0;
}

.services-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-intro-text h2 {
    margin-bottom: 2rem;
}

.services-intro-text p {
    margin-bottom: 1.5rem;
}

.services-intro-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.services-list {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-card:last-child {
    margin-bottom: 0;
}

.service-image {
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 3rem;
}

.service-content h3 {
    margin-bottom: 1.5rem;
}

.service-content p {
    margin-bottom: 1.5rem;
}

.service-content ul {
    margin-bottom: 2rem;
}

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.service-price p {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* Process */
.process {
    padding: 6rem 0;
}

.process h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
}

.process-step {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

.process-step h3 {
    margin-bottom: 1.5rem;
}

.process-step p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* About Page */
.about-story {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.values {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.values h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.value-card {
    background-color: var(--bg-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    margin: 0 auto 2rem;
}

.value-card h3 {
    margin-bottom: 1.5rem;
}

.value-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.team {
    padding: 6rem 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.team-member {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
}

.team-member h3 {
    padding: 2rem 2rem 0.5rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    padding: 0 2rem;
    margin-bottom: 1rem;
}

.team-member p:nth-of-type(1) {
    font-weight: 600;
    color: var(--primary-color);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--bg-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.credentials {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.credentials h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.credentials-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.credentials-text p {
    margin-bottom: 1.5rem;
}

.certification-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 2rem;
}

.certification-logos img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Contact Page */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-info > p {
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
}

.contact-icon {
    flex: 0 0 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    margin-right: 2rem;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

.office-hours {
    margin-bottom: 3rem;
}

.office-hours h3 {
    margin-bottom: 1.5rem;
}

.office-hours ul {
    list-style: none;
    padding: 0;
}

.office-hours ul li {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.office-hours ul li span {
    font-weight: 600;
}

.social-contact h3 {
    margin-bottom: 1.5rem;
}

.contact-form-container {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1.6rem;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.4rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.map-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.map-container {
    height: 45rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.faq-section {
    padding: 6rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45rem, 1fr));
    gap: 3rem;
}

.faq-item {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

/* Blog Post */
.blog-post {
    padding: 6rem 0;
}

.post-header {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 4rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.post-meta span {
    position: relative;
}

.post-meta span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -1.2rem;
}

.post-featured-image {
    margin-bottom: 4rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-content {
    max-width: 80rem;
    margin: 0 auto;
}

.post-content h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.post-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 2rem;
}

.post-content li {
    margin-bottom: 1rem;
}

.image-with-caption {
    margin: 3rem 0;
    text-align: center;
}

.image-with-caption img {
    border-radius: var(--border-radius);
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.caption {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-light);
}

.styling-tip {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    border-left: 4px solid var(--primary-color);
}

.styling-tip h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.styling-tip p {
    margin-bottom: 0;
}

.author-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.author-image {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 1rem;
}

.author-info p {
    margin-bottom: 0;
}

.post-navigation {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
}

.back-to-blog,
.next-post {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.related-posts {
    margin-top: 6rem;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
}

.related-post {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.related-post img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
}

.related-post h3 {
    padding: 2rem 2rem 1rem;
    font-size: 1.8rem;
}

.related-post .read-more {
    display: inline-block;
    margin: 0 2rem 2rem;
    font-weight: 600;
}

.comments-section {
    margin-top: 6rem;
}

.comments-section h2 {
    margin-bottom: 3rem;
}

.comment-form {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-banner.visible {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1.4rem;
    transition: var(--transition);
}

.btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
}

.btn-cookie.customize {
    background-color: var(--warning-color);
    color: var(--text-color);
}

.btn-cookie.decline {
    background-color: var(--danger-color);
    color: white;
}

.cookie-policy-link {
    font-size: 1.4rem;
    text-decoration: underline;
}

/* Thank You Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.modal.visible {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 4rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 50rem;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.thank-you-message {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thank-you-message h2 {
    margin-bottom: 1.5rem;
}

.thank-you-message p {
    margin-bottom: 3rem;
}

.close-btn {
    min-width: 15rem;
}

/* Theme Toggle */
.theme-toggle-container {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 6rem;
    background-color: var(--bg-light);
    border-radius: 3rem;
    z-index: 900;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.theme-indicator {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

body.dark-theme .theme-indicator {
    top: 3.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 4rem;
    }

    .services-intro-content,
    .about-content,
    .credentials-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-image {
        height: 30rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }

    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 40rem;
        height: 100vh;
        background-color: var(--bg-color);
        padding: 8rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
    }

    body.nav-open nav {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    nav ul li {
        margin-left: 0;
    }

    .service-card {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 25rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-meta span:not(:last-child)::after {
        content: '';
    }

    .author-section {
        flex-direction: column;
        text-align: center;
    }

    .post-nav-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .hero-content h2 {
        font-size: 3.6rem;
    }

    .cookie-buttons {
        flex-wrap: wrap;
    }

    .btn-cookie {
        flex: 1 0 48%;
    }
}
