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

:root {
 --primary-color: #553c9a; /* Deep Purple */
 --accent-color: #805ad5; /* Lighter Purple */
 --light-background: #f8fafc; /* Very light grey-blue */
 --white-background: #ffffff;
 --dark-text: #333333;
 --light-text: #666666;
 --border-color: #e0e0e0;
 --footer-bg: #2d2d2d; /* Dark grey for footer */

 --font-heading: 'Montserrat', sans-serif;
 --font-body: 'Roboto', sans-serif;

 --max-width: 1200px;
}

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

html {
 scroll-behavior: smooth;
}

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

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

h1 { font-size: 2.8em; line-height: 1.1; }
h2 { font-size: 2.2em; line-height: 1.2; }
h3 { font-size: 1.8em; line-height: 1.3; }
p { margin-bottom: 1em; }

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

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

ul {
 list-style: none;
}

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

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

.section-padding {
 padding: 5rem 0;
}

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

.mt-4 {
 margin-top: 2rem;
}

/* Buttons */
.button {
 display: inline-block;
 padding: 0.8em 1.8em;
 border-radius: 5px;
 font-family: var(--font-heading);
 font-weight: 600;
 font-size: 1em;
 text-align: center;
 cursor: pointer;
 transition: all 0.3s ease;
 border: 2px solid transparent;
}

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

.primary-button:hover {
 background-color: var(--accent-color);
 border-color: var(--accent-color);
 color: var(--white-background);
}

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

.secondary-button:hover {
 background-color: var(--primary-color);
 color: var(--white-background);
}

.secondary-button-outline {
 background-color: transparent;
 color: var(--primary-color);
 border: 2px solid var(--primary-color);
 padding: 0.6em 1.5em; /* Slightly smaller padding for outlines */
}

.secondary-button-outline:hover {
 background-color: var(--primary-color);
 color: var(--white-background);
}

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

.accent-button:hover {
 background-color: var(--primary-color);
 border-color: var(--primary-color);
}

.large-button {
 padding: 1em 2.5em;
 font-size: 1.1em;
}

.small-button {
 padding: 0.6em 1.2em;
 font-size: 0.9em;
}

/* Header */
.main-header {
 background-color: var(--white-background);
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 position: sticky;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 padding: 1rem 0;
}

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

.logo {
 font-family: var(--font-heading);
 font-weight: 700;
 font-size: 1.8em;
 color: var(--primary-color);
}

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

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

.nav-links li a::after {
 content: '';
 position: absolute;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 bottom: 0;
 left: 0;
 transition: width 0.3s 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-between;
 width: 30px;
 height: 20px;
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 0;
}

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

/* Hero Section */
.hero-section {
 position: relative;
 height: 80vh; /* Adjust height for visual impact */
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 background-size: cover;
 background-position: center;
 color: var(--white-background);
}

.hero-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.35); /* Uniform dark overlay */
}

.hero-content {
 position: relative;
 z-index: 2;
 max-width: 800px;
 padding: 0 1rem;
}

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

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

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

.hero-buttons .button {
 min-width: 180px;
}

.hero-buttons .secondary-button {
 background-color: rgba(255, 255, 255, 0.1);
 color: var(--white-background);
 border-color: var(--white-background);
}

.hero-buttons .secondary-button:hover {
 background-color: var(--white-background);
 color: var(--primary-color);
}

/* Section Common Styles */
.section-subtitle {
 font-size: 1.1em;
 max-width: 800px;
 margin: 0 auto 3rem auto;
 text-align: center;
 color: var(--light-text);
}

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

/* Features Section */
.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
 text-align: center;
}

.feature-item {
 background-color: var(--white-background);
 padding: 2rem;
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 transition: transform 0.3s ease;
}

.feature-item:hover {
 transform: translateY(-5px);
}

.feature-icon {
 display: inline-flex;
 background-color: var(--primary-color);
 color: var(--white-background);
 width: 60px;
 height: 60px;
 border-radius: 50%;
 justify-content: center;
 align-items: center;
 margin-bottom: 1.5rem;
}

.feature-item h3 {
 font-size: 1.4em;
 margin-bottom: 0.7em;
}

/* About Preview Section */
.about-content-block {
 display: flex;
 align-items: center;
 gap: 3rem;
}

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

.about-image img {
 border-radius: 8px;
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
 flex: 1;
}

