:root {
 --primary-color: #007bff; /* Blue */
 --primary-dark: #0056b3;
 --secondary-color: #6c757d; /* Gray */
 --secondary-dark: #5a6268;
 --accent-color: #28a745; /* Green for CTA or highlights */
 --accent-dark: #218838;
 --text-color: #343a40; /* Dark gray */
 --light-text-color: #f8f9fa;
 --bg-light: #f8f9fa; /* Light background */
 --bg-dark: #343a40; /* Dark background */
 --border-color: #dee2e6;
 --card-bg: #ffffff;
 --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.05);
 --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.1);

 --font-family-primary: 'Roboto', sans-serif;
 --font-family-secondary: 'Montserrat', sans-serif;

 --header-height: 70px;
 --container-width: 1200px;
 --section-padding-y: 80px;
 --spacing-xs: 8px;
 --spacing-sm: 16px;
 --spacing-md: 24px;
 --spacing-lg: 48px;
 --spacing-xl: 64px;
}

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

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-family-primary);
 line-height: 1.6;
 color: var(--text-color);
 background-color: var(--bg-light);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
 list-style: none;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-family-secondary);
 margin-bottom: var(--spacing-sm);
 line-height: 1.2;
 color: var(--text-color);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
p { margin-bottom: var(--spacing-sm); }

/* Utility Classes */
.container {
 max-width: var(--container-width);
 margin: 0 auto;
 padding: 0 var(--spacing-md);
}

.section-padding {
 padding: var(--section-padding-y) 0;
}

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

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

.bg-dark {
 background-color: var(--bg-dark);
 color: var(--light-text-color);
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
 color: var(--light-text-color);
}
.bg-dark a {
 color: var(--accent-color);
}
.bg-dark a:hover {
 color: var(--accent-dark);
}

.section-description {
 font-size: 1.1rem;
 max-width: 800px;
 margin: 0 auto var(--spacing-lg);
 line-height: 1.8;
}

.mt-xl {
 margin-top: var(--spacing-xl);
}

/* Buttons */
.cta-button {
 display: inline-block;
 padding: var(--spacing-sm) var(--spacing-md);
 border-radius: 5px;
 font-weight: 600;
 text-align: center;
 transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
 text-decoration: none;
 border: none;
 cursor: pointer;
 font-family: var(--font-family-secondary);
}

.cta-button.primary {
 background-color: var(--primary-color);
 color: var(--light-text-color);
 box-shadow: var(--shadow-medium);
}

.cta-button.primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.cta-button.secondary {
 background-color: transparent;
 color: var(--primary-color);
 border: 2px solid var(--primary-color);
 box-shadow: none;
}

.cta-button.secondary:hover {
 background-color: var(--primary-color);
 color: var(--light-text-color);
 transform: translateY(-2px);
 box-shadow: var(--shadow-medium);
}

/* Header */
header {
 background-color: var(--card-bg);
 box-shadow: var(--shadow-light);
 position: sticky;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 padding: var(--spacing-sm) 0;
 transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
 padding: var(--spacing-xs) 0;
 box-shadow: var(--shadow-medium);
}

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

.logo {
 font-family: var(--font-family-secondary);
 font-size: 1.8rem;
 font-weight: 700;
 color: var(--primary-color);
 text-decoration: none;
 white-space: nowrap;
}

.nav-links {
 display: flex;
 align-items: center;
 gap: var(--spacing-md);
}

.nav-links a {
 color: var(--text-color);
 font-weight: 500;
 padding: var(--spacing-xs) 0;
 position: relative;
}

.nav-links a:hover {
 color: var(--primary-color);
 text-decoration: none;
}
.nav-links a::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}
.nav-links a.active {
 color: var(--primary-color);
}

.nav-item-cta .cta-button {
 margin-left: var(--spacing-sm);
 padding: var(--spacing-xs) var(--spacing-md);
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 10px;
 z-index: 1001;
}

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

