@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;600;700&display=swap');

:root {
 --primary-color: #2d3748; /* Dark Slate Gray */
 --accent-color: #4a5568; /* Charcoal */
 --text-color: #333;
 --light-text-color: #f8fafc;
 --white-color: #ffffff;
 --light-bg: #f8fafc; /* Very light blue-gray */
 --border-color: #e2e8f0;
 --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
 --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);

 --font-heading: 'Montserrat', sans-serif;
 --font-body: 'Roboto', sans-serif;

 --header-height: 80px; /* For main-nav */
 --top-bar-height: 40px; /* For top-bar */

 --container-width: 1200px;
}

/* Base Reset & Typography */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-body);
 color: var(--text-color);
 line-height: 1.6;
 background-color: var(--white-color);
}

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

a:hover {
 color: var(--accent-color);
}

ul {
 list-style: none;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 color: var(--primary-color);
 margin-bottom: 1rem;
 line-height: 1.2;
}

h1 {
 font-size: 2.5rem;
 font-weight: 700;
}

h2 {
 font-size: 2rem;
 font-weight: 700;
 text-align: center;
 margin-bottom: 2.5rem;
}

h3 {
 font-size: 1.5rem;
 font-weight: 600;
}

h4 {
 font-size: 1.2rem;
 font-weight: 500;
}

p {
 margin-bottom: 1rem;
}

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

.container {
 max-width: var(--container-width);
 margin: 0 auto;
 padding: 0 1.5rem;
}

section {
 padding: 4rem 0;
 overflow: hidden; /* For animations */
}

.bg-light {
 background-color: var(--light-bg);
}

.text-center {
 text-align: center;
}

.section-description {
 text-align: center;
 max-width: 700px;
 margin: -1.5rem auto 2.5rem auto;
 font-size: 1.1rem;
 color: #666;
}

.underline {
 width: 60px;
 height: 4px;
 background-color: var(--primary-color);
 margin: 0 auto 2.5rem auto;
 border-radius: 2px;
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 0.8rem 1.8rem;
 border-radius: 5px;
 font-weight: 600;
 text-align: center;
 transition: all 0.3s ease;
 cursor: pointer;
 border: 2px solid transparent;
 font-family: var(--font-heading);
}

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

.btn-primary:hover {
 background-color: var(--accent-color);
 border-color: var(--accent-color);
 transform: translateY(-2px);
 box-shadow: var(--shadow-light);
}

.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
 padding: 0.7rem 1.7rem; /* Adjust for border */
}

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--white-color);
 transform: translateY(-2px);
 box-shadow: var(--shadow-light);
}

.btn-link {
 color: var(--primary-color);
 font-weight: 500;
 padding: 0;
 border: none;
 background: none;
 text-decoration: underline;
}

.btn-link:hover {
 color: var(--accent-color);
 text-decoration: none;
}

/* Header */
.top-bar {
 background-color: var(--primary-color);
 color: var(--light-text-color);
 padding: 0.5rem 0;
 font-size: 0.9rem;
}

.top-bar .container {
 display: flex;
 justify-content: flex-end;
}

.top-bar-contact span {
 margin-left: 1.5rem;
}

.main-nav {
 background-color: var(--white-color);
 box-shadow: var(--shadow-light);
 position: sticky;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 transition: all 0.3s ease;
}

.main-nav.scrolled {
 padding: 0.5rem 0;
 box-shadow: var(--shadow-medium);
}

.main-nav .container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 min-height: var(--header-height);
}

.logo {
 font-family: var(--font-heading);
 font-weight: 700;
 font-size: 1.5rem;
 color: var(--primary-color);
 flex-shrink: 0;
}

.nav-links {
 display: flex;
 gap: 2rem;
}

.nav-links li a {
 font-family: var(--font-heading);
 font-weight: 600;
 color: var(--primary-color);
 position: relative;
 padding: 0.25rem 0;
}

.nav-links li a::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: 0;
 width: 0;
 height: 2px;
 background-color: var(--accent-color);
 transition: width 0.3s ease;
}

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

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 font-size: 1.8rem;
 color: var(--primary-color);
 padding: 0.5rem;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 background-color: var(--primary-color);
 margin: 5px 0;
 transition: all 0.3s ease;
}

