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

:root {
 --primary-color: #92400e; /* Darker orange-brown for primary elements */
 --accent-color: #d97706; /* Brighter orange for CTAs and highlights */
 --background-light: #f8fafc; /* Light background for sections */
 --background-white: #ffffff;
 --text-color: #333;
 --text-light: #666;
 --text-white: #ffffff;
 --header-bg: #ffffff;
 --footer-bg: #2d1004; /* Very dark shade of primary */
 --border-color: #e2e8f0;
 --shadow-light: rgba(0, 0, 0, 0.08);
 --shadow-medium: rgba(0, 0, 0, 0.15);

 --font-heading: 'Montserrat', sans-serif;
 --font-body: 'Open Sans', sans-serif;

 --spacing-xs: 8px;
 --spacing-sm: 16px;
 --spacing-md: 24px;
 --spacing-lg: 48px;
 --spacing-xl: 96px;

 --border-radius: 6px;
}

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

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-body);
 color: var(--text-color);
 line-height: 1.6;
 background-color: var(--background-white);
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
 margin-bottom: var(--spacing-sm);
}

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

a:hover {
 color: var(--accent-color);
 transform: translateY(-1px);
}

ul {
 list-style: none;
}

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

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

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

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

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

.text-white {
 color: var(--text-white);
}

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

.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
 margin-bottom: var(--spacing-lg);
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}
.bg-dark .section-subtitle {
 color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
 display: inline-block;
 padding: var(--spacing-sm) var(--spacing-md);
 border-radius: var(--border-radius);
 font-weight: 600;
 text-align: center;
 cursor: pointer;
 border: 2px solid transparent;
 transition: all 0.3s ease;
 min-width: 160px;
}

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

.primary-btn:hover {
 background-color: transparent;
 color: var(--primary-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(--text-white);
 transform: translateY(-2px);
}

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

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

.btn-large {
 padding: var(--spacing-md) var(--spacing-lg);
 font-size: 1.1rem;
 min-width: 200px;
}

.text-link {
 color: var(--primary-color);
 font-weight: 600;
 transition: color 0.3s ease;
}

.text-link:hover {
 color: var(--accent-color);
}

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

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

.navbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: var(--spacing-sm) var(--spacing-md);
 max-width: 1200px;
 margin: 0 auto;
}

.logo {
 font-family: var(--font-heading);
 font-size: 1.8rem;
 font-weight: 700;
 color: var(--primary-color);
 text-decoration: none;
 letter-spacing: -0.5px;
}

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

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

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

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

.nav-toggle {
 display: none;
 flex-direction: column;
 justify-content: space-around;
 width: 30px;
 height: 20px;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0;
 z-index: 1001; /* Ensure toggle is above nav-links when open */
}

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

/* Mobile Nav Toggle Animation */
.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);
}

/* Hero Section */
.hero-section {
 display: flex;
 align-items: center;
 text-align: left;
 padding: var(--spacing-xl) 0;
 background-color: var(--background-white);
 position: relative;
 overflow: hidden;
 gap: var(--spacing-lg);
 max-width: 1200px;
 margin: 0 auto;
 padding: var(--spacing-lg) var(--spacing-md);
}

.hero-content {
 flex: 1;
 min-width: 300px;
 padding-right: var(--spacing-md);
}

.hero-content h1 {
 font-size: 3.5rem;
 margin-bottom: var(--spacing-md);
 color: var(--text-color);
 line-height: 1.1;
}

.hero-content p {
 font-size: 1.25rem;
 color: var(--text-light);
 margin-bottom: var(--spacing-lg);
 padding-right: var(--spacing-md);
}

.hero-buttons {
 display: flex;
 gap: var(--spacing-md);
 flex-wrap: wrap;
}

.hero-image {
 flex: 1;
 min-width: 300px;
 display: flex;
 justify-content: center;
 align-items: center;
}

.hero-image img {
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-medium);
 max-height: 500px;
 width: 100%;
 object-fit: cover;
}

