:root {
 --primary-color: #0d4f8b; /* Deep Blue */
 --secondary-color: #0891b2; /* Tech Cyan */
 --accent-color: #4CAF50; /* A complimentary green for emphasis */
 --text-dark: #333333;
 --text-light: #4a5568; /* Steel Gray */
 --bg-light: #f8f9fa;
 --bg-white: #ffffff;
 --border-color: #e0e0e0;
 --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.05);
 --shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.1);
 --font-heading: 'Montserrat', sans-serif;
 --font-body: 'Roboto', sans-serif;
 --transition-speed: 0.3s;
}

/* Base Styles */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 color: var(--primary-color);
 margin-bottom: 0.8em;
 font-weight: 700;
}

h1 { font-size: 2.8em; line-height: 1.2; }
h2 { font-size: 2.2em; line-height: 1.3; }
h3 { font-size: 1.8em; line-height: 1.4; }
h4 { font-size: 1.4em; }
p { margin-bottom: 1em; color: var(--text-light); }

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

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

ul {
 list-style: none;
}

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

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

.section-padding {
 padding: 60px 0;
}

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

.section-title {
 text-align: center;
 margin-bottom: 1.5rem;
 font-size: 2.5em;
 color: var(--primary-color);
}

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

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

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 25px;
 margin-top: 15px;
 border-radius: 5px;
 font-weight: 500;
 text-transform: uppercase;
 transition: all var(--transition-speed) ease;
 cursor: pointer;
 border: none;
 font-size: 1em;
 letter-spacing: 0.5px;
}

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

.btn-primary:hover {
 background-color: var(--secondary-color);
 color: var(--bg-white);
 transform: translateY(-2px);
 box-shadow: var(--shadow-medium);
 text-decoration: none;
}

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

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--bg-white);
 transform: translateY(-2px);
 box-shadow: var(--shadow-medium);
 text-decoration: none;
}

.btn-outline {
 background-color: transparent;
 color: var(--primary-color);
 border: 2px solid var(--primary-color);
}

.btn-outline:hover {
 background-color: var(--primary-color);
 color: var(--bg-white);
 transform: translateY(-2px);
 box-shadow: var(--shadow-medium);
 text-decoration: none;
}

/* Header */
.main-header {
 background-color: var(--bg-white);
 box-shadow: var(--shadow-light);
 position: sticky;
 top: 0;
 z-index: 1000;
 width: 100%;
}

.navbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1rem 1.5rem;
 max-width: 1200px;
 margin: 0 auto;
}

.logo {
 font-family: var(--font-heading);
 font-size: 1.8em;
 font-weight: 700;
 color: var(--primary-color);
 text-decoration: none;
 display: flex;
 align-items: center;
}

.logo:hover {
 color: var(--secondary-color);
 text-decoration: none;
}

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

.nav-links li a {
 color: var(--text-dark);
 font-family: var(--font-heading);
 font-weight: 500;
 padding: 5px 0;
 position: relative;
}

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

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

.nav-toggle {
 display: none;
 flex-direction: column;
 justify-content: space-around;
 width: 30px;
 height: 25px;
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 0;
}

.nav-toggle span {
 width: 100%;
 height: 3px;
 background: var(--primary-color);
 border-radius: 3px;
 transition: all var(--transition-speed) ease;
}
/* Active state for navigation menu (JavaScript dependent) */
.nav-links.active {
 display: flex; /* Or block, depending on desired mobile layout */
}

/* Hero Section */
.hero-section {
 background-size: cover;
 background-position: center;
 color: var(--bg-white);
 text-align: center;
 padding: 100px 20px;
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 min-height: 500px;
}

.hero-section::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

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

.hero-content h1 {
 color: var(--bg-white);
 font-size: 3.5em;
 margin-bottom: 0.5em;
}

.hero-content p {
 font-size: 1.3em;
 margin-bottom: 1.5em;
 color: rgba(255, 255, 255, 0.9);
}

/* Features Section (Index Page) */
.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
 margin-top: 40px;
}

.feature-card {
 background-color: var(--bg-white);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 padding: 25px;
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 display: flex;
 flex-direction: column;
 align-items: center;
}

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

.feature-card img {
 width: 100%;
 height: 200px; /* Fixed height for image consistency */
 object-fit: cover;
 border-radius: 8px 8px 0 0;
 margin-bottom: 20px;
}

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

.feature-card p {
 font-size: 0.95em;
 color: var(--text-light);
 flex-grow: 1; /* Allows paragraphs to take available space */
}

/* About Preview Section */
.dual-layout {
 display: flex;
 gap: 40px;
 align-items: center;
}

.dual-layout .content-text {
 flex: 1;
 text-align: left;
}