/* Hero Section */
.hero {
 position: relative;
 height: 80vh;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--white-color);
 text-align: center;
 background-size: cover;
 background-position: center;
 overflow: hidden;
}

.hero-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.6); /* Darker overlay */
 z-index: 1;
}

.hero-content {
 position: relative;
 z-index: 2;
 max-width: 900px;
}

.hero-logo {
 width: 150px;
 height: 50px;
 margin: 0 auto 1.5rem auto;
 border-radius: 5px;
 object-fit: contain;
 background-color: rgba(255, 255, 255, 0.1);
 padding: 5px;
}

.hero h1 {
 font-size: 3.5rem;
 margin-bottom: 1rem;
 color: var(--white-color);
}

.hero p {
 font-size: 1.3rem;
 margin-bottom: 2rem;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
 color: var(--light-text-color);
}

.hero .btn {
 font-size: 1.1rem;
 padding: 1rem 2.5rem;
}

/* Mission Section */
.section-mission h2 {
 position: relative;
 padding-bottom: 0.5rem;
}

.section-mission h2::after {
 content: '';
 position: absolute;
 left: 50%;
 bottom: 0;
 transform: translateX(-50%);
 width: 80px;
 height: 4px;
 background-color: var(--primary-color);
 border-radius: 2px;
}

.section-mission p {
 max-width: 800px;
 margin: 0 auto;
 text-align: center;
 font-size: 1.1rem;
}

/* Features Grid */
.feature-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
}

.feature-item {
 background-color: var(--white-color);
 border: 1px solid var(--border-color);
 border-radius: 8px;
 padding: 2rem;
 text-align: center;
 box-shadow: var(--shadow-light);
 transition: all 0.3s ease;
 display: flex;
 flex-direction: column;
}

.feature-item:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.feature-item img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: 5px;
 margin-bottom: 1.5rem;
 filter: grayscale(80%);
 transition: filter 0.3s ease;
}

.feature-item:hover img {
 filter: grayscale(0%);
}

.feature-item h3 {
 font-size: 1.3rem;
 margin-bottom: 0.8rem;
 flex-grow: 1;
}

.feature-item p {
 font-size: 0.95rem;
 margin-bottom: 1.5rem;
}

/* About Preview */
.about-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
}

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

.about-content h2 {
 text-align: left;
 margin-bottom: 1.5rem;
 font-size: 2.2rem;
}

.about-content p {
 font-size: 1.1rem;
 margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
}

.testimonial-card {
 background-color: var(--white-color);
 border: 1px solid var(--border-color);
 border-radius: 8px;
 padding: 2rem;
 box-shadow: var(--shadow-light);
 text-align: center;
 display: flex;
 flex-direction: column;
 align-items: center;
 transition: all 0.3s ease;
}

.testimonial-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.testimonial-card img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: 1rem;
 border: 3px solid var(--primary-color);
}

.testimonial-card p {
 font-style: italic;
 font-size: 1rem;
 margin-bottom: 1rem;
 color: #555;
}

.testimonial-card h4 {
 margin-bottom: 0.2rem;
 color: var(--primary-color);
}

.testimonial-card span {
 font-size: 0.9rem;
 color: #777;
}

/* Blog Preview */
.blog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
 margin-bottom: 3rem;
}

.blog-card {
 background-color: var(--white-color);
 border: 1px solid var(--border-color);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 overflow: hidden;
 transition: all 0.3s ease;
 display: flex;
 flex-direction: column;
}

.blog-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.blog-card img {
 width: 100%;
 height: 220px;
 object-fit: cover;
 margin-bottom: 1.5rem;
 transition: transform 0.3s ease;
}

.blog-card:hover img {
 transform: scale(1.03);
}

.blog-card h3 {
 font-size: 1.4rem;
 padding: 0 1.5rem;
 margin-bottom: 1rem;
 flex-grow: 1;
}

.blog-card h3 a {
 color: var(--primary-color);
}

.blog-card h3 a:hover {
 color: var(--accent-color);
}