.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 Section */
.hero-section {
 position: relative;
 height: 70vh; /* Adjust as needed */
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--light-text-color);
 text-align: center;
 overflow: hidden;
 padding: var(--section-padding-y) 0;
 min-height: 500px;
}

.hero-video-background {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 overflow: hidden;
 z-index: -1;
}

.hero-video-background img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 filter: brightness(0.4); /* Darken the image */
 position: absolute;
 top: 0;
 left: 0;
}

.hero-content {
 position: relative;
 z-index: 1;
 max-width: 800px;
 padding: var(--spacing-md);
 background-color: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text */
 border-radius: 8px;
}

.hero-content h1 {
 font-size: 3.5rem;
 margin-bottom: var(--spacing-sm);
 color: var(--light-text-color);
}

.hero-content p {
 font-size: 1.3rem;
 margin-bottom: var(--spacing-lg);
 line-height: 1.5;
 color: var(--light-text-color);
}

.hero-actions .cta-button {
 margin: 0 var(--spacing-xs);
 font-size: 1.1rem;
 padding: var(--spacing-sm) var(--spacing-lg);
}

/* Features Overview */
.feature-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--spacing-lg);
 margin-top: var(--spacing-lg);
}

.feature-item {
 background-color: var(--card-bg);
 padding: var(--spacing-md);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-item img {
 margin: 0 auto var(--spacing-sm);
 width: 80px;
 height: 80px;
 object-fit: cover;
 border-radius: 50%;
 filter: grayscale(100%) brightness(1.2);
 transition: filter 0.3s ease;
}
.feature-item:hover img {
 filter: grayscale(0%) brightness(1);
}

.feature-item h3 {
 color: var(--primary-color);
 font-size: 1.4rem;
}

/* Responsive Grid for About/Services */
.responsive-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: var(--spacing-xl);
 align-items: center;
}

.responsive-grid .about-content,
.responsive-grid .service-content {
 order: 2; /* Content after image on mobile */
}

.responsive-grid .about-image,
.responsive-grid .service-image {
 order: 1; /* Image first on mobile */
}

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

/* Testimonials */
.testimonial-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: var(--spacing-md);
 margin-top: var(--spacing-lg);
}

.testimonial-item {
 background-color: var(--card-bg);
 padding: var(--spacing-lg);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 opacity: 0; /* For fade-in animation */
 transform: translateY(20px); /* For fade-in animation */
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.testimonial-item.is-visible {
 opacity: 1;
 transform: translateY(0);
}

.testimonial-avatar {
 width: 90px;
 height: 90px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: var(--spacing-sm);
 border: 3px solid var(--primary-color);
}

.testimonial-text {
 font-style: italic;
 margin-bottom: var(--spacing-sm);
 font-size: 1.1rem;
}

.testimonial-author {
 font-weight: 600;
 color: var(--secondary-dark);
}

/* Blog Preview */
.blog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: var(--spacing-md);
 margin-top: var(--spacing-lg);
}

.blog-card {
 background-color: var(--card-bg);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 overflow: hidden;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 opacity: 0; /* For fade-in animation */
 transform: translateY(20px); /* For fade-in animation */
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.blog-card.is-visible {
 opacity: 1;
 transform: translateY(0);
}

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

.blog-card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-bottom: 1px solid var(--border-color);
}

.blog-card .card-content {
 padding: var(--spacing-md);
}

.blog-card h3 {
 margin-bottom: var(--spacing-xs);
 font-size: 1.3rem;
}

.blog-card h3 a {
 color: var(--text-color);
 text-decoration: none;
 transition: color 0.3s ease;
}

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

.blog-card p {
 font-size: 0.95rem;
 color: var(--secondary-color);
 margin-bottom: var(--spacing-sm);
}

.blog-card .read-more {
 font-weight: 600;
 color: var(--primary-color);
 text-decoration: none;
}

.blog-card .read-more:hover {
 text-decoration: underline;
}

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

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

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

