/* Custom Properties */
:root {
 --primary-color: #007bff; /* Blue */
 --secondary-color: #6c757d; /* Gray */
 --accent-color: #28a745; /* Green for CTA */
 --text-color: #333;
 --light-text-color: #f8f9fa;
 --bg-color: #fff;
 --light-bg-color: #f4f7f6;
 --border-color: #e0e0e0;
 --heading-font: 'Roboto Slab', serif;
 --body-font: 'Open Sans', sans-serif;
 --border-radius: 8px;
 --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
 --shadow-medium: 0 6px 18px rgba(0, 0, 0, 0.1);
 --transition-speed: 0.3s;
}

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

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

body {
 font-family: var(--body-font);
 line-height: 1.6;
 color: var(--text-color);
 background-color: var(--bg-color);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 min-height: 100vh;
 display: flex;
 flex-direction: column;
}

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: color var(--transition-speed);
}

a:hover {
 color: darken(var(--primary-color), 10%); /* This won't work in pure CSS, need to use rgba or similar */
 color: #0056b3; /* Darker blue */
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--heading-font);
 color: var(--text-color);
 margin-bottom: 0.8em;
 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: 1em; }

ul {
 list-style: none;
}

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

/* Layout & Utility Classes */
.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 1.5rem;
}

.section {
 padding: 3rem 0;
 overflow: hidden;
}

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

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

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

.mt-lg {
 margin-top: 3rem;
}

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

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

.button-primary:hover {
 background-color: #0056b3; /* Darker blue */
 border-color: #0056b3;
 transform: translateY(-2px);
 box-shadow: var(--shadow-light);
}

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

.button-secondary:hover {
 background-color: var(--primary-color);
 color: var(--light-text-color);
 transform: translateY(-2px);
 box-shadow: var(--shadow-light);
}

.button-cta {
 background-color: var(--accent-color);
 color: var(--light-text-color);
 border-color: var(--accent-color);
 padding: 0.6rem 1.2rem;
 font-size: 0.95rem;
}

.button-cta:hover {
 background-color: #218838; /* Darker green */
 border-color: #218838;
}

/* Header */
.header {
 background-color: var(--bg-color);
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 position: sticky;
 top: 0;
 z-index: 1000;
 transition: background-color var(--transition-speed);
}

.header.scrolled {
 background-color: rgba(255, 255, 255, 0.95);
 box-shadow: var(--shadow-light);
}

.navbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1rem 1.5rem;
 max-width: 1200px;
 margin: 0 auto;
}

.navbar .logo {
 font-family: var(--heading-font);
 font-size: 1.8rem;
 font-weight: bold;
 color: var(--primary-color);
 padding: 0.5rem 0;
}

.nav-links {
 display: flex;
 gap: 1.5rem;
 align-items: center;
}

.nav-links a {
 color: var(--text-color);
 font-weight: 500;
 transition: color var(--transition-speed);
}

.nav-links a:hover,
.nav-links a.active {
 color: var(--primary-color);
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0.5rem;
 position: relative;
 z-index: 1001;
}

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

.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); }

