:root {
 --primary-color: #00FFFF; /* Electric Blue */
 --secondary-color: #FF00FF; /* Hot Pink */
 --accent-color: #00FF00; /* Lime Green */
 --dark-color: #1A1A1A; /* Dark Grey */
 --light-color: #F0F0F0; /* Light Grey */
 --text-color: #E0E0E0; /* Off-white for text */
 --border-color: #8C8C8C; /* Medium Grey */

 --font-heading: 'Press Start 2P', cursive;
 --font-retro: 'VT323', monospace;
 --font-body: 'Open Sans', sans-serif;

 --max-width: 1200px;
 --spacing-unit: 1.5rem;
 --border-thickness: 4px;
 --card-shadow: 8px 8px 0px 0px var(--dark-color);
}

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

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

body {
 font-family: var(--font-body);
 line-height: 1.6;
 color: var(--text-color);
 background-color: var(--dark-color);
 -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(--secondary-color);
 transform: translateY(-2px);
}

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

ul {
 list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 color: var(--accent-color);
 margin-bottom: var(--spacing-unit);
 line-height: 1.2;
 text-shadow: 2px 2px 0px var(--dark-color);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

.lead {
 font-size: 1.25rem;
 margin-bottom: var(--spacing-unit);
 font-family: var(--font-retro);
 color: var(--light-color);
}

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

.section-padding {
 padding: calc(var(--spacing-unit) * 3) 0;
 position: relative;
 overflow: hidden;
}

.section-title {
 text-align: center;
 margin-bottom: calc(var(--spacing-unit) * 2);
 font-size: 2.5rem;
 color: var(--secondary-color);
 text-shadow: 4px 4px 0px var(--primary-color);
}

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

.accent-bg {
 background-color: var(--dark-color);
 border-top: var(--border-thickness) dashed var(--primary-color);
 border-bottom: var(--border-thickness) dashed var(--primary-color);
 padding: calc(var(--spacing-unit) * 3) 0;
}

/* Header & Navigation */
header {
 background-color: var(--dark-color);
 color: var(--light-color);
 padding: var(--spacing-unit) 0;
 border-bottom: var(--border-thickness) solid var(--primary-color);
 position: sticky;
 top: 0;
 z-index: 1000;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

header.scrolled {
 background-color: var(--dark-color);
 max-height: 70px;
 padding: var(--spacing-unit) 0;
}

nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 max-width: var(--max-width);
 margin: 0 auto;
 padding: 0 var(--spacing-unit);
}

.logo {
 font-family: var(--font-heading);
 font-size: 1.8rem;
 color: var(--accent-color);
 text-shadow: 2px 2px 0px var(--secondary-color);
 padding: 5px 10px;
 border: var(--border-thickness) solid var(--primary-color);
 background-color: var(--dark-color);
 display: inline-block;
 transition: all 0.3s ease;
}

.logo:hover {
 color: var(--primary-color);
 border-color: var(--accent-color);
 transform: scale(1.05);
 background-color: var(--dark-color);
}

.nav-links {
 display: flex;
 gap: var(--spacing-unit);
}

.nav-links a {
 color: var(--light-color);
 font-family: var(--font-retro);
 font-size: 1.1rem;
 padding: 8px 12px;
 border: 2px solid transparent;
 transition: all 0.3s ease;
 position: relative;
 overflow: hidden;
}

.nav-links a::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
 z-index: -1;
 transform: scaleX(0);
 transform-origin: right;
 transition: transform 0.3s ease-out;
}

.nav-links a:hover::before {
 transform: scaleX(1);
 transform-origin: left;
}

.nav-links a:hover {
 color: var(--dark-color);
 text-shadow: none;
}

.nav-links a.active {
 border-color: var(--accent-color);
 color: var(--light-color);
 background: var(--dark-color);
}

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

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

/* Hero Section */
.hero {
 background-size: cover;
 background-position: center;
 color: var(--light-color);
 text-align: center;
 padding: calc(var(--spacing-unit) * 4) 0 calc(var(--spacing-unit) * 6);
 position: relative;
 overflow: hidden;
 background-color: var(--dark-color);
 border-bottom: var(--border-thickness) double var(--secondary-color);
}

