:root {
 --primary-color: #20B2AA; /* LightSeaGreen / Turquoise */
 --primary-dark: #1A938C;
 --primary-light: #4DD8D2;
 --secondary-color: #4682B4; /* SteelBlue */
 --accent-color: #FF7F50; /* Coral */
 --dark-neutral: #333333;
 --medium-neutral: #666666;
 --light-neutral: #f4f4f4;
 --white-color: #ffffff;
 --border-color: #dddddd;

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

 --border-radius-sm: 5px;
 --border-radius-md: 8px;
 --box-shadow-light: 0 4px 8px rgba(0, 0, 0, 0.1);
 --box-shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Reset and base styles */
*, *::before, *::after {
 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-neutral);
 background-color: var(--white-color);
}

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

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

ul {
 list-style: none;
}

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

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

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

p {
 margin-bottom: 1em;
}

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

.section-padding {
 padding: 60px 0;
}

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

.bg-dark {
 background-color: var(--dark-neutral);
 color: var(--white-color);
}

.bg-dark h2, .bg-dark p {
 color: var(--white-color);
}

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

.mt-4 {
 margin-top: 40px;
}

.section-description {
 font-size: 1.1em;
 color: var(--medium-neutral);
 max-width: 700px;
 margin: 0 auto 30px auto;
 text-align: center;
}

/* Buttons */
.cta-button {
 display: inline-block;
 padding: 12px 25px;
 border-radius: var(--border-radius-sm);
 font-weight: 700;
 text-align: center;
 transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
 border: none;
 cursor: pointer;
 text-decoration: none;
}

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

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

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

.cta-button.secondary:hover {
 background-color: #386f9c; /* Darker SteelBlue */
 transform: translateY(-2px);
}

.cta-button.outline {
 background-color: transparent;
 color: var(--primary-color);
 border: 2px solid var(--primary-color);
}

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

/* Header */
.header {
 background-color: var(--white-color);
 box-shadow: var(--box-shadow-light);
 position: sticky;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 padding: 15px 0;
}

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

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

.nav-links {
 display: flex;
 gap: 25px;
}

.nav-links a {
 color: var(--dark-neutral);
 font-weight: 500;
 position: relative;
 padding: 5px 0;
 text-decoration: none;
}

.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;
 background: none;
 border: none;
 font-size: 1.8em;
 cursor: pointer;
 padding: 5px;
 position: relative;
 z-index: 1001; /* Ensure button is above menu */
}

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

/* Mobile Nav Toggle states */
.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 {
 background-color: #e0f2f7; /* Lighter turquoise tint */
 padding: 80px 0;
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 overflow: hidden;
 min-height: 600px;
}

.hero-content {
 text-align: center;
 z-index: 1;
 max-width: 800px;
 margin-bottom: 40px; /* Space between text and image if stacked */
}

.hero-section h1 {
 font-size: 3.5em;
 color: var(--dark-neutral);
 margin-bottom: 20px;
 font-weight: 700;
}

.hero-section p {
 font-size: 1.4em;
 color: var(--medium-neutral);
 margin-bottom: 30px;
 line-height: 1.5;
}

.hero-cta-group .cta-button {
 margin: 10px;
 min-width: 180px;
}

.hero-cta-group .cta-button.primary {
 background-color: var(--primary-color);
}
.hero-cta-group .cta-button.primary:hover {
 background-color: var(--primary-dark);
}
.hero-cta-group .cta-button.secondary {
 background-color: var(--secondary-color);
}
.hero-cta-group .cta-button.secondary:hover {
 background-color: #386f9c;
}

.hero-image-container {
 padding: 20px;
 max-width: 600px;
 margin: 0 auto;
}

.hero-image {
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-medium);
 transition: transform 0.5s ease;
}

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

.feature-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-light);
 padding: 30px;
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 border: 1px solid var(--border-color);
}

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

.feature-card img {
 width: 100%;
 height: 200px; /* Fixed height for image consistency */
 object-fit: cover;
 border-radius: var(--border-radius-sm);
 margin-bottom: 20px;
}