.blog-card p {
 font-size: 0.95rem;
 color: #666;
 padding: 0 1.5rem;
 margin-bottom: 1.5rem;
 flex-grow: 1;
}
.blog-card .btn-link {
 display: inline-block;
 margin: 0 1.5rem 1.5rem;
}

/* FAQ Section */
.faq-accordion {
 max-width: 800px;
 margin: 0 auto;
 border: 1px solid var(--border-color);
 border-radius: 8px;
 overflow: hidden;
 margin-bottom: 3rem;
}

.faq-item {
 border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
 border-bottom: none;
}

.accordion-header {
 width: 100%;
 background-color: var(--white-color);
 padding: 1.2rem 1.5rem;
 text-align: left;
 font-family: var(--font-heading);
 font-size: 1.1rem;
 font-weight: 600;
 color: var(--primary-color);
 border: none;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 transition: background-color 0.3s ease;
}

.accordion-header:hover,
.accordion-header.active {
 background-color: var(--light-bg);
}

.accordion-icon {
 font-size: 1.5rem;
 transition: transform 0.3s ease;
 line-height: 1;
}

.accordion-header.active .accordion-icon {
 transform: rotate(45deg);
}

.accordion-content {
 background-color: var(--white-color);
 padding: 0 1.5rem;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-content p {
 padding-bottom: 1.5rem;
 margin-bottom: 0;
 color: #555;
 font-size: 0.95rem;
}

.accordion-content.open {
 max-height: 200px; /* Adjust as needed for content */
 padding-top: 1rem;
 overflow: visible; /* Allows content like images, etc. to display if added */
}

/* CTA Section */
.section-cta {
 background-image: linear-gradient(rgba(45, 55, 72, 0.8), rgba(45, 55, 72, 0.8)), url('https://images.pexels.com/photos/6801636/pexels-photo-6801636.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
 background-size: cover;
 background-position: center;
 color: var(--white-color);
 text-align: center;
 padding: 5rem 0;
}

.section-cta h2 {
 color: var(--white-color);
 font-size: 2.5rem;
 margin-bottom: 1.5rem;
}

.section-cta p {
 font-size: 1.2rem;
 max-width: 800px;
 margin: 0 auto 2.5rem auto;
 color: var(--light-text-color);
}

.section-cta .btn {
 background-color: var(--accent-color);
 border-color: var(--accent-color);
 font-size: 1.1rem;
 padding: 1rem 2.5rem;
}

.section-cta .btn:hover {
 background-color: var(--white-color);
 color: var(--accent-color);
 border-color: var(--white-color);
}

/* Footer */
footer {
 background-color: var(--primary-color);
 color: var(--light-text-color);
 padding: 3rem 0 1.5rem 0;
 font-size: 0.95rem;
}

footer a {
 color: var(--light-text-color);
}

footer a:hover {
 color: var(--accent-color);
}

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

.footer-col h3,
.footer-col h4 {
 color: var(--white-color);
 margin-bottom: 1.2rem;
 font-size: 1.1rem;
}

.footer-col p {
 margin-bottom: 0.8rem;
 font-size: 0.9rem;
}

.footer-col ul li {
 margin-bottom: 0.6rem;
}

.footer-logo {
 width: 120px;
 height: auto;
 margin-top: 1rem;
 filter: invert(100%) brightness(1.5);
 opacity: 0.8;
}

.footer-bottom {
 text-align: center;
 padding-top: 1.5rem;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
 margin: 0;
 font-size: 0.85rem;
 opacity: 0.8;
}

/* Specific for Contact page */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr 1.2fr;
 gap: 3rem;
 padding-top: 2rem;
}

.contact-info-block {
 background-color: var(--light-bg);
 padding: 2rem;
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 margin-bottom: 2rem;
}

.contact-info-block h3 {
 margin-bottom: 1.5rem;
 font-size: 1.8rem;
}

.contact-item {
 display: flex;
 align-items: flex-start;
 margin-bottom: 1.5rem;
}

.contact-item .icon {
 font-size: 1.5rem;
 color: var(--primary-color);
 margin-right: 1rem;
 flex-shrink: 0;
}

.contact-item p {
 margin: 0;
 font-size: 1rem;
}

.contact-form-container {
 background-color: var(--white-color);
 padding: 2rem;
 border-radius: 8px;
 box-shadow: var(--shadow-medium);
}

.contact-form-container h3 {
 margin-bottom: 1.5rem;
 font-size: 1.8rem;
}

.contact-form label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 500;
 color: var(--primary-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
 width: 100%;
 padding: 0.8rem 1rem;
 margin-bottom: 1.5rem;
 border: 1px solid var(--border-color);
 border-radius: 5px;
 font-family: var(--font-body);
 font-size: 1rem;
 transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
 border-color: var(--primary-color);
 outline: none;
 box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.2);
}