/* Feature Section */
.features-section h2, .projects-section h2, .about-preview-section h2, .testimonials-section h2, .newsletter-section h2, .faq-preview-section h2, .cta-section h2, .services-intro h2 {
 text-align: center;
 margin-bottom: var(--spacing-sm);
}

.feature-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--spacing-md);
}

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

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

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

.feature-card h3 {
 color: var(--primary-color);
 margin-bottom: var(--spacing-xs);
}

.feature-card p {
 font-size: 0.95rem;
 color: var(--text-light);
 margin-bottom: var(--spacing-md);
}

/* About Preview Section */
.about-preview-content {
 display: flex;
 align-items: center;
 gap: var(--spacing-lg);
}

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

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

.about-preview-text p {
 margin-bottom: var(--spacing-md);
 color: var(--text-light);
}

.about-preview-text ul {
 list-style: none;
 margin-bottom: var(--spacing-md);
}

.about-preview-text ul li {
 margin-bottom: var(--spacing-xs);
 position: relative;
 padding-left: var(--spacing-md);
 color: var(--text-color);
}

.about-preview-text ul li::before {
 content: '→';
 color: var(--accent-color);
 position: absolute;
 left: 0;
 font-weight: 700;
}

.about-preview-image {
 flex: 1;
 min-width: 300px;
}

.about-preview-image img {
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-medium);
 max-height: 450px;
 width: 100%;
 object-fit: cover;
}

/* Projects Section */
.project-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--spacing-md);
}

.project-item {
 position: relative;
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: var(--shadow-light);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
}

.project-overlay {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 background: rgba(0, 0, 0, 0.7);
 color: var(--text-white);
 padding: var(--spacing-md);
 transform: translateY(100%);
 transition: transform 0.3s ease;
}

.project-item:hover .project-overlay {
 transform: translateY(0);
}

.project-overlay h3 {
 color: var(--text-white);
 margin-bottom: var(--spacing-xs);
}

.project-overlay p {
 font-size: 0.9rem;
 margin: 0;
}

/* Testimonials Section */
.testimonials-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--spacing-md);
}