.feature-card h3 {
 color: var(--primary-dark);
 font-size: 1.5em;
 margin-bottom: 10px;
}

.feature-card p {
 color: var(--medium-neutral);
 font-size: 0.95em;
}

/* About Preview Section */
.content-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 50px;
 align-items: center;
}

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

.about-text h2 {
 color: var(--primary-color);
 margin-bottom: 20px;
}

.about-text p {
 color: var(--medium-neutral);
 margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials-section {
 background-color: #fcfcfc;
}

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

.testimonial-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-light);
 padding: 30px;
 text-align: center;
 border: 1px solid var(--border-color);
}

.testimonial-card img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 15px auto;
 border: 3px solid var(--primary-light);
}

.testimonial-card p {
 font-style: italic;
 color: var(--dark-neutral);
 font-size: 1.05em;
 margin-bottom: 15px;
}

.testimonial-card h4 {
 color: var(--primary-dark);
 margin-bottom: 5px;
 font-size: 1.1em;
}

.testimonial-card span {
 font-size: 0.9em;
 color: var(--medium-neutral);
}

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

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

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

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

.blog-card h3 {
 font-size: 1.4em;
 padding: 20px 20px 0 20px;
 color: var(--primary-dark);
}

.blog-card h3 a {
 color: inherit;
 text-decoration: none;
}

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

.blog-card p {
 padding: 0 20px 15px 20px;
 color: var(--medium-neutral);
 font-size: 0.95em;
}

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

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

/* FAQ Section (Accordion) */
.faq-accordion {
 max-width: 800px;
 margin: 30px auto;
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius-md);
 overflow: hidden;
}

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

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

.accordion-header {
 background-color: var(--white-color);
 color: var(--dark-neutral);
 padding: 18px 25px;
 width: 100%;
 text-align: left;
 border: none;
 outline: none;
 cursor: pointer;
 font-size: 1.1em;
 font-weight: 600;
 display: flex;
 justify-content: space-between;
 align-items: center;
 transition: background-color 0.3s ease;
}

.accordion-header:hover, .accordion-header.active {
 background-color: var(--light-neutral);
 color: var(--primary-color);
}

.accordion-header .icon {
 font-size: 1.5em;
 transition: transform 0.3s ease;
}

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

.accordion-content {
 background-color: var(--white-color);
 padding: 0 25px;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-content p {
 padding: 15px 0;
 font-size: 0.95em;
 color: var(--medium-neutral);
}

/* CTA Section */
.cta-section {
 padding: 80px 0;
}

.cta-section h2 {
 font-size: 2.5em;
 margin-bottom: 20px;
}

.cta-section p {
 font-size: 1.2em;
 max-width: 700px;
 margin: 0 auto 40px auto;
 color: var(--white-color);
}

.cta-section .cta-button {
 background-color: var(--accent-color);
 color: var(--white-color);
 padding: 15px 35px;
 font-size: 1.1em;
 border-radius: 50px;
}

.cta-section .cta-button:hover {
 background-color: #e66a3d; /* Darker Coral */
}

/* Footer */
.footer {
 background-color: var(--dark-neutral);
 color: var(--white-color);
 padding: 50px 0 20px 0;
 font-size: 0.95em;
}

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

.footer-col h3 {
 color: var(--primary-light);
 margin-bottom: 20px;
 font-size: 1.2em;
}

.footer-col p {
 color: #cccccc;
 margin-bottom: 10px;
}

.footer-col ul {
 list-style: none;
}

.footer-col ul li {
 margin-bottom: 8px;
}

.footer-col ul li a {
 color: #cccccc;
 text-decoration: none;
 transition: color 0.3s ease;
}

.footer-col ul li a:hover {
 color: var(--primary-color);
 text-decoration: underline;
}

.footer-col a {
 color: var(--primary-color);
 text-decoration: none;
}

.footer-col a:hover {
 text-decoration: underline;
 color: var(--primary-light);
}

.social-links {
 margin-top: 20px;
 display: flex;
 gap: 15px;
}

.social-links img {
 width: 28px;
 height: 28px;
 filter: invert(100%) brightness(80%); /* Make icons visible on dark background */
 transition: filter 0.3s ease, transform 0.3s ease;
}

.social-links img:hover {
 filter: invert(100%) brightness(100%) sepia(100%) hue-rotate(150deg) saturate(500%); /* Primary color tint */
 transform: translateY(-3px);
}

.footer-bottom {
 text-align: center;
 padding-top: 20px;
 border-top: 1px solid #444444;
 color: #cccccc;
}

/* Forms */
.form-group {
 margin-bottom: 20px;
}

.form-group label {
 display: block;
 margin-bottom: 8px;
 font-weight: 600;
 color: var(--dark-neutral);
}

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

.form-group input:focus,
.form-group textarea:focus {
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.2);
 /* outline: none; */
}

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