.about-text h2 {
 font-size: 2.5em;
}

.about-text p {
 margin-bottom: 1.5em;
}

/* Services Preview Section */
.services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
}

.service-card {
 background-color: var(--white-background);
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 overflow: hidden;
 transition: transform 0.3s ease;
}

.service-card:hover {
 transform: translateY(-5px);
}

.service-card img {
 height: 220px;
 width: 100%;
 object-fit: cover;
 border-bottom: 1px solid var(--border-color);
}

.service-card h3 {
 padding: 1.5rem 1.5rem 0.5rem 1.5rem;
 font-size: 1.4em;
}

.service-card p {
 padding: 0 1.5rem 1.5rem 1.5rem;
 font-size: 0.95em;
 color: #555;
 margin-bottom: 0; /* Remove default margin for consistent spacing */
}

.service-card .button {
 margin: 0 1.5rem 1.5rem 1.5rem;
 width: calc(100% - 3rem);
 display: block;
}

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

.testimonial-card {
 background-color: var(--white-background);
 padding: 2.5rem;
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 text-align: center;
}

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

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

.testimonial-author {
 font-family: var(--font-heading);
 font-weight: 500;
 color: var(--dark-text);
}

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

.blog-card {
 background-color: var(--white-background);
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 overflow: hidden;
 transition: transform 0.3s ease;
}

.blog-card:hover {
 transform: translateY(-5px);
}

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

.blog-card h3 {
 padding: 1.5rem 1.5rem 0.5rem 1.5rem;
 font-size: 1.4em;
}

.blog-card h3 a {
 color: var(--dark-text);
}

.blog-card p {
 padding: 0 1.5rem 1rem 1.5rem;
 font-size: 0.95em;
 color: #555;
}

.blog-card .read-more {
 display: inline-block;
 padding: 0 1.5rem 1.5rem 1.5rem;
 color: var(--primary-color);
 font-weight: 500;
}

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

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

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

.accordion-header {
 width: 100%;
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1.2rem 1.5rem;
 font-family: var(--font-heading);
 font-size: 1.1em;
 font-weight: 600;
 color: var(--dark-text);
 background-color: transparent;
 border: none;
 cursor: pointer;
 text-align: left;
 transition: background-color 0.3s ease;
}

.accordion-header::after {
 content: '+';
 font-size: 1.5em;
 font-weight: 400;
 order: 2;
 transition: transform 0.3s ease;
}

.accordion-header.active::after {
 content: '-';
 transform: rotate(0deg); /* No rotation needed for - */
}

.accordion-content {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-out, padding 0.3s ease-out;
 padding: 0 1.5rem;
}

.accordion-content p {
 padding-bottom: 1.2rem;
 margin-bottom: 0;
 color: #555;
 font-size: 0.95em;
}

/* CTA Section */
.cta-section {
 background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
 color: var(--white-background);
 padding: 6rem 0;
 text-align: center;
 border-radius: 8px; /* Added for visual appeal */
 margin: 4rem auto;
 max-width: var(--max-width);
}

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

.cta-section p {
 font-size: 1.2em;
 margin-bottom: 2.5em;
 opacity: 0.9;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}

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

.cta-section .button:hover {
 background-color: var(--light-background);
 border-color: var(--light-background);
 color: var(--accent-color);
}

/* Footer Styles */
.main-footer {
 background-color: var(--footer-bg);
 color: rgba(255, 255, 255, 0.7);
 padding-top: 4rem;
 font-size: 0.95em;
}

.main-footer h3 {
 color: var(--white-background);
 font-size: 1.3em;
 margin-bottom: 1.5rem;
}

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 2rem;
 padding-bottom: 3rem;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col ul {
 padding-left: 0;
}

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

.footer-col ul li a {
 color: rgba(255, 255, 255, 0.7);
}

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

.footer-col p {
 margin-bottom: 1rem;
}

.footer-col p a {
 color: rgba(255, 255, 255, 0.7);
}

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

.social-links {
 display: flex;
 gap: 1rem;
 margin-top: 1.5rem;
}

.social-links a {
 color: var(--white-background);
 font-size: 1.3em;
 display: flex;
 justify-content: center;
 align-items: center;
 width: 38px;
 height: 38px;
 border-radius: 50%;
 background-color: rgba(255, 255, 255, 0.1);
}

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