.testimonial-card {
 background-color: var(--background-white);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 padding: var(--spacing-md);
 text-align: center;
 border: 1px solid var(--border-color);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-avatar {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto var(--spacing-md);
 border: 3px solid var(--primary-color);
}

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

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

/* Newsletter Section */
.newsletter-section {
 padding: var(--spacing-lg) 0;
 background-color: var(--primary-color);
}

.newsletter-section h2 {
 color: var(--text-white);
}

.newsletter-section p {
 color: rgba(255, 255, 255, 0.8);
 margin-bottom: var(--spacing-md);
}

.newsletter-form {
 display: flex;
 justify-content: center;
 gap: var(--spacing-sm);
 max-width: 600px;
 margin: 0 auto;
 flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
 flex: 1;
 padding: var(--spacing-xs) var(--spacing-sm);
 border: 1px solid rgba(255, 255, 255, 0.3);
 border-radius: var(--border-radius);
 background-color: rgba(255, 255, 255, 0.1);
 color: var(--text-white);
 font-size: 1rem;
 min-width: 250px;
}

.newsletter-form input[type="email"]::placeholder {
 color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
 min-width: 120px;
}

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

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

.accordion-header {
 width: 100%;
 padding: var(--spacing-md);
 background-color: var(--background-white);
 border: none;
 text-align: left;
 font-size: 1.1rem;
 font-weight: 600;
 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(--background-light);
}

.accordion-icon {
 width: 20px;
 height: 20px;
 position: relative;
}

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

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

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

.accordion-header.active .accordion-icon::before {
 transform: translateX(-50%) rotate(90deg);
}
.accordion-header.active .accordion-icon::after {
 transform: translateY(-50%) rotate(180deg); /* Effectively hides the horizontal line by rotating */
 opacity: 0;
}

.accordion-content {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, padding 0.4s ease-out;
 padding: 0 var(--spacing-md);
 color: var(--text-light);
 border-top: 1px solid var(--border-color); /* Add border at the top of content */
 margin-top: 0; /* Remove top margin */
}

.accordion-content p {
 padding-top: var(--spacing-md);
 padding-bottom: var(--spacing-md);
 margin-bottom: 0; /* Important: remove default margin-bottom of paragraphs */
}

.accordion-header.active + .accordion-content {
 max-height: 200px; /* Adjust as needed for content height */
 padding-bottom: var(--spacing-md);
}

/* CTA Section */
.cta-section {
 background-color: var(--background-light);
 border-top: 1px solid var(--border-color);
}
.cta-section h2 {
 font-size: 2.2rem;
 margin-bottom: var(--spacing-md);
}
.cta-section p {
 font-size: 1.1rem;
 max-width: 800px;
 margin: 0 auto var(--spacing-lg);
 color: var(--text-light);
}

/* Footer
------------------------------------ */
.main-footer {
 background-color: var(--footer-bg);
 color: rgba(255, 255, 255, 0.8);
 padding: var(--spacing-lg) 0 0;
 font-size: 0.95rem;
}

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

.footer-col h3 {
 color: var(--accent-color);
 margin-bottom: var(--spacing-md);
 font-size: 1.2rem;
}

.footer-col p {
 margin-bottom: var(--spacing-sm);
}

.footer-col a {
 color: rgba(255, 255, 255, 0.7);
 transition: color 0.3s ease;
}

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

.footer-col ul {
 padding: 0;
}

.footer-col ul li {
 margin-bottom: var(--spacing-xs);
}

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

.social-links a {
 display: inline-flex;
 justify-content: center;
 align-items: center;
 width: 36px;
 height: 36px;
 border-radius: 50%;
 background-color: rgba(255, 255, 255, 0.1);
 color: var(--text-white);
 font-weight: 600;
 font-size: 0.9em;
 transition: background-color 0.3s ease;
}

.social-links a:hover {
 background-color: var(--accent-color);
}

.footer-bottom {
 background-color: #1a0802;
 text-align: center;
 padding: var(--spacing-md) 0;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Specific Page Styles */

/* Services Page */
.services-intro {
 text-align: center;
 padding: var(--spacing-lg) 0;
}
.services-intro p {
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
}

.service-category {
 padding: var(--spacing-lg) 0;
 border-bottom: 1px solid var(--border-color);
}

.service-category:last-of-type {
 border-bottom: none;
}

.service-category h2 {
 text-align: center;
 margin-bottom: var(--spacing-md);
 color: var(--primary-color);
}

.service-category .section-subtitle {
 margin-bottom: var(--spacing-lg);
}

.service-content {
 display: flex;
 align-items: center;
 gap: var(--spacing-lg);
 margin-bottom: var(--spacing-lg);
}

.service-content:nth-child(even) {
 flex-direction: row-reverse;
}

.service-text, .service-image {
 flex: 1;
 min-width: 280px;
}

.service-image img {
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-medium);
 max-height: 400px;
 object-fit: cover;
}

.service-text ul {
 list-style: disc;
 padding-left: var(--spacing-md);
 margin-bottom: var(--spacing-md);
 color: var(--text-light);
}

.service-text ul li {
 margin-bottom: var(--spacing-xs);
}

.process-section {
 padding: var(--spacing-lg) 0;
 background-color: var(--background-light);
}

.process-steps {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: var(--spacing-md);
}

.process-step {
 background-color: var(--background-white);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 padding: var(--spacing-md);
 text-align: center;
 border: 1px solid var(--border-color);
 display: flex;
 flex-direction: column;
 align-items: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.process-step .step-number {
 font-size: 2rem;
 font-weight: 700;
 color: var(--accent-color);
 width: 60px;
 height: 60px;
 line-height: 60px;
 border-radius: 50%;
 background-color: rgba(217, 119, 6, 0.1);
 margin-bottom: var(--spacing-md);
 border: 2px solid var(--accent-color);
}

.process-step h3 {
 color: var(--primary-color);
 margin-bottom: var(--spacing-xs);
}

.process-step p {
 color: var(--text-light);
 font-size: 0.95rem;
 margin-bottom: 0;
}

/* About Page */
.about-hero {
 background-color: var(--background-light);
 padding: var(--spacing-xl) 0;
 text-align: center;
}
.about-hero h1 {
 font-size: 3rem;
 color: var(--primary-color);
}
.about-hero p {
 font-size: 1.2rem;
 max-width: 800px;
 margin: var(--spacing-sm) auto var(--spacing-lg);
 color: var(--text-light);
}

.story-values-section {
 display: flex;
 gap: var(--spacing-lg);
 padding: var(--spacing-lg) 0;
 align-items: flex-start;
}
.story-values-section div {
 flex: 1;
}

.story-values-section h2 {
 color: var(--primary-color);
 margin-bottom: var(--spacing-md);
}
.story-values-section p, .story-values-section ul li {
 color: var(--text-light);
}
.story-values-section ul {
 list-style: disc;
 padding-left: var(--spacing-md);
}
.story-values-section ul li {
 margin-bottom: var(--spacing-xs);
}

.team-section {
 background-color: var(--background-light);
 padding: var(--spacing-lg) 0;
 text-align: center;
}
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: var(--spacing-md);
 margin-top: var(--spacing-lg);
}
.team-member-card {
 background-color: var(--background-white);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 padding: var(--spacing-md);
 border: 1px solid var(--border-color);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}
.team-member-card img {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto var(--spacing-md);
 border: 3px solid var(--primary-color);
}
.team-member-card h3 {
 margin-bottom: var(--spacing-xs);
 color: var(--primary-color);
}
.team-member-card p {
 font-size: 0.95rem;
 color: var(--text-light);
 margin-bottom: 0;
}
.team-member-card .title {
 font-style: italic;
 color: var(--text-light);
 margin-bottom: var(--spacing-sm);
}

.values-section {
 padding: var(--spacing-lg) 0;
}
.values-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--spacing-md);
 margin-top: var(--spacing-lg);
}
.value-card {
 background-color: var(--background-white);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 padding: var(--spacing-md);
 border: 1px solid var(--border-color);
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}
.value-card h3 {
 color: var(--primary-color);
 margin-bottom: var(--spacing-xs);
}
.value-card p {
 font-size: 0.95rem;
 color: var(--text-light);
 margin-bottom: 0;
}