.submit-button {
 background-color: var(--primary-color);
 color: var(--white-color);
 padding: 15px 30px;
 border: none;
 border-radius: var(--border-radius-sm);
 font-size: 1.1em;
 font-weight: 700;
 cursor: pointer;
 transition: background-color 0.3s ease, transform 0.3s ease;
 width: auto;
 display: inline-block;
}

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

/* Specific Page Styles */

/* About Page */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
 margin-top: 40px;
}

.team-member-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-light);
 text-align: center;
 padding: 25px;
 border: 1px solid var(--border-color);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.team-member-card h4 {
 color: var(--primary-dark);
 margin-bottom: 5px;
}

.team-member-card p {
 color: var(--medium-neutral);
 font-size: 0.9em;
}

/* Services Page (using feature-card style for consistency) */
.services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}

.service-process {
 margin-top: 60px;
}

.process-step {
 display: flex;
 align-items: center;
 margin-bottom: 30px;
 gap: 20px;
}

.process-step:last-child {
 margin-bottom: 0;
}

.process-step .step-icon {
 min-width: 60px;
 height: 60px;
 background-color: var(--primary-color);
 color: var(--white-color);
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 1.5em;
 font-weight: 700;
}

.process-step .step-content h3 {
 color: var(--dark-neutral);
 margin-bottom: 5px;
}

.process-step .step-content p {
 color: var(--medium-neutral);
 font-size: 0.95em;
}

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 50px;
}

.contact-info {
 padding: 30px;
 background-color: var(--light-neutral);
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-light);
}

.contact-info h3 {
 color: var(--primary-dark);
 margin-bottom: 20px;
}

.contact-info p {
 margin-bottom: 10px;
 display: flex;
 align-items: center;
 gap: 10px;
}

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

.contact-info p i {
 color: var(--primary-color);
 font-size: 1.2em;
}

.contact-info a {
 color: var(--dark-neutral);
 text-decoration: none;
}

.contact-info a:hover {
 color: var(--primary-color);
 text-decoration: underline;
}

.map-container {
 height: 450px;
 border-radius: var(--border-radius-md);
 overflow: hidden;
 margin-top: 40px;
 box-shadow: var(--box-shadow-light);
}

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

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

/* Blog Post Page */
.blog-post-header {
 text-align: center;
 margin-bottom: 40px;
}

.blog-post-header h1 {
 font-size: 3em;
 margin-bottom: 15px;
 color: var(--primary-dark);
}

.post-meta {
 font-size: 0.9em;
 color: var(--medium-neutral);
 margin-bottom: 20px;
}

.post-meta span {
 margin-right: 15px;
}

.blog-post-content img {
 border-radius: var(--border-radius-md);
 margin: 30px auto;
 box-shadow: var(--box-shadow-light);
}

.blog-post-content h2 {
 color: var(--primary-color);
 margin-top: 30px;
}

.blog-post-content h3 {
 color: var(--secondary-color);
 margin-top: 25px;
}

.blog-post-content p {
 font-size: 1.05em;
 line-height: 1.7;
 margin-bottom: 1.2em;
 color: var(--dark-neutral);
}