.hero-retro::before {
 content: '';
 position: absolute;
 top: -50px;
 left: -50px;
 right: -50px;
 bottom: -50px;
 background: repeating-linear-gradient(45deg,
 rgba(0,0,0,0.2) 0px, rgba(0,0,0,0.2) 10px,
 transparent 10px, transparent 20px
 ),
 radial-gradient(ellipse at top left, var(--primary-color) 0%, transparent 50%),
 radial-gradient(ellipse at bottom right, var(--secondary-color) 0%, transparent 50%);
 opacity: 0.3;
 z-index: 0;
}

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

.hero-title {
 font-size: 3.5rem;
 margin-bottom: var(--spacing-unit);
 color: var(--accent-color);
 text-shadow: 6px 6px 0px var(--dark-color), -3px -3px 0px var(--primary-color);
 line-height: 1.1;
 text-transform: uppercase;
}

.hero-subtitle {
 font-family: var(--font-retro);
 font-size: 1.5rem;
 margin-bottom: calc(var(--spacing-unit) * 2);
 color: var(--light-color);
 text-shadow: 2px 2px 0px var(--dark-color);
}

/* Buttons */
.cta-button {
 display: inline-block;
 padding: var(--spacing-unit) calc(var(--spacing-unit) * 2);
 background-color: var(--primary-color);
 color: var(--dark-color);
 font-family: var(--font-heading);
 font-size: 1rem;
 text-align: center;
 text-transform: uppercase;
 border: none;
 cursor: pointer;
 transition: all 0.3s ease;
 box-shadow: 4px 4px 0px 0px var(--dark-color);
}

.cta-button:hover {
 background-color: var(--secondary-color);
 color: var(--dark-color);
 transform: translateY(-2px) translateX(-2px);
 box-shadow: 6px 6px 0px 0px var(--dark-color);
}

.retro-button {
 padding: 15px 30px;
 font-family: var(--font-heading);
 font-size: 18px;
 background-color: var(--primary-color);
 border: 4px solid var(--secondary-color);
 color: var(--dark-color);
 text-shadow: 1px 1px 0 var(--light-color);
 box-shadow: 8px 8px 0px 0px var(--accent-color);
 transition: all 0.2s ease-in-out;
 position: relative;
 overflow: hidden;
}

.retro-button::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
 opacity: 0;
 transition: opacity 0.3s ease;
 z-index: 0;
}

.retro-button:hover::before {
 opacity: 0.2;
}

.retro-button:hover {
 transform: translate(-4px, -4px);
 box-shadow: 12px 12px 0px 0px var(--accent-color);
 color: var(--dark-color);
 border-color: var(--primary-color);
}

.button-group {
 margin-top: calc(var(--spacing-unit) * 2);
 display: flex;
 justify-content: center;
 gap: var(--spacing-unit);
 flex-wrap: wrap;
}

/* Features/Cards */
.features-grid, .blog-preview-grid, .gallery-grid, .team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: calc(var(--spacing-unit) * 2);
 margin-top: calc(var(--spacing-unit) * 2);
}

.feature-card, .blog-preview-card, .team-card, .testimonial-card, .service-card {
 background-color: var(--dark-color);
 border: var(--border-thickness) solid var(--primary-color);
 padding: var(--spacing-unit);
 text-align: center;
 transition: all 0.3s ease;
 box-shadow: var(--card-shadow);
 position: relative;
 overflow: hidden;
}

.retro-card {
 background-color: var(--dark-color);
 border: var(--border-thickness) solid var(--primary-color);
 border-radius: 0;
 box-shadow: 8px 8px 0px 0px var(--secondary-color);
 padding: var(--spacing-unit);
 transition: all 0.3s ease-in-out;
 position: relative;
 overflow: hidden;
 z-index: 1;
}

