:root {
 --primary-color: #1a1a1a; /* Dark almost black */
 --secondary-color: #f0f0f0; /* Light off-white */
 --accent-color: #00bcd4; /* Cyan/Turquoise for accent, visibility */
 --text-color: #333;
 --light-text-color: #555;
 --white-text-color: #fff;
 --border-color: #ccc;
 --grid-line-color: #eee;

 --font-family-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
 --font-family-monospace: 'Roboto Mono', monospace;

 --heading-font-size-hero: clamp(3rem, 10vw + 1rem, 7.5rem); /* ~48px-120px */
 --heading-font-size-h1: clamp(2.5rem, 6vw + 1rem, 4rem);
 --heading-font-size-h2: clamp(2rem, 5vw + 1rem, 3rem);
 --heading-font-size-h3: clamp(1.75rem, 4vw + 1rem, 2.5rem);
 --heading-font-size-h4: clamp(1.5rem, 3vw + 1rem, 2rem);
 --body-font-size: 1.125rem; /* 18px */
 --small-font-size: 0.875rem; /* 14px */

 --padding-section: 4rem 0;
 --container-max-width: 1200px;
}

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

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(--secondary-color);
 overflow-x: hidden;
 position: relative;
}

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

h1 { font-size: var(--heading-font-size-h1); }
h2 { font-size: var(--heading-font-size-h2); }
h3 { font-size: var(--heading-font-size-h3); }
h4 { font-size: var(--heading-font-size-h4); }
p {
 margin-bottom: 1rem;
 font-size: var(--body-font-size);
}

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

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

strong {
 font-weight: 700;
}

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

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

.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 white-space: nowrap;
 border: 0;
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 0.8rem 1.8rem;
 border: 2px solid var(--primary-color);
 border-radius: 0;
 font-family: var(--font-family-monospace);
 font-size: var(--body-font-size);
 text-transform: uppercase;
 font-weight: 700;
 cursor: pointer;
 transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
 text-align: center;
 line-height: 1;
}

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

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

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

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

/* Header */
header {
 background-color: var(--secondary-color);
 padding: 1rem 0;
 border-bottom: 2px solid var(--primary-color);
 position: relative;
 z-index: 1000;
}

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

.logo {
 font-size: 1.8rem;
 font-weight: 900;
 color: var(--primary-color);
 text-transform: uppercase;
 letter-spacing: -1px;
 padding-right: 1rem;
 white-space: nowrap;
 text-decoration: none; /* Keep consistent with "Brutalist Raw" - no underline by default */
}

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

.nav-links li a {
 font-family: var(--font-family-primary);
 font-size: 1.25rem;
 font-weight: 700;
 color: var(--primary-color);
 text-transform: uppercase;
 position: relative;
 padding-bottom: 0.3rem;
}

.nav-links li a::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: 0;
 width: 0;
 height: 3px; /* Thick underline */
 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;
 flex-direction: column;
 justify-content: space-between;
 width: 30px;
 height: 20px;
 padding: 0;
 box-shadow: none;
}

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

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

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

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

/* Brutalist Sections Numbering */
main section {
 padding: var(--padding-section);
 position: relative;
 border-bottom: 2px solid var(--primary-color);
}

main section:first-of-type {
 border-top: none;
}

main section:last-of-type {
 border-bottom: none;
}

.section-001 h3, .section-002 h3, .section-003 h3, .section-004 h3, .section-005 h3, .section-006 h3 {
 font-family: var(--font-family-monospace);
 font-size: var(--heading-font-size-h3);
 color: var(--accent-color);
 margin-bottom: 2.5rem;
 text-align: center;
 border-bottom: 2px solid var(--primary-color);
 padding-bottom: 1rem;
 display: inline-block;
 max-width: 100%;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

/* Hero Section */
.hero-section {
 background-color: var(--primary-color);
 color: var(--secondary-color);
 text-align: center;
 padding: var(--padding-section);
 padding-top: 6rem;
 padding-bottom: 6rem;
 border-bottom: 2px solid var(--primary-color);
 position: relative;
}

.hero-section::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-image:
 linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
 linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
 background-size: 50px 50px; /* Adjust grid size */
 opacity: 0.1;
 z-index: 1;
}

