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

:root {
 --primary-color: #6b21a8; /* Dark Purple */
 --accent-color: #c084fc; /* Light Purple */
 --light-background: #f8fafc; /* Very light gray/blue */
 --white: #ffffff;
 --dark-text: #333333;
 --light-text: #666666;
 --border-color: #e2e8f0;
 --footer-bg: #3b0764; /* Darker shade of primary for footer */

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

 --max-width: 1200px;
}

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

html {
 scroll-behavior: smooth;
}

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

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

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

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

ul {
 list-style: none;
}

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

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

p {
 margin-bottom: 1rem;
}

img {
 max-width: 100%;
 height: auto;
 display: block;
 border-radius: 8px; /* Consistent border-radius for images */
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 1rem 2rem;
 border-radius: 50px;
 font-weight: 700;
 text-align: center;
 transition: all 0.3s ease;
 cursor: pointer;
 border: none;
 font-size: 1rem;
}

.btn-primary {
 background-color: var(--primary-color);
 color: var(--white);
 box-shadow: 0 4px 15px rgba(107, 33, 168, 0.3);
}

.btn-primary:hover {
 background-color: var(--accent-color);
 box-shadow: 0 6px 20px rgba(192, 132, 252, 0.4);
}

.btn-secondary {
 background-color: var(--light-background);
 color: var(--primary-color);
 border: 2px solid var(--primary-color);
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--white);
 box-shadow: 0 4px 15px rgba(107, 33, 168, 0.2);
}

.btn-accent-outline {
 background: transparent;
 color: var(--white);
 border: 2px solid var(--accent-color);
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-accent-outline:hover {
 background-color: var(--accent-color);
 color: var(--white);
}

.btn-text {
 background: none;
 border: none;
 color: var(--primary-color);
 padding: 0;
 font-weight: 600;
 text-decoration: underline;
}

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

/* Header & Navbar */
.navbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1rem 1.5rem;
 background-color: var(--white);
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 position: fixed;
 width: 100%;
 top: 0;
 left: 0;
 z-index: 1000;
 transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

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

.navbar.scrolled {
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
 font-family: var(--font-heading);
 font-size: 1.8rem;
 font-weight: 700;
 color: var(--primary-color);
 padding: 0.5rem 1rem;
 border-radius: 20px;
 background-color: #f0e6fa; /* Light background for logo */
}

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

.navbar .nav-links a {
 color: var(--dark-text);
 font-weight: 600;
 position: relative;
 padding: 0.5rem 0;
}

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

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

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0.5rem;
 position: relative;
 z-index: 1001; /* Ensure button is above menu when open */
}

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

/* Mobile Menu */
@media (max-width: 768px) {
 .navbar .nav-links {
 display: none;
 flex-direction: column;
 position: absolute;
 top: 100%; /* Position below the navbar */
 left: 0;
 width: 100%;
 background-color: var(--white);
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 padding: 1.5rem;
 z-index: 999;
 transform: translateY(-100%);
 opacity: 0;
 transition: transform 0.3s ease-out, opacity 0.3s ease-out;
 }

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

 .navbar .nav-links li {
 width: 100%;
 text-align: center;
 margin-bottom: 1rem;
 }
 .navbar .nav-links li:last-child {
 margin-bottom: 0;
 }

 .navbar .nav-links a {
 padding: 1rem;
 display: block;
 border-radius: 8px;
 background-color: var(--light-background);
 white-space: nowrap; /* Prevent line breaks on menu items */
 }

 .navbar .nav-links a:hover,
 .navbar .nav-links a.active {
 background-color: var(--primary-color);
 color: var(--white);
 }
 .navbar .nav-links a::after {
 display: none; /* Hide underline on mobile */
 }

 .nav-toggle {
 display: block;
 }

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

/* Sections */
.section-padded {
 padding: 6rem 0;
}

.section-title {
 text-align: center;
 margin-bottom: 1.5rem;
 font-size: 2.5rem;
 position: relative;
 padding-bottom: 1rem;
}

.section-title::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 50%;
 transform: translateX(-50%);
 width: 60px;
 height: 4px;
 background-color: var(--primary-color);
 border-radius: 2px;
}