.retro-card::before {
 content: '';
 position: absolute;
 top: -10px;
 left: -10px;
 right: -10px;
 bottom: -10px;
 background: repeating-linear-gradient(-45deg,
 rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 5px,
 transparent 5px, transparent 10px
 );
 z-index: -1;
 opacity: 0.5;
 transition: opacity 0.3s ease;
}

.retro-card:hover {
 transform: translate(-4px, -4px);
 box-shadow: 12px 12px 0px 0px var(--accent-color);
 border-color: var(--secondary-color);
}

.feature-card img, .blog-preview-card img, .team-card img, .service-card img {
 margin: 0 auto var(--spacing-unit);
 border: 2px solid var(--secondary-color);
 object-fit: cover;
 width: 100%;
 height: 200px;
}

.feature-card h3, .blog-preview-card h3, .service-card h3 {
 font-family: var(--font-heading);
 color: var(--primary-color);
 font-size: 1.2rem;
 text-shadow: 1px 1px 0 var(--dark-color);
}

.feature-card p, .blog-preview-card p, .service-card p {
 font-family: var(--font-retro);
 color: var(--light-color);
}

.read-more {
 display: inline-block;
 margin-top: var(--spacing-unit);
 font-family: var(--font-retro);
 color: var(--accent-color);
 border-bottom: 1px dashed var(--accent-color);
 position: relative;
}

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

.retro-link {
 color: var(--accent-color);
 font-family: var(--font-retro);
 text-decoration: none;
 position: relative;
 padding-bottom: 5px;
}

.retro-link::before {
 content: '';
 position: absolute;
 left: 0;
 bottom: 0;
 width: 100%;
 height: 2px;
 background-color: var(--primary-color);
 transform: scaleX(0);
 transform-origin: right;
 transition: transform 0.3s ease-out;
}

.retro-link:hover::before {
 transform: scaleX(1);
 transform-origin: left;
 background-color: var(--accent-color);
}

/* Testimonials */
.testimonials-grid {
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 margin-top: var(--spacing-unit);
}

.testimonial-card {
 background-color: var(--dark-color);
 border: var(--border-thickness) dashed var(--primary-color);
 padding: var(--spacing-unit);
 text-align: center;
 border-radius: 0;
 box-shadow: 6px 6px 0px 0px var(--secondary-color);
 font-family: var(--font-retro);
 color: var(--light-color);
 display: flex;
 flex-direction: column;
 justify-content: space-between;
}

.testimonial-card p {
 font-style: italic;
 margin-bottom: var(--spacing-unit);
 font-size: 1.1rem;
 line-height: 1.5;
}

.testimonial-card cite {
 display: block;
 font-weight: bold;
 color: var(--accent-color);
 font-style: normal;
 text-shadow: 1px 1px 0 var(--dark-color);
}

/* About Page */
.company-info .text-content, .mission-values .text-content {
 display: grid;
 grid-template-columns: 1fr;
 gap: var(--spacing-unit);
 margin-bottom: calc(var(--spacing-unit) * 3);
}

.company-info img {
 margin: var(--spacing-unit) auto;
 border: var(--border-thickness) solid var(--primary-color);
 box-shadow: var(--card-shadow);
}

.team-member-card {
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
}

.team-member-card img {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 border: var(--border-thickness) solid var(--secondary-color);
 margin-bottom: var(--spacing-unit);
 box-shadow: 4px 4px 0px 0px var(--primary-color);
}

.team-member-card h3 {
 color: var(--primary-color);
 margin-bottom: 0.5rem;
 font-size: 1.4rem;
}

.team-member-card p {
 font-family: var(--font-retro);
 color: var(--light-color);
 font-size: 0.9rem;
}

/* Services page */
.service-cards-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: calc(var(--spacing-unit) * 2);
}

.service-card h3 {
 margin-bottom: 0.8rem;
}

.service-card ul {
 text-align: left;
 margin-top: var(--spacing-unit);
 padding-left: var(--spacing-unit);
 list-style: square;
 color: var(--light-color);
 font-family: var(--font-retro);
}