.blog-post-content ol, .blog-post-content ul {
 margin-left: 20px;
 margin-bottom: 1.5em;
 color: var(--dark-neutral);
}

.blog-post-content ol li, .blog-post-content ul li {
 margin-bottom: 0.5em;
 line-height: 1.6;
}

.author-box {
 display: flex;
 align-items: center;
 gap: 20px;
 margin-top: 50px;
 padding: 20px;
 background-color: var(--light-neutral);
 border-radius: var(--border-radius-md);
 border: 1px solid var(--border-color);
}

.author-box img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0;
 border: 3px solid var(--primary-light);
}

.author-info h4 {
 margin-bottom: 5px;
 color: var(--primary-dark);
}

.author-info span {
 font-weight: 600;
 color: var(--medium-neutral);
}

.author-info p {
 font-size: 0.9em;
 color: var(--medium-neutral);
 margin-top: 10px;
 margin-bottom: 0;
}

.related-posts {
 margin-top: 60px;
 border-top: 1px solid var(--border-color);
 padding-top: 40px;
}

.related-posts h2 {
 text-align: center;
 margin-bottom: 30px;
 color: var(--primary-color);
}

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

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

.gallery-item:hover {
 transform: scale(1.03);
 box-shadow: var(--box-shadow-medium);
}

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