.section-subtitle {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 3rem auto;
 font-size: 1.1rem;
 color: var(--light-text);
}

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

main {
 margin-top: 70px; /* Adjust for fixed header height */
}

/* Hero Section */
.hero-section {
 position: relative;
 height: 80vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: var(--white);
 background-size: cover;
 background-position: center;
 padding: 2rem 0;
 overflow: hidden;
}

.hero-section::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.5); /* dark overlay */
}

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

.hero-content h1 {
 font-size: 3.5rem;
 margin-bottom: 1.5rem;
 color: var(--white);
 text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.hero-content p {
 font-size: 1.3rem;
 margin-bottom: 2.5rem;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
 color: #e0e0e0;
}

.scroll-indicator {
 position: absolute;
 bottom: 30px;
 left: 50%;
 transform: translateX(-50%);
 width: 30px;
 height: 50px;
 border: 2px solid var(--white);
 border-radius: 20px;
 display: flex;
 justify-content: center;
 align-items: flex-start;
 padding-top: 8px;
 animation: bounce 2s infinite;
}

.scroll-indicator::before {
 content: '';
 width: 6px;
 height: 6px;
 background-color: var(--white);
 border-radius: 50%;
}

@keyframes bounce {
 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
 40% { transform: translate(-50%, -10px); }
 60% { transform: translate(-50%, -5px); }
}

@media (max-width: 768px) {
 .hero-section {
 height: 70vh;
 }
 .hero-content h1 {
 font-size: 2.5rem;
 }
 .hero-content p {
 font-size: 1rem;
 }
}

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

.feature-card {
 background-color: var(--white);
 padding: 2rem;
 border-radius: 12px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card img {
 height: 150px;
 width: 100%;
 object-fit: cover;
 border-radius: 8px;
 margin-bottom: 1.5rem;
}

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

/* Testimonial Section */
.testimonial-section {
 background-color: var(--light-background);
}

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

.testimonial-card {
 background-color: var(--white);
 padding: 2rem;
 border-radius: 12px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
 text-align: center;
 position: relative;
 transition: transform 0.3s ease;
}

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

.testimonial-avatar {
 width: 90px;
 height: 90px;
 border-radius: 50%;
 object-fit: cover;
 margin: -60px auto 1rem auto; /* Pull avatar up into prev section */
 border: 4px solid var(--accent-color);
 box-shadow: 0 0 0 5px var(--white);
}

.testimonial-card p {
 font-style: italic;
 color: var(--light-text);
 margin-bottom: 1rem;
}

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

/* Call to Action Banner */
.cta-banner {
 background-image: linear-gradient(rgba(107, 33, 168, 0.85), rgba(107, 33, 168, 0.85)), url('assets/img-99b929f9.jpg');
 background-size: cover;
 background-position: center;
 color: var(--white);
 text-align: center;
 padding: 6rem 2rem;
 position: relative;
 border-radius: 12px;
 margin: 4rem auto;
 max-width: var(--max-width);
}

.cta-banner h2 {
 color: var(--white);
 margin-bottom: 1.5rem;
 font-size: 2.5rem;
}

.cta-banner p {
 font-size: 1.2rem;
 margin-bottom: 2rem;
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
}

/* Blog Preview Section */
.blog-preview-section {
 background-color: var(--white);
}

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

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

.blog-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card img {
 height: 220px;
 width: 100%;
 object-fit: cover;
 border-bottom: 4px solid var(--accent-color);
 border-radius: 0; /* Override img global to keep card corner radius */
}

.blog-card h3 {
 margin: 1.5rem 1.5rem 0.5rem 1.5rem;
 font-size: 1.5rem;
}

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

.blog-card h3 a:hover {
 color: var(--accent-color);
}

.blog-card .blog-meta {
 font-size: 0.9rem;
 color: var(--light-text);
 margin: 0 1.5rem 1rem 1.5rem;
}

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

.blog-card .btn-text {
 margin-left: 1.5rem;
 margin-bottom: 1.5rem;
 display: inline-block;
}

/* FAQ Section */
.faq-accordion .accordion-item {
 background-color: var(--white);
 border: 1px solid var(--border-color);
 border-radius: 8px;
 margin-bottom: 1rem;
 overflow: hidden;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-accordion .accordion-header {
 width: 100%;
 padding: 1.2rem 1.5rem;
 font-size: 1.15rem;
 font-weight: 700;
 text-align: left;
 background-color: var(--light-background);
 color: var(--primary-color);
 border-bottom: 1px solid var(--border-color);
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 transition: background-color 0.3s ease;
 border-radius: 8px 8px 0 0;
}

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

.faq-accordion .accordion-header.active {
 background-color: var(--primary-color);
 color: var(--white);
 border-bottom: 1px solid var(--primary-color);
}

.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-header.active .accordion-icon::before,
.accordion-header.active .accordion-icon::after {
 background-color: var(--white);
}

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

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

.accordion-header.active .accordion-icon::after {
 transform: translateX(-50%) scaleY(0);
}

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

.faq-accordion .accordion-content.active {
 max-height: 200px; /* Adjust as needed */
 padding: 1.2rem 1.5rem;
}

.faq-accordion .accordion-content p {
 margin-bottom: 0;
 color: var(--dark-text);
}

/* Footer */
.footer {
 background-color: var(--footer-bg);
 color: var(--white);
 padding: 4rem 0 1.5rem 0;
 font-size: 0.9rem;
 margin-top: 4rem;
}

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

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

.footer p {
 color: #e0e0e0;
 margin-bottom: 0.8rem;
}

.footer ul {
 padding: 0;
}

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

.footer ul li a {
 color: #e0e0e0;
 transition: color 0.3s ease;
}

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

.footer-col.about-wes p {
 max-width: 300px;
}

.footer-col.footer-contact p {
 display: flex;
 align-items: center;
 gap: 0.8rem;
 line-height: 1.4;
}

.footer-col.footer-contact .hours {
 margin-top: 1.5rem;
 color: var(--accent-color);
 font-weight: 600;
}

.footer-bottom {
 text-align: center;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 1.5rem;
 margin-top: 1.5rem;
 color: #e0e0e0;
}

.icon-phone::before { content: "\260E"; margin-right: 5px; } /* Unicode for phone icon */
.icon-mail::before { content: "\2709"; margin-right: 5px; } /* Unicode for mail icon */
.icon-location::before { content: "\1F4CD"; margin-right: 5px; } /* Unicode for location icon */

/* Generic card styles (used on services, blog, etc) */
.card {
 background-color: var(--white);
 border-radius: 12px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
 padding: 2rem;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
 transform: translateY(-8px);
 box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card img {
 height: 200px;
 width: 100%;
 object-fit: cover;
 margin-bottom: 1.5rem;
 border-radius: 8px;
}

.card h3 {
 color: var(--primary-color);
 margin-bottom: 1rem;
 font-size: 1.6rem;
}

.card p {
 color: var(--light-text);
}

/* Form Styles */
.form-group {
 margin-bottom: 1.5rem;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
 width: 100%;
 padding: 0.8rem 1rem;
 border: 1px solid var(--border-color);
 border-radius: 8px;
 font-family: var(--font-body);
 font-size: 1rem;
 transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.2);
 outline: none;
}

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

.contact-form-container {
 background-color: var(--white);
 border-radius: 12px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
 padding: 2.5rem;
 max-width: 700px;
 margin: 3rem auto;
}

/* Specific page layouts */
.about-content, .services-content, .blog-content, .contact-details {
 display: grid;
 gap: 3rem;
}

.about-content {
 grid-template-columns: 1fr;
}

@media (min-width: 768px) {
 .about-content {
 grid-template-columns: 1fr 1fr;
 align-items: center;
 }
 .about-content .text-block {
 order: 2;
 }
 .about-content .image-block {
 order: 1;
 }

 .about-content.reverse-layout .text-block { order: 1; }
 .about-content.reverse-layout .image-block { order: 2; }
}

.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);
 border-radius: 12px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
 overflow: hidden;
 text-align: center;
 padding-bottom: 1.5rem;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-member-card img {
 height: 250px;
 width: 100%;
 object-fit: cover;
 margin-bottom: 1rem;
 border-bottom: 4px solid var(--accent-color);
 border-radius: 0;
}

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

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

/* Services page */
.services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2.5rem;
 margin-top: 3rem;
}

.service-card {
 padding: 2rem;
 text-align: center;
 border-top: 5px solid var(--accent-color);
}

.service-card .icon {
 font-size: 3.5rem;
 color: var(--primary-color);
 margin-bottom: 1rem;
}

.service-card h3 {
 font-size: 1.8rem;
 margin-bottom: 1rem;
}

.service-process {
 display: flex;
 flex-direction: column;
 gap: 2rem;
 margin-top: 4rem;
}

.process-step {
 display: flex;
 align-items: center;
 gap: 1.5rem;
}

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

.process-step .step-number {
 flex-shrink: 0;
 width: 60px;
 height: 60px;
 background-color: var(--accent-color);
 color: var(--white);
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 1.8rem;
 font-weight: 700;
 box-shadow: 0 4px 15px rgba(192, 132, 252, 0.4);
}

.process-step .step-content {
 flex-grow: 1;
 background-color: var(--light-background);
 padding: 1.5rem;
 border-radius: 12px;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.process-step .step-content h4 {
 color: var(--primary-color);
 margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
 .process-step, .process-step:nth-child(even) {
 flex-direction: column;
 text-align: center;
 }
}

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

@media (min-width: 768px) {
 .contact-grid {
 grid-template-columns: 2fr 1fr;
 }
}

.contact-details-card {
 background-color: var(--light-background);
 border-radius: 12px;
 padding: 2rem;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-map {
 margin-top: 3rem;
 border-radius: 12px;
 overflow: hidden;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-details-card h3 {
 margin-bottom: 1.5rem;
}

.contact-details-card p {
 display: flex;
 align-items: center;
 margin-bottom: 1rem;
 color: var(--dark-text);
}

.contact-details-card p i {
 font-size: 1.3rem;
 color: var(--primary-color);
 margin-right: 1rem;
 width: 25px; /* Fixed width for icon alignment */
}

.contact-details-card .hours {
 margin-top: 1.5rem;
 color: var(--primary-color);
 font-weight: 600;
}

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

.blog-main-content {
 display: grid;
 grid-template-columns: 1fr;
 gap: 3rem;
}

@media (min-width: 992px) {
 .blog-main-content {
 grid-template-columns: 2fr 1fr;
 }
}

.blog-post-content h1 {
 font-size: 2.8rem;
 margin-bottom: 1rem;
 color: var(--primary-color);
 text-align: left;
}

.blog-meta-post {
 font-size: 0.95rem;
 color: var(--light-text);
 margin-bottom: 2rem;
 display: flex;
 align-items: center;
 gap: 1rem;
}

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

.blog-post-content img {
 margin: 2rem 0;
 max-height: 400px;
 width: 100%;
 object-fit: cover;
}

.blog-post-content h2, .blog-post-content h3 {
 margin-top: 2rem;
 margin-bottom: 1rem;
 color: var(--primary-color);
}

.blog-post-content p {
 margin-bottom: 1rem;
 color: var(--dark-text);
}

.blog-sidebar {
 background-color: var(--light-background);
 padding: 2rem;
 border-radius: 12px;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-sidebar h3 {
 font-size: 1.8rem;
 margin-bottom: 1.5rem;
 color: var(--primary-color);
}

.related-posts li {
 margin-bottom: 1rem;
}

.related-posts li a {
 color: var(--dark-text);
 font-weight: 600;
}

.related-posts li a:hover {
 color: var(--primary-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 4px 10px rgba(0, 0, 0, 0.1);
 transition: transform 0.3s ease;
}

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

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

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

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

.lightbox-content {
 max-width: 90%;
 max-height: 90%;
 object-fit: contain;
 border-radius: 8px;
 box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
 position: absolute;
 top: 20px;
 right: 30px;
 color: var(--white);
 font-size: 2.5rem;
 cursor: pointer;
 background: none;
 border: none;
 padding: 0;
 transition: color 0.3s ease;
}

.lightbox-close:hover {
 color: var(--accent-color);
}

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

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

.legal-content h2, .legal-content h3 {
 color: var(--primary-color);
 margin-top: 2rem;
 margin-bottom: 1rem;
}

.legal-content p, .legal-content ul li {
 margin-bottom: 1rem;
 color: var(--dark-text);
}

.legal-content ul {
 list-style: disc;
 padding-left: 2rem;
 margin-bottom: 1rem;
}

/* Thanks page */
.thanks-container {
 padding: 5rem 1.5rem;
 text-align: center;
 max-width: 800px;
 margin: 5rem auto;
 background-color: var(--light-background);
 border-radius: 12px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

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

/* 404 page */
.error-container {
 text-align: center;
 padding: 8rem 2rem;
 background-color: var(--light-background);
 min-height: calc(100vh - 70px - 200px); /* Adjust for header/footer */
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.error-container h1 {
 font-size: 6rem;
 color: var(--accent-color);
 line-height: 1;
 margin-bottom: 1rem;
}

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

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

/* Global animations */
.animate-on-scroll {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
 opacity: 1;
 transform: translateY(0);
}

/* Utility classes */
.text-center {
 text-align: center;
}

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

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

/* Font Awesome (or similar icon library) for semantic icons */
/* Placeholder for icons, if no library is used, replace with unicode characters or custom SVGs */
.icon-phone:before {content: "";} /* Or use a font icon like <i class="fas fa-phone-alt"></i> */
.icon-mail:before {content: "";}
.icon-location:before {content: "";}
.icon-check:before {content: "";}
.icon-user:before {content: "";}
.icon-activity:before {content: "";}
.icon-heart:before {content: "";}
.icon-brain:before {content: "";}
.icon-group:before {content: "";}
.icon-chart:before {content: "";}
.icon-document:before {content: "";}

/* General Media Queries */
@media (max-width: 1024px) {
 .container {
 padding: 0 1rem;
 }
 h1 { font-size: 2.2rem; }
 h2 { font-size: 1.8rem; }
 h3 { font-size: 1.5rem; }

 .hero-content h1 {
 font-size: 3rem;
 }
}

@media (max-width: 768px) {
 .navbar {
 padding: 0.8rem 1rem;
 }
 main {
 margin-top: 60px; /* Adjust for smaller header height on mobile */
 }
 h1 { font-size: 1.8rem; }
 h2 { font-size: 1.6rem; }
 h3 { font-size: 1.3rem; }

 .section-padded {
 padding: 4rem 0;
 }

 .hero-section {
 height: 60vh;
 }
 .hero-content h1 {
 font-size: 2.2rem;
 }
 .hero-content p {
 font-size: 0.95rem;
 }

 .feature-card, .blog-card, .testimonial-card, .team-member-card, .service-card, .card {
 padding: 1.5rem;
 }

 .testimonial-avatar {
 width: 70px;
 height: 70px;
 margin: -50px auto 1rem auto;
 }

 .cta-banner {
 padding: 4rem 1.5rem;
 }
 .cta-banner h2 {
 font-size: 2rem;
 }
 .cta-banner p {
 font-size: 1rem;
 }

 .footer .grid-footer {
 grid-template-columns: 1fr;
 text-align: center;
 }

 .footer-col.footer-contact p {
 justify-content: center;
 }
 .footer-col.about-wes p {
 max-width: none;
 text-align: center;
 }
}

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

 .hero-content h1 {
 font-size: 1.8rem;
 }
 .hero-content p {
 font-size: 0.9rem;
 }

 .btn {
 padding: 0.8rem 1.5rem;
 font-size: 0.9rem;
 }

 .contact-form-container, .contact-details-card {
 padding: 1.5rem;
 }
 .error-container h1 {
 font-size: 4rem;
 }
 .error-container h2 {
 font-size: 1.8rem;
 }
}