.service-card ul li {
 margin-bottom: 0.5rem;
}

.process-steps {
 display: flex;
 flex-direction: column;
 gap: calc(var(--spacing-unit) * 2);
 margin-top: calc(var(--spacing-unit) * 3);
}

.process-step {
 display: flex;
 align-items: center;
 gap: var(--spacing-unit);
 background-color: var(--dark-color);
 border: 2px dashed var(--accent-color);
 padding: var(--spacing-unit);
 box-shadow: 4px 4px 0px 0px var(--primary-color);
}

.process-step:nth-child(even) {
 flex-direction: row-reverse;
}

.process-step .step-number {
 font-family: var(--font-heading);
 font-size: 3rem;
 color: var(--secondary-color);
 min-width: 60px;
 text-align: center;
 text-shadow: 3px 3px 0px var(--dark-color);
}

.process-step .step-content h3 {
 color: var(--primary-color);
 font-size: 1.6rem;
}

.process-step .step-content p {
 font-family: var(--font-retro);
}

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: calc(var(--spacing-unit) * 2);
}

.contact-info {
 background-color: var(--dark-color);
 border: var(--border-thickness) solid var(--accent-color);
 padding: calc(var(--spacing-unit) * 1.5);
 box-shadow: var(--card-shadow);
}

.contact-info h3 {
 color: var(--secondary-color);
 text-shadow: 2px 2px 0 var(--dark-color);
}

.contact-info p, .contact-info address {
 margin-bottom: 0.8rem;
 font-family: var(--font-retro);
 color: var(--light-color);
}

.contact-info a {
 color: var(--primary-color);
}

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

form {
 background-color: var(--dark-color);
 border: var(--border-thickness) solid var(--primary-color);
 padding: calc(var(--spacing-unit) * 1.5);
 box-shadow: var(--card-shadow);
}

form label {
 display: block;
 margin-bottom: 0.5rem;
 font-family: var(--font-retro);
 color: var(--primary-color);
 font-size: 1.1rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
 width: 100%;
 padding: 12px;
 margin-bottom: var(--spacing-unit);
 border: 2px solid var(--secondary-color);
 background-color: var(--dark-color);
 color: var(--light-color);
 font-family: var(--font-retro);
 font-size: 1rem;
 transition: all 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 8px var(--primary-color);
}

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

form button[type="submit"] {
 width: auto;
 cursor: pointer;
 margin-top: var(--spacing-unit);
}

.map-container {
 margin-top: calc(var(--spacing-unit) * 2);
 border: var(--border-thickness) solid var(--accent-color);
 box-shadow: var(--card-shadow);
 overflow: hidden;
}

.map-container iframe {
 width: 100%;
 height: 450px;
 display: block;
}

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

.blog-post-card {
 background-color: var(--dark-color);
 border: var(--border-thickness) solid var(--primary-color);
 box-shadow: var(--card-shadow);
 padding: var(--spacing-unit);
 text-align: left;
 display: flex;
 flex-direction: column;
}

.blog-post-card img {
 margin-bottom: var(--spacing-unit);
}

.blog-post-card h3 {
 font-size: 1.5rem;
 margin-bottom: 0.8rem;
 color: var(--accent-color);
}

.blog-post-card p {
 flex-grow: 1;
 font-family: var(--font-retro);
 color: var(--light-color);
 margin-bottom: var(--spacing-unit);
}

.blog-meta {
 font-size: 0.9rem;
 color: var(--border-color);
 margin-top: 0.5rem;
 font-family: var(--font-retro);
}

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

/* Single Blog Post */
.blog-post-content {
 max-width: 800px;
 margin: 0 auto;
 background-color: var(--dark-color);
 border: var(--border-thickness) solid var(--primary-color);
 padding: calc(var(--spacing-unit) * 2);
 box-shadow: var(--card-shadow);
}

.blog-post-content h1 {
 color: var(--secondary-color);
 font-size: 2.5rem;
 text-align: left;
}

.blog-post-content img {
 margin: var(--spacing-unit) 0;
 border: var(--border-thickness) solid var(--accent-color);
}