.hero-section .container {
 position: relative;
 z-index: 2;
}

.hero-section h1 {
 font-family: var(--font-family-primary);
 font-size: var(--heading-font-size-hero);
 font-weight: 900;
 color: var(--secondary-color);
 text-transform: uppercase;
 letter-spacing: -2px;
 word-break: break-word;
}

.hero-section h2 {
 font-size: var(--heading-font-size-h2);
 color: var(--accent-color);
 margin-top: 1rem;
 margin-bottom: 2rem;
 font-weight: 700;
}

.hero-section p {
 font-size: var(--body-font-size);
 max-width: 800px;
 margin: 0 auto 3rem auto;
 color: var(--secondary-color);
}

.hero-cta {
 display: flex;
 gap: 1.5rem;
 justify-content: center;
 flex-wrap: wrap;
}

/* Features Section */
.features-section {
 background-color: var(--white-text-color);
 border-bottom: 2px solid var(--primary-color);
 
}
.features-section h3 { width: fit-content; margin-left: auto; margin-right: auto;}

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

.feature-item {
 background-color: var(--secondary-color);
 border: 2px solid var(--primary-color);
 padding: 2rem;
 position: relative;
}

.feature-item h4 {
 font-family: var(--font-family-monospace);
 color: var(--accent-color);
 font-size: var(--heading-font-size-h4);
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 0.5rem;
 margin-bottom: 1rem;
}
.feature-item p {
 font-size: var(--small-font-size);
 color: var(--light-text-color);
}

/* About Preview */
.about-preview-section {
 background-color: var(--primary-color);
 color: var(--secondary-color);
 
}
.about-preview-section h3 { margin-left: auto; margin-right: auto; color: var(--accent-color); border-color: var(--secondary-color);}

.about-content {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 3rem;
}

.about-text {
 flex: 2;
 min-width: 300px;
}
.about-text p {
 color: var(--secondary-color);
 font-size: var(--body-font-size);
}
.about-text .btn {
 margin-top: 1.5rem;
 background-color: var(--accent-color);
 border-color: var(--accent-color);
 color: var(--white-text-color);
}
.about-text .btn:hover {
 background-color: var(--secondary-color);
 border-color: var(--secondary-color);
 color: var(--primary-color);
}

.about-image {
 flex: 1;
 min-width: 250px;
 border: 2px solid var(--accent-color);
 padding: 1.5rem;
 background-color: var(--secondary-color);
}

.about-image img {
 max-width: 100%;
 height: auto;
 display: block;
 border: 2px solid var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
 background-color: var(--secondary-color);
}
.testimonials-section h3 { width: fit-content; margin-left: auto; margin-right: auto;}

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

.testimonial-item {
 background-color: var(--white-text-color);
 border: 2px solid var(--primary-color);
 padding: 2rem;
 position: relative;
 overflow: hidden;
}

.testimonial-item::before {
 content: '“';
 position: absolute;
 top: -10px;
 left: 10px;
 font-family: serif; /* For a classic quote mark */
 font-size: 8rem;
 color: var(--border-color);
 opacity: 0.3;
 z-index: 1;
 line-height: 1;
}

.testimonial-item p {
 font-style: italic;
 margin-bottom: 1rem;
 color: var(--light-text-color);
 position: relative;
 z-index: 2;
 font-size: var(--body-font-size);
}

.testimonial-item .client-name {
 font-weight: 700;
 color: var(--primary-color);
 text-align: right;
 font-style: normal;
 font-size: var(--small-font-size);
}

/* Blog Preview Section */
.blog-preview-section {
 background-color: var(--primary-color);
 
}
.blog-preview-section h3 { margin-left: auto; margin-right: auto; color: var(--accent-color); border-color: var(--secondary-color);}

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

.blog-card {
 background-color: var(--secondary-color);
 border: 2px solid var(--accent-color);
 padding: 1.5rem;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
}

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

.blog-card h4 {
 font-family: var(--font-family-monospace);
 color: var(--primary-color);
 font-size: 1.4rem;
 margin-bottom: 0.5rem;
}

.blog-card p {
 font-size: 1rem;
 color: var(--light-text-color);
 flex-grow: 1;
 margin-bottom: 1rem;
}