.accordion-header {
 width: 100%;
 background-color: var(--card-bg);
 padding: var(--spacing-md);
 text-align: left;
 font-size: 1.15rem;
 font-weight: 600;
 color: var(--primary-color);
 cursor: pointer;
 border: none;
 outline: none;
 display: flex;
 justify-content: space-between;
 align-items: center;
 transition: background-color 0.3s ease;
}

.accordion-header::after {
 content: '+';
 font-size: 1.5rem;
 transition: transform 0.3s ease;
}

.accordion-header.active::after {
 content: '−';
 transform: rotate(180deg);
}

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

.accordion-content {
 padding: 0 var(--spacing-md);
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, padding 0.4s ease-out;
 background-color: var(--bg-light);
}

.accordion-content.active {
 max-height: 300px; /* Max height sufficient for content */
 padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
}

/* CTA Section */
.cta-section {
 padding: calc(var(--section-padding-y) * 1.2) 0;
 margin-top: var(--spacing-lg);
 border-radius: 8px;
}

.cta-section h2 {
 font-size: 2.5rem;
 margin-bottom: var(--spacing-md);
}

.cta-section p {
 font-size: 1.2rem;
 max-width: 800px;
 margin: 0 auto var(--spacing-lg);
 line-height: 1.7;
}

.cta-section .cta-button {
 font-size: 1.2rem;
 padding: var(--spacing-sm) var(--spacing-xl);
}

/* Footer */
footer {
 background-color: var(--bg-dark);
 color: var(--light-text-color);
 padding: var(--section-padding-y) 0 var(--spacing-sm);
 font-size: 0.95rem;
}

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: var(--spacing-lg);
 margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
 color: var(--primary-color); /* Highlight footer titles */
 margin-bottom: var(--spacing-sm);
 font-size: 1.1rem;
}

.footer-col p, .footer-col ul li a {
 color: var(--light-text-color);
 margin-bottom: var(--spacing-xs);
}

.footer-col ul {
 padding-left: 0;
}

.footer-col ul li a:hover {
 color: var(--primary-color);
 text-decoration: underline;
}

.brand-info p {
 max-width: 300px;
}

.social-icons {
 margin-top: var(--spacing-sm);
 display: flex;
 gap: var(--spacing-sm);
}

.social-icons img {
 width: 24px;
 height: 24px;
 filter: invert(100%) saturate(0%) brightness(150%); /* Make icons white/light */
 transition: transform 0.3s ease;
}

.social-icons a:hover img {
 filter: invert(60%) sepia(80%) saturate(1400%) hue-rotate(190deg) brightness(100%) contrast(100%); /* Primary color on hover */
 transform: translateY(-3px);
}

.contact-info p {
 line-height: 1.8;
}

.contact-info a {
 color: var(--primary-color);
}
.contact-info a:hover {
 color: var(--primary-color);
 text-decoration: underline;
}

.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: var(--spacing-sm);
 text-align: center;
 font-size: 0.85rem;
 color: var(--secondary-color);
}

/* Specific Page Styles */

/* About Page */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: var(--spacing-md);
 margin-top: var(--spacing-lg);
}
.team-member {
 background-color: var(--card-bg);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 overflow: hidden;
 text-align: center;
 padding-bottom: var(--spacing-md);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}
.team-member img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 margin-bottom: var(--spacing-sm);
}
.team-member h3 {
 margin-bottom: var(--spacing-xs);
 font-size: 1.3rem;
}
.team-member p {
 color: var(--secondary-color);
 font-size: 0.95rem;
}

/* Services Page (similar to features) */
.service-card {
 background-color: var(--card-bg);
 padding: var(--spacing-md);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 display: flex; /* For alignment of content */
 flex-direction: column;
 justify-content: space-between;
}
.service-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}
.service-card img {
 margin: 0 auto var(--spacing-sm);
 width: 80px;
 height: 80px;
 object-fit: contain;
}
.service-card h3 {
 color: var(--primary-color);
 font-size: 1.4rem;
 margin-bottom: var(--spacing-xs);
}
.service-card p {
 font-size: 0.95rem;
 flex-grow: 1; /* Make paragraphs take available space */
}

