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

:root {
 --primary-color: #007bff; /* Blue */
 --secondary-color: #6c757d; /* Gray */
 --accent-color: #28a745; /* Green */
 --dark-color: #343a40; /* Dark Gray */
 --light-color: #f8f9fa; /* Light Gray */
 --white-color: #ffffff;
 --text-color: #212529;
 --heading-color: #343a40;

 --border-radius: 8px;
 --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 --transition-speed: 0.3s;

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

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

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

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

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 15px;
}

section {
 padding: 80px 0;
 opacity: 0; /* For JS animation */
 transform: translateY(20px); /* For JS animation */
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.animate {
 opacity: 1;
 transform: translateY(0);
}

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

.bg-secondary {
 background-color: var(--primary-color); /* Adjusted to primary color for CTA */
 color: var(--white-color);
}

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

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.5em; }

p {
 margin-bottom: 15px;
}

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

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

ul {
 list-style: none;
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 25px;
 border-radius: var(--border-radius);
 font-family: var(--font-primary);
 font-weight: 600;
 text-align: center;
 cursor: pointer;
 transition: all var(--transition-speed) ease;
 border: 2px solid transparent;
 text-transform: uppercase;
 font-size: 0.9em;
}

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

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

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

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

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

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

.btn-light-outline {
 background-color: transparent;
 color: var(--white-color);
 border-color: var(--white-color);
}

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

/* Navbar */
.header {
 background-color: var(--white-color);
 box-shadow: var(--box-shadow);
 padding: 15px 0;
 position: sticky;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 transition: transform 0.3s ease-in-out;
}

.header.hidden {
 transform: translateY(-100%);
}

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

.logo {
 font-family: var(--font-primary);
 font-size: 1.8em;
 font-weight: 700;
 color: var(--dark-color);
 text-decoration: none;
 padding: 8px 0;
 letter-spacing: -1px;
}

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

.nav-links {
 display: flex;
 gap: 30px;
}

.nav-links a {
 color: var(--dark-color);
 font-weight: 600;
 padding: 8px 0;
 position: relative;
}

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

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

.nav-toggle {
 display: none;
 flex-direction: column;
 justify-content: space-between;
 width: 30px;
 height: 21px;
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 0;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 100%;
 height: 3px;
 background-color: var(--dark-color);
 border-radius: 2px;
 transition: all 0.3s ease-in-out;
}

.nav-toggle.active span:nth-child(1) {
 transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
 opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
 transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
 background-color: var(--light-color);
 padding: 100px 0;
 min-height: 70vh;
 display: flex;
 align-items: center;
 text-align: left;
}

.hero-content {
 display: flex;
 align-items: center;
 gap: 40px;
}

.hero-text {
 flex: 1;
 max-width: 600px;
}

.hero-text h1 {
 font-size: 3.5em;
 font-weight: 700;
 margin-bottom: 25px;
 color: var(--primary-color);
}

.hero-text p {
 font-size: 1.15em;
 margin-bottom: 30px;
 color: var(--dark-color);
}

.hero-buttons .btn {
 margin-right: 15px;
}

.hero-image {
 flex: 1;
 text-align: right;
}

.hero-image img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
}

/* General Section Styling */
.section h2 {
 text-align: center;
 margin-bottom: 20px;
 font-size: 2.5em;
 color: var(--primary-color);
}

.section-description {
 text-align: center;
 max-width: 800px;
 margin: 0 auto 60px auto;
 font-size: 1.1em;
 color: var(--secondary-color);
}

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

.mt-4 {
 margin-top: 40px;
}

/* Features Preview / Services Grid */
.features-grid, .services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}

.feature-card, .service-card {
 background-color: var(--white-color);
 padding: 30px;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-card:hover, .service-card:hover {
 transform: translateY(-10px);
 box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.feature-card img, .service-card img {
 max-width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--border-radius);
 margin-bottom: 20px;
}

.feature-card h3, .service-card h3 {
 font-size: 1.5em;
 margin-bottom: 15px;
 color: var(--heading-color);
}

.feature-card p, .service-card p {
 font-size: 1em;
 color: var(--text-color);
}

/* About Preview */
.about-preview .about-content {
 display: flex;
 align-items: center;
 gap: 40px;
}

.about-preview .about-image {
 flex: 1;
}

.about-preview .about-image img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
}

.about-preview .about-text {
 flex: 1;
}

.about-preview .about-text h2 {
 text-align: left;
 color: var(--primary-color);
}

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