.blog-card .read-more {
 color: var(--accent-color);
 font-weight: 700;
 text-transform: uppercase;
 font-size: var(--small-font-size);
 border-bottom: 1px solid var(--accent-color);
 align-self: flex-start;
}

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

/* Call to Action Section */
.cta-section {
 background-color: var(--accent-color);
 color: var(--white-text-color);
 text-align: center;
 padding: 4rem 0;
 
}
.cta-section h3 { margin-left: auto; margin-right: auto; color: var(--white-text-color); border-color: var(--white-text-color);}
.cta-section p {
 color: var(--white-text-color);
 margin-bottom: 2rem;
 font-size: var(--body-font-size);
}

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

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

/* Footer */
footer {
 background-color: var(--primary-color);
 color: var(--secondary-color);
 padding: var(--padding-section) 0 1rem 0;
 border-top: 2px solid var(--primary-color);
}

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

.footer-col h4 {
 font-family: var(--font-family-monospace);
 color: var(--accent-color);
 font-size: 1.25rem;
 margin-bottom: 1.5rem;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 0.5rem;
}

.footer-col p,
.footer-col li,
.footer-col a {
 color: var(--secondary-color);
 font-size: var(--small-font-size);
}

.footer-col ul {
 list-style: none;
}

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

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

.footer-col p.opening-hours {
 font-style: italic;
 margin-top: 1rem;
}

.footer-bottom {
 text-align: center;
 padding-top: 2rem;
 border-top: 1px solid var(--border-color);
}

.footer-bottom p {
 font-size: 0.8rem;
 color: var(--light-text-color);
}

/* Inner pages styling */
.page-hero {
 background-color: var(--primary-color);
 color: var(--secondary-color);
 padding: 4rem 0;
 text-align: center;
 border-bottom: 2px solid var(--primary-color);
}
.page-hero h1 {
 font-size: var(--heading-font-size-h1);
 color: var(--accent-color);
 margin-bottom: 1rem;
}
.page-hero p {
 font-size: var(--body-font-size);
 max-width: 800px;
 margin: 0 auto;
 color: var(--secondary-color);
}

.content-section {
 padding: var(--padding-section);
 background-color: var(--secondary-color);
 border-bottom: 2px solid var(--primary-color);
}
.content-section h2 {
 font-family: var(--font-family-monospace);
 color: var(--accent-color);
 margin-bottom: 2rem;
 text-align: center;
 border-bottom: 2px solid var(--primary-color);
 padding-bottom: 1rem;
 max-width: 100%;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
.content-section p,
.content-section ul li {
 color: var(--text-color);
 font-size: var(--body-font-size);
}
.content-section ul {
 list-style: square;
 margin-left: 1.5rem;
 margin-bottom: 1rem;
}
.content-section b, .content-section strong {
 color: var(--primary-color);
 font-weight: 700;
}

/* About Us Page */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 margin-top: 3rem;
}
.team-member {
 background-color: var(--white-text-color);
 border: 2px solid var(--primary-color);
 padding: 1.5rem;
 text-align: center;
}
.team-member img {
 width: 150px;
 height: 150px;
 border-radius: 0; /* Brutalist: no rounded corners */
 object-fit: cover;
 margin-bottom: 1rem;
 border: 2px solid var(--accent-color);
}
.team-member h4 {
 font-family: var(--font-family-monospace);
 color: var(--primary-color);
 font-size: 1.3rem;
 margin-bottom: 0.5rem;
}
.team-member p {
 font-size: 0.95rem;
 color: var(--light-text-color);
}

/* Services Page */
.services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
}
.service-card {
 background-color: var(--white-text-color);
 border: 2px solid var(--primary-color);
 padding: 2rem;
 display: flex;
 flex-direction: column;
}
.service-card h4 {
 font-family: var(--font-family-monospace);
 color: var(--primary-color);
 font-size: 1.5rem;
 margin-bottom: 1rem;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 0.5rem;
}
.service-card p {
 font-size: var(--body-font-size);
 color: var(--light-text-color);
 flex-grow: 1;
}