.process-steps {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--spacing-lg);
 margin-top: var(--spacing-lg);
}
.process-step {
 text-align: center;
 background-color: var(--card-bg);
 padding: var(--spacing-md);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 position: relative;
}
.process-step .step-number {
 display: inline-flex;
 justify-content: center;
 align-items: center;
 width: 50px;
 height: 50px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: var(--light-text-color);
 font-size: 1.5rem;
 font-weight: 700;
 margin-bottom: var(--spacing-sm);
 position: absolute;
 top: -25px;
 left: 50%;
 transform: translateX(-50%);
 box-shadow: var(--shadow-medium);
}
.process-step h4 {
 margin-top: var(--spacing-md);
 color: var(--primary-color);
}

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: var(--spacing-xl);
}
.contact-info-block {
 background-color: var(--card-bg);
 padding: var(--spacing-lg);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
}
.contact-info-block p {
 margin-bottom: var(--spacing-sm);
}
.contact-form-block {
 background-color: var(--card-bg);
 padding: var(--spacing-lg);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
}
.contact-form-block form {
 display: flex;
 flex-direction: column;
 gap: var(--spacing-sm);
}
.contact-form-block label {
 font-weight: 600;
 margin-bottom: var(--spacing-xs);
 display: block;
}
.contact-form-block input[type="text"],
.contact-form-block input[type="email"],
.contact-form-block input[type="tel"],
.contact-form-block textarea {
 width: 100%;
 padding: var(--spacing-xs) var(--spacing-sm);
 border: 1px solid var(--border-color);
 border-radius: 4px;
 font-size: 1rem;
 font-family: var(--font-family-primary);
 transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form-block input:focus,
.contact-form-block textarea:focus {
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
 outline: none;
}
.contact-form-block textarea {
 min-height: 120px;
 resize: vertical;
}
.contact-form-block button.cta-button {
 margin-top: var(--spacing-sm);
 width: auto;
 align-self: flex-start;
}

.map-container {
 margin-top: var(--spacing-xl);
 border-radius: 8px;
 overflow: hidden;
 box-shadow: var(--shadow-medium);
}
.map-container iframe {
 width: 100%;
 height: 450px;
 border: 0;
}

/* Blog Post Layout */
.blog-post-header {
 text-align: center;
 margin-bottom: var(--spacing-lg);
}
.blog-post-header h1 {
 font-size: 3rem;
}
.blog-post-meta {
 color: var(--secondary-color);
 font-size: 0.9rem;
 margin-top: var(--spacing-xs);
}
.blog-post-content {
 max-width: 800px;
 margin: 0 auto var(--spacing-xl);
 line-height: 1.8;
 font-size: 1.1rem;
}
.blog-post-content h2, .blog-post-content h3 {
 margin-top: var(--spacing-lg);
 margin-bottom: var(--spacing-sm);
}
.blog-post-content figure {
 margin: var(--spacing-md) 0;
}
.blog-post-content img {
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 margin: 0 auto; /* Center images */
}
.blog-post-content figcaption {
 font-size: 0.9rem;
 color: var(--secondary-color);
 text-align: center;
 margin-top: var(--spacing-xs);
}
.author-box {
 display: flex;
 align-items: center;
 gap: var(--spacing-md);
 background-color: var(--bg-light);
 padding: var(--spacing-md);
 border-radius: 8px;
 border: 1px solid var(--border-color);
 max-width: 800px;
 margin: var(--spacing-xl) auto;
}
.author-box img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 border: 2px solid var(--primary-color);
}
.author-info h4 {
 margin-bottom: var(--spacing-xs);
 color: var(--primary-color);
}
.author-info p {
 font-size: 0.95rem;
 margin-bottom: 0;
}
.related-posts {
 margin-top: var(--spacing-xl);
}
.related-posts h3 {
 text-align: center;
 margin-bottom: var(--spacing-lg);
}

