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

:root {
 --primary-color: #553c9a;
 --accent-color: #805ad5;
 --text-color-dark: #2d3748;
 --text-color-light: #4a5568;
 --bg-light: #f8fafc;
 --bg-white: #ffffff;
 --border-color: #e2e8f0;
 --footer-bg: #2d3748; /* Darker than primary but not black */

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

 --transition-speed: 0.3s ease-in-out;
 --border-radius: 8px;
 --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-body);
 line-height: 1.7;
 color: var(--text-color-light);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
 text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 color: var(--text-color-dark);
 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.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
 margin-bottom: 1rem;
}

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

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

ul {
 list-style: none;
}

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

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

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

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

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

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

.section-title {
 font-size: 2.5rem;
 font-weight: 700;
 text-align: center;
 margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
 display: inline-block;
 padding: 0.8rem 1.8rem;
 border-radius: var(--border-radius);
 font-weight: 600;
 text-align: center;
 transition: all var(--transition-speed);
 cursor: pointer;
 font-family: var(--font-heading);
}

.primary-btn {
 background-color: var(--primary-color);
 color: var(--bg-white);
 border: 2px solid var(--primary-color);
}

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

.secondary-btn {
 background-color: transparent;
 color: var(--primary-color);
 border: 2px solid var(--primary-color);
}

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

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

.header.scrolled {
 padding: 0.5rem 0;
 box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1rem 0;
}

.logo {
 font-family: var(--font-heading);
 font-size: 1.8rem;
 font-weight: 700;
 color: var(--primary-color);
 text-transform: uppercase;
}

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

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

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

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

.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;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 background-color: var(--text-color-dark);
 margin: 5px 0;
 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-section {
 position: relative;
 height: 80vh;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--bg-white);
 text-align: center;
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
}

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

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

.hero-content h1 {
 font-size: 3.5rem;
 font-weight: 700;
 margin-bottom: 1.5rem;
 color: var(--bg-white);
}

.hero-content p {
 font-size: 1.3rem;
 margin-bottom: 2.5rem;
 line-height: 1.5;
 opacity: 0.9;
}

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

.hero-buttons .btn {
 padding: 1rem 2.5rem;
 font-size: 1.1rem;
}

.hero-buttons .secondary-btn {
 color: var(--bg-white);
 border-color: var(--bg-white);
}

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

/* Why Choose Us / Features */
.why-choose-us {
 background-color: var(--bg-white);
}

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

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

.feature-item:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon {
 width: 60px;
 height: 60px;
 background-color: var(--primary-color);
 border-radius: 50%;
 margin: 0 auto 1.5rem;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--bg-white);
 font-size: 2rem; /* Add actual icon here */
 box-shadow: 0 4px 8px rgba(var(--primary-color), 0.2);
}

.feature-item h3 {
 font-size: 1.5rem;
 margin-bottom: 0.8rem;
 color: var(--text-color-dark);
}

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

/* Alternating Content Sections */
.alternating-content {
 padding: 6rem 0;
}

.alternating-content .content-block {
 display: flex;
 align-items: center;
 gap: 4rem;
 margin-bottom: 4rem; /* Spacing between blocks if multiple */
}

.alternating-content .content-block:last-child {
 margin-bottom: 0;
}

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

.alternating-content .content-image img {
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 width: 100%;
 height: 400px;
 object-fit: cover;
}

.alternating-content .content-text {
 flex: 1;
}

.alternating-content .content-text h3 {
 font-size: 2rem;
 margin-bottom: 1rem;
}

/* Reverse order for alternating */
.alternating-content .content-block.reverse {
 flex-direction: row-reverse;
}

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

.testimonial-slider-container {
 position: relative;
 max-width: 900px;
 margin: 0 auto;
 padding: 2rem;
}

.testimonial-slider {
 display: flex;
 overflow-x: hidden; /* Hide scrollbar */
 scroll-snap-type: x mandatory;
 -webkit-overflow-scrolling: touch;
 width: 100%; /* Ensure it takes full width for flex item sizing */
}

.testimonial-item {
 flex: 0 0 100%; /* Each item takes full width of container */
 scroll-snap-align: center;
 background-color: var(--bg-white);
 padding: 2.5rem;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 text-align: center;
 margin: 0 1rem; /* Adjust margin for visual separation if needed */
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 min-height: 280px;
}

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

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

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

.slider-nav {
 display: flex;
 justify-content: center;
 gap: 1rem;
 margin-top: 2rem;
}

.slider-nav button {
 background-color: var(--primary-color);
 border: none;
 border-radius: 50%;
 width: 40px;
 height: 40px;
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 transition: background-color var(--transition-speed);
 color: var(--bg-white);
 font-size: 1.5rem;
 line-height: 1;
}

.slider-nav button:hover {
 background-color: var(--accent-color);
}

.slider-nav button.prev::before { content: '‹'; }
.slider-nav button.next::before { content: '›'; }

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

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

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

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