.process-section {
 background-color: var(--primary-color);
 color: var(--secondary-color);
 padding: var(--padding-section);
 border-top: 2px solid var(--primary-color);
 border-bottom: 2px solid var(--primary-color);
}
.process-section h2 {
 color: var(--accent-color);
 border-color: var(--secondary-color);
}
.process-steps {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 2.5rem;
 margin-top: 3rem;
}
.process-step {
 flex-basis: 280px;
 text-align: center;
 position: relative;
 padding-bottom: 1rem;
}
.process-step::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 50%;
 transform: translateX(-50%);
 width: 50px;
 height: 3px;
 background-color: var(--accent-color);
}
.process-step > span {
 display: block;
 font-size: 3rem;
 font-weight: 700;
 color: var(--accent-color);
 margin-bottom: 1rem;
 line-height: 1;
 font-family: var(--font-family-monospace);
}
.process-step h4 {
 color: var(--secondary-color);
 font-size: 1.3rem;
 margin-bottom: 0.5rem;
}
.process-step p {
 color: var(--light-text-color);
 font-size: var(--small-font-size);
}
/* Connect steps with line for larger screens */
@media (min-width: 768px) {
 .process-steps {
 position: relative;
 padding-bottom: 40px;
 }
 .process-steps::before {
 content: '';
 position: absolute;
 width: calc(100% - 200px);
 height: 2px;
 background-color: var(--border-color);
 left: 100px;
 top: 2.5rem; /* Align with top of 'span' */
 z-index: 0;
 }
 .process-step > span {
 background-color: var(--primary-color);
 border: 2px solid var(--accent-color);
 width: 60px;
 height: 60px;
 line-height: 56px; /* Center content */
 margin: 0 auto 1rem auto;
 border-radius: 0;
 position: relative;
 z-index: 1;
 }
 .process-step::after {
 display: none;
 }
}

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 3rem;
}

.contact-info {
 background-color: var(--white-text-color);
 border: 2px solid var(--primary-color);
 padding: 2.5rem;
}
.contact-info p {
 font-size: var(--body-font-size);
 margin-bottom: 1.2rem;
 display: flex;
 align-items: flex-start;
 gap: 0.8rem;
}
.contact-info p strong {
 min-width: 80px;
 color: var(--primary-color);
 font-family: var(--font-family-monospace);
}
.contact-info a {
 word-break: break-all;
}

.contact-form {
 background-color: var(--white-text-color);
 border: 2px solid var(--primary-color);
 padding: 2.5rem;
}

.contact-form form {
 display: grid;
 gap: 1.5rem;
}

.form-group label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 700;
 color: var(--primary-color);
 font-size: var(--small-font-size);
 text-transform: uppercase;
}

.form-group input,
.form-group textarea {
 width: 100%;
 padding: 0.8rem;
 border: 2px solid var(--border-color);
 background-color: var(--secondary-color);
 color: var(--text-color);
 font-family: var(--font-family-monospace);
 font-size: 1rem;
 border-radius: 0;
 transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
 border-color: var(--accent-color);
 background-color: var(--white-text-color);
 outline: none;
}

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

.contact-form .btn {
 width: auto;
 font-size: 1rem;
 align-self: flex-start;
}

.map-container {
 height: 450px;
 border: 2px solid var(--primary-color);
 position: relative;
 overflow: hidden;
 margin-top: 3rem;
}
.map-container iframe {
 width: 100%;
 height: 100%;
 display: block;
 border: none;
}

/* Blog Listing Page */
.blog-list {
 display: grid;
 grid-template-columns: 1fr;
 gap: 3rem;
}

/* Blog Post Page */
.blog-post-content {
 background-color: var(--white-text-color);
 border: 2px solid var(--primary-color);
 padding: 3rem;
}
.blog-post-content img {
 max-width: 100%;
 height: auto;
 display: block;
 margin: 2rem 0;
 border: 2px solid var(--accent-color);
}
.blog-post-content h2 {
 font-family: var(--font-family-primary); /* Use primary for article headings */
 color: var(--primary-color);
 text-align: left;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 0.8rem;
 margin-bottom: 1.5rem;
 font-size: var(--heading-font-size-h3);
}
.blog-post-content h3 {
 font-family: var(--font-family-primary);
 color: var(--accent-color);
 font-size: var(--heading-font-size-h4);
 margin-top: 2rem;
 margin-bottom: 0.8rem;
}
.blog-meta {
 font-size: var(--small-font-size);
 color: var(--light-text-color);
 margin-bottom: 2rem;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 1rem;
}
.blog-meta strong {
 color: var(--primary-color);
}
.blog-post-content ul {
 list-style: disc;
 margin-left: 1.5rem;
 margin-bottom: 1rem;
}
.blog-post-content p {
 margin-bottom: 1.2rem;
}

