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

:root {
 --primary-color: #2c52ed; /* Blue for business */
 --primary-dark: #223fbf;
 --primary-light: #4a74f5;
 --secondary-color: #00b0ff; /* Light blue accent */
 --accent-color: #00c853; /* Green for success/CTA */
 --dark-bg: #1a202c; /* Dark background */
 --light-bg: #f7fafc; /* Light background */
 --text-color: #2d3748; /* Dark grey text */
 --light-text-color: #a0aec0; /* Lighter grey text */
 --white-color: #ffffff;
 --border-color: #e2e8f0;
 --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
 --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);
 --font-heading: 'Montserrat', sans-serif;
 --font-body: 'IBM Plex Sans', sans-serif;
 --border-radius-sm: 5px;
 --border-radius-md: 8px;
 --border-radius-lg: 12px;
}

/* Reset and base styles */
*, *::before, *::after {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

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

body {
 font-family: var(--font-body);
 line-height: 1.6;
 color: var(--text-color);
 background-color: var(--white-color);
 -webkit-font-smoothing: antialiased;
 scroll-padding-top: 80px; /* Adjust for fixed header */
}

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

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

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

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

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 600; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.4rem; font-weight: 500; }
p { margin-bottom: 1em; }

input, button, textarea, select {
 font-family: inherit;
 font-size: inherit;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 1.5rem;
}

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

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

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

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

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

.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
}

.btn-secondary {
 background-color: var(--secondary-color);
 color: var(--white-color);
}

.btn-secondary:hover {
 background-color: #0099e6;
 transform: translateY(-2px);
}

.btn-light-outline {
 background-color: transparent;
 color: var(--white-color);
 border-color: var(--white-color);
}

.btn-light-outline:hover {
 background-color: var(--white-color);
 color: var(--primary-color);
 transform: translateY(-2px);
}

.btn-dark-outline {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}

.btn-dark-outline:hover {
 background-color: var(--primary-color);
 color: var(--white-color);
 transform: translateY(-2px);
}

/* Header */
header {
 background-color: var(--white-color);
 box-shadow: var(--shadow-light);
 position: fixed;
 width: 100%;
 top: 0;
 left: 0;
 z-index: 1000;
 transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1.2rem 1.5rem;
 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;
}

.nav-links {
 list-style: none;
 display: flex;
 gap: 2rem;
}

.nav-links a {
 color: var(--text-color);
 font-weight: 500;
 font-size: 1.05rem;
 position: relative;
 padding: 0.25rem 0;
}

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

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

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

.nav-toggle.active span:nth-child(1) {
 transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
 opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
 transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/seed/hero-main/1920/1080') no-repeat center center/cover;
 color: var(--white-color);
 text-align: center;
 padding: 10rem 1.5rem 8rem;
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 80vh;
 margin-top: 70px; /* Offset for fixed header */
}

.hero-content {
 max-width: 900px;
}

.hero h1 {
 color: var(--white-color);
 font-size: 3.5rem;
 margin-bottom: 1rem;
}

.hero p {
 font-size: 1.3rem;
 margin-bottom: 2.5rem;
 opacity: 0.9;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}

.hero-actions .btn {
 margin: 0 0.8rem;
 font-size: 1.1rem;
 padding: 1rem 2.5rem;
}

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

.feature-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-light);
 padding: 1.8rem;
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 border: 1px solid var(--border-color);
 display: flex;
 flex-direction: column;
 justify-content: flex-start;
 align-items: center;
}

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

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

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

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

/* About Preview */
.about-content-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 3rem;
 align-items: center;
}

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

.about-text h2 {
 margin-bottom: 1rem;
}

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

/* Testimonials */
.testimonials-section {
 background-color: var(--light-bg);
}

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

.testimonial-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-light);
 padding: 2rem;
 border: 1px solid var(--border-color);
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.client-info {
 font-weight: 600;
 color: var(--primary-color);
 display: flex;
 flex-direction: column;
}

.client-name {
 font-size: 1.1rem;
}

.client-title {
 font-size: 0.9rem;
 color: var(--light-text-color);
 font-weight: 400;
}

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

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

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

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

.blog-post-card h3 {
 margin: 1.5rem 1.5rem 0.5rem 1.5rem;
 font-size: 1.35rem;
 line-height: 1.4;
}

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

.blog-post-card p {
 font-size: 0.95rem;
 color: var(--text-color);
 padding: 0 1.5rem 1rem 1.5rem;
 flex-grow: 1; /* Pushes read-more to bottom */
}

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