.testimonial-card {
 background-color: var(--white-color);
 padding: 30px;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 text-align: center;
}

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

.testimonial-text {
 font-style: italic;
 font-size: 1.1em;
 margin-bottom: 15px;
 color: var(--dark-color);
}

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

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

.blog-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 overflow: hidden;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 display: flex;
 flex-direction: column;
}

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

.blog-card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
}

.blog-card h3 {
 font-size: 1.4em;
 margin: 20px 20px 10px 20px;
 color: var(--primary-color);
}

.blog-card h3 a {
 color: inherit;
}

.blog-card p {
 font-size: 0.95em;
 margin: 0 20px 15px 20px;
 flex-grow: 1;
}

.blog-card .read-more {
 display: inline-block;
 padding: 10px 20px 20px 20px;
 color: var(--accent-color);
 font-weight: 600;
}

.blog-card .read-more:hover {
 color: var(--dark-color);
}

/* FAQ Preview / Accordion */
.accordion-container {
 max-width: 800px;
 margin: 0 auto;
}

.accordion-item {
 background-color: var(--white-color);
 border: 1px solid #e0e0e0;
 border-radius: var(--border-radius);
 margin-bottom: 15px;
 overflow: hidden;
}

.accordion-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 width: 100%;
 padding: 20px;
 background-color: var(--light-color);
 border: none;
 font-family: var(--font-primary);
 font-size: 1.1em;
 font-weight: 600;
 color: var(--dark-color);
 cursor: pointer;
 text-align: left;
 transition: background-color var(--transition-speed);
}

.accordion-header:hover {
 background-color: #e9ecef;
}

.accordion-header .icon {
 display: block;
 width: 16px;
 height: 16px;
 position: relative;
}

.accordion-header .icon::before,
.accordion-header .icon::after {
 content: '';
 position: absolute;
 background-color: var(--primary-color);
 transition: transform var(--transition-speed);
}

.accordion-header .icon::before {
 width: 2px;
 height: 100%;
 left: 50%;
 transform: translateX(-50%);
}

.accordion-header .icon::after {
 width: 100%;
 height: 2px;
 top: 50%;
 transform: translateY(-50%);
}

.accordion-header.active .icon::before {
 transform: translateX(-50%) rotate(90deg); /* Reverts for the vertical bar */
}

.accordion-header.active .icon::after {
 transform: translateY(-50%) rotate(180deg); /* Disappears for the horizontal bar */
 width: 0;
}

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

.accordion-content p {
 padding: 0 20px;
 margin-bottom: 0;
 color: var(--text-color);
}

.accordion-item.active .accordion-content {
 max-height: 200px; /* Adjust based on content */
 padding: 20px;
}

/* CTA Section */
.cta-section {
 padding: 80px 0;
}
.cta-section h2 {
 color: var(--white-color);
 margin-bottom: 20px;
}
.cta-section p {
 font-size: 1.2em;
 max-width: 700px;
 margin: 0 auto 40px auto;
 color: var(--white-color);
}

/* Footer */
.footer {
 background-color: var(--dark-color);
 color: var(--light-color);
 padding-top: 60px;
 font-size: 0.95em;
}

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

.footer-col h3 {
 color: var(--primary-color);
 font-size: 1.2em;
 margin-bottom: 20px;
}

.footer-col p {
 margin-bottom: 10px;
 font-size: 0.9em;
}

.footer-col ul {
 padding: 0;
}

.footer-col ul li {
 margin-bottom: 8px;
}

.footer-col ul li a {
 color: var(--light-color);
 text-decoration: none;
 transition: color var(--transition-speed);
}

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

.footer-col strong {
 color: var(--white-color);
}

.footer-bottom {
 background-color: #212529;
 padding: 20px 0;
 text-align: center;
 font-size: 0.85em;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
 margin: 0;
 color: var(--secondary-color);
}

/* Contact Page styles */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 40px;
 margin-top: 40px;
}

.contact-info {
 text-align: left;
}

.contact-info h3 {
 color: var(--primary-color);
 margin-bottom: 20px;
}

.contact-info p {
 font-size: 1.1em;
 margin-bottom: 10px;
}

.contact-info a {
 font-weight: 500;
}

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

.contact-form-container h3 {
 text-align: center;
 margin-bottom: 30px;
 color: var(--primary-color);
}

.contact-form .form-group {
 margin-bottom: 20px;
}