.footer-bottom {
 text-align: center;
 padding: 1.5rem 0;
 margin-top: 1rem;
 color: rgba(255, 255, 255, 0.5);
 font-size: 0.85em;
}

/* Specific page styles */
.page-title-section {
 background-color: var(--light-background);
 padding: 4rem 0 2rem;
 text-align: center;
 border-bottom: 1px solid var(--border-color);
}

.page-title-section h1 {
 font-size: 2.5em;
 margin-bottom: 0.5em;
}

/* About Page */
.mission-vision-section h2, .team-section h2 {
 margin-bottom: 2rem;
 text-align: center;
}

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

.mission-card {
 background-color: var(--white-background);
 padding: 2rem;
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 text-align: center;
}

.mission-card .feature-icon {
 margin-left: auto;
 margin-right: auto;
}

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

.team-member-card {
 background-color: var(--white-background);
 padding: 1.5rem;
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 text-align: center;
}

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

.team-member-card h3 {
 margin-bottom: 0.5rem;
 font-size: 1.3em;
}

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

.team-member-card .social-links {
 justify-content: center;
 margin-top: 0;
}

/* Services Page */
.service-detail-block {
 display: flex;
 flex-direction: column;
 gap: 3rem;
 margin-bottom: 4rem;
}

.service-detail-block:nth-child(even) {
 flex-direction: column-reverse; /* For alternating image/text layout on larger screens */
}

.service-detail-block .service-image,
.service-detail-block .service-text {
 flex: 1;
}

.service-detail-block .service-image img {
 border-radius: 8px;
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-block h2 {
 font-size: 2.5em;
 margin-bottom: 0.8em;
}

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

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

.process-step {
 background-color: var(--white-background);
 padding: 2rem;
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 text-align: center;
 position: relative;
}

.process-step-number {
 display: inline-flex;
 width: 50px;
 height: 50px;
 background-color: var(--accent-color);
 color: var(--white-background);
 border-radius: 50%;
 justify-content: center;
 align-items: center;
 font-family: var(--font-heading);
 font-size: 1.5em;
 font-weight: 700;
 margin-bottom: 1.5rem;
}

.process-step h3 {
 font-size: 1.3em;
 margin-bottom: 0.7em;
}

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 3rem;
 margin-top: 3rem;
}
.contact-info {
 font-size: 1.1em;
}
.contact-info p {
 margin-bottom: 1.5rem;
 display: flex;
 align-items: flex-start;
 gap: 0.8em;
}
.contact-info p svg {
 color: var(--primary-color);
 flex-shrink: 0;
 margin-top: 0.2rem;
}

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
 width: 100%;
 padding: 0.8em;
 margin-bottom: 1.5rem;
 border: 1px solid var(--border-color);
 border-radius: 5px;
 font-family: var(--font-body);
 font-size: 1em;
 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 3px rgba(85, 60, 154, 0.2);
}

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

.contact-form button[type="submit"] {
 width: auto;
 padding: 0.9em 2em;
 font-size: 1.1em;
}

.map-container {
 margin-top: 3rem;
 height: 400px;
 border-radius: 8px;
 overflow: hidden;
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
 width: 100%;
 height: 100%;
 border: 0;
}

/* Blog Post Page */
.blog-post-content {
 max-width: 900px;
 margin: 0 auto;
 padding: 3rem 0;
 background-color: var(--white-background);
}

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

.blog-post-meta {
 font-size: 0.9em;
 color: var(--light-text);
 margin-bottom: 2rem;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 1rem;
}

.blog-post-meta span {
 margin-right: 1.5rem;
}

.blog-post-meta .author-avatar {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 object-fit: cover;
 vertical-align: middle;
 margin-right: 0.5rem;
}