/* Contact Page */
.contact-hero {
 background-color: var(--background-light);
 padding: var(--spacing-xl) 0;
 text-align: center;
}
.contact-hero p {
 max-width: 800px;
 margin: var(--spacing-sm) auto var(--spacing-lg);
}

.contact-section {
 display: flex;
 gap: var(--spacing-lg);
 padding: var(--spacing-lg) 0;
 align-items: flex-start;
}

.contact-form-container {
 flex: 2;
 min-width: 300px;
 background-color: var(--background-white);
 padding: var(--spacing-md);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
}

.contact-form label {
 display: block;
 margin-bottom: var(--spacing-xs);
 font-weight: 600;
 color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
 width: 100%;
 padding: var(--spacing-sm);
 margin-bottom: var(--spacing-md);
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius);
 font-family: var(--font-body);
 font-size: 1rem;
 transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
 border-color: var(--primary-color);
 outline: none;
 box-shadow: 0 0 0 2px rgba(146, 64, 14, 0.2);
}

.contact-info-container {
 flex: 1;
 min-width: 250px;
 background-color: var(--background-light);
 padding: var(--spacing-md);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 border: 1px solid var(--border-color);
}

.contact-info-container h3 {
 color: var(--primary-color);
 margin-bottom: var(--spacing-md);
}

.contact-info-container p {
 margin-bottom: var(--spacing-sm);
 color: var(--text-light);
}

.contact-info-container p strong {
 color: var(--text-color);
}
.contact-info-container a {
 color: var(--primary-color);
}
.contact-info-container a:hover {
 color: var(--accent-color);
}