.contact-form label {
 display: block;
 margin-bottom: 8px;
 font-weight: 600;
 color: var(--heading-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid #ced4da;
 border-radius: var(--border-radius);
 font-family: var(--font-secondary);
 font-size: 1em;
 transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
 border-color: var(--primary-color);
 box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
 outline: none;
}

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

.contact-form .btn-primary {
 width: 100%;
 padding: 15px;
 font-size: 1.1em;
}

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

.map-container iframe {
 width: 100%;
 height: 450px;
 display: block; /* Remove extra space below iframe */
}

/* About Page styles */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
 margin-top: 60px;
}

.team-member-card {
 background-color: var(--white-color);
 padding: 25px;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.team-member-card img {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: 15px;
 border: 3px solid var(--primary-color);
}

.team-member-card h4 {
 font-size: 1.3em;
 margin-bottom: 5px;
 color: var(--primary-color);
}

.team-member-card p {
 font-size: 0.95em;
 color: var(--secondary-color);
 margin-bottom: 0;
}

/* Services page process section */
.process-steps {
 display: flex;
 flex-wrap: wrap; /* Allow wrapping on smaller screens */
 justify-content: space-between;
 margin-top: 60px;
 position: relative;
 padding-left: 20px; /* Space for the vertical line */
}

.process-steps::before {
 content: '';
 position: absolute;
 left: 25px; /* Adjust according to dot position */
 top: 0;
 bottom: 0;
 width: 2px;
 background-color: var(--primary-color);
 z-index: 1;
}

.process-step {
 flex: 0 0 calc(50% - 30px); /* Two columns with gap */
 position: relative;
 padding: 20px 20px 20px 60px; /* Padding for dot and line */
 margin-bottom: 40px;
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 z-index: 2;
}

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

.process-step::before {
 content: attr(data-step);
 position: absolute;
 left: -10px; /* Position of the dot/number */
 top: 25px;
 width: 40px;
 height: 40px;
 background-color: var(--primary-color);
 color: var(--white-color);
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 font-weight: 700;
 font-size: 1.2em;
 border: 3px solid var(--white-color);
 box-shadow: 0 0 0 3px var(--primary-color);
}

.process-step h4 {
 color: var(--primary-color);
 margin-bottom: 10px;
}

.process-step p {
 margin-bottom: 0;
}

/* Adjust alternating sequence for process steps */
.process-step:nth-child(odd) {
 clear: left;
 margin-right: auto; /* Push to left */
}
.process-step:nth-child(even) {
 clear: right;
 margin-left: auto; /* Push to right */
}

/* For services content pages */
.content-section {
 padding: 60px 0;
}

.content-section img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 margin-bottom: 30px;
}

.content-section h2 {
 text-align: left;
 font-size: 2.2em;
 color: var(--primary-color);
}

.content-section p {
 font-size: 1.1em;
 margin-bottom: 20px;
}

.content-section ul {
 list-style: disc;
 margin-left: 20px;
 margin-bottom: 20px;
}

.content-section ul li {
 margin-bottom: 10px;
}

/* Blog Post styles */
.blog-post-header {
 text-align: center;
 margin-bottom: 50px;
}

.blog-post-header h1 {
 font-size: 3em;
 color: var(--primary-color);
 margin-bottom: 15px;
}

.blog-meta {
 font-size: 0.9em;
 color: var(--secondary-color);
 margin-bottom: 20px;
}

.blog-meta span {
 margin: 0 10px;
}

.blog-author-info {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 15px;
 margin-top: 30px;
}

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

.blog-author-text strong {
 display: block;
 font-size: 1.1em;
 color: var(--dark-color);
}

.blog-author-text span {
 font-size: 0.9em;
 color: var(--secondary-color);
}

.blog-post-content {
 max-width: 800px;
 margin: 0 auto;
 font-size: 1.1em;
 line-height: 1.8;
}

.blog-post-content h2,
.blog-post-content h3 {
 color: var(--primary-color);
 margin-top: 30px;
 margin-bottom: 15px;
}

.blog-post-content img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 margin: 30px 0;
 box-shadow: var(--box-shadow);
}

.blog-post-content ul,
.blog-post-content ol {
 margin-left: 20px;
 margin-bottom: 20px;
}

.blog-post-content ul li,
.blog-post-content ol li {
 margin-bottom: 10px;
}

.related-posts {
 margin-top: 60px;
 padding-top: 40px;
 border-top: 1px solid #e0e0e0;
 text-align: center;
}

.related-posts h3 {
 font-size: 1.8em;
 margin-bottom: 30px;
 color: var(--primary-color);
}

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

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