.blog-post-content p {
 margin-bottom: var(--spacing-unit);
 font-family: var(--font-body);
 font-size: 1.1rem;
 color: var(--light-color);
}

.blog-post-content h3 {
 margin-top: calc(var(--spacing-unit) * 1.5);
 color: var(--primary-color);
 font-size: 1.8rem;
}

.author-info {
 display: flex;
 align-items: center;
 gap: var(--spacing-unit);
 margin-top: calc(var(--spacing-unit) * 2);
 padding-top: var(--spacing-unit);
 border-top: 2px dashed var(--border-color);
}

.author-info img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 border: 3px solid var(--primary-color);
 margin: 0;
}

.author-details {
 text-align: left;
}

.author-details h4 {
 margin-bottom: 0.2rem;
 color: var(--accent-color);
 font-family: var(--font-heading);
 font-size: 1.2rem;
}

.author-details p {
 font-size: 0.9rem;
 color: var(--border-color);
 margin-bottom: 0;
 font-family: var(--font-retro);
}

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

.gallery-item {
 cursor: pointer;
 border: var(--border-thickness) solid var(--primary-color);
 box-shadow: var(--card-shadow);
 transition: all 0.3s ease;
 overflow: hidden;
 position: relative;
}

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

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

.gallery-item::after {
 content: attr(data-title);
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 padding: 10px;
 background-color: rgba(0, 0, 0, 0.7);
 color: var(--light-color);
 font-family: var(--font-retro);
 text-align: center;
 opacity: 0;
 transition: opacity 0.3s ease;
}

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

/* Lightbox styles */
.lightbox {
 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;
}

.lightbox.open {
 display: flex;
}

.lightbox-content {
 max-width: 90%;
 max-height: 90%;
 border: 5px solid var(--accent-color);
 box-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
 position: relative;
}

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

.lightbox-close {
 position: absolute;
 top: 20px;
 right: 20px;
 color: var(--primary-color);
 font-size: 2.5rem;
 cursor: pointer;
 z-index: 2001;
 text-shadow: 2px 2px 0px var(--secondary-color);
 font-family: var(--font-heading);
}

.lightbox-caption {
 color: var(--light-color);
 background-color: rgba(0, 0, 0, 0.7);
 padding: 10px;
 text-align: center;
 font-family: var(--font-retro);
 margin-top: -5px; /* Adjust to sit right below the image */
}

/* FAQ Page */
.faq-container {
 max-width: 800px;
 margin: 0 auto;
}

.faq-item {
 margin-bottom: var(--spacing-unit);
 border: 2px dashed var(--primary-color);
 background-color: var(--dark-color);
 box-shadow: 4px 4px 0px 0px var(--secondary-color);
}

.faq-question {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: var(--spacing-unit);
 cursor: pointer;
 background-color: var(--dark-color);
 color: var(--primary-color);
 font-family: var(--font-heading);
 font-size: 1.1rem;
 border-bottom: 1px solid var(--border-color);
}

.faq-question:hover {
 background-color: #2a2a2a;
 color: var(--accent-color);
}

.faq-question.active {
 background-color: var(--dark-color);
 color: var(--accent-color);
 border-bottom-color: var(--accent-color);
}

.faq-question span {
 font-size: 1.5rem;
 transition: transform 0.3s ease;
}

.faq-question.active span {
 transform: rotate(45deg);
}

.faq-answer {
 padding: 0 var(--spacing-unit);
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out;
 background-color: #222222;
 color: var(--light-color);
 font-family: var(--font-retro);
}

.faq-answer p {
 padding: var(--spacing-unit) 0;
 margin-bottom: 0;
 border-top: 1px solid var(--border-color);
}

.faq-question.active + .faq-answer {
 max-height: 500px; /* Adjust as needed */
}

/* Legal Pages (Privacy, Terms, Cookies, Disclaimer, Refund) */
.legal-content {
 max-width: 900px;
 margin: 0 auto;
 background-color: var(--dark-color);
 border: var(--border-thickness) solid var(--primary-color);
 padding: calc(var(--spacing-unit) * 2);
 box-shadow: var(--card-shadow);
}