.contact-form textarea {
 min-height: 120px;
 resize: vertical;
}

.map-container {
 margin-top: 3rem;
 border-radius: 8px;
 overflow: hidden;
 box-shadow: var(--shadow-medium);
}

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

/* Service Page specific styles */
.service-cards-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
 margin-bottom: 3rem;
}

.service-card {
 background-color: var(--white-color);
 border: 1px solid var(--border-color);
 border-radius: 8px;
 padding: 2rem;
 box-shadow: var(--shadow-light);
 transition: all 0.3s ease;
 display: flex;
 flex-direction: column;
}
.service-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}
.service-card h3 {
 font-size: 1.5rem;
 margin-bottom: 1rem;
 color: var(--primary-color);
}
.service-card p {
 font-size: 0.95rem;
 color: #555;
 flex-grow: 1;
 margin-bottom: 1.5rem;
}

.service-card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: 5px;
 margin-bottom: 1.5rem;
 filter: grayscale(70%);
 transition: filter 0.3s ease;
}

.service-card:hover img {
 filter: grayscale(0%);
}

/* Blog Posts - articles */
.blog-post-content {
 max-width: 800px;
 margin: 0 auto;
 padding-top: 2rem;
}

.blog-post-content img {
 width: 100%;
 height: 350px;
 object-fit: cover;
 border-radius: 8px;
 margin-bottom: 2rem;
}

.blog-meta {
 font-size: 0.9rem;
 color: #777;
 margin-bottom: 1.5rem;
 display: flex;
 align-items: center;
 gap: 1rem;
}

.blog-meta .author-avatar {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 object-fit: cover;
 border: 2px solid var(--primary-color);
}

.blog-post-content h1 {
 font-size: 2.5rem;
 margin-bottom: 1.5rem;
 text-align: left;
}

.blog-post-content h2 {
 text-align: left;
 font-size: 1.8rem;
 margin-top: 2.5rem;
 margin-bottom: 1rem;
}

.blog-post-content h3 {
 font-size: 1.4rem;
 margin-top: 2rem;
 margin-bottom: 1rem;
}

.blog-post-content p {
 margin-bottom: 1.2rem;
 font-size: 1.05rem;
 line-height: 1.7;
}

.blog-post-content ul,
.blog-post-content ol {
 margin-bottom: 1.5rem;
 padding-left: 1.5rem;
 font-size: 1.05rem;
 color: #444;
}

.blog-post-content ul li {
 list-style: disc;
 margin-bottom: 0.5rem;
}

.blog-post-content ol li {
 list-style: decimal;
 margin-bottom: 0.5rem;
}

blockquote {
 border-left: 4px solid var(--primary-color);
 padding-left: 1.5rem;
 margin: 2rem 0;
 font-style: italic;
 color: #555;
 font-size: 1.1rem;
}

.related-posts {
 margin-top: 4rem;
 border-top: 1px solid var(--border-color);
 padding-top: 2rem;
}

.related-posts h2 {
 font-size: 1.8rem;
 text-align: left;
 margin-bottom: 2rem;
}

.related-posts .blog-grid {
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 margin-bottom: 0;
}

.related-posts .blog-card {
 box-shadow: none;
 border: none;
}

.related-posts .blog-card:hover {
 transform: translateY(-3px);
}

/* About page team members */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
}