.blog-card h3 {
 font-size: 1.4rem;
 margin: 1.5rem 1.5rem 0.5rem;
 color: var(--text-color-dark);
}

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

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

.blog-card .read-more:hover {
 text-decoration: underline;
}

/* FAQ Accordion */
.faq-accordion {
 max-width: 900px;
 margin: 3rem auto 0;
}

.accordion-item {
 background-color: var(--bg-white);
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius);
 margin-bottom: 1rem;
 overflow: hidden;
 box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

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

.accordion-header::after {
 content: '+';
 font-size: 1.5rem;
 font-weight: normal;
 color: var(--primary-color);
 transition: transform var(--transition-speed);
}

.accordion-header.active::after {
 content: '-';
 transform: rotate(180deg);
}

.accordion-content {
 max-height: 0;
 overflow: hidden;
 transition: max-height var(--transition-speed);
 padding: 0 1.5rem;
 color: var(--text-color-light);
}

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

/* CTA Banner */
.cta-banner {
 background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
 color: var(--bg-white);
 text-align: center;
 padding: 5rem 0;
}

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

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

.cta-banner .btn {
 background-color: var(--bg-white);
 color: var(--primary-color);
 border-color: var(--bg-white);
}

.cta-banner .btn:hover {
 background-color: var(--bg-light);
 color: var(--accent-color);
 border-color: var(--bg-light);
}

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

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

.footer-logo {
 font-family: var(--font-heading);
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--bg-white);
 text-transform: uppercase;
 margin-bottom: 1rem;
 display: block;
}

.footer-col h3 {
 color: var(--bg-white);
 font-size: 1.1rem;
 margin-bottom: 1.5rem;
 font-weight: 600;
}

.footer-col p, .footer-col ul li {
 margin-bottom: 0.8rem;
 line-height: 1.8;
}

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

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

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

/* Pages specific styles */
/* About Page */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
}

.team-member {
 background-color: var(--bg-white);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.team-member:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

.team-member h4 {
 font-size: 1.3rem;
 margin-bottom: 0.5rem;
 color: var(--text-color-dark);
}

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

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

.service-card {
 background-color: var(--bg-white);
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 overflow: hidden;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 display: flex;
 flex-direction: column;
}

.service-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

.service-card-content {
 padding: 1.5rem;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}

.service-card-content h3 {
 font-size: 1.5rem;
 margin-bottom: 0.8rem;
 color: var(--text-color-dark);
}

.service-card-content p {
 font-size: 0.95rem;
 margin-bottom: 1.5rem;
 flex-grow: 1;
}

.service-card-content .btn {
 align-self: flex-start;
 padding: 0.5rem 1.2rem;
 font-size: 0.9rem;
}

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

.process-step {
 text-align: center;
 padding: 2rem;
 border-radius: var(--border-radius);
 background-color: var(--bg-white);
 box-shadow: var(--box-shadow);
}

.process-step-icon {
 width: 70px;
 height: 70px;
 background-color: var(--accent-color);
 border-radius: 50%;
 margin: 0 auto 1.5rem;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--bg-white);
 font-size: 2rem;
 font-weight: 700;
}

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

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

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

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

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

.contact-info p {
 margin-bottom: 1rem;
 display: flex;
 align-items: flex-start;
 gap: 0.8rem;
}

.contact-info p strong {
 color: var(--text-color-dark);
}

.contact-info .icon {
 color: var(--primary-color);
 font-size: 1.2rem;
 flex-shrink: 0;
}

.contact-map {
 margin-top: 2rem;
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: var(--box-shadow);
}

.contact-map iframe {
 width: 100%;
 height: 400px;
 border: 0;
}

/* Blog Post Page */
.blog-post-header {
 background-color: var(--bg-light);
 padding: 6rem 0 3rem;
 text-align: center;
}

.blog-post-header h1 {
 font-size: 3rem;
 margin-bottom: 1rem;
}

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

.blog-post-meta span {
 margin: 0 0.5rem;
}

.blog-post-content {
 background-color: var(--bg-white);
 padding: 3rem 0;
}

.blog-post-content .container {
 max-width: 800px;
}

.blog-post-content img {
 margin: 2rem auto;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
}

.blog-post-content h2, .blog-post-content h3 {
 margin-top: 2.5rem;
 margin-bottom: 1rem;
}

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

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

.author-box .author-info h4 {
 margin-bottom: 0.5rem;
}

.author-box .author-info p {
 font-size: 0.9rem;
 margin-bottom: 0;
}

.related-posts {
 margin-top: 4rem;
}

.related-posts h3 {
 text-align: center;
 margin-bottom: 2rem;
}

.related-posts .blog-grid {
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 1.5rem;
}

/* 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);
 box-shadow: var(--box-shadow);
 transition: transform var(--transition-speed);
}

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

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

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

.lightbox.active {
 display: flex;
}

.lightbox-content {
 max-width: 90%;
 max-height: 90%;
 position: relative;
}

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

.lightbox-close {
 position: absolute;
 top: 1rem;
 right: 1.5rem;
 font-size: 3rem;
 color: var(--bg-white);
 background: none;
 border: none;
 cursor: pointer;
 z-index: 2001;
}

/* Legal Pages */
.legal-content {
 padding: 4rem 0;
 line-height: 1.8;
}

