/* Basic Reset & Variables */
:root {
 --primary-color: #97266d;
 --accent-color: #d53f8c;
 --light-bg-color: #f8fafc;
 --white-color: #ffffff;
 --dark-text-color: #333333;
 --light-text-color: #666666;
 --border-color: #e0e0e0;
 --footer-bg-color: #4a0f3d; /* Darker shade of primary */
 --footer-text-color: #f0f0f0;

 --font-primary: 'Roboto', sans-serif;

 --header-height: 70px;
}

*, *::before, *::after {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-primary);
 line-height: 1.6;
 color: var(--dark-text-color);
 background-color: var(--white-color);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.2;
 margin-bottom: 0.5em;
 color: var(--primary-color);
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }

p {
 margin-bottom: 1em;
 font-size: 1em;
}

.section-subtitle {
 font-size: 1.15em;
 color: var(--light-text-color);
 margin-bottom: 2.5em;
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
}

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

a:hover {
 color: var(--accent-color);
 transform: translateY(-2px);
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 25px;
 border-radius: 5px;
 font-weight: 700;
 text-align: center;
 cursor: pointer;
 transition: all 0.3s ease;
 border: 2px solid transparent;
 font-size: 1em;
}

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

.btn-primary:hover {
 background-color: var(--accent-color);
 border-color: var(--accent-color);
 transform: translateY(-3px);
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--white-color);
 transform: translateY(-3px);
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.btn-accent:hover {
 background-color: var(--primary-color);
 border-color: var(--primary-color);
 transform: translateY(-3px);
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-text {
 background: none;
 border: none;
 padding: 0;
 color: var(--primary-color);
 font-weight: 700;
 display: inline-flex;
 align-items: center;
 gap: 5px;
}

.btn-text:hover {
 color: var(--accent-color);
 transform: translateX(3px);
}

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

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

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

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

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

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

.mt-4 { margin-top: 2em; }
.mt-5 { margin-top: 3em; }
.mb-4 { margin-bottom: 2em; }

.max-width-800 { max-width: 800px; }
.margin-auto { margin-left: auto; margin-right: auto; }

/* Grid & Flexbox Helpers */
.grid-2-columns {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 40px;
 align-items: center;
}

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

/* Header */
header {
 background-color: var(--white-color);
 padding: 15px 0;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 position: sticky;
 top: 0;
 z-index: 1000;
 transition: background-color 0.3s ease, box-shadow 0.3s ease;
 height: var(--header-height);
 display: flex;
 align-items: center;
}

header.scrolled {
 background-color: var(--white-color);
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header .container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 width: 100%;
}

.logo {
 font-size: 1.8em;
 font-weight: 700;
 color: var(--primary-color);
 margin-right: 20px;
}

.logo:hover {
 color: var(--accent-color);
 transform: none; /* Override general link hover for logo */
}

.nav-links {
 list-style: none;
 display: flex;
 gap: 30px;
}

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

.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: 2px;
 background-color: var(--primary-color);
 border-radius: 2px;
 transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-section {
 position: relative;
 height: 550px;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: var(--white-color);
 background-size: cover;
 background-position: center;
 background-attachment: fixed;
 overflow: hidden;
}

.hero-section::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
 z-index: 1;
}

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

.hero-content h1 {
 font-size: 3.5em;
 margin-bottom: 20px;
 color: var(--white-color);
}

.hero-content p {
 font-size: 1.3em;
 margin-bottom: 30px;
 color: var(--white-color);
 opacity: 0.9;
}

.hero-actions .btn {
 margin: 10px;
 min-width: 180px;
}

/* Section Styling */
section {
 position: relative;
 z-index: 10;
}

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

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