.gallery-item {
 cursor: pointer;
 overflow: hidden;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 position: relative;
 transition: transform var(--transition-speed);
}

.gallery-item:hover {
 transform: scale(1.02);
}

.gallery-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
 transition: opacity var(--transition-speed);
}

.gallery-item:hover img {
 opacity: 0.8;
}

.gallery-item-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 123, 255, 0.7);
 color: var(--white-color);
 display: flex;
 justify-content: center;
 align-items: center;
 opacity: 0;
 transition: opacity var(--transition-speed);
 border-radius: var(--border-radius);
 font-weight: 600;
 font-size: 1.2em;
}

.gallery-item:hover .gallery-item-overlay {
 opacity: 1;
}

/* Lightbox styles (hidden by default) */
.lightbox {
 display: none; /* Hide by default */
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.8);
 z-index: 2000;
 display: flex;
 justify-content: center;
 align-items: center;
 opacity: 0;
 visibility: hidden;
 transition: opacity var(--transition-speed);
}

.lightbox.active {
 opacity: 1;
 visibility: visible;
}

.lightbox-content {
 position: relative;
 max-width: 90%;
 max-height: 90%;
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 padding: 20px;
 box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
 display: flex;
 flex-direction: column;
 align-items: center;
}

.lightbox-content img {
 max-width: 100%;
 max-height: 80vh;
 display: block;
 border-radius: var(--border-radius);
}

.lightbox-caption {
 color: var(--dark-color);
 margin-top: 15px;
 font-size: 1.1em;
 text-align: center;
}

.lightbox-close {
 position: absolute;
 top: 10px;
 right: 10px;
 font-size: 2em;
 color: var(--dark-color);
 cursor: pointer;
 background: none;
 border: none;
 padding: 5px 10px;
 border-radius: 50%;
 line-height: 1;
 transition: color var(--transition-speed), background-color var(--transition-speed);
}
.lightbox-close:hover {
 color: var(--primary-color);
 background-color: var(--light-color);
}

/* Thank You page */
.thank-you-section {
 min-height: 60vh;
 display: flex;
 justify-content: center;
 align-items: center;
 text-align: center;
 background-color: var(--light-color);
}

.thank-you-content {
 max-width: 700px;
 padding: 40px;
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
}

.thank-you-content h1 {
 color: var(--accent-color);
 margin-bottom: 20px;
}

.thank-you-content p {
 font-size: 1.1em;
 margin-bottom: 30px;
}

/* 404 page */
.error-section {
 min-height: 70vh;
 display: flex;
 justify-content: center;
 align-items: center;
 text-align: center;
 background-color: var(--light-color);
}

.error-content {
 max-width: 600px;
 padding: 40px;
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
}

.error-content h1 {
 font-size: 6em;
 color: var(--primary-color);
 margin-bottom: 10px;
}

.error-content h2 {
 font-size: 2.2em;
 color: var(--dark-color);
 margin-bottom: 20px;
}

.error-content p {
 font-size: 1.1em;
 margin-bottom: 30px;
}

/* Legal pages */
.legal-content h1 {
 text-align: center;
 margin-bottom: 40px;
 color: var(--primary-color);
}

.legal-content h2 {
 font-size: 1.8em;
 color: var(--dark-color);
 margin-top: 30px;
 margin-bottom: 15px;
}

.legal-content h3 {
 font-size: 1.4em;
 color: var(--primary-color);
 margin-top: 25px;
 margin-bottom: 10px;
}

.legal-content p {
 margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
 list-style-position: inside;
 margin-left: 20px;
 margin-bottom: 20px;
}

.legal-content ul li,
.legal-content ol li {
 margin-bottom: 8px;
}

.legal-content strong {
 font-weight: 600;
}

/* Media Queries */
@media (max-width: 1024px) {
 .nav-links {
 gap: 20px;
 }

 .hero-text h1 {
 font-size: 3em;
 }

 h1 { font-size: 2.5em; }
 h2 { font-size: 2em; }
 h3 { font-size: 1.6em; }

 .hero-content,
 .about-preview .about-content {
 flex-direction: column;
 text-align: center;
 }

 .hero-image,
 .about-preview .about-image {
 margin-top: 40px;
 }
 .hero-image img,
 .about-preview .about-image img {
 max-width: 80%;
 }

 .about-preview .about-text h2 {
 text-align: center;
 }

 .process-step {
 flex: 0 0 calc(100% - 20px); /* Stack vertically */
 margin-left: 0;
 margin-right: 0;
 clear: both;
 }

 .process-steps::before {
 left: 25px;
 }
}