/* Hero Section */
.hero-section {
 background: linear-gradient(rgba(240, 248, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://picsum.photos/seed/hero-bg/1920/1080') no-repeat center center/cover;
 padding: 6rem 1.5rem;
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: center;
 gap: 2rem;
 min-height: 80vh;
 text-align: center;
}

.hero-content {
 max-width: 600px;
 flex: 1 1 50%;
 order: 2;
}

.hero-content h1 {
 font-size: 3.5rem;
 color: var(--primary-color);
 margin-bottom: 0.5rem;
}

.hero-content p {
 font-size: 1.3rem;
 color: var(--secondary-color);
 margin-bottom: 2rem;
 max-width: 600px;
 line-height: 1.7;
}

.hero-actions .button {
 margin: 0.5rem;
 font-size: 1.1rem;
 padding: 1rem 2.5rem;
}

.hero-image {
 flex: 1 1 40%;
 order: 1;
 min-width: 300px;
 max-width: 600px;
}

.hero-image img {
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-medium);
}

/* General Section Styles */
h2 {
 text-align: center;
 font-size: 2.5rem;
 margin-bottom: 1.5rem;
 color: var(--primary-color);
}

.section p {
 font-size: 1.1rem;
}

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

.feature-card {
 background-color: var(--bg-color);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.feature-card img {
 width: 80px;
 height: 80px;
 margin: 0 auto 1.5rem;
 border-radius: 50%;
 object-fit: cover;
 background-color: var(--light-bg-color);
 padding: 0.5rem;
 border: 1px solid var(--border-color);
}

.feature-card h3 {
 font-size: 1.4rem;
 margin-bottom: 0.8rem;
 color: var(--primary-color);
}

.feature-card p {
 font-size: 0.95rem;
 color: var(--secondary-color);
}

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

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

.about-image img {
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-medium);
}

.about-text {
 flex: 1 1 45%;
 min-width: 300px;
}

.about-text h2 {
 text-align: left;
 font-size: 2.2rem;
}

.about-text p {
 font-size: 1.05rem;
 margin-bottom: 1.5rem;
}

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

.testimonial-card {
 background-color: var(--bg-color);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

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

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

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

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

.blog-card {
 background-color: var(--bg-color);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 overflow: hidden;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.blog-card img {
 height: 220px;
 width: 100%;
 object-fit: cover;
 border-top-left-radius: var(--border-radius);
 border-top-right-radius: var(--border-radius);
}

.blog-card h3 {
 font-size: 1.35rem;
 padding: 1.5rem 1.5rem 0.5rem;
 margin-bottom: 0;
}

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

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

.blog-card p {
 font-size: 0.95rem;
 color: var(--secondary-color);
 padding: 0 1.5rem 1rem;
}

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

.blog-card .read-more .arrow {
 margin-left: 5px;
 transition: margin-left var(--transition-speed);
}

.blog-card .read-more:hover .arrow {
 margin-left: 10px;
}

/* FAQ Accordion */
.faq-accordion {
 max-width: 800px;
 margin: 0 auto;
 padding-top: 1rem;
}

.accordion-item {
 background-color: var(--bg-color);
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius);
 margin-bottom: 1rem;
 overflow: hidden;
 box-shadow: var(--shadow-light);
 transition: box-shadow var(--transition-speed);
}

.accordion-item:hover {
 box-shadow: var(--shadow-medium);
}

.accordion-header {
 width: 100%;
 background-color: var(--primary-color);
 color: var(--light-text-color);
 padding: 1rem 1.5rem;
 text-align: left;
 font-size: 1.15rem;
 font-weight: 600;
 border: none;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 transition: background-color var(--transition-speed);
}

.accordion-header:hover {
 background-color: #0056b3; /* Darker blue */
}

.accordion-header .icon {
 font-size: 1.5rem;
 transition: transform var(--transition-speed);
}

.accordion-header.active .icon {
 transform: rotate(45deg);
}

.accordion-content {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out;
 background-color: var(--light-bg-color);
 color: var(--text-color);
}

.accordion-content p {
 padding: 1rem 1.5rem;
 margin: 0;
 font-size: 1rem;
}

/* Call to Action */
.call-to-action {
 background-color: var(--primary-color);
 color: var(--light-text-color);
 text-align: center;
 padding: 4rem 1.5rem;
}

.cta-content h2 {
 color: var(--light-text-color);
 margin-bottom: 1rem;
 font-size: 2.2rem;
}

.cta-content p {
 font-size: 1.2rem;
 max-width: 700px;
 margin: 0 auto 2rem;
}

.cta-content .button {
 background-color: var(--accent-color);
 border-color: var(--accent-color);
 color: var(--light-text-color);
 font-size: 1.1rem;
 padding: 1rem 2.5rem;
}

.cta-content .button:hover {
 background-color: #218838;
 border-color: #218838;
}

/* Footer */
.footer {
 background-color: #222;
 color: #bbb;
 padding: 3rem 0 1.5rem;
 font-size: 0.9rem;
 margin-top: auto; /* Pushes footer to the bottom */
}

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 2rem;
 padding-bottom: 2rem;
 border-bottom: 1px solid #444;
}

.footer-col h3 {
 color: var(--light-text-color);
 font-size: 1.1rem;
 margin-bottom: 1rem;
}

.footer-col p, .footer-col li {
 margin-bottom: 0.5rem;
}

.footer-col a {
 color: #bbb;
 transition: color var(--transition-speed);
}

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

.footer-col.brand-info img {
 margin-right: 0.8rem;
 filter: invert(100%) brightness(150%);
 width: 20px;
 height: 20px;
 display: inline-block;
 vertical-align: middle;
}

.footer-col.brand-info .social-links a {
 margin-right: 0.8rem;
 display: inline-block;
}

.footer-col.brand-info .social-links img {
 filter: grayscale(100%) brightness(200%);
 transition: filter var(--transition-speed);
}

.footer-col.brand-info .social-links img:hover {
 filter: grayscale(0%) brightness(100%);
}

.footer-bottom {
 text-align: center;
 margin-top: 1.5rem;
 color: #888;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

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

.form-submit-button {
 width: 100%;
 padding: 1rem;
 font-size: 1.1rem;
 border-radius: var(--border-radius);
 background-color: var(--primary-color);
 color: var(--light-text-color);
 border: none;
 cursor: pointer;
 transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.form-submit-button:hover {
 background-color: #0056b3;
 transform: translateY(-2px);
 box-shadow: var(--shadow-light);
}

.error-message {
 color: #dc3545;
 font-size: 0.9rem;
 margin-top: 0.5rem;
 display: none;
}

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

.gallery-item {
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: var(--shadow-light);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 cursor: pointer;
}

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

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

.lightbox {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0,0,0,0.8);
 z-index: 2000;
 align-items: center;
 justify-content: center;
}

.lightbox.active {
 display: flex;
}

.lightbox-content {
 max-width: 90%;
 max-height: 90%;
 object-fit: contain;
 border-radius: var(--border-radius);
}

.lightbox-close {
 position: absolute;
 top: 20px;
 right: 30px;
 color: #fff;
 font-size: 40px;
 font-weight: bold;
 cursor: pointer;
 transition: color var(--transition-speed);
}

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

/* Thanks page styling */
.thanks-section {
 padding: 6rem 1.5rem;
 text-align: center;
 background-color: var(--light-bg-color);
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.thanks-section h1 {
 color: var(--accent-color);
 font-size: 3rem;
 margin-bottom: 1rem;
}

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

/* 404 page styling */
.error-section {
 padding: 6rem 1.5rem;
 text-align: center;
 background-color: var(--light-bg-color);
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.error-section h1 {
 color: #dc3545;
 font-size: 5rem;
 margin-bottom: 0.5rem;
}

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

.error-section p {
 font-size: 1.2rem;
 color: var(--secondary-color);
 margin-bottom: 2rem;
 max-width: 700px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
 h1 { font-size: 2.5rem; }
 h2 { font-size: 2rem; }
 h3 { font-size: 1.6rem; }
 .hero-content h1 { font-size: 3rem; }
 .hero-content p { font-size: 1.15rem; }
 .nav-links { gap: 1rem; }
}

@media (max-width: 768px) {
 .navbar {
 padding: 1rem;
 }
 .nav-links {
 flex-direction: column;
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 max-width: 300px;
 height: 100vh;
 background-color: var(--bg-color);
 padding: 6rem 2rem 2rem;
 box-shadow: -4px 0 15px rgba(0,0,0,0.1);
 transition: right var(--transition-speed) ease-in-out;
 z-index: 999;
 align-items: flex-start;
 }

 .nav-links.active {
 right: 0;
 }

 .nav-links li {
 width: 100%;
 margin-bottom: 1rem;
 }

 .nav-links a {
 display: block;
 padding: 0.8rem 1rem;
 font-size: 1.2rem;
 color: var(--text-color);
 border-radius: var(--border-radius);
 }
 .nav-links a:hover {
 background-color: var(--light-bg-color);
 }

 .nav-links .button-cta {
 display: block;
 width: auto;
 margin-top: 1rem;
 padding: 0.8rem 1.5rem;
 }

 .nav-toggle {
 display: block;
 }

 .hero-section {
 flex-direction: column;
 text-align: center;
 padding-top: 4rem;
 padding-bottom: 4rem;
 }
 .hero-image {
 order: 1;
 margin-bottom: 2rem;
 }
 .hero-content {
 order: 2;
 max-width: 100%;
 flex: auto;
 }
 .hero-content h1 {
 font-size: 2.5rem;
 }
 .hero-content p {
 font-size: 1rem;
 }

 .about-content-wrapper {
 flex-direction: column;
 }
 .about-text h2 {
 text-align: center;
 font-size: 2rem;
 }

 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-col ul {
 padding-left: 0;
 }
 .footer-col li {
 display: inline-block;
 margin: 0 0.5rem 0.5rem;
 }
 .footer-col.brand-info .social-links {
 margin-top: 1rem;
 }
 .footer-col.brand-info .social-links a {
 margin: 0 0.5rem;
 }

 .cta-content h2 {
 font-size: 2rem;
 }
 .cta-content p {
 font-size: 1rem;
 }
 .thanks-section h1, .error-section h1 { font-size: 3.5rem; }
 .thanks-section p, .error-section p { font-size: 1rem; }
}

@media (max-width: 480px) {
 h1 { font-size: 2rem; }
 h2 { font-size: 1.8rem; }
 h3 { font-size: 1.4rem; }
 .navbar .logo { font-size: 1.5rem; }
 .hero-content h1 { font-size: 2rem; }
 .hero-image { display: none; /* Hide hero image on very small screens if space is critical */ }
 .hero-section { min-height: unset; padding: 4rem 1rem; }
 .hero-actions .button {
 display: block;
 width: 90%;
 margin: 1rem auto;
 }
 .section { padding: 2rem 0; }
 .section-description { font-size: 1rem; margin-bottom: 1.5rem; }
 .feature-card, .testimonial-card, .blog-card, .accordion-item {
 padding: 1.5rem;
 }
 .accordion-header { font-size: 1rem; padding: 0.8rem 1rem; }
 .accordion-content p { padding: 0.8rem 1rem; font-size: 0.9rem; }
 .cta-content h2 { font-size: 1.8rem; }
 .cta-content p { font-size: 0.95rem; }
 .form-submit-button { font-size: 1rem; padding: 0.8rem; }
 .thanks-section h1, .error-section h1 { font-size: 2.5rem; }
 .thanks-section p, .error-section p { font-size: 0.9rem; }
}
/* General content block styling */
main {
 flex: 1; /* Allows main content to grow and push footer down */
}

.content-block {
 background-color: var(--bg-color);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 padding: 2rem;
 margin-bottom: 2rem;
}
/* Services Page Specific */
.service-cards-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
 padding-top: 1rem;
}

.service-card {
 background-color: var(--bg-color);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.service-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-medium);
}
.service-card img {
 width: 80px;
 height: 80px;
 margin: 0 auto 1.5rem;
 border-radius: 50%;
 object-fit: cover;
 background-color: var(--light-bg-color);
 padding: 0.5rem;
 border: 1px solid var(--border-color);
}
.service-card h3 {
 font-size: 1.4rem;
 margin-bottom: 0.8rem;
 color: var(--primary-color);
}
.service-card p {
 font-size: 0.95rem;
 color: var(--secondary-color);
}

.process-steps {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 3rem;
 margin-top: 3rem;
}

.process-step {
 flex: 1 1 calc(33% - 2rem);
 min-width: 280px;
 text-align: center;
 position: relative;
 padding: 1rem;
}

.process-step .icon-circle {
 width: 70px;
 height: 70px;
 background-color: var(--primary-color);
 color: var(--light-text-color);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 2rem;
 font-weight: bold;
 margin: 0 auto 1.5rem;
 box-shadow: var(--shadow-light);
}

.process-step h4 {
 font-size: 1.3rem;
 color: var(--primary-color);
 margin-bottom: 0.8rem;
}

.process-step p {
 font-size: 0.95rem;
 color: var(--secondary-color);
}
.process-steps .process-step:not(:last-child)::after {
 content: '';
 position: absolute;
 top: 35px; /* Adjust to center with icon */
 right: -2rem; /* Half of the gap */
 width: 2rem;
 height: 2px;
 background-color: var(--border-color);
 z-index: -1;
}

@media (max-width: 768px) {
 .process-steps {
 flex-direction: column;
 align-items: center;
 }
 .process-step {
 width: 100%;
 flex: 1 1 100%;
 }
 .process-steps .process-step:not(:last-child)::after {
 top: auto;
 bottom: -2rem; /* Half of the gap below */
 left: 50%;
 transform: translateX(-50%) rotate(90deg);
 width: 2rem;
 height: 2px;
 }
}
/* About page specific */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 padding-top: 1rem;
}

.team-member-card {
 background-color: var(--bg-color);
 padding: 1.5rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.team-member-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-medium);
}
.team-member-card img {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem;
 border: 3px solid var(--primary-color);
}
.team-member-card h4 {
 font-size: 1.3rem;
 margin-bottom: 0.5rem;
 color: var(--primary-color);
}
.team-member-card p {
 font-size: 0.95rem;
 color: var(--secondary-color);
 margin-bottom: 0.5rem;
}