.dual-layout .content-text h2 {
 text-align: left;
}

.dual-layout .content-image {
 flex: 1;
}

.dual-layout .content-image img {
 border-radius: 8px;
 box-shadow: var(--shadow-medium);
 transition: transform var(--transition-speed);
}

.dual-layout .content-image img:hover {
 transform: scale(1.02);
}

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

.testimonial-card {
 background-color: var(--bg-white);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 padding: 30px;
 position: relative;
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.testimonial-avatar {
 width: 90px;
 height: 90px;
 border-radius: 50%;
 object-fit: cover;
 margin: -75px auto 20px auto; /* Pulls avatar up */
 border: 5px solid var(--bg-white);
 box-shadow: var(--shadow-light);
}

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

.testimonial-author {
 font-weight: 600;
 color: var(--primary-color);
 margin-top: 10px;
 font-size: 0.95em;
}

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

.blog-card {
 background-color: var(--bg-white);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 overflow: hidden;
 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;
 flex-shrink: 0;
}

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

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

.blog-card h3 a:hover {
 color: var(--secondary-color);
 text-decoration: underline;
}

.blog-card p {
 margin: 0 20px 15px 20px;
 font-size: 0.95em;
 color: var(--text-light);
 flex-grow: 1;
}

.blog-card .read-more {
 display: block;
 padding: 0 20px 20px 20px;
 color: var(--secondary-color);
 font-weight: 500;
}

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

.button-container {
 padding-top: 20px;
}

/* CTA Section */
.cta-section {
 background-color: var(--primary-color);
 color: var(--bg-white);
 text-align: center;
 padding: 80px 20px;
}

.cta-section h2 {
 color: var(--bg-white);
 font-size: 2.8em;
 margin-bottom: 0.8em;
}

.cta-section p {
 color: rgba(255, 255, 255, 0.9);
 font-size: 1.2em;
 margin-bottom: 1.5em;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}

.cta-section .btn-primary {
 background-color: var(--secondary-color);
 color: var(--bg-white);
 border-color: var(--secondary-color);
}

.cta-section .btn-primary:hover {
 background-color: var(--accent-color);
 border-color: var(--accent-color);
 transform: translateY(-3px);
}

/* Footer
/* Footer */
.main-footer {
 background-color: var(--primary-color);
 color: var(--bg-white);
 padding: 60px 0 20px 0;
 font-size: 0.95em;
}

.main-footer h4 {
 color: var(--secondary-color);
 margin-bottom: 20px;
 font-size: 1.25em;
 font-family: var(--font-heading);
}

.main-footer p {
 color: rgba(255, 255, 255, 0.7);
 margin-bottom: 10px;
}

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

.footer-column ul {
 padding: 0;
}

.footer-column ul li {
 margin-bottom: 10px;
}

.footer-column ul li a {
 color: rgba(255, 255, 255, 0.7);
 transition: color var(--transition-speed);
}

.footer-column ul li a:hover {
 color: var(--bg-white);
 text-decoration: underline;
}

.footer-column.brand-info h4 {
 color: var(--primary-color); /* Matches logo text */
 -webkit-text-stroke: 1px var(--bg-white); /* Outline effect for brand name */
 text-stroke: 1px var(--bg-white);
 font-size: 2.2em;
 letter-spacing: 1px;
 margin-bottom: 15px;
 line-height: 1;
}

.footer-column.brand-info p {
 color: rgba(255, 255, 255, 0.8);
 font-size: 0.9em;
}

.social-icons {
 margin-top: 20px;
 display: flex;
 gap: 15px;
}

.social-icons a {
 display: inline-block;
 width: 34px;
 height: 34px;
 border-radius: 50%;
 background-color: rgba(255, 255, 255, 0.15);
 display: flex;
 justify-content: center;
 align-items: center;
 transition: background-color var(--transition-speed);
}

.social-icons a:hover {
 background-color: var(--secondary-color);
 transform: translateY(-2px);
}

.social-icons img {
 filter: brightness(0) invert(1); /* Makes icons white */
 width: 18px;
 height: 18px;
}

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

.footer-bottom p {
 margin: 0;
 color: rgba(255, 255, 255, 0.6);
}

/* Specific page layouts */
.page-header {
 background-color: var(--primary-color);
 color: var(--bg-white);
 padding: 80px 20px;
 text-align: center;
 margin-bottom: 40px;
}

.page-header h1 {
 color: var(--bg-white);
 font-size: 3em;
 margin-bottom: 0.5em;
}

.page-header p {
 color: rgba(255, 255, 255, 0.9);
 font-size: 1.1em;
 max-width: 800px;
 margin: 0 auto;
}

/* Services Page */
.service-cards-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
 margin-top: 40px;
}

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