.team-member-card {
 background-color: var(--white-color);
 border: 1px solid var(--border-color);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 padding: 1.5rem;
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.team-member-card img {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem auto;
 border: 3px solid var(--primary-color);
}

.team-member-card h3 {
 margin-bottom: 0.5rem;
 font-size: 1.3rem;
}

.team-member-card p {
 font-size: 0.95rem;
 color: #666;
 margin-bottom: 0;
}

/* Gallery page */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 1rem;
}

.gallery-item {
 overflow: hidden;
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 cursor: zoom-in;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
 transform: scale(1.02);
 box-shadow: var(--shadow-medium);
}

.gallery-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
 transition: filter 0.3s ease;
}

.gallery-item:hover img {
 filter: brightness(0.9);
}

/* Lightbox overlay */
.lightbox-overlay {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.9);
 z-index: 2000;
 justify-content: center;
 align-items: center;
 cursor: pointer;
}

.lightbox-content {
 max-width: 90%;
 max-height: 90%;
 object-fit: contain;
 border-radius: 8px;
 box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
 position: absolute;
 top: 20px;
 right: 30px;
 color: var(--white-color);
 font-size: 3rem;
 font-weight: 300;
 cursor: pointer;
}

/* Thanks page */
.thank-you-container {
 text-align: center;
 padding: 5rem 1.5rem;
 max-width: 700px;
 margin: 4rem auto;
 background-color: var(--white-color);
 border-radius: 8px;
 box-shadow: var(--shadow-medium);
}

.thank-you-container h1 {
 font-size: 3rem;
 color: var(--primary-color);
}

.thank-you-container p {
 font-size: 1.1rem;
 color: #555;
 margin-bottom: 2rem;
}

.thank-you-container .btn {
 font-size: 1rem;
 padding: 0.8rem 2rem;
}

/* 404 page */
.error-container {
 text-align: center;
 padding: 5rem 1.5rem;
 max-width: 800px;
 margin: 4rem auto;
 background-color: var(--white-color);
 border-radius: 8px;
 box-shadow: var(--shadow-medium);
}

.error-container h1 {
 font-size: 5rem;
 color: var(--primary-color);
 margin-bottom: 1rem;
}

.error-container h2 {
 font-size: 2.5rem;
 color: var(--accent-color);
 margin-bottom: 1.5rem;
}

.error-container p {
 font-size: 1.1rem;
 color: #555;
 margin-bottom: 2rem;
}

/* Scroll Reveal Animations */
.reveal {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
 opacity: 1;
 transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
 .main-nav .container {
 padding: 0 1rem;
 }
 .nav-links {
 gap: 1.5rem;
 }
 h1 {
 font-size: 2.2rem;
 }
 h2 {
 font-size: 1.8rem;
 }
 .hero h1 {
 font-size: 3rem;
 }
 .hero p {
 font-size: 1.1rem;
 }
 .about-grid {
 grid-template-columns: 1fr;
 }
 .about-content h2 {
 text-align: center;
 }
 .about-image {
 order: -1; /* Image first on mobile */
 }
 .contact-grid {
 grid-template-columns: 1fr;
 }
 .contact-form-container, .contact-info-block {
 margin-bottom: 0;
 }
 .blog-post-content h1 {
 font-size: 2rem;
 }
}