.map-section {
 padding-bottom: var(--spacing-lg);
}
.map-section h2 {
 text-align: center;
 margin-bottom: var(--spacing-md);
}
.map-container {
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: var(--shadow-medium);
 border: 1px solid var(--border-color);
}

/* Blog Page */
.blog-hero {
 background-color: var(--background-light);
 padding: var(--spacing-xl) 0;
 text-align: center;
}
.blog-hero h1 {
 font-size: 3rem;
 color: var(--primary-color);
}
.blog-hero p {
 font-size: 1.2rem;
 max-width: 800px;
 margin: var(--spacing-sm) auto var(--spacing-lg);
 color: var(--text-light);
}

.blog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: var(--spacing-md);
 padding: var(--spacing-lg) 0;
}

.blog-card {
 background-color: var(--background-white);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 border: 1px solid var(--border-color);
 overflow: hidden;
 display: flex;
 flex-direction: column;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.blog-card-content {
 padding: var(--spacing-md);
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}

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

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

.blog-meta {
 font-size: 0.85rem;
 color: var(--text-light);
 border-top: 1px solid var(--border-color);
 padding-top: var(--spacing-sm);
 margin-top: var(--spacing-sm);
}

.blog-meta span {
 margin-right: var(--spacing-sm);
}

/* Blog Post Page */
.blog-post-header {
 text-align: center;
 padding: var(--spacing-lg) 0 var(--spacing-md);
 background-color: var(--background-light);
}

.blog-post-header h1 {
 font-size: 2.8rem;
 max-width: 900px;
 margin: 0 auto var(--spacing-md);
 color: var(--primary-color);
}

.blog-post-meta {
 font-size: 0.95rem;
 color: var(--text-light);
 margin-bottom: var(--spacing-lg);
}

.blog-post-meta span {
 margin: 0 var(--spacing-xs);
}

.blog-post-image {
 max-width: 900px;
 margin: 0 auto var(--spacing-lg);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-medium);
 overflow: hidden;
 border: 1px solid var(--border-color);
}
.blog-post-image img {
 width: 100%;
 height: auto;
 object-fit: cover;
}

.blog-post-content {
 max-width: 900px;
 margin: 0 auto;
 padding-bottom: var(--spacing-lg);
}

.blog-post-content h2,
.blog-post-content h3 {
 margin-top: var(--spacing-lg);
 margin-bottom: var(--spacing-md);
 color: var(--primary-color);
}

.blog-post-content p {
 margin-bottom: var(--spacing-md);
 line-height: 1.8;
 color: var(--text-color);
}

.blog-post-content ul {
 list-style: disc;
 padding-left: var(--spacing-md);
 margin-bottom: var(--spacing-md);
 color: var(--text-light);
}
.blog-post-content ul li {
 margin-bottom: var(--spacing-xs);
}

.author-box {
 display: flex;
 align-items: center;
 gap: var(--spacing-md);
 background-color: var(--background-light);
 border: 1px solid var(--border-color);
 padding: var(--spacing-md);
 border-radius: var(--border-radius);
 margin-top: var(--spacing-lg);
}

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

.author-info h4 {
 margin-bottom: var(--spacing-xs);
 color: var(--primary-color);
}

.author-info p {
 font-size: 0.9rem;
 color: var(--text-light);
 margin-bottom: 0;
}

.related-posts {
 margin-top: var(--spacing-lg);
 border-top: 1px solid var(--border-color);
 padding-top: var(--spacing-lg);
}
.related-posts h2 {
 text-align: center;
 margin-bottom: var(--spacing-lg);
}

/* Gallery Page */
.gallery-hero {
 background-color: var(--background-light);
 padding: var(--spacing-xl) 0;
 text-align: center;
}
.gallery-hero h1 {
 font-size: 3rem;
 color: var(--primary-color);
}
.gallery-hero p {
 font-size: 1.2rem;
 max-width: 800px;
 margin: var(--spacing-sm) auto var(--spacing-lg);
 color: var(--text-light);
}

.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--spacing-md);
 padding: var(--spacing-lg) 0;
}