.service-icon {
 font-size: 3em;
 color: var(--secondary-color);
 margin-bottom: 20px;
}

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

.service-card p {
 color: var(--text-light);
 font-size: 0.95em;
}

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

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

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

.team-member-card h3 {
 margin-bottom: 5px;
 color: var(--primary-color);
}

.team-member-card p {
 font-size: 0.9em;
 color: var(--text-light);
}

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

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

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

.contact-form input:focus,
.contact-form textarea:focus {
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
 outline: none;
}

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

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

.contact-info-block p {
 display: flex;
 align-items: center;
 gap: 10px;
 color: var(--text-dark);
 margin-bottom: 10px;
}

.contact-info-block p strong {
 color: var(--primary-color);
}

.contact-info-block p .icon {
 color: var(--secondary-color);
 font-size: 1.2em;
}

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

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

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

/* Blog Post Page */
.blog-post-content {
 max-width: 800px;
 margin: 0 auto;
 padding: 40px 0;
}

.blog-post-content h1 {
 font-size: 2.8em;
 color: var(--primary-color);
 margin-bottom: 0.5em;
}

.blog-post-meta {
 font-size: 0.9em;
 color: var(--text-light);
 margin-bottom: 25px;
 display: flex;
 align-items: center;
 gap: 15px;
}

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

.blog-post-content img {
 margin: 25px 0;
 border-radius: 8px;
 box-shadow: var(--shadow-light);
}

.blog-post-content h2 {
 font-size: 2em;
 margin-top: 1.5em;
 margin-bottom: 0.8em;
}

.blog-post-content h3 {
 font-size: 1.5em;
 margin-top: 1.2em;
 margin-bottom: 0.7em;
}

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

.blog-post-content ul {
 list-style: disc;
 margin-left: 25px;
 margin-bottom: 1.2em;
 color: var(--text-light);
}
.blog-post-content ol {
 list-style: decimal;
 margin-left: 25px;
 margin-bottom: 1.2em;
 color: var(--text-light);
}

.blog-post-content li {
 margin-bottom: 0.5em;
}

/* Related Posts */
.related-posts {
 margin-top: 60px;
 padding-top: 40px;
 border-top: 1px dashed var(--border-color);
}

.related-posts h3 {
 text-align: center;
 margin-bottom: 30px;
 font-size: 1.8em;
}

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

/* Gallery Page */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 15px;
 margin-top: 40px;
}

.gallery-item {
 line-height: 0;
 overflow: hidden;
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 cursor: pointer;
}

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

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

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

/* Lightbox styles (from JS) */
.lightbox {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.8);
 display: flex;
 justify-content: center;
 align-items: center;
 z-index: 2000;
 opacity: 0;
 pointer-events: none;
 transition: opacity var(--transition-speed) ease;
}

.lightbox.active {
 opacity: 1;
 pointer-events: auto;
}

.lightbox img {
 max-width: 90%;
 max-height: 90%;
 border-radius: 8px;
 box-shadow: var(--shadow-medium);
}

/* FAQ Page - Accordion */
.accordion {
 max-width: 900px;
 margin: 40px auto;
}

.accordion-item {
 background-color: var(--bg-white);
 border: 1px solid var(--border-color);
 margin-bottom: 10px;
 border-radius: 8px;
 box-shadow: var(--shadow-light);
 overflow: hidden;
}

.accordion-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 18px 25px;
 cursor: pointer;
 background-color: var(--bg-light);
 border-bottom: 1px solid transparent;
 transition: background-color var(--transition-speed);
}

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

.accordion-header.active {
 border-bottom-color: var(--border-color);
}

.accordion-header h3 {
 margin: 0;
 color: var(--primary-color);
 font-size: 1.15em;
 flex-grow: 1;
 text-align: left;
}

.accordion-icon {
 font-size: 1.5em;
 color: var(--secondary-color);
 transition: transform var(--transition-speed);
}

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

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

.accordion-content p {
 padding: 15px 0;
 border-top: 1px solid var(--border-color); /* Separator on first opening */
 margin-top: -1px; /* Overlap border with header border */
 color: var(--text-light);
 font-size: 1em;
}

.accordion-content.active {
 max-height: 500px; /* Adjust based on expected content height */
 padding-bottom: 25px;
}
/* Legal Pages */
.legal-content {
 max-width: 900px;
 margin: 40px auto;
 padding: 20px;
 background-color: var(--bg-white);
 border-radius: 8px;
 box-shadow: var(--shadow-light);
}

.legal-content h1 {
 font-size: 2.2em;
 color: var(--primary-color);
 margin-bottom: 1.2em;
 text-align: left;
}