/* Gallery Page */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--spacing-md);
}
.gallery-item {
 cursor: pointer;
 overflow: hidden;
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
 transform: scale(1.03);
 box-shadow: var(--shadow-medium);
}
.gallery-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
}

/* Lightbox styles (basic) */
.lightbox {
 display: none; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 2000; /* Sit on top */
 left: 0;
 top: 0;
 width: 100%; /* Full width */
 height: 100%; /* Full height */
 overflow: auto; /* Enable scroll if needed */
 background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
 align-items: center;
 justify-content: center;
 opacity: 0;
 transition: opacity 0.3s ease;
}
.lightbox.active {
 display: flex;
 opacity: 1;
}
.lightbox-content {
 margin: auto;
 display: block;
 max-width: 90%;
 max-height: 90%;
 position: relative;
}
.lightbox-content img {
 width: auto;
 height: auto;
 max-width: 100%;
 max-height: 80vh;
 border-radius: 8px;
}
.lightbox-caption {
 text-align: center;
 color: #ccc;
 padding: 10px 0;
 font-size: 1rem;
}
.lightbox-close {
 position: absolute;
 top: 20px;
 right: 35px;
 color: #f1f1f1;
 font-size: 40px;
 font-weight: bold;
 transition: 0.3s;
 cursor: pointer;
}
.lightbox-close:hover,
.lightbox-close:focus {
 color: var(--primary-color);
 text-decoration: none;
 cursor: pointer;
}

/* Legal Pages */
.legal-content {
 max-width: 800px;
 margin: 0 auto;
 line-height: 1.7;
}
.legal-content h1 {
 margin-bottom: var(--spacing-lg);
 text-align: center;
}
.legal-content h2 {
 margin-top: var(--spacing-lg);
 margin-bottom: var(--spacing-sm);
 color: var(--primary-color);
}
.legal-content p {
 margin-bottom: var(--spacing-sm);
 font-size: 1rem;
}
.legal-content ul {
 list-style-type: disc;
 margin-left: 20px;
 margin-bottom: var(--spacing-sm);
}
.legal-content ol {
 list-style-type: decimal;
 margin-left: 20px;
 margin-bottom: var(--spacing-sm);
}
.legal-content li {
 margin-bottom: var(--spacing-xs);
}

/* Thank you page */
.thanks-content {
 height: calc(100vh - var(--header-height) - 200px); /* Adjust based on footer height */
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 max-width: 700px;
 margin: 0 auto;
}
.thanks-content h1 {
 color: var(--accent-color);
 margin-bottom: var(--spacing-md);
}
.thanks-content p {
 font-size: 1.2rem;
 margin-bottom: var(--spacing-lg);
}

/* 404 Page */
.error-content {
 height: calc(100vh - var(--header-height) - 200px); /* Adjust based on footer height */
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
}
.error-content h1 {
 font-size: 5rem;
 color: var(--primary-color);
 margin-bottom: var(--spacing-sm);
}
.error-content p {
 font-size: 1.5rem;
 margin-bottom: var(--spacing-lg);
}

/* Animations */
.fade-in {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
 transition-delay: var(--animation-delay, 0s);
}
.fade-in.is-visible {
 opacity: 1;
 transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
 .container {
 padding: 0 var(--spacing-lg);
 }
 h1 { font-size: 2.5rem; }
 h2 { font-size: 2rem; }
 h3 { font-size: 1.6rem; }
 .hero-content h1 { font-size: 3rem; }
 .hero-content p { font-size: 1.2rem; }

 .responsive-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .responsive-grid .about-content,
 .responsive-grid .service-content {
 order: 2;
 }
 .responsive-grid .about-image,
 .responsive-grid .service-image {
 order: 1;
 margin-bottom: var(--spacing-lg); /* Space between image and text */
 }
 .responsive-grid .cta-button {
 margin: var(--spacing-sm) auto 0;
 }

 .contact-grid {
 grid-template-columns: 1fr;
 }
 .contact-form-block button.cta-button {
 align-self: center;
 width: 100%;
 max-width: 300px;
 }
}