.author-box {
 margin-top: 3rem;
 padding: 2rem;
 border: 2px solid var(--accent-color);
 background-color: var(--primary-color);
 display: flex;
 align-items: center;
 gap: 1.5rem;
 color: var(--secondary-color);
}
.author-box img {
 width: 100px;
 height: 100px;
 object-fit: cover;
 border: 2px solid var(--secondary-color);
 margin: 0; /* Override blog post img margin */
}
.author-box h4 {
 color: var(--accent-color);
 font-family: var(--font-family-monospace);
 margin-bottom: 0.5rem;
}
.author-box p {
 font-size: 0.9rem;
 margin-bottom: 0;
 color: var(--light-text-color);
}

.related-posts {
 margin-top: 3rem;
 padding-top: 2rem;
 border-top: 2px solid var(--primary-color);
}
.related-posts h3 {
 color: var(--primary-color);
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 0.8rem;
 margin-bottom: 1.5rem;
 font-family: var(--font-family-primary);
}
.related-posts ul {
 list-style: none;
 margin-left: 0;
}
.related-posts li {
 margin-bottom: 0.8rem;
}
.related-posts li a {
 font-size: var(--body-font-size);
 color: var(--accent-color);
 border-bottom: 1px solid transparent;
}
.related-posts li a:hover {
 color: var(--primary-color);
 border-color: var(--primary-color);
}

/* Gallery Page */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 1.5rem;
 margin-top: 2rem;
}
.gallery-item {
 border: 2px solid var(--primary-color);
 overflow: hidden;
 position: relative;
 background-color: var(--white-text-color);
}
.gallery-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
 transition: transform 0.3s ease, opacity 0.3s ease;
 border: none; /* Already has outer border */
}
.gallery-item:hover img {
 transform: scale(1.05);
 opacity: 0.7;
}
.gallery-item-caption {
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 background-color: rgba(0, 0, 0, 0.7);
 color: var(--white-text-color);
 padding: 1rem;
 opacity: 0;
 transform: translateY(100%);
 transition: opacity 0.3s ease, transform 0.3s ease;
 font-size: 0.9rem;
 font-family: var(--font-family-monospace);
 font-weight: 700;
}
.gallery-item:hover .gallery-item-caption {
 opacity: 1;
 transform: translateY(0);
}