.blog-post-content img {
 margin: 2rem 0;
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.blog-navigation {
 display: flex;
 justify-content: space-between;
 margin-top: 3rem;
 padding-top: 2rem;
 border-top: 1px solid var(--border-color);
}

.blog-navigation a {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 color: var(--primary-color);
 font-weight: 500;
}
.blog-navigation a:hover {
 color: var(--accent-color);
}

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

.gallery-item {
 cursor: pointer;
 overflow: hidden;
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 position: relative;
}

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

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

.gallery-item-title {
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 padding: 1rem;
 background-color: rgba(0, 0, 0, 0.6);
 color: var(--white-background);
 font-family: var(--font-heading);
 font-weight: 500;
 font-size: 1.1em;
 opacity: 0;
 transform: translateY(100%);
 transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-item-title {
 opacity: 1;
 transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
 display: none; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 2000; /* Sit on top */
 padding-top: 60px; /* 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;
 width: 80%;
 max-width: 700px;
}

.lightbox-content, .lightbox-caption {
 animation-name: zoom;
 animation-duration: 0.6s;
}

@keyframes zoom {
 from {transform: scale(0.1)}
 to {transform: scale(1)}
}

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

.lightbox-close:hover,
.lightbox-close: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;
 font-size: 1.2em;
}

/* Legal Pages */
.legal-content {
 max-width: 800px;
 margin: 0 auto;
 padding: 0 1.5rem 4rem;
}

.legal-content h1 {
 font-size: 2.5em;
 margin-bottom: 1em;
 text-align: center;
}

.legal-content h2 {
 font-size: 1.8em;
 margin-top: 2.5em;
 margin-bottom: 0.8em;
}

.legal-content p {
 margin-bottom: 1em;
}

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

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

/* Thanks Page */
.thanks-section {
 height: calc(100vh - 200px); /* Adjust based on header/footer height */
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 background-color: var(--light-background);
 padding: 2rem;
}

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

.thanks-section p {
 font-size: 1.2em;
 color: var(--dark-text);
 margin-bottom: 2em;
}

/* 404 Page */
.error-section {
 height: calc(100vh - 200px); /* Adjust based on header/footer height */
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 background-color: var(--light-background);
 padding: 2rem;
}

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

.error-section h2 {
 font-size: 2.5em;
 color: var(--dark-text);
 margin-bottom: 1em;
}

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

/* Scroll Animation (fade-in) */
.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 (max-width: 1024px) {
 .nav-links li a {
 font-size: 0.95em;
 }
 .hero-content h1 {
 font-size: 3em;
 }
 .hero-content p {
 font-size: 1.1em;
 }
 h1 { font-size: 2.2em; }
 h2 { font-size: 1.8em; }
 h3 { font-size: 1.5em; }

 .about-content-block,
 .service-detail-block {
 flex-direction: column;
 text-align: center;
 }
 .service-detail-block:nth-child(even) {
 flex-direction: column;
 }
 .about-image img,
 .service-detail-block .service-image img {
 margin: 0 auto;
 }

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

@media (max-width: 768px) {
 .main-header .container {
 padding: 0 1rem;
 }
 .nav-links {
 display: none;
 flex-direction: column;
 position: absolute;
 top: 100%;
 left: 0;
 width: 100%;
 background-color: var(--white-background);
 border-top: 1px solid var(--border-color);
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 padding: 1rem 0;
 transition: transform 0.3s ease-out;
 transform: translateY(-100%);
 max-height: calc(100vh - 80px); /* Adjust to header height */
 overflow-y: auto;
 }

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

 .nav-links li {
 width: 100%;
 text-align: center;
 padding: 0.5rem 0;
 }
 .nav-links li a {
 display: block;
 padding: 0.8rem 0;
 border-bottom: 1px solid var(--border-color);
 font-size: 1.1em;
 }
 .nav-links li:last-child a {
 border-bottom: none;
 }
 .nav-toggle {
 display: flex;
 }

 .hero-section {
 height: 70vh;
 }
 .hero-content h1 {
 font-size: 2.5em;
 }
 .hero-content p {
 font-size: 1em;
 }
 .hero-buttons {
 flex-direction: column;
 gap: 1rem;
 }
 
 .section-padding {
 padding: 3rem 0;
 }
 .section-subtitle {
 margin-bottom: 2rem;
 }

 .about-content-block {
 gap: 2rem;
 }
 .about-text h2 {
 font-size: 2em;
 }

 .service-detail-block {
 gap: 2rem;
 }
 .service-detail-block h2 {
 font-size: 2em;
 }

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

 .testimonials-grid, .blog-grid, .features-grid, .services-grid, .team-grid, .gallery-grid, .mission-grid, .process-steps {
 grid-template-columns: 1fr;
 gap: 1.5rem;
 }

 .blog-post-content h1 {
 font-size: 2em;
 }
 .blog-post-content h2 {
 font-size: 1.6em;
 }
 .blog-post-meta span {
 display: block;
 margin-right: 0;
 margin-bottom: 0.5rem;
 }

 .main-footer {
 padding-top: 3rem;
 }
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-col.about-col .social-links {
 justify-content: center
 }
 .footer-col h3 {
 margin-bottom: 1rem;
 }
 .footer-col p {
 margin-bottom: 0.5rem;
 }
 .footer-col ul li {
 margin-bottom: 0.5rem;
 }
 .cta-section {
 margin: 2rem auto;
 padding: 4rem 1.5rem;
 }
 .cta-section h2 {
 font-size: 2em;
 }
 .cta-section p {
 font-size: 1em;
 }

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

@media (max-width: 480px) {
 h1 { font-size: 2em; }
 h2 { font-size: 1.6em; }
 .hero-content h1 {
 font-size: 2em;
 }
 .hero-content p {
 font-size: 0.9em;
 }
 .button {
 font-size: 0.9em;
 padding: 0.7em 1.5em;
 }
 .large-button {
 padding: 0.9em 2em;
 }
 .accordion-header {
 font-size: 1em;
 padding: 1rem;
 }
}
/* Active nav link style for JavaScript */
.nav-links li a.active-link {
 color: var(--primary-color);
 font-weight: 700;
}
.nav-links li a.active-link::after {
 width: 100%;
 background-color: var(--primary-color);
}
/* Additional styles for blog post categories, if any */
.blog-categories {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 margin-bottom: 2rem;
 justify-content: center;
}
.blog-categories a {
 display: inline-block;
 padding: 0.5em 1em;
 background-color: var(--light-background);
 color: var(--primary-color);
 border: 1px solid var(--primary-color);
 border-radius: 20px;
 font-size: 0.9em;
 font-weight: 500;
}
.blog-categories a:hover {
 background-color: var(--primary-color);
 color: var(--white-background);
}
/* Style for author box on blog posts */
.author-box {
 display: flex;
 align-items: center;
 gap: 1.5rem;
 background-color: var(--light-background);
 padding: 1.5rem;
 border-radius: 8px;
 margin-top: 3rem;
 border: 1px solid var(--border-color);
}

.author-box img {
 width: 90px;
 height: 90px;
 border-radius: 50%;
 object-fit: cover;
 flex-shrink: 0;
 border: 3px solid var(--accent-color);
}

.author-info h3 {
 margin-bottom: 0.3em;
 font-size: 1.2em;
}

.author-info p {
 font-size: 0.95em;
 color: var(--light-text);
 margin-bottom: 0;
}
.related-posts {
 margin-top: 4rem;
 padding-top: 3rem;
 border-top: 1px solid var(--border-color);
}

.related-posts h2 {
 text-align: center;
 margin-bottom: 2.5rem;
}

.related-posts-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
}
/* Utility class for hiding content, useful for accessibility */
.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;
}
/* Form success/error messages */
.form-message {
 padding: 1em 1.5em;
 margin-bottom: 1.5rem;
 border-radius: 5px;
 font-size: 0.95em;
 text-align: center;
}

.form-message.success {
 background-color: #d4edda;
 color: #155724;
 border: 1px solid #c3e6cb;
}

.form-message.error {
 background-color: #f8d7da;
 color: #721c24;
 border: 1px solid #f5c6cb;
}
/* Style for icons */
.icon-small {
 width: 20px;
 height: 20px;
 vertical-align: middle;
}
.team-member-card .social-links a {
 background-color: var(--primary-color);
}
.team-member-card .social-links a:hover {
 background-color: var(--accent-color);
}
/* About page "Our Values" section style */
.values-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
 margin-top: 3rem;
}

.value-item {
 background-color: var(--white-background);
 padding: 2rem;
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 text-align: center;
}

.value-item .feature-icon { /* Reusing feature-icon styling */
 margin: 0 auto 1.5rem auto;
}

.value-item h3 {
 font-size: 1.4em;
 margin-bottom: 0.7em;
}

/* Page title section for consistency across internal pages */
.page-title-section {
 background-color: var(--light-background);
 padding: 4rem 0 2rem;
 text-align: center;
 border-bottom: 1px solid var(--border-color);
}

.page-title-section h1 {
 font-size: 2.8em;
 margin-bottom: 0.5em;
 color: var(--dark-text);
}

.page-title-section p {
 max-width: 800px;
 margin: 0 auto;
 font-size: 1.1em;
 color: var(--light-text);
}
/* Blog List page styles */
.blog-list-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
}
.blog-list-card { /* Reusing blog-card styles for consistency */
 background-color: var(--white-background);
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 overflow: hidden;
 transition: transform 0.3s ease;
}
.blog-list-card:hover {
 transform: translateY(-5px);
}
.blog-list-card img {
 height: 200px;
 width: 100%;
 object-fit: cover;
}
.blog-list-card-content {
 padding: 1.5rem;
}
.blog-list-card h3 {
 font-size: 1.4em;
 margin-bottom: 0.5em;
}
.blog-list-card h3 a {
 color: var(--dark-text);
 display: block; /* Make the whole title clickable area */
}
.blog-list-card p {
 font-size: 0.95em;
 color: #555;
 margin-bottom: 1em;
}
.blog-list-card .read-more {
 font-weight: 500;
 color: var(--primary-color);
}
.blog-list-card .read-more:hover {
 color: var(--accent-color);
}
.blog-list-card-meta {
 font-size: 0.85em;
 color: var(--light-text);
 margin-bottom: 1em;
}
.blog-list-card-meta span {
 margin-right: 1em;
}
.blog-list-card-meta .author {
 font-weight: 500;
}
.blog-list-card-meta .date {
 font-style: italic;
}
/* Style for the Contact Us section on relevant pages */
.contact-banner {
 background-color: var(--primary-color);
 color: var(--white-background);
 padding: 3rem 0;
 text-align: center;
 border-radius: 8px;
 margin: 4rem auto;
 max-width: var(--max-width);
}
.contact-banner h2 {
 color: var(--white-background);
 margin-bottom: 1rem;
}
.contact-banner p {
 max-width: 700px;
 margin: 0 auto 2rem auto;
 font-size: 1.1em;
 opacity: 0.9;
}
.contact-banner .button {
 background-color: var(--accent-color);
 border-color: var(--accent-color);
 padding: 0.9em 2.2em;
 font-size: 1.1em;
}
.contact-banner .button:hover {
 background-color: #6a40d5; /* Slightly darker accent */
 border-color: #6a40d5;
}
/* Responsive adjustments for gallery title */
@media (max-width: 480px) {
 .gallery-item-title {
 font-size: 0.9em;
 padding: 0.7rem;
 }
 .lightbox-caption {
 font-size: 1em;
 }
}
/* Small adjustments for process steps on smaller screens */
@media (max-width: 576px) {
 .process-step {
 padding: 1.5rem;
 }
 .process-step-number {
 width: 45px;
 height: 45px;
 font-size: 1.3em;
 }
 .process-step h3 {
 font-size: 1.2em;
 }
}
/* General content section padding */
.content-section {
 padding: 4rem 0;
}
.content-section p, .content-section ul, .content-section ol {
 margin-bottom: 1rem;
}
/* About page hero section - if needed, a smaller hero for internal pages */
.internal-hero-section {
 background-color: var(--light-background);
 padding: 6rem 1.5rem 3rem;
 text-align: center;
}

.internal-hero-section h1 {
 font-size: 3em;
 color: var(--primary-color);
 margin-bottom: 0.5em;
}

.internal-hero-section p {
 font-size: 1.2em;
 color: var(--dark-text);
 max-width: 800px;
 margin: 0 auto;
}
/* For blog posts, ensure code blocks look decent */
pre {
 background-color: #eee;
 padding: 1em;
 border-radius: 5px;
 overflow-x: auto;
 margin-bottom: 1.5em;
}
code {
 font-family: monospace;
 background-color: #eee;
 padding: 0.2em 0.4em;
 border-radius: 3px;
}
blockquote {
 border-left: 4px solid var(--primary-color);
 padding-left: 1.5em;
 margin: 1.5em 0;
 font-style: italic;
 color: var(--light-text);
}
/* General content sections for better spacing */
.content-block {
 padding: 2rem 0;
}
.content-block:nth-of-type(even) {
 background-color: var(--light-background);
}
/* Ensure consistency for any image within content areas */
.content-block img {
 max-width: 100%;
 height: auto;
 border-radius: 8px;
 margin: 1.5rem auto; /* Center images */
 display: block;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
/* For 404 and Thanks page buttons */
.error-section .button, .thanks-section .button {
 margin-top: 1.5rem;
}