@media (max-width: 768px) {
 .container {
 padding: 0 var(--spacing-md);
 }
 h1 { font-size: 2.2rem; }
 h2 { font-size: 1.8rem; }
 h3 { font-size: 1.4rem; }
 .section-padding {
 padding: var(--spacing-lg) 0;
 }
 .hero-section {
 height: auto;
 min-height: 400px;
 }
 .hero-content h1 {
 font-size: 2.5rem;
 }
 .hero-content p {
 font-size: 1rem;
 margin-bottom: var(--spacing-md);
 }
 .hero-actions .cta-button {
 font-size: 1rem;
 padding: var(--spacing-xs) var(--spacing-md);
 display: block;
 width: fit-content;
 margin: var(--spacing-sm) auto;
 }

 /* Mobile Nav */
 .nav-links {
 display: none;
 flex-direction: column;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100vh; /* Full viewport height */
 background-color: var(--bg-dark);
 padding-top: var(--header-height);
 align-items: center;
 justify-content: center;
 gap: var(--spacing-lg);
 transform: translateX(100%);
 transition: transform 0.4s ease-in-out;
 z-index: 999;
 }

 .nav-links.active {
 transform: translateX(0%);
 display: flex;
 }

 .nav-links li {
 width: 100%;
 text-align: center;
 }

 .nav-links li a {
 color: var(--light-text-color);
 font-size: 1.5rem;
 padding: var(--spacing-sm) 0;
 display: block;
 width: 100%;
 }

 .nav-links li a:hover {
 color: var(--primary-color);
 }
 .nav-links li a::after {
 background-color: var(--primary-color);
 }

 .nav-item-cta .cta-button {
 margin: var(--spacing-sm) auto;
 padding: var(--spacing-xs) var(--spacing-xl);
 }

 .nav-toggle {
 display: block;
 }

 /* General responsive adjustments */
 .feature-grid, .testimonial-grid, .blog-grid, .team-grid, .process-steps {
 grid-template-columns: 1fr;
 }

 .about-us-preview .responsive-grid .about-image,
 .services-intro .responsive-grid .service-image {
 margin-bottom: var(--spacing-md);
 }
 .about-us-preview .responsive-grid .about-content,
 .services-intro .responsive-grid .service-content {
 text-align: center;
 }
 .about-us-preview .cta-button,
 .services-intro .cta-button {
 margin: var(--spacing-sm) auto 0;
 }

 .map-container {
 margin-top: var(--spacing-lg);
 }
 .map-container iframe {
 height: 300px;
 }

 .author-box {
 flex-direction: column;
 text-align: center;
 }
 .author-box img {
 margin-bottom: var(--spacing-sm);
 }

 .cta-section h2 {
 font-size: 2rem;
 }
 .cta-section p {
 font-size: 1rem;
 }
 .cta-section .cta-button {
 font-size: 1rem;
 padding: var(--spacing-sm) var(--spacing-lg);
 }

 /* Footer adjustments */
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-col h4 {
 margin-top: var(--spacing-md);
 }
 .brand-info {
 text-align: center;
 margin-bottom: var(--spacing-md);
 }
 .brand-info p {
 margin: 0 auto var(--spacing-sm);
 }
 .social-icons {
 justify-content: center;
 }
}

@media (max-width: 480px) {
 h1 { font-size: 1.8rem; }
 h2 { font-size: 1.5rem; }
 h3 { font-size: 1.2rem; }
 .hero-content h1 {
 font-size: 2rem;
 }
 .hero-content p {
 font-size: 0.9rem;
 }
 .header .container {
 height: calc(var(--header-height) - 10px);
 }
 .logo {
 font-size: 1.5rem;
 }
 .feature-item, .testimonial-item, .blog-card, .team-member, .service-card, .process-step {
 padding: var(--spacing-sm);
 }
 .testimonial-text {
 font-size: 0.95rem;
 }
}
/* Style for active navigation link */
.nav-links a.active {
 color: var(--primary-color);
 font-weight: 600;
}
.nav-links a.active::after {
 width: 100%;
}