/* 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: zoom-out;
}
.lightbox-content {
 max-width: 90%;
 max-height: 90%;
 display: flex;
 flex-direction: column;
 align-items: center;
}
.lightbox-content img {
 max-width: 100%;
 max-height: 80vh;
 object-fit: contain;
 border: 3px solid var(--accent-color);
 box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
 color: var(--white-text-color);
 margin-top: 1rem;
 font-size: 1.2rem;
 font-family: var(--font-family-monospace);
 text-align: center;
}
.lightbox-close {
 position: absolute;
 top: 20px;
 right: 30px;
 color: var(--white-text-color);
 font-size: 3rem;
 cursor: pointer;
 line-height: 1;
 font-family: var(--font-family-monospace);
 border: 2px solid transparent;
 padding: 0.5rem 1rem;
}
.lightbox-close:hover {
 color: var(--accent-color);
 border-color: var(--accent-color);
}
.lightbox-prev, .lightbox-next {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 color: var(--white-text-color);
 font-size: 3rem;
 cursor: pointer;
 padding: 0.5rem 1rem;
 transition: color 0.3s, border-color 0.3s;
 border: 2px solid transparent;
}
.lightbox-prev:hover, .lightbox-next:hover {
 color: var(--accent-color);
 border-color: var(--accent-color);
}
.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

/* FAQ Page */
.accordion {
 max-width: 900px;
 margin: 2rem auto;
 border: 2px solid var(--primary-color);
 background-color: var(--white-text-color);
}
.accordion-item {
 border-bottom: 1px solid var(--border-color);
}
.accordion-item:last-child {
 border-bottom: none;
}
.accordion-header {
 background-color: var(--secondary-color);
 border: none;
 width: 100%;
 padding: 1.5rem;
 text-align: left;
 font-family: var(--font-family-primary);
 font-size: 1.25rem;
 font-weight: 700;
 color: var(--primary-color);
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 transition: background-color 0.3s ease;
}
.accordion-header:hover {
 background-color: var(--grid-line-color);
 color: var(--accent-color);
}
.accordion-header.active {
 background-color: var(--primary-color);
 color: var(--accent-color);
}
.accordion-header span {
 font-size: 1.5rem;
 transition: transform 0.3s ease;
}
.accordion-header.active span {
 transform: rotate(45deg);
}
.accordion-content {
 background-color: var(--white-text-color);
 padding: 0 1.5rem;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.accordion-content.active {
 max-height: 500px; /* Adjust as needed for content */
 padding: 1.5rem;
 border-top: 1px solid var(--border-color);
}
.accordion-content p {
 font-size: var(--body-font-size);
 color: var(--light-text-color);
}

/* Legal Pages */
.legal-content {
 background-color: var(--white-text-color);
 border: 2px solid var(--primary-color);
 padding: 3rem;
}
.legal-content h2 {
 font-family: var(--font-family-primary);
 color: var(--primary-color);
 text-align: left;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 0.8rem;
 margin-bottom: 1.5rem;
 font-size: var(--heading-font-size-h3);
}
.legal-content h3 {
 font-family: var(--font-family-monospace);
 color: var(--accent-color);
 font-size: var(--heading-font-size-h4);
 margin-top: 2rem;
 margin-bottom: 0.8rem;
}
.legal-content ul {
 list-style: disc;
 margin-left: 1.5rem;
 margin-bottom: 1rem;
}
.legal-content p, .legal-content li {
 font-size: var(--small-font-size);
 color: var(--light-text-color);
}
.legal-content strong {
 color: var(--primary-color);
}

/* Thanks Page */
.thanks-section {
 background-color: var(--accent-color);
 color: var(--white-text-color);
 text-align: center;
 padding: var(--padding-section);
 border-bottom: 2px solid var(--primary-color);
 min-height: 50vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}
.thanks-section h1 {
 font-size: var(--heading-font-size-h1);
 color: var(--primary-color);
 margin-bottom: 1.5rem;
}
.thanks-section p {
 font-size: var(--body-font-size);
 max-width: 600px;
 margin-bottom: 2rem;
 color: var(--white-text-color);
}
.thanks-section .btn {
 background-color: var(--primary-color);
 color: var(--white-text-color);
 border-color: var(--primary-color);
}
.thanks-section .btn:hover {
 background-color: var(--secondary-color);
 color: var(--primary-color);
 border-color: var(--secondary-color);
}

/* 404 Page */
.error-section {
 background-color: var(--primary-color);
 color: var(--secondary-color);
 text-align: center;
 padding: var(--padding-section);
 min-height: 50vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}
.error-section h1 {
 font-size: clamp(5rem, 15vw + 1rem, 10rem);
 color: var(--accent-color);
 margin-bottom: 1rem;
 line-height: 1;
}
.error-section h2 {
 font-size: var(--heading-font-size-h2);
 color: var(--secondary-color);
 margin-bottom: 2rem;
}
.error-section p {
 font-size: var(--body-font-size);
 max-width: 600px;
 margin-bottom: 3rem;
 color: var(--light-text-color);
}
.error-section .btn {
 background-color: var(--accent-color);
 color: var(--white-text-color);
 border-color: var(--accent-color);
}
.error-section .btn:hover {
 background-color: var(--secondary-color);
 color: var(--primary-color);
 border-color: var(--secondary-color);
}

/* Media Queries */
@media (max-width: 1024px) {
 .nav-links {
 gap: 1.5rem;
 }
 .hero-section h1 {
 font-size: clamp(3rem, 10vw + 1rem, 6rem);
 }
 .hero-cta {
 flex-direction: column;
 align-items: center;
 }
 .hero-cta .btn {
 width: 80%;
 max-width: 300px;
 }
 .footer-prefix {
 display: none; /* Hide for smaller screens */
 }
}

@media (max-width: 768px) {
 header .container {
 flex-wrap: wrap;
 padding: 0.8rem 1rem;
 }
 .logo {
 flex-grow: 1;
 }
 .nav-toggle {
 display: flex;
 }

 .nav-links {
 display: none;
 flex-direction: column;
 width: 100%;
 background-color: var(--primary-color);
 position: absolute;
 top: 100%;
 left: 0;
 padding: 1rem 0;
 border-top: 2px solid var(--accent-color);
 text-align: center;
 }
 .nav-links-open { /* Class added by JS */
 display: flex;
 }
 .nav-links li {
 width: 100%;
 }
 .nav-links li a {
 display: block;
 padding: 0.8rem 0;
 color: var(--secondary-color);
 font-size: 1.4rem;
 }
 .nav-links li a::after {
 background-color: var(--accent-color);
 }
 .nav-links li a:hover::after,
 .nav-links li a.active::after {
 width: 50%;
 left: 25%;
 }

 .hero-section {
 padding-top: 4rem;
 padding-bottom: 4rem;
 }
 .hero-section h1 {
 font-size: var(--heading-font-size-h1);
 line-height: 1.1;
 }
 .hero-section h2 {
 font-size: var(--heading-font-size-h3);
 margin-bottom: 1.5rem;
 }
 .hero-section p {
 font-size: 1rem;
 }

 main section {
 padding: 3rem 0;
 }
 .content-section h2, .about-preview-section h3, .features-section h3, .testimonials-section h3, .blog-preview-section h3, .cta-section h3 {
 font-size: var(--heading-font-size-h4);
 margin-bottom: 2rem;
 padding-bottom: 0.8rem;
 }

 .about-content {
 flex-direction: column;
 gap: 2rem;
 }
 .about-image {
 padding: 1rem;
 border: 2px solid var(--accent-color);
 width: 100%;
 }
 .about-image img {
 height: 300px; /* Fixed height for mobile uniformity */
 }

 .process-steps::before {
 display: none;
 }
 .process-step {
 border-bottom: 1px dashed var(--border-color);
 padding-bottom: 2rem;
 }
 .process-step:last-child {
 border-bottom: none;
 }

 .contact-grid {
 grid-template-columns: 1fr;
 }
 .contact-info, .contact-form, .legal-content, .blog-post-content {
 padding: 2rem 1.5rem;
 }
 .map-container {
 height: 300px;
 margin-top: 2rem;
 }

 .footer-grid {
 grid-template-columns: 1fr 1fr;
 gap: 1.5rem;
 }
 .footer-col {
 border-bottom: 1px dashed var(--border-color);
 padding-bottom: 1.5rem;
 }
 .footer-col:nth-last-child(2), /* Last two on desktop */
 .footer-col:last-child { /* Last one on mobile */
 border-bottom: none;
 }
 .author-box {
 flex-direction: column;
 text-align: center;
 }
}

@media (max-width: 480px) {
 .container {
 padding: 0 0.8rem;
 }
 .logo {
 font-size: 1.5rem;
 }
 .hero-cta {
 flex-direction: column;
 gap: 1rem;
 }
 .hero-cta .btn {
 width: 100%;
 }

 .footer-grid {
 grid-template-columns: 1fr;
 }
 .footer-col {
 border-bottom: 1px dashed var(--border-color);
 padding-bottom: 1rem;
 }
 .footer-col:last-of-type {
 border-bottom: none;
 }

 .accordion-header {
 font-size: 1.1rem;
 padding: 1rem;
 }
 .accordion-content.active {
 padding: 1rem;
 }

 .legal-content h2, .blog-post-content h2 {
 font-size: var(--heading-font-size-h4);
 }
 .legal-content h3, .blog-post-content h3 {
 font-size: 1.2rem;
 }
 .author-box {
 padding: 1.5rem;
 }
}

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

.fade-in.appear {
 opacity: 1;
 transform: translateY(0);
}