.feature-item:hover {
 transform: translateY(-10px);
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item img {
 width: 100%;
 max-height: 200px;
 object-fit: cover;
 border-radius: 8px;
 margin-bottom: 20px;
}

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

.about-preview .about-image img {
 width: 100%;
 height: 400px;
 object-fit: cover;
 border-radius: 8px;
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
 margin-top: 40px;
}

.testimonial-card {
 background-color: var(--white-color);
 padding: 30px;
 border-radius: 8px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
 text-align: center;
 border: 1px solid var(--border-color);
 display: flex;
 flex-direction: column;
 align-items: center;
}

.testimonial-card img {
 width: 90px;
 height: 90px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: 20px;
 border: 3px solid var(--primary-color);
}

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

.testimonial-card h4 {
 font-size: 1.1em;
 color: var(--primary-color);
 margin: 0;
}

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

.blog-card {
 background-color: var(--white-color);
 border-radius: 8px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
 overflow: hidden;
 display: flex;
 flex-direction: column;
 border: 1px solid var(--border-color);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.blog-card h3 {
 margin: 20px 20px 10px;
 font-size: 1.3em;
}

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

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

.blog-card p {
 padding: 0 20px 15px;
 color: var(--light-text-color);
 flex-grow: 1;
}

.blog-card .btn-text {
 align-self: flex-start;
 margin: 0 20px 20px;
}

/* FAQ Section (Accordion) */
.accordion-container {
 margin-top: 40px;
}

.accordion-item {
 background-color: var(--white-color);
 border: 1px solid var(--border-color);
 border-radius: 8px;
 margin-bottom: 15px;
 overflow: hidden;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.accordion-header {
 width: 100%;
 text-align: left;
 padding: 20px 25px;
 font-size: 1.15em;
 font-weight: 600;
 color: var(--dark-text-color);
 background: var(--light-bg-color);
 border: none;
 cursor: pointer;
 position: relative;
 transition: background-color 0.3s ease, color 0.3s ease;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.accordion-header:hover {
 background-color: var(--primary-color);
 color: var(--white-color);
}

.accordion-header::after {
 content: '+';
 font-size: 1.5em;
 color: var(--primary-color);
 transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-header:hover::after {
 color: var(--white-color);
}

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

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

.accordion-content.open {
 max-height: 200px; /* Adjust as needed */
 padding: 20px 25px;
 transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

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

/* CTA Section */
.cta-section h2 {
 font-size: 2.5em;
 margin-bottom: 20px;
 color: var(--white-color);
}

.cta-section .btn {
 border-color: var(--white-color);
}

.cta-section .btn-accent:hover {
 background-color: var(--white-color);
 color: var(--primary-color);
}

/* Footer */
.footer {
 background-color: var(--footer-bg-color);
 color: var(--footer-text-color);
 padding: 60px 0 20px;
 font-size: 0.95em;
}

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

.footer h3, .footer h4 {
 color: var(--white-color);
 margin-bottom: 20px;
 font-size: 1.2em;
}

.footer p {
 color: var(--footer-text-color);
 margin-bottom: 10px;
}

.footer a {
 color: var(--footer-text-color);
 display: block;
 margin-bottom: 8px;
 transition: color 0.3s ease;
}

.footer a:hover {
 color: var(--accent-color);
 transform: translateX(5px);
}

.footer ul {
 list-style: none;
}

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

.footer .social-links a {
 display: block;
 width: 35px;
 height: 35px;
 background-color: rgba(255, 255, 255, 0.1);
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer .social-links a:hover {
 background-color: var(--accent-color);
 transform: translateY(-3px);
}

.footer .social-links svg {
 width: 18px;
 height: 18px;
 color: var(--white-color);
 stroke-width: 2;
}

.footer-bottom {
 text-align: center;
 padding-top: 20px;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 margin-top: 40px;
}

/* Contact Page Specific Styles */
.contact-info-block {
 background-color: var(--white-color);
 padding: 30px;
 border-radius: 8px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
 text-align: left;
 margin-bottom: 30px;
}

.contact-info-block h3 {
 display: flex;
 align-items: center;
 gap: 15px;
 color: var(--primary-color);
 margin-bottom: 20px;
 font-size: 1.4em;
}

.contact-info-block svg {
 color: var(--accent-color);
 width: 28px;
 height: 28px;
}

.contact-info-block p {
 margin-bottom: 8px;
}

.contact-form-container {
 background-color: var(--white-color);
 padding: 40px;
 border-radius: 8px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
 margin-bottom: 30px;
 text-align: center;
}

.contact-form-container .form-group {
 margin-bottom: 20px;
}

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

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

.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus,
.contact-form-container input[type="tel"]:focus,
.contact-form-container textarea:focus {
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(151, 38, 109, 0.2);
 outline: none;
}

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

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

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

/* Service Cards */
.service-card {
 background-color: var(--white-color);
 padding: 30px;
 border-radius: 8px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
 text-align: center;
 border-top: 4px solid var(--primary-color);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 display: flex;
 flex-direction: column;
}

.service-card:hover {
 transform: translateY(-10px);
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.service-card h3 {
 font-size: 1.4em;
 color: var(--primary-color);
 margin-bottom: 15px;
}

.service-card p {
 color: var(--light-text-color);
 flex-grow: 1;
}

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

.team-member-card {
 background-color: var(--white-color);
 padding: 25px;
 border-radius: 8px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
 text-align: center;
 border: 1px solid var(--border-color);
}

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

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

.team-member-card p.role {
 font-style: italic;
 color: var(--light-text-color);
 font-size: 0.95em;
 margin-bottom: 10px;
}

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

.value-item {
 background-color: var(--white-color);
 padding: 30px;
 border-radius: 8px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
 border-left: 4px solid var(--accent-color);
}

.value-item h3 {
 color: var(--accent-color);
 margin-bottom: 10px;
}

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

/* Blog Post Page Styles */
.blog-post-content {
 max-width: 800px;
 margin: 0 auto;
 padding: 40px 0;
}

.blog-post-content h1 {
 font-size: 2.8em;
 margin-bottom: 20px;
 text-align: center;
}

.blog-post-meta {
 text-align: center;
 margin-bottom: 30px;
 color: var(--light-text-color);
 font-size: 0.95em;
}

.blog-post-meta span {
 margin: 0 10px;
}

.blog-post-meta img {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 vertical-align: middle;
 margin-right: 10px;
}

.blog-post-image {
 width: 100%;
 height: 450px;
 object-fit: cover;
 border-radius: 8px;
 margin-bottom: 40px;
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-post-body h2 {
 font-size: 2em;
 margin-top: 1.5em;
 margin-bottom: 0.8em;
}

.blog-post-body h3 {
 font-size: 1.5em;
 margin-top: 1.2em;
 margin-bottom: 0.6em;
}

.blog-post-body p {
 margin-bottom: 1.5em;
}

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

.blog-post-body ol {
 list-style-type: decimal;
 margin-left: 20px;
 margin-bottom: 1.5em;
}

.blog-post-body li {
 margin-bottom: 0.5em;
}

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

.related-posts .articles-grid { /* Reusing blog-preview grid */
 margin-top: 30px;
}

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

.gallery-item {
 overflow: hidden;
 border-radius: 8px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 position: relative;
 cursor: pointer;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

.gallery-item-overlay {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
 color: var(--white-color);
 padding: 15px;
 transform: translateY(100%);
 transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
 transform: translateY(0);
}

.gallery-item-overlay h3 {
 margin: 0;
 color: var(--white-color);
 font-size: 1.2em;
}

/* Lightbox Styles */
.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;
 visibility: hidden;
 opacity: 0;
 transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
 display: flex;
 visibility: visible;
 opacity: 1;
}

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

.lightbox-content img {
 width: 100%;
 height: auto;
 max-height: 80vh;
 object-fit: contain;
 display: block;
 border-radius: 8px;
}

.lightbox-close {
 position: absolute;
 top: 20px;
 right: 30px;
 color: var(--white-color);
 font-size: 40px;
 cursor: pointer;
 z-index: 2001;
 transition: color 0.3s ease;
}

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

.lightbox-nav {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 width: 100%;
 display: flex;
 justify-content: space-between;
 padding: 0 20px;
}

.lightbox-nav button {
 background-color: rgba(0, 0, 0, 0.5);
 color: var(--white-color);
 border: none;
 padding: 10px 15px;
 font-size: 2em;
 cursor: pointer;
 border-radius: 5px;
 transition: background-color 0.3s ease;
}

.lightbox-nav button:hover {
 background-color: var(--primary-color);
}

/* Thanks Page Styles */
.thanks-page {
 text-align: center;
 padding: 100px 20px;
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.thanks-page h1 {
 font-size: 3em;
 color: var(--primary-color);
 margin-bottom: 20px;
}

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

.thanks-page .btn {
 font-size: 1.1em;
 padding: 15px 30px;
}

/* 404 Page Styles */
.error-page {
 text-align: center;
 padding: 100px 20px;
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 background-color: var(--light-bg-color);
}

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

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

.error-page p {
 font-size: 1.1em;
 color: var(--light-text-color);
 margin-bottom: 40px;
 max-width: 600px;
}

/* Legal Pages */
.legal-content {
 max-width: 900px;
 margin: 0 auto;
 padding: 40px 0;
}

.legal-content h1 {
 text-align: center;
 margin-bottom: 40px;
 font-size: 2.5em;
}

.legal-content h2 {
 margin-top: 2em;
 margin-bottom: 0.8em;
 font-size: 1.8em;
 color: var(--primary-color);
}

.legal-content h3 {
 margin-top: 1.5em;
 margin-bottom: 0.6em;
 font-size: 1.3em;
 color: var(--accent-color);
}

.legal-content p {
 margin-bottom: 1em;
}

.legal-content ol, .legal-content ul {
 margin-left: 25px;
 margin-bottom: 1em;
}

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

.legal-content strong {
 font-weight: 700;
}

/* Scroll Fade In Animation */
.fade-in {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.active {
 opacity: 1;
 transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
 .nav-links {
 gap: 20px;
 }
 .hero-content h1 {
 font-size: 3em;
 }
 h1 { font-size: 2.2em; }
 h2 { font-size: 1.8em; }
 .footer .grid-footer {
 grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
 }
}

@media (max-width: 768px) {
 .nav-toggle {
 display: flex;
 }

 .nav-links {
 position: fixed;
 top: var(--header-height);
 left: 0;
 width: 100%;
 height: calc(100vh - var(--header-height));
 background-color: var(--white-color);
 flex-direction: column;
 align-items: center;
 justify-content: flex-start;
 padding: 40px 20px;
 transform: translateX(100%);
 transition: transform 0.4s ease-in-out;
 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 z-index: 999;
 }

 .nav-links.active {
 transform: translateX(0);
 }

 .nav-links li {
 margin: 15px 0;
 width: 100%;
 text-align: center;
 }

 .nav-links a {
 font-size: 1.4em;
 padding: 10px 0;
 display: block;
 border-bottom: 1px solid var(--border-color);
 }

 .nav-links a::after {
 background-color: var(--primary-color);
 height: 3px;
 }

 .hero-section {
 height: 450px;
 }

 .hero-content h1 {
 font-size: 2.5em;
 }

 .hero-content p {
 font-size: 1.1em;
 margin-bottom: 20px;
 }

 .hero-actions {
 flex-direction: column;
 gap: 15px;
 }

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

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

 .grid-2-columns {
 grid-template-columns: 1fr;
 gap: 30px;
 }

 .reverse-on-mobile {
 flex-direction: column-reverse;
 }

 .about-preview .about-image {
 margin-bottom: 30px;
 }

 .feature-item, .testimonial-card, .blog-card, .service-card, .team-member-card, .value-item {
 padding: 25px;
 }

 .contact-form-container {
 padding: 30px;
 }
 
 .contact-info-block {
 text-align: center;
 }

 .contact-info-block h3 {
 justify-content: center;
 }

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

 .footer .social-links {
 justify-content: center;
 }

 .footer a {
 display: inline-block;
 margin: 0 8px 8px; /* Adjust for inline-block */
 }

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

 .blog-post-content h1 {
 font-size: 2em;
 }

 .blog-post-image {
 height: 300px;
 }

 .error-page h1 {
 font-size: 4em;
 }
 .error-page h2 {
 font-size: 2em;
 }
}

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

 .hero-section {
 height: 400px;
 }
 .hero-content h1 {
 font-size: 2em;
 }
 .hero-content p {
 font-size: 1em;
 }

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

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

 .feature-item, .testimonial-card, .blog-card, .service-card, .team-member-card, .value-item {
 padding: 20px;
 }
 
 .contact-form-container {
 padding: 20px;
 }

 .contact-map iframe {
 height: 300px;
 }

 .logo {
 font-size: 1.5em;
 }

 .lightbox-close {
 font-size: 30px;
 top: 10px;
 right: 15px;
 }
 .lightbox-nav button {
 font-size: 1.5em;
 padding: 5px 10px;
 }
 .thanks-page h1 { font-size: 2.2em; }
 .thanks-page p { font-size: 1em; }
 .error-page h1 { font-size: 3em; }
 .error-page h2 { font-size: 1.8em; }

 .legal-content h1 { font-size: 2em; }
 .legal-content h2 { font-size: 1.6em; }
 .legal-content h3 { font-size: 1.2em; }
}