.legal-content h2 {
 font-size: 2.5rem;
 margin-bottom: 1.5rem;
}

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

.legal-content p, .legal-content ul {
 margin-bottom: 1.5rem;
}

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

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

/* Thank You Page */
.thank-you-page {
 text-align: center;
 padding: 8rem 0;
 background-color: var(--bg-light);
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

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

.thank-you-page p {
 font-size: 1.2rem;
 margin-bottom: 2rem;
}

/* 404 Page */
.error-page {
 text-align: center;
 padding: 8rem 0;
 background-color: var(--bg-light);
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

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

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

.error-page p {
 font-size: 1.1rem;
 margin-bottom: 2.5rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
 .navbar {
 padding: 1rem 1.5rem;
 }
 .nav-links ul {
 gap: 1.5rem;
 }
 .hero-content h1 {
 font-size: 3rem;
 }
 .hero-content p {
 font-size: 1.15rem;
 }
 .alternating-content .content-image img {
 height: 350px;
 }
 .feature-item, .blog-card, .service-card {
 padding: 1.5rem;
 }
}

@media (max-width: 768px) {
 h1 { font-size: 2.2rem; }
 h2 { font-size: 1.8rem; }
 h3 { font-size: 1.4rem; }
 .section {
 padding: 4rem 0;
 }
 .section-title {
 font-size: 2rem;
 }
 .section-subtitle {
 font-size: 1rem;
 margin-bottom: 2rem;
 }

 /* Header & Nav */
 .nav-toggle {
 display: block;
 }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 max-width: 300px;
 height: 100vh;
 background-color: var(--footer-bg);
 padding-top: 5rem;
 box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
 transition: right 0.4s ease-in-out;
 z-index: 999;
 display: block; /* Override flex */
 }
 .nav-links.active {
 right: 0;
 }
 .nav-links ul {
 flex-direction: column;
 padding: 1rem;
 }
 .nav-links li {
 margin-bottom: 1rem;
 }
 .nav-links a {
 color: var(--bg-white);
 font-size: 1.2rem;
 display: block;
 padding: 0.8rem 1rem;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }
 .nav-links a:hover, .nav-links a.active {
 color: var(--accent-color);
 background-color: rgba(255, 255, 255, 0.05);
 }
 .nav-links a::after {
 display: none;
 }

 /* Hero */
 .hero-section {
 height: 70vh;
 }
 .hero-content {
 padding: 1rem;
 }
 .hero-content h1 {
 font-size: 2.5rem;
 }
 .hero-content p {
 font-size: 1rem;
 }
 .hero-buttons {
 flex-direction: column;
 gap: 1rem;
 }
 .hero-buttons .btn {
 width: 80%;
 margin: 0 auto;
 padding: 0.8rem 1.5rem;
 font-size: 1rem;
 }

 /* Sections */
 .alternating-content .content-block {
 flex-direction: column;
 gap: 2rem;
 }
 .alternating-content .content-block.reverse {
 flex-direction: column; /* Consistent stacking */
 }
 .alternating-content .content-image img {
 height: 250px;
 }
 .feature-item, .blog-card-content, .service-card-content {
 padding: 1rem;
 }
 .cta-banner h2 {
 font-size: 2rem;
 }
 .cta-banner p {
 font-size: 1rem;
 }
 .contact-grid {
 grid-template-columns: 1fr;
 }
 .contact-map iframe {
 height: 300px;
 }

 /* Footer */
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-col {
 margin-bottom: 1.5rem;
 }
 .footer-logo {
 margin: 0 auto 1rem;
 }
 .footer-col p {
 text-align: center;
 margin-left: auto;
 margin-right: auto;
 }
 .footer-col ul {
 padding: 0;
 }
 .footer-col li {
 display: inline-block;
 margin: 0 0.5rem 0.5rem;
 }
}

@media (max-width: 480px) {
 h1 { font-size: 2rem; }
 h2 { font-size: 1.6rem; }
 h3 { font-size: 1.3rem; }
 .hero-content h1 {
 font-size: 2rem;
 }
 .hero-content p {
 font-size: 0.95rem;
 }
 .hero-buttons .btn {
 width: 100%;
 }
 .feature-item, .blog-card {
 padding: 1.5rem;
 }
 .testimonial-item {
 padding: 1.5rem;
 }
 .testimonial-quote {
 font-size: 1.05rem;
 }
 .cta-banner h2 {
 font-size: 1.8rem;
 }
 .cta-banner p {
 font-size: 0.9rem;
 }
 .legal-content h2 {
 font-size: 2rem;
 }
 .legal-content h3 {
 font-size: 1.5rem;
 }
 .error-page h1 {
 font-size: 4rem;
 }
 .error-page h2 {
 font-size: 2rem;
 }
}