.blog-post-card .read-more:hover {
 color: var(--primary-dark);
}

.blog-post-card .read-more .arrow {
 margin-left: 5px;
 transition: margin-left 0.3s ease;
}

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

/* FAQ Preview (small version for index) */
.faq-accordion-small {
 max-width: 800px;
 margin: 0 auto;
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius-md);
 overflow: hidden;
}

.faq-accordion-small .accordion-item {
 border-bottom: 1px solid var(--border-color);
}

.faq-accordion-small .accordion-item:last-child {
 border-bottom: none;
}

.faq-accordion-small .accordion-header {
 background-color: var(--white-color);
 color: var(--primary-color);
 font-weight: 600;
 padding: 1rem 1.5rem;
 width: 100%;
 text-align: left;
 border: none;
 cursor: pointer;
 outline: none;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 1.1rem;
 transition: background-color 0.3s ease;
}

.faq-accordion-small .accordion-header:hover {
 background-color: var(--light-bg);
}

.faq-accordion-small .accordion-header.active {
 background-color: var(--light-bg);
 color: var(--primary-dark);
}

.faq-accordion-small .accordion-icon {
 font-size: 1.5rem;
 line-height: 1;
 transition: transform 0.3s ease;
}

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

.faq-accordion-small .accordion-content {
 background-color: var(--light-bg);
 padding: 0 1.5rem;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-accordion-small .accordion-content p {
 padding-bottom: 1rem;
 font-size: 1rem;
 color: var(--text-color);
}

/* Call to Action Section */
.cta-section {
 background-color: var(--primary-color);
 text-align: center;
}

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

.cta-section p {
 color: var(--white-color);
 font-size: 1.15rem;
 margin-bottom: 2.5rem;
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
 opacity: 0.9;
}

/* Footer */
footer {
 background-color: var(--dark-bg);
 color: var(--light-text-color);
 padding: 3rem 0 1.5rem;
 font-size: 0.95rem;
}

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

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

.footer-col a {
 color: var(--light-text-color);
 display: block;
 margin-bottom: 0.6rem;
}

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

.footer-col p, .footer-col address {
 margin-bottom: 0.8rem;
}

.footer-col address {
 font-style: normal;
}

.footer-col.brand-info p {
 max-width: 300px;
}

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

/* General Page Styles (for inner pages) */
.page-title-hero {
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/seed/page-hero/1920/400') no-repeat center center/cover;
 color: var(--white-color);
 text-align: center;
 padding: 6rem 1.5rem 4rem;
 margin-top: 70px;
}

.page-title-hero h1 {
 color: var(--white-color);
 font-size: 3rem;
 margin-bottom: 0.5rem;
}

.page-content-section {
 padding: 4rem 0;
}

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

/* About Page */
.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-color);
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-light);
 border: 1px solid var(--border-color);
 padding: 1.5rem;
 text-align: center;
 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: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem auto;
 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(--light-text-color);
 margin-bottom: 0.5rem;
}

/* Services Page */
.service-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-light);
 border: 1px solid var(--border-color);
 padding: 2rem;
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 display: flex;
 flex-direction: column;
 align-items: center;
}

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

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

.service-card p {
 color: var(--text-color);
 font-size: 1rem;
}

.service-card img {
 width: 80px;
 height: 80px;
 margin-bottom: 1.5rem;
 object-fit: contain;
}

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

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

.process-step {
 flex: 1 1 250px;
 text-align: center;
 padding: 1.5rem;
 background-color: var(--white-color);
 border-radius: var(--border-radius-md);
 box-shadow: var(--shadow-light);
 border: 1px solid var(--border-color);
}

.process-step .icon {
 font-size: 2.5rem;
 color: var(--primary-color);
 margin-bottom: 1rem;
 display: block;
}

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

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: flex-start;
}

.contact-info-block {
 background-color: var(--light-bg);
 padding: 2rem;
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-light);
 border: 1px solid var(--border-color);
}

.contact-info-block h3 {
 color: var(--primary-color);
 margin-bottom: 1.5rem;
}

.contact-info-item {
 display: flex;
 align-items: center;
 margin-bottom: 1rem;
}

.contact-info-item .icon {
 color: var(--secondary-color);
 font-size: 1.5rem;
 margin-right: 15px;
 flex-shrink: 0;
}

.contact-info-item p, .contact-info-item a {
 color: var(--text-color);
 font-size: 1.05rem;
}