.legal-content h1 {
 color: var(--accent-color);
 text-align: center;
 margin-bottom: calc(var(--spacing-unit) * 2);
}

.legal-content h2 {
 color: var(--secondary-color);
 margin-top: calc(var(--spacing-unit) * 1.5);
 font-size: 1.8rem;
 text-shadow: 1px 1px 0px var(--dark-color);
}

.legal-content h3 {
 color: var(--primary-color);
 margin-top: var(--spacing-unit);
 font-size: 1.4rem;
}

.legal-content p {
 margin-bottom: var(--spacing-unit);
 color: var(--light-color);
 font-family: var(--font-body);
}

.legal-content ul {
 list-style: disc;
 margin-left: var(--spacing-unit);
 margin-bottom: var(--spacing-unit);
 color: var(--light-color);
}

.legal-content ol {
 list-style: decimal;
 margin-left: var(--spacing-unit);
 margin-bottom: var(--spacing-unit);
 color: var(--light-color);
}

.legal-content li {
 margin-bottom: 0.5rem;
 font-family: var(--font-body);
}

/* Thanks Page */
.thanks-message {
 text-align: center;
 padding: calc(var(--spacing-unit) * 5) 0;
 max-width: 700px;
 margin: 0 auto;
 background-color: var(--dark-color);
 border: var(--border-thickness) solid var(--accent-color);
 box-shadow: var(--card-shadow);
}

.thanks-message h1 {
 color: var(--primary-color);
 font-size: 3rem;
}

.thanks-message p {
 font-family: var(--font-retro);
 font-size: 1.2rem;
 margin-bottom: calc(var(--spacing-unit) * 2);
 color: var(--light-color);
}

/* 404 Page */
.error-page {
 text-align: center;
 padding: calc(var(--spacing-unit) * 5) 0;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 min-height: 80vh;
 background-color: var(--dark-color);
 overflow: hidden;
 position: relative;
}

.error-page::before {
 content: '404';
 position: absolute;
 font-family: var(--font-heading);
 font-size: 20vw;
 color: rgba(255, 0, 255, 0.1);
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 z-index: 0;
}

.error-content {
 position: relative;
 z-index: 1;
 background-color: var(--dark-color);
 border: var(--border-thickness) solid var(--primary-color);
 padding: calc(var(--spacing-unit) * 2);
 box-shadow: 12px 12px 0px 0px var(--secondary-color);
 max-width: 600px;
}

.error-content h1 {
 font-size: 5rem;
 margin-bottom: var(--spacing-unit);
 color: var(--secondary-color);
 text-shadow: 6px 6px 0px var(--primary-color);
}

.error-content p {
 font-family: var(--font-retro);
 font-size: 1.5rem;
 line-height: 1.4;
 margin-bottom: calc(var(--spacing-unit) * 2);
 color: var(--light-color);
}

/* Footer */
footer {
 background-color: var(--dark-color);
 color: var(--light-color);
 padding: calc(var(--spacing-unit) * 2) 0 var(--spacing-unit);
 border-top: var(--border-thickness) solid var(--primary-color);
 font-family: var(--font-retro);
 position: relative;
 overflow: hidden;
}

footer::before {
 content: '';
 position: absolute;
 top: -50px;
 left: -50px;
 right: -50px;
 bottom: -50px;
 background: repeating-linear-gradient(-45deg,
 rgba(0,255,255,0.05) 0px, rgba(0,255,255,0.05) 10px,
 transparent 10px, transparent 20px
 );
 z-index: 0;
 opacity: 0.2;
}

footer .footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: calc(var(--spacing-unit) * 1.5);
 margin-bottom: calc(var(--spacing-unit) * 2);
 position: relative;
 z-index: 1;
}

footer h3, footer h4 {
 font-family: var(--font-heading);
 color: var(--accent-color);
 margin-bottom: var(--spacing-unit);
 font-size: 1.2rem;
 text-shadow: 1px 1px 0 var(--dark-color);
}