/* Blog Post Specifics */
.blog-post-header {
 text-align: center;
 margin-bottom: 2rem;
}
.blog-post-header img {
 width: 100%;
 height: 350px;
 object-fit: cover;
 border-radius: var(--border-radius);
 margin-bottom: 2rem;
}
.blog-post-header h1 {
 font-size: 3rem;
 color: var(--primary-color);
 margin-bottom: 1rem;
}
.blog-post-meta {
 font-size: 0.9rem;
 color: var(--secondary-color);
 margin-bottom: 1.5rem;
}
.blog-post-content p {
 margin-bottom: 1.5rem;
 line-height: 1.8;
}
.blog-post-content h2,
.blog-post-content h3 {
 margin-top: 2rem;
 margin-bottom: 1rem;
 color: var(--primary-color);
}
.author-info {
 display: flex;
 align-items: center;
 gap: 1rem;
 margin-top: 3rem;
 padding: 1.5rem;
 background-color: var(--light-bg-color);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
}
.author-info img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 border: 2px solid var(--primary-color);
}
.author-details h4 {
 margin: 0;
 font-size: 1.2rem;
 color: var(--text-color);
}
.author-details p {
 margin: 0;
 font-size: 0.9rem;
 color: var(--secondary-color);
}

.related-posts {
 margin-top: 4rem;
 border-top: 1px solid var(--border-color);
 padding-top: 3rem;
}
.related-posts h3 {
 text-align: center;
 color: var(--primary-color);
 margin-bottom: 2rem;
}
.related-posts-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
}
/* Contact page specifics */
.contact-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
 margin-top: 2rem;
}

.contact-info-card {
 background-color: var(--bg-color);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 text-align: center;
}
.contact-info-card h4 {
 color: var(--primary-color);
 margin-bottom: 1rem;
}
.contact-info-card p {
 margin-bottom: 0.5rem;
}
.contact-info-card a {
 color: var(--primary-color);
}
.contact-info-card a:hover {
 text-decoration: underline;
}

.contact-form-section {
 padding: 3rem 0;
}
.contact-form-wrapper {
 background-color: var(--bg-color);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 max-width: 700px;
 margin: 0 auto;
}
.contact-form-wrapper h2 {
 margin-bottom: 2rem;
}

.map-section {
 padding: 3rem 0;
 background-color: var(--light-bg-color);
}
.map-container {
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: var(--shadow-medium);
}
.map-container iframe {
 width: 100%;
 height: 450px;
 border: 0;
}
@media (max-width: 768px) {
 .blog-post-header h1 {
 font-size: 2rem;
 }
 .blog-post-header img {
 height: 250px;
 }
 .author-info {
 flex-direction: column;
 text-align: center;
 }
}