.contact-form-block {
 background-color: var(--white-color);
 padding: 2rem;
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-light);
 border: 1px solid var(--border-color);
}

.contact-form-block h3 {
 color: var(--primary-color);
 margin-bottom: 1.5rem;
}

.form-group {
 margin-bottom: 1.5rem;
}

.form-group label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 500;
 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 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius-md);
 font-size: 1rem;
 color: var(--text-color);
 background-color: var(--light-bg);
 transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
 border-color: var(--primary-color);
 outline: none;
 box-shadow: 0 0 0 3px rgba(44, 82, 237, 0.2);
}

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

.contact-form-block button {
 width: auto;
 padding: 0.9rem 2.5rem;
 font-size: 1.1rem;
 border: none;
 cursor: pointer;
}

.map-container {
 margin-top: 3rem;
 height: 450px;
 border-radius: var(--border-radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-medium);
}

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

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

.blog-post-full {
 max-width: 900px;
 margin: 0 auto;
 background-color: var(--white-color);
 padding: 2.5rem;
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-light);
 border: 1px solid var(--border-color);
}

.blog-post-full h1 {
 font-size: 2.5rem;
 margin-bottom: 1.5rem;
 color: var(--primary-dark);
}

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

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

.blog-post-full img {
 border-radius: var(--border-radius-md);
 margin: 2rem 0;
 width: 100%;
 height: auto;
 object-fit: cover;
}

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

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

.blog-post-full ul {
 list-style-type: disc;
 margin-left: 20px;
 margin-bottom: 1.5rem;
}

.blog-post-full li {
 margin-bottom: 0.5rem;
}

.author-box {
 display: flex;
 align-items: center;
 background-color: var(--light-bg);
 border-left: 5px solid var(--primary-color);
 padding: 1.5rem;
 margin-top: 3rem;
 border-radius: var(--border-radius-md);
}

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

.author-info h4 {
 font-size: 1.2rem;
 margin-bottom: 0.3rem;
 color: var(--primary-dark);
}

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

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

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

.gallery-item {
 cursor: pointer;
 overflow: hidden;
 border-radius: var(--border-radius-md);
 box-shadow: var(--shadow-light);
 transition: transform 0.3s ease;
}

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

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

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

.lightbox.active {
 display: flex;
}

.lightbox-content {
 position: relative;
 max-width: 90%;
 max-height: 90%;
 background-color: var(--white-color);
 padding: 1rem;
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-medium);
}

.lightbox-content img {
 max-width: 100%;
 max-height: 80vh;
 display: block;
 object-fit: contain;
 border-radius: var(--border-radius-md);
}

.lightbox-close {
 position: absolute;
 top: 10px;
 right: 20px;
 color: var(--white-color);
 font-size: 2.5rem;
 font-weight: bold;
 cursor: pointer;
 background: none;
 border: none;
 padding: 0;
}

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

/* FAQ Page */
.faq-accordion .accordion-item {
 margin-bottom: 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius-md);
 overflow: hidden;
}

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

.faq-accordion .accordion-header:hover {
 background-color: var(--light-bg);
}

.faq-accordion .accordion-header.active {
 background-color: var(--light-bg);
 color: var(--primary-dark);
}

.faq-accordion .accordion-icon {
 font-size: 1.8rem;
 line-height: 1;
 transition: transform 0.3s ease;
}

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

.faq-accordion .accordion-content {
 background-color: var(--light-bg);
 padding: 0 1.5rem;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-accordion .accordion-content p {
 padding-bottom: 1.2rem;
 font-size: 1rem;
 color: var(--text-color);
}

/* Legal Pages */
.legal-content {
 max-width: 900px;
 margin: 0 auto;
 background-color: var(--white-color);
 padding: 2.5rem;
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-light);
 border: 1px solid var(--border-color);
}

.legal-content h1 {
 font-size: 2.5rem;
 margin-bottom: 1.5rem;
 color: var(--primary-dark);
 text-align: center;
}

.legal-content h2 {
 font-size: 1.8rem;
 margin-top: 2.5rem;
 margin-bottom: 1rem;
 color: var(--primary-color);
}

.legal-content h3 {
 font-size: 1.4rem;
 margin-top: 1.8rem;
 margin-bottom: 0.8rem;
 color: var(--text-color);
}

.legal-content p, .legal-content li {
 font-size: 1rem;
 line-height: 1.7;
 margin-bottom: 1rem;
 color: var(--text-color);
}