footer p, footer address {
 font-size: 0.95rem;
 margin-bottom: 0.5rem;
}

footer ul li {
 margin-bottom: 0.5rem;
}

footer a {
 color: var(--light-color);
 font-family: var(--font-retro);
 font-size: 0.95rem;
 position: relative;
}

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

.footer-bottom {
 text-align: center;
 padding-top: var(--spacing-unit);
 border-top: 1px solid var(--border-color);
 font-size: 0.9rem;
 color: var(--border-color);
 position: relative;
 z-index: 1;
}

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

/* 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);
}

/* Media Queries */
@media (min-width: 768px) {
 .features-grid, .blog-preview-grid, .testimonials-grid, .gallery-grid {
 grid-template-columns: repeat(2, 1fr);
 }

 .testimonial-card, .process-step {
 text-align: left;
 }

 .blog-post-content {
 margin-top: calc(var(--spacing-unit) * 2);
 }
 .contact-grid {
 grid-template-columns: 1fr 1.2fr;
 }
 .company-info .text-content {
 grid-template-columns: 1fr 1fr;
 }
 .hero-title {
 font-size: 4rem;
 }
 h1 { font-size: 3.5rem; }
 h2 { font-size: 2.8rem; }
 h3 { font-size: 2rem; }
 .nav-links a {
 font-size: 1.2rem;
 }
}

@media (min-width: 1024px) {
 .features-grid, .blog-preview-grid, .gallery-grid {
 grid-template-columns: repeat(3, 1fr);
 }
 .testimonials-grid {
 grid-template-columns: repeat(3, 1fr);
 }
 .service-cards-grid {
 grid-template-columns: repeat(3, 1fr);
 }

 .process-steps {
 flex-direction: row;
 }
 .process-step {
 flex-direction: column;
 text-align: center;
 flex: 1;
 }
 .process-step:nth-child(even) {
 flex-direction: column;
 }
 .process-step .step-number {
 margin-bottom: var(--spacing-unit);
 }

 h1 { font-size: 4.5rem; }
 h2 { font-size: 3.5rem; }
 h3 { font-size: 2.5rem; }
 
 .team-grid {
 grid-template-columns: repeat(4, 1fr);
 }
}

@media (max-width: 767px) {
 .nav-links {
 display: none;
 flex-direction: column;
 position: absolute;
 top: 100%;
 left: 0;
 width: 100%;
 background-color: var(--dark-color);
 border-top: var(--border-thickness) solid var(--primary-color);
 box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
 padding: var(--spacing-unit) 0;
 z-index: 999;
 text-align: center;
 opacity: 0;
 transform: translateY(-20px);
 transition: opacity 0.3s ease, transform 0.3s ease;
 }

 .nav-links.active {
 display: flex;
 opacity: 1;
 transform: translateY(0);
 }

 .nav-links li {
 margin: 0.5rem 0;
 }

 .nav-links a {
 display: block;
 padding: 12px;
 font-size: 1.2rem;
 border-left: none;
 border-right: none;
 border-top: 1px solid rgba(0,255,255,0.1);
 border-bottom: 1px solid rgba(0,255,255,0.1);
 color: var(--primary-color);
 text-shadow: 1px 1px 0 var(--dark-color);
 }

 .nav-links a:hover {
 background-color: #000;
 color: var(--accent-color);
 }

 .nav-toggle {
 display: block;
 }

 .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(7px, -6px);
 }

 .hero-title {
 font-size: 2.5rem;
 }

 .hero-subtitle {
 font-size: 1.2rem;
 }

 .section-title {
 font-size: 2rem;
 }
 
 h1 { font-size: 3rem; }
 h2 { font-size: 2.2rem; }
 h3 { font-size: 1.6rem; }

 .faq-question {
 font-size: 1rem;
 padding: 1rem;
 }

 .error-content h1 {
 font-size: 3.5rem;
 }
 .error-content p {
 font-size: 1.2rem;
 }
}