/* Lightbox styles */
.lightbox {
 display: none; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 10000; /* Sit on top */
 padding-top: 60px; /* Place content 60px from the top */
 left: 0;
 top: 0;
 width: 100%; /* Full width */
 height: 100%; /* Full height */
 overflow: auto; /* Enable scroll if needed */
 background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.lightbox-content {
 margin: auto;
 display: block;
 width: 80%;
 max-width: 700px;
 max-height: 80vh;
 animation-name: zoom;
 animation-duration: 0.6s;
 object-fit: contain;
}

.lightbox-caption {
 margin: auto;
 display: block;
 width: 80%;
 max-width: 700px;
 text-align: center;
 color: #ccc;
 padding: 10px 0;
 height: 150px;
}

/* Add Animation - Zoom in the lightbox content */
@keyframes zoom {
 from {transform:scale(0)}
 to {transform:scale(1)}
}

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

.lightbox-close:hover,
.lightbox-close:focus {
 color: #bbb;
 text-decoration: none;
 cursor: pointer;
}

/* Thanks Page */
.thank-you-container {
 text-align: center;
 padding: 100px 20px;
 background-color: var(--light-neutral);
 border-radius: var(--border-radius-md);
 max-width: 700px;
 margin: 60px auto;
 box-shadow: var(--box-shadow-medium);
}

.thank-you-container h1 {
 color: var(--primary-dark);
 font-size: 2.8em;
 margin-bottom: 20px;
}

.thank-you-container p {
 font-size: 1.2em;
 color: var(--medium-neutral);
 margin-bottom: 30px;
}

/* 404 Page */
.error-container {
 text-align: center;
 padding: 100px 20px;
}

.error-container h1 {
 font-size: 5em;
 color: var(--accent-color);
 margin-bottom: 10px;
}

.error-container h2 {
 font-size: 2.5em;
 color: var(--dark-neutral);
 margin-bottom: 20px;
}

.error-container p {
 font-size: 1.2em;
 color: var(--medium-neutral);
 margin-bottom: 40px;
}

/* Generic legal page styles */
.legal-content {
 background-color: var(--white-color);
 padding: 40px 0;
}

.legal-content h1 {
 color: var(--primary-dark);
 margin-bottom: 30px;
}

.legal-content h2 {
 color: var(--primary-color);
 margin-top: 30px;
 margin-bottom: 15px;
}

.legal-content h3 {
 color: var(--secondary-color);
 margin-top: 25px;
 margin-bottom: 10px;
}

.legal-content p {
 color: var(--dark-neutral);
 margin-bottom: 15px;
 line-height: 1.7;
}

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

.legal-content ol {
 list-style: decimal;
 margin-left: 25px;
 margin-bottom: 1.5em;
}

.legal-content ul li, .legal-content ol li {
 margin-bottom: 8px;
 color: var(--dark-neutral);
 line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
 h1 { font-size: 2.5em; }
 h2 { font-size: 2em; }
 h3 { font-size: 1.6em; }

 .hero-section {
 flex-direction: column;
 padding-top: 60px;
 min-height: auto;
 }
 .hero-content {
 padding-bottom: 0;
 }

 .content-grid {
 grid-template-columns: 1fr;
 }
 .about-image-container {
 order: -1; /* Image first on smaller screens */
 }

 .footer-grid {
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 }

 .blog-post-header h1 {
 font-size: 2.5em;
 }
}

@media (max-width: 768px) {
 .navbar {
 flex-wrap: wrap;
 }

 .nav-links {
 display: none;
 flex-direction: column;
 width: 100%;
 background-color: var(--white-color);
 box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
 position: absolute;
 top: 100%;
 left: 0;
 padding: 20px;
 border-radius: var(--border-radius-md);
 gap: 15px;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-out;
 }

 .nav-links.active {
 display: flex;
 max-height: 300px; /* Adjust based on content */
 }

 .nav-toggle {
 display: block;
 }

 .hero-section {
 padding: 40px 0;
 }
 .hero-section h1 {
 font-size: 2.2em;
 }
 .hero-section p {
 font-size: 1.1em;
 }

 .hero-cta-group {
 display: flex;
 flex-direction: column;
 gap: 15px;
 }
 .hero-cta-group .cta-button {
 width: 100%;
 }

 .section-padding {
 padding: 40px 0;
 }

 .features-grid, .testimonials-grid, .blog-grid, .team-grid, .services-grid, .blog-list-grid, .gallery-grid {
 grid-template-columns: 1fr;
 }
 .process-step {
 flex-direction: column;
 text-align: center;
 }
 .process-step .step-icon {
 margin-bottom: 15px;
 }
 .contact-grid {
 grid-template-columns: 1fr;
 }
 .contact-info {
 padding: 20px;
 }
 .contact-info p {
 flex-direction: column;
 align-items: flex-start;
 }
 .contact-info p span, .contact-info p a {
 text-align: left;
 }

 .cta-section h2 {
 font-size: 2em;
 }
 .cta-section p {
 font-size: 1em;
 }
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-col {
 padding-bottom: 20px;
 border-bottom: 1px solid #444444;
 }
 .footer-col:last-child {
 border-bottom: none;
 }
 .social-links {
 justify-content: center;
 }

 .blog-post-header h1 {
 font-size: 2em;
 }
 .post-meta span {
 display: block;
 margin-right: 0;
 margin-bottom: 5px;
 }
 .author-box {
 flex-direction: column;
 text-align: center;
 }
 .author-box img {
 margin-bottom: 15px;
 }

 .thank-you-container h1 {
 font-size: 2em;
 }
 .thank-you-container p {
 font-size: 1em;
 }

 .error-container h1 {
 font-size: 4em;
 }
 .error-container h2 {
 font-size: 2em;
 }
 .error-container p {
 font-size: 1em;
 }
}

@media (max-width: 480px) {
 h1 { font-size: 2em; }
 h2 { font-size: 1.8em; }
 h3 { font-size: 1.4em; }

 .navbar .logo {
 font-size: 1.5em;
 }

 .hero-section h1 {
 font-size: 1.8em;
 }
 .hero-section p {
 font-size: 1em;
 }

 .cta-button {
 padding: 10px 20px;
 font-size: 0.95em;
 }

 .accordion-header {
 font-size: 1em;
 padding: 15px 20px;
 }
 .accordion-content p {
 padding: 10px 0;
 font-size: 0.9em;
 }

 .thank-you-container {
 margin: 30px auto;
 padding: 60px 15px;
 }
 .thank-you-container h1 {
 font-size: 1.8em;
 }

 .error-container h1 {
 font-size: 3em;
 }
 .error-container h2 {
 font-size: 1.6em;
 }
}