@media (max-width: 768px) {
 .navbar {
 padding: 10px 15px;
 }
 .nav-links {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: var(--dark-color);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 transform: translateX(-100%);
 transition: transform 0.5s ease-in-out;
 z-index: 999;
 }

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

 .nav-links li {
 width: 100%;
 text-align: center;
 margin: 20px 0;
 }

 .nav-links a {
 color: var(--white-color);
 font-size: 1.5em;
 padding: 15px 0;
 display: block;
 }
 .nav-links a::after {
 background-color: var(--accent-color);
 height: 3px;
 }
 .nav-links a:hover::after,
 .nav-links a.active::after {
 width: 50%;
 left: 25%;
 }

 .nav-toggle {
 display: flex;
 }

 h1 { font-size: 2.2em; }
 h2 { font-size: 1.8em; }
 h3 { font-size: 1.4em; }
 h4 { font-size: 1.2em; }

 .hero-section {
 padding: 80px 0;
 }

 .hero-text h1 {
 font-size: 2.5em;
 }
 .hero-text p {
 font-size: 1em;
 }
 .hero-buttons .btn {
 width: 100%;
 margin-right: 0;
 margin-bottom: 15px;
 }
 .hero-image img {
 max-width: 90%;
 }

 .section {
 padding: 60px 0;
 }

 .section-description {
 margin-bottom: 40px;
 }

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

 .contact-info, .contact-form-container {
 padding: 20px;
 }

 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }

 .footer-col h3 {
 margin-top: 30px;
 margin-bottom: 10px;
 }
 .footer-col ul {
 margin-bottom: 20px;
 }
 .footer-col:first-child h3 {
 margin-top: 0;
 }

 .blog-post-header h1 {
 font-size: 2.5em;
 }
 .blog-post-content {
 font-size: 1em;
 }
 .error-content h1 {
 font-size: 4em;
 }
 .error-content h2 {
 font-size: 1.8em;
 }
 .legal-content h1 {
 font-size: 2em;
 }
}

@media (max-width: 480px) {
 h1 { font-size: 2em; margin-bottom: 15px; }
 h2 { font-size: 1.6em; margin-bottom: 15px; }
 h3 { font-size: 1.3em; margin-bottom: 10px; }

 .hero-section {
 padding: 60px 0;
 }
 .hero-text h1 {
 font-size: 2em;
 }
 .hero-image img {
 max-width: 100%;
 }

 .btn {
 padding: 10px 20px;
 font-size: 0.85em;
 }
 
 .section {
 padding: 40px 0;
 }

 .section-description {
 font-size: 0.95em;
 margin-bottom: 30px;
 }

 .feature-card, .service-card, .testimonial-card, .blog-card, .team-member-card {
 padding: 20px;
 }

 .blog-card h3 {
 font-size: 1.25em;
 margin-left: 15px;
 margin-right: 15px;
 }
 .blog-card p {
 font-size: 0.9em;
 margin-left: 15px;
 margin-right: 15px;
 }
 .blog-card .read-more {
 padding: 10px 15px;
 }

 .accordion-header {
 font-size: 1em;
 padding: 15px;
 }
 .accordion-content p {
 padding: 15px;
 }

 .cta-section h2 {
 font-size: 1.8em;
 }
 .cta-section p {
 font-size: 1em;
 margin-bottom: 30px;
 }

 .map-container {
 margin-top: 40px;
 }
 .map-container iframe {
 height: 300px;
 }

 .blog-post-header h1 {
 font-size: 2em;
 }

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

 .legal-content h1 {
 font-size: 1.8em;
 }
 .legal-content h2 {
 font-size: 1.5em;
 }
}
/* Keyframe for header animation */
@keyframes slideDown {
 from {
 transform: translateY(-100%);
 }
 to {
 transform: translateY(0);
 }
}

/* Apply animation */
.header.animated {
 animation: slideDown 0.5s ease-out forwards;
}

/* Specific styling for list items in legal/privacy */
.legal-content ul,
.legal-content ol {
 padding-left: 20px; /* Add padding for actual bullet/number visibility */
 list-style-position: outside; /* Ensure bullets/numbers are outside text */
}

/* Ensure the scroll animation effect works on all sections */
.section[data-animated="false"] {
 opacity: 0;
 transform: translateY(20px);
}

.section[data-animated="true"] {
 opacity: 1;
 transform: translateY(0);
}