.gallery-item {
 position: relative;
 overflow: hidden;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 cursor: pointer;
 border: 1px solid var(--border-color);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.gallery-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(146, 64, 14, 0.7);
 color: var(--text-white);
 display: flex;
 justify-content: center;
 align-items: center;
 opacity: 0;
 transition: opacity 0.3s ease;
 text-align: center;
 padding: var(--spacing-md);
}

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

.gallery-overlay h3 {
 color: var(--text-white);
 margin: 0;
}

/* Lightbox styles (minimal, focus on functionality) */
.lightbox {
 display: none; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 2000; /* Sit on top */
 padding-top: 50px; /* Location of the box */
 left: 0;
 top: 0;
 width: 100%; /* Full width */
 height: 100%; /* Full height */
 overflow: auto; /* Enable scroll if needed */
 background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.lightbox-content {
 margin: auto;
 display: block;
 max-width: 90%;
 max-height: 80%;
 object-fit: contain;
}

/* Close Button */
.close-btn {
 position: absolute;
 top: 15px;
 right: 35px;
 color: #f1f1f1;
 font-size: 40px;
 font-weight: bold;
 transition: 0.3s;
 cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
 color: #bbb;
 text-decoration: none;
 cursor: pointer;
}

.lightbox-caption {
 margin: auto;
 display: block;
 width: 80%;
 max-width: 700px;
 text-align: center;
 color: #ccc;
 padding: 10px 0;
 height: 150px;
}

/* Legal Pages */
.legal-page-header {
 background-color: var(--background-light);
 padding: var(--spacing-lg) 0 var(--spacing-md);
 text-align: center;
}
.legal-page-header h1 {
 font-size: 2.5rem;
 color: var(--primary-color);
}
.legal-page-content {
 max-width: 900px;
 margin: 0 auto;
 padding: var(--spacing-lg) var(--spacing-md);
}
.legal-page-content h2 {
 color: var(--primary-color);
 margin-top: var(--spacing-lg);
 margin-bottom: var(--spacing-md);
}
.legal-page-content h3 {
 color: var(--primary-color);
 margin-top: var(--spacing-md);
 margin-bottom: var(--spacing-xs);
}
.legal-page-content p {
 margin-bottom: var(--spacing-sm);
 color: var(--text-color);
}
.legal-page-content ul {
 list-style: disc;
 padding-left: var(--spacing-md);
 margin-bottom: var(--spacing-md);
 color: var(--text-light);
}
.legal-page-content ul li {
 margin-bottom: var(--spacing-xs);
}

/* Thanks Page */
.thanks-container {
 padding: var(--spacing-xl) var(--spacing-md);
 text-align: center;
 background-color: var(--background-light);
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}
.thanks-container h1 {
 font-size: 3rem;
 color: var(--primary-color);
 margin-bottom: var(--spacing-md);
}
.thanks-container p {
 font-size: 1.2rem;
 color: var(--text-light);
 margin-bottom: var(--spacing-lg);
 max-width: 600px;
}

/* 404 Page */
.error-container {
 padding: var(--spacing-xl) var(--spacing-md);
 text-align: center;
 background-color: var(--background-light);
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}
.error-container h1 {
 font-size: 5rem;
 color: var(--primary-color);
 margin-bottom: var(--spacing-sm);
}
.error-container h2 {
 font-size: 2rem;
 color: var(--accent-color);
 margin-bottom: var(--spacing-md);
}
.error-container p {
 font-size: 1.1rem;
 color: var(--text-light);
 margin-bottom: var(--spacing-lg);
 max-width: 600px;
}

/* Utility Classes */
.mt-lg {
 margin-top: var(--spacing-lg);
}

/* Media Queries */
@media (max-width: 1024px) {
 .hero-section {
 flex-direction: column;
 text-align: center;
 padding: var(--spacing-lg) var(--spacing-md);
 }
 .hero-content {
 padding-right: 0;
 margin-bottom: var(--spacing-md);
 }
 .hero-content h1 {
 font-size: 3rem;
 }
 .hero-content p {
 padding-right: 0;
 }
 .hero-image {
 max-width: 700px;
 width: 100%;
 }
 .about-preview-content {
 flex-direction: column;
 text-align: center;
 }
 .about-preview-text h2 {
 text-align: center;
 }
 .about-preview-text ul {
 padding-left: 0;
 text-align: left;
 max-width: 500px;
 margin-left: auto;
 margin-right: auto;
 }
 .about-preview-text ul li {
 text-align: left;
 }
 .service-content {
 flex-direction: column;
 text-align: center;
 }
 .service-content:nth-child(even) {
 flex-direction: column;
 }
 .service-text ul {
 padding-left: 0;
 text-align: left;
 max-width: 500px;
 margin-left: auto;
 margin-right: auto;
 }
 .story-values-section {
 flex-direction: column;
 text-align: center;
 }
 .story-values-section h2 {
 text-align: center;
 }
 .story-values-section ul {
 padding-left: 0;
 text-align: left;
 max-width: 500px;
 margin-left: auto;
 margin-right: auto;
 }
 .contact-section {
 flex-direction: column;
 }
 .contact-form-container, .contact-info-container {
 width: 100%;
 max-width: 600px;
 margin: 0 auto;
 }
 .contact-form-container {
 margin-bottom: var(--spacing-lg);
 }
}

@media (max-width: 768px) {
 h1 { font-size: 2.2rem; }
 h2 { font-size: 1.8rem; }
 h3 { font-size: 1.3rem; }

 .navbar {
 padding: var(--spacing-sm);
 }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%; /* Initially off-screen */
 width: 70%;
 height: 100vh;
 background-color: var(--background-light);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: var(--spacing-lg);
 transition: right 0.4s ease-in-out;
 box-shadow: -2px 0 10px rgba(0,0,0,0.1);
 z-index: 999;
 }
 .nav-links.active {
 right: 0; /* Slide in */
 }
 .nav-links a {
 font-size: 1.5rem;
 padding: var(--spacing-sm) 0;
 width: 100%;
 text-align: center;
 }
 .nav-toggle {
 display: flex;
 }

 .hero-content h1 {
 font-size: 2.5rem;
 }
 .hero-content p {
 font-size: 1.1rem;
 }
 .hero-buttons {
 justify-content: center;
 }
 .feature-grid, .project-grid, .testimonials-grid, .team-grid, .values-grid, .blog-grid, .gallery-grid {
 grid-template-columns: 1fr;
 }
 .about-preview-text ul li::before {
 left: unset;
 right: calc(100% - 20px); /* Adjust as needed */
 }
 .newsletter-form {
 flex-direction: column;
 align-items: center;
 }
 .newsletter-form input {
 width: 90%;
 }
 .accordion-content p {
 font-size: 0.9rem;
 }
 .cta-section h2 {
 font-size: 1.8rem;
 }
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .social-links {
 justify-content: center;
 }

 .legal-page-header h1 {
 font-size: 2rem;
 }
 .thanks-container h1, .error-container h1 {
 font-size: 3rem;
 }
 .thanks-container p, .error-container p {
 font-size: 1rem;
 }
 .error-container h2 {
 font-size: 1.5rem;
 }
}

@media (max-width: 480px) {
 h1 { font-size: 2rem; }
 h2 { font-size: 1.5rem; }
 h3 { font-size: 1.2rem; }

 .section-padding {
 padding: var(--spacing-md) 0;
 }
 .hero-content h1 {
 font-size: 2rem;
 }
 .hero-buttons {
 flex-direction: column;
 gap: var(--spacing-sm);
 }
 .btn {
 width: 100%;
 }
 .newsletter-form input {
 min-width: unset;
 }
 .blog-post-header h1 {
 font-size: 2rem;
 }
 .blog-post-meta {
 font-size: 0.8rem;
 }
 .author-box {
 flex-direction: column;
 text-align: center;
 }

 .thanks-container h1, .error-container h1 {
 font-size: 2.5rem;
 }
 .error-container h2 {
 font-size: 1.3rem;
 }
}