.legal-content h2 {
 font-size: 1.6em;
 color: var(--primary-color);
 margin-top: 1.5em;
 margin-bottom: 0.8em;
 text-align: left;
}

.legal-content h3 {
 font-size: 1.3em;
 color: var(--primary-color);
 margin-top: 1.2em;
 margin-bottom: 0.6em;
 text-align: left;
}

.legal-content p, .legal-content ul, .legal-content ol {
 margin-bottom: 1em;
 line-height: 1.7;
 color: var(--text-light);
 font-size: 0.98em;
}

.legal-content ul {
 list-style: disc;
 margin-left: 25px;
}
.legal-content ol {
 list-style: decimal;
 margin-left: 25px;
}

.legal-content li {
 margin-bottom: 0.5em;
}

/* Thank You Page */
.thanks-container {
 text-align: center;
 padding: 100px 20px;
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.thanks-container h1 {
 color: var(--primary-color);
 font-size: 3em;
 margin-bottom: 0.5em;
}

.thanks-container p {
 font-size: 1.2em;
 color: var(--text-light);
 margin-bottom: 2em;
 max-width: 600px;
}

/* 404 Page */
.error-container {
 text-align: center;
 padding: 100px 20px;
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.error-container h1 {
 font-size: 6em;
 color: var(--secondary-color);
 margin-bottom: 0.2em;
}

.error-container h2 {
 font-size: 2.5em;
 color: var(--primary-color);
 margin-bottom: 0.8em;
}

.error-container p {
 font-size: 1.1em;
 color: var(--text-light);
 margin-bottom: 2em;
 max-width: 600px;
}

/* Utility Classes for accessibility (script.js uses these) */
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 left: -9999px;
 overflow: hidden;
}

/* Media Queries */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
 .container {
 padding: 0 1rem;
 }

 .hero-content h1 {
 font-size: 2.8em;
 }

 .hero-content p {
 font-size: 1.1em;
 }

 .dual-layout {
 flex-direction: column;
 text-align: center;
 }

 .dual-layout .content-text h2 {
 text-align: center;
 }

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

 .contact-form, .contact-info {
 padding: 0;
 }

 .section-title {
 font-size: 2em;
 }

 .cta-section h2 {
 font-size: 2.2em;
 }
}

/* Mobile phones */
@media (max-width: 768px) {
 .navbar {
 flex-wrap: wrap;
 padding: 0.8rem 1rem;
 }

 .nav-links {
 display: none;
 flex-direction: column;
 width: 100%;
 background-color: var(--bg-white);
 box-shadow: var(--shadow-light);
 position: absolute;
 top: 100%;
 left: 0;
 padding: 1rem 0;
 border-top: 1px solid var(--border-color);
 }

 .nav-links.active {
 display: flex;
 }

 .nav-links li {
 text-align: center;
 padding: 10px 0;
 }
 
 .nav-links li a {
 display: block;
 padding: 10px 20px;
 color: var(--primary-color);
 }

 .nav-links li a:hover {
 background-color: var(--bg-light);
 text-decoration: none;
 }

 .nav-links li a::after {
 display: none; /* Hide underline for mobile menu */
 }

 .nav-toggle {
 display: flex;
 }

 .hero-section {
 min-height: 400px;
 padding: 80px 15px;
 }

 .hero-content h1 {
 font-size: 2.2em;
 }

 .hero-content p {
 font-size: 1em;
 }

 .section-padding {
 padding: 40px 0;
 }

 .section-title {
 font-size: 1.8em;
 }

 .section-description {
 margin-bottom: 2rem;
 }

 .features-grid,
 .testimonials-grid,
 .blog-grid,
 .service-cards-grid,
 .team-grid,
 .blog-list-grid,
 .gallery-grid {
 grid-template-columns: 1fr;
 }

 .testimonial-avatar {
 margin-top: -60px;
 }

 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 
 .footer-column ul {
 padding-left: 0;
 margin-top: 10px;
 }

 .footer-column ul li {
 display: inline-block; /* For better mobile spacing */
 margin: 0 10px 10px 10px;
 }

 .footer-column.brand-info h4 {
 justify-content: center;
 }
 
 .social-icons {
 justify-content: center;
 }

 .page-header {
 padding: 60px 15px;
 }

 .page-header h1 {
 font-size: 2.5em;
 }

 .legal-content h1 {
 font-size: 1.8em;
 }
 .legal-content h2 {
 font-size: 1.4em;
 }
 .legal-content h3 {
 font-size: 1.2em;
 }

 .error-container h1 {
 font-size: 4em;
 }
 .error-container h2 {
 font-size: 1.8em;
 }
}