@media (max-width: 768px) {
 .top-bar {
 display: none; /* Hide top bar on smaller screens */
 }

 .main-nav .container {
 justify-content: space-between;
 height: var(--header-height);
 }
 .nav-links {
 display: none; /* Hide desktop nav */
 flex-direction: column;
 align-items: center;
 background-color: var(--primary-color);
 position: fixed;
 top: 0;
 left: -100%; /* Off-screen */
 width: 70%;
 max-width: 300px;
 height: 100vh;
 padding-top: var(--header-height);
 box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
 transition: left 0.4s ease;
 z-index: 999;
 }

 .nav-links.active {
 left: 0;
 display: flex; /* Show when active */
 }

 .nav-links li {
 width: 100%;
 text-align: center;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }

 .nav-links li:last-child {
 border-bottom: none;
 }

 .nav-links li a {
 color: var(--white-color);
 padding: 1rem 0;
 display: block;
 width: 100%;
 }
 .nav-links li a:hover {
 background-color: var(--accent-color);
 color: var(--white-color);
 }
 .nav-links li a::after {
 background-color: var(--white-color);
 }

 .nav-toggle {
 display: flex;
 flex-direction: column;
 justify-content: space-around;
 align-items: center;
 height: 20px;
 position: relative; /* Keep toggle button in place */
 }

 .nav-toggle.active span:nth-child(1) {
 transform: rotate(-45deg) translate(-5px, 6px);
 }
 .nav-toggle.active span:nth-child(2) {
 opacity: 0;
 }
 .nav-toggle.active span:nth-child(3) {
 transform: rotate(45deg) translate(-5px, -6px);
 }

 .hero {
 height: 60vh;
 }
 .hero h1 {
 font-size: 2.5rem;
 }
 .hero p {
 font-size: 1rem;
 }
 .hero .btn {
 font-size: 1rem;
 padding: 0.8rem 2rem;
 }

 section {
 padding: 3rem 0;
 }

 h2 {
 font-size: 1.6rem;
 margin-bottom: 2rem;
 }

 .section-description {
 font-size: 1rem;
 }

 .feature-item, .testimonial-card, .blog-card, .service-card, .team-member-card, .gallery-item {
 padding: 1.5rem;
 }
 .blog-card h3 {
 font-size: 1.2rem;
 }
 .blog-card p {
 font-size: 0.9rem;
 }
 .faq-accordion {
 margin-left: 0;
 margin-right: 0;
 }
 .accordion-header {
 font-size: 1rem;
 padding: 1rem 1.2rem;
 }
 .accordion-content p {
 font-size: 0.9rem;
 }
 .section-cta h2 {
 font-size: 2rem;
 }
 .section-cta p {
 font-size: 1rem;
 }
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-logo {
 margin: 1rem auto 0 auto;
 }
 .blog-post-content {
 padding-top: 1rem;
 }
 .blog-post-content h1 {
 font-size: 1.8rem;
 }
 .blog-meta {
 flex-direction: column;
 align-items: flex-start;
 gap: 0.5rem;
 }
 .blog-post-content h2 {
 font-size: 1.5rem;
 }
 .blog-post-content p {
 font-size: 1rem;
 }
 .thank-you-container h1 {
 font-size: 2.5rem;
 }
 .error-container h1 {
 font-size: 4rem;
 }
 .error-container h2 {
 font-size: 2rem;
 }

}

@media (max-width: 480px) {
 .hero h1 {
 font-size: 2rem;
 }
 .hero p {
 font-size: 0.9rem;
 }
 .hero .btn {
 padding: 0.7rem 1.5rem;
 font-size: 0.9rem;
 }
 .feature-item {
 padding: 1.2rem;
 }
 .testimonial-card {
 padding: 1.5rem;
 }
 .blog-card {
 padding: 0;
 }
 .blog-card h3, .blog-card p, .blog-card .btn-link {
 padding-left: 1rem;
 padding-right: 1rem;
 }
 .blog-card h3 {
 margin-bottom: 0.5rem;
 }
 .blog-card p {
 font-size: 0.85rem;
 margin-bottom: 1rem;
 }
 .blog-card .btn-link {
 margin-bottom: 1rem;
 }
 .faq-accordion {
 border-radius: 0;
 border-left: none;
 border-right: none;
 }
 .section-cta h2 {
 font-size: 1.8rem;
 }
 .section-cta p {
 font-size: 0.9rem;
 }
 .contact-form-container, .contact-info-block {
 padding: 1.5rem;
 }
 .map-container iframe {
 height: 300px;
 }
 .blog-post-content h1 {
 font-size: 1.5rem;
 }
 .blog-post-content h2 {
 font-size: 1.3rem;
 }
 .blog-meta {
 font-size: 0.8rem;
 }
 .thank-you-container h1 {
 font-size: 2rem;
 }
 .error-container h1 {
 font-size: 3rem;
 }
 .error-container h2 {
 font-size: 1.5rem;
 }
}