.legal-content ul, .legal-content ol {
 margin-left: 20px;
 margin-bottom: 1.5rem;
}

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

/* Thanks Page */
.thanks-page {
 text-align: center;
 padding: 8rem 1.5rem;
 margin-top: 70px; /* Offset for fixed header */
 min-height: calc(100vh - 70px - 200px); /* Adjust height based on header/footer */
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 background-color: var(--light-bg);
}

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

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

.thanks-page .btn {
 font-size: 1.1rem;
 padding: 0.9rem 2.2rem;
}

/* 404 Page */
.error-page {
 text-align: center;
 padding: 8rem 1.5rem;
 margin-top: 70px;
 min-height: calc(100vh - 70px - 200px);
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 background-color: var(--dark-bg);
 color: var(--white-color);
}

.error-page h1 {
 font-size: 6rem;
 color: var(--secondary-color);
 margin-bottom: 1rem;
 text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

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

.error-page p {
 font-size: 1.2rem;
 color: var(--light-text-color);
 margin-bottom: 2.5rem;
 max-width: 700px;
}

.error-page .btn {
 font-size: 1.1rem;
 padding: 0.9rem 2.2rem;
}

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

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

/* Media Queries */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
 h1 { font-size: 2.5rem; }
 h2 { font-size: 2rem; }
 h3 { font-size: 1.6rem; }

 .hero {
 padding-top: 8rem;
 padding-bottom: 6rem;
 min-height: 70vh;
 }

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

 .nav-links {
 gap: 1.5rem;
 }

 .about-content-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .about-image {
 order: -1; /* Image appears above text on smaller screens */
 }

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

/* Mobile */
@media (max-width: 768px) {
 html {
 font-size: 15px;
 }

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

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

 /* Header */
 nav {
 padding: 1rem 1.5rem;
 }

 .nav-links {
 display: none;
 flex-direction: column;
 position: absolute;
 top: 70px; /* Adjust based on header height */
 left: 0;
 width: 100%;
 background-color: var(--white-color);
 box-shadow: var(--shadow-medium);
 padding: 1.5rem 1rem;
 border-top: 1px solid var(--border-color);
 animation: slideDown 0.3s forwards;
 }

 .nav-links.active {
 display: flex;
 }

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

 .nav-links a {
 padding: 0.8rem 0;
 display: block;
 font-size: 1.1rem;
 color: var(--text-color);
 }
 .nav-links a.active::after,
 .nav-links a:hover::after {
 opacity: 0; /* Hide underline on mobile menu */
 }
 .nav-links a:hover,
 .nav-links a.active {
 background-color: var(--light-bg);
 border-radius: var(--border-radius-sm);
 color: var(--primary-color);
 }

 .nav-toggle {
 display: flex;
 }

 @keyframes slideDown {
 from { transform: translateY(-100%); opacity: 0; }
 to { transform: translateY(0); opacity: 1; }
 }

 /* Hero */
 .hero {
 padding-top: 6rem;
 padding-bottom: 4rem;
 min-height: 60vh;
 margin-top: 60px; /* Adjust for smaller header on mobile */
 }

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

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

 .hero-actions {
 display: flex;
 flex-direction: column;
 gap: 1rem;
 }

 .hero-actions .btn {
 margin: 0;
 width: 100%;
 }

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

 .footer-col.brand-info,
 .footer-col.quick-links,
 .footer-col.legal-links,
 .footer-col.contact-info {
 display: flex;
 flex-direction: column;
 align-items: center;
 }

 .footer-col A {
 width: fit-content;
 }

 .page-title-hero {
 padding: 5rem 1.5rem 3rem;
 margin-top: 60px;
 }
 .page-title-hero h1 {
 font-size: 2.5rem;
 }

 .blog-post-full {
 padding: 1.5rem;
 }

 .blog-post-full h1 {
 font-size: 2rem;
 }

 .author-box {
 flex-direction: column;
 text-align: center;
 }
 .author-box img {
 margin-right: 0;
 margin-bottom: 1rem;
 }

 .thanks-page, .error-page {
 padding: 6rem 1.5rem;
 margin-top: 60px;
 }
 .thanks-page h1, .error-page h1 {
 font-size: 2.5rem;
 }
 .thanks-page p, .error-page p {
 font-size: 1rem;
 }
 .error-page h1 {
 font-size: 4rem;
 }

 .process-steps {
 